Use gcc attribute ifunc in libc_ifunc macro instead of inline assembly due to false...
[glibc.git] / ChangeLog
blob8fb29da25a356fc3ae773b6316b6c87535ba3aa8
1 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3         * include/libc-symbols.h (__ifunc_resolver):
4         New macro is used by __ifunc* macros.
5         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
6         depending on HAVE_GCC_IFUNC.
7         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
8         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
9         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
10         Redirect ifunced function in header for using as type for ifunc function.
11         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
12         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
13         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
14         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
15         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
16         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
17         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
18         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
19         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
20         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
21         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
22         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
23         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
24         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
25         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
26         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
27         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
28         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
29         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
30         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
31         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
32         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
33         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
34         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
35         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
36         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
37         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
38         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
39         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
40         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
41         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
42         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
43         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
44         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
45         Add libc_hidden_def() and use libc_ifunc_hidden() macro
46         instead of libc_ifunc() macro.
47         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
48         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
50 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
52         * config.h.in (HAVE_GCC_IFUNC): New undef.
53         * configure.ac: Add check if gcc supports attribute ifunc feature.
54         * configure: Regenerated.
55         * manual/install.texi: Add recommendation for gcc with
56         indirect-function support.
57         * INSTALL: Regenerated.
59 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
61         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
62         macro.
63         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
64         (__iseqsig): New declaration.
65         * math/s_iseqsig_template.c: New file.
66         * math/Versions (__iseqsigf): New libm symbol at version
67         GLIBC_2.25.
68         (__iseqsig): Likewise.
69         (__iseqsigl): Likewise.
70         * math/libm-test.inc (iseqsig_test_data): New array.
71         (iseqsig_test): New function.
72         (main): Call iseqsig_test.
73         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
74         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
75         * manual/libm-err-tab.pl: Update comment on interfaces without
76         ulps tabulated.
77         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
78         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
79         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
80         * sysdeps/nacl/libm.abilist: Update.
81         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
82         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
83         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
84         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
85         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
86         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
87         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
88         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
89         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
90         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
91         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
92         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
93         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
94         Likewise.
95         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
96         Likewise.
97         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
98         Likewise.
99         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
100         Likewise.
101         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
102         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
103         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
104         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
105         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
106         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
107         Likewise.
108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
109         Likewise.
110         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
111         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
112         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
114 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
116         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
117         do_sincos_2, sloww, sloww1): Update comments.
119         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
120         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
122         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
123         K boolean and rename it.
124         (__sin): Adjust.
125         (__cos): Adjust.
127 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
128             Siddhesh Poyarekar  <siddhesh@sourceware.org>
130         * manual/nss.texi: Fix typos in the manual.
132 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
134         * manual/contrib.texi: Fix typos in the manual.
136         * manual/maint.texi: Fix typos in the manual.
138         * manual/install.texi: Fix typos in the manual.
139         * INSTALL: Regenerated.
141         * manual/lang.texi: Fix typos in the manual.
143         * manual/probes.texi: Fix typos in the manual.
145         * manual/threads.texi: Fix typos in the manual.
147         * manual/debug.texi: Fix typos in the manual.
149         * manual/crypt.texi: Fix typos in the manual.
151         * manual/conf.texi: Fix typos in the manual.
153         * manual/sysinfo.texi: Fix typos in the manual.
155         * manual/users.texi: Fix typos in the manual.
157         * manual/job.texi: Fix typos in the manual.
159         * manual/process.texi: Fix typos in the manual.
161         * manual/argp.texi: Fix typos in the manual.
162         * manual/getopt.texi: Likewise.
163         * manual/startup.texi: Likewise.
165         * manual/signal.texi: Fix typos in the manual.
167         * manual/setjmp.texi: Fix typos in the manual.
169         * manual/resource.texi: Fix typos in the manual.
171         * manual/time.texi: Fix typos in the manual.
173         * manual/arith.texi: Fix typos in the manual.
175         * manual/math.texi: Fix typos in the manual.
177         * manual/syslog.texi: Fix typos in the manual.
179         * manual/terminal.texi: Fix typos in the manual.
181         * manual/socket.texi: Fix typos in the manual.
183         * manual/filesys.texi: Fix typos in the manual.
185         * manual/llio.texi: Fix typos in the manual.
187         * manual/stdio.text: Fix typos in the manual.
189 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
191         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
192         instead of K1.
194         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
195         SHIFT_QUADRANT and make it bool.
196         (do_sincos_2): Likewise.
197         (sloww): Likewise.
198         (sloww1): Likewise.
199         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
200         (__cos): Likewise.
202 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
204         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
206 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
208         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
209         Define to __WORDSIZE, not conditional on [LONG_MAX ==
210         0x7fffffffL].
211         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
213 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
215         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
216         inline by __inline__.
217         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
218         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
219         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
220         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
221         sigset_t from signal.h.
222         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
223         which is already required.
225 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
227         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
229 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
231         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
232         (struct tcp_repair_window): New type.
234 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
236         * libio/tst-memstream3.c: Include string.h.
238 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
240         [BZ #18241]
241         [BZ #20181]
242         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
243         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
244         write position is at the end the buffer.
245         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
246         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
247         (_IO_str_seekoff): Set correct offset from negative displacement and
248         set EINVAL for invalid ones.
249         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
250         buffer length.
251         (_IO_wstr_switch_to_get_mode): New function.
252         (_IO_wstr_seekoff): Set correct offset from negative displacement and
253         set EINVAL for invalid ones.
254         * libio/tst-memstream3.c: New file.
255         * libio/tst-wmemstream3.c: Likewise.
256         * manual/examples/memstrm.c: Remove warning when priting size_t.
258 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
260         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
261         macro to use __builtin_fma.
262         * sysdeps/x86_64/fpu/dla.h: Remove file.
264         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
265         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
266         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
268 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
270         [BZ #20292]
271         * elf/Makefile (routines): Add dl-addr-obj.
272         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
273         tst-_dl_addr_inside_object.
274         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
275         [ifeq (yesyes,$(have-fpie)$(build-shared))]
276         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
277         [ifeq (yesyes,$(have-fpie)$(build-shared))]
278         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
279         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
280         * elf/dl-open.c: Likewise.
281         * elf/dl-addr-obj.c: New file.
282         * elf/tst-_dl_addr_inside_object.c: New file.
284 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
286         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
287         <bits/iscanonical.h>.
288         * bits/iscanonical.h: New file.
289         * math/s_iscanonicall.c: Likewise.
290         * math/Versions (__iscanonicall): New libm symbol at version
291         GLIBC_2.25.
292         * math/libm-test.inc (iscanonical_test_data): New array.
293         (iscanonical_test): New function.
294         (main): Call iscanonical_test.
295         * math/Makefile (headers): Add bits/iscanonical.h.
296         (type-ldouble-routines): Add s_iscanonicall.
297         * manual/arith.texi (Floating Point Classes): Document
298         iscanonical.
299         * manual/libm-err-tab.pl: Update comment on interfaces without
300         ulps tabulated.
301         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
302         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
303         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
304         Likewise.
305         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
306         test-iscanonical-ldbl-128ibm.
307         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
308         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
309         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
310         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
311         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
312         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
313         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
315         Likewise.
316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
317         Likewise.
318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
319         Likewise.
320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
321         Likewise.
322         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
323         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
325 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
327         * string/bits/string3.h: Remove C++ style comments.
329 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
331         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
332         instead of ternary condition.
333         (do_sincos_2): Likewise.
334         (__sin): Likewise.
335         (__cos): Likewise.
336         (slow): Likewise.
337         (sloww): Likewise.
338         (sloww1): Likewise.
339         (bsloww): Likewise.
340         (bsloww1): Likewise.
342         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
343         instead of ternary condition.
344         (do_sin_slow): Likewise.
345         (do_sincos_1): Likewise.
346         (do_sincos_2): Likewise.
347         (__cos): Likewise.
348         (sloww): Likewise.
349         (sloww1): Likewise.
350         (sloww2): Likewise.
351         (bsloww): Likewise.
352         (bsloww1): Likewise.
353         (bsloww2): Likewise.
355         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
356         check from here...
357         (slow2): ... and here...
358         (__sin): ... to here.
360 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
362         * math/math.h
363         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
364         Cast argument to its own type.
365         * math/test-iszero-excess-precision.c: New file.
366         * math/Makefile (tests): Add test-iszero-excess-precision.
367         (CFLAGS-test-iszero-excess-precision.c): New variable.
369 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
371         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
372         field, add err field.
373         (__spawni_child): Report error through err member instead of pipe.
374         (__spawnix): Likewise.
376 2016-09-28  Zack Weinberg  <zackw@panix.com>
378         * scripts/check-installed-headers.sh: Generalize treatment of
379         sys/elf.h to all target architectures.
381         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
382         deleted typedef ucontext_t.
384 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
386         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
387         (__INTERNAL_SYSCALL1): Likewise.
388         (__INTERNAL_SYSCALL2): Likewise.
389         (__INTERNAL_SYSCALL3): Likewise.
390         (__INTERNAL_SYSCALL4): Likewise.
391         (__INTERNAL_SYSCALL5): Likewise.
392         (__INTERNAL_SYSCALL6): Likewise.
393         (__INTERNAL_SYSCALL7): Likewise.
394         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
395         (__INTERNAL_SYSCALL_NARGS): Likewise.
396         (__INTERNAL_SYSCALL_DISP): Likewise.
397         (INTERNAL_SYSCALL_CALL): Likewise.
398         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
399         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
400         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
401         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
402         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
403         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
404         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
405         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
406         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
407         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
408         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
409         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
410         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
412 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
414         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
415         macro.
416         * math/libm-test.inc (iszero_test_data): New array.
417         (iszero_test): New function.
418         (main): Call iszero_test.
419         * manual/arith.texi (Floating Point Classes): Document iszero.
420         * manual/libm-err-tab.pl: Update comment on interfaces without
421         ulps tabulated.
423 2016-09-23  Zack Weinberg  <zackw@panix.com>
425         * scripts/check-installed-headers.sh: New script.
426         * Rules: In each directory that defines header files to be installed,
427         run check-installed-headers.sh on them as a special test.
428         * Makefile: Likewise for the headers installed at top level.
430         * include/aliases.h, include/alloca.h, include/argz.h
431         * include/arpa/nameser.h, include/arpa/nameser_compat.h
432         * include/elf.h, include/envz.h, include/err.h
433         * include/execinfo.h, include/fpu_control.h, include/getopt.h
434         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
435         * include/link.h, include/malloc.h, include/mcheck.h
436         * include/mntent.h, include/netinet/ether.h
437         * include/nss.h, include/obstack.h, include/printf.h
438         * include/pty.h, include/resolv.h, include/rpc/auth.h
439         * include/rpc/auth_des.h, include/rpc/auth_unix.h
440         * include/rpc/clnt.h, include/rpc/des_crypt.h
441         * include/rpc/key_prot.h, include/rpc/netdb.h
442         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
443         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
444         * include/rpc/rpc_msg.h, include/rpc/svc.h
445         * include/rpc/svc_auth.h, include/rpc/xdr.h
446         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
447         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
448         * include/rpcsvc/ypupd.h, include/shadow.h
449         * include/stdio_ext.h, include/sys/epoll.h
450         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
451         * include/sys/prctl.h, include/sys/profil.h
452         * include/sys/statfs.h, include/sys/sysctl.h
453         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
454         * sysdeps/arm/nacl/include/bits/setjmp.h
455         * sysdeps/mips/include/sys/asm.h
456         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
457         * sysdeps/unix/sysv/linux/include/sys/timex.h
458         * sysdeps/x86/fpu/include/bits/fenv.h:
459         Add #ifndef _ISOMAC guard around internal declarations.
460         Add multiple-inclusion guard if not already present.
462 2016-09-23  Zack Weinberg  <zackw@panix.com>
464         * sysdeps/generic/sys/ucontext.h
465         * sysdeps/arm/sys/ucontext.h
466         * sysdeps/i386/sys/ucontext.h
467         * sysdeps/m68k/sys/ucontext.h
468         * sysdeps/mips/sys/ucontext.h
469         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
470         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
471         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
472         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
473         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
474         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
475         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
476         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
477         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
478         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
479         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
480         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
481         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
482         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
483         Include both bits/sigcontext.h and bits/sigstack.h.
484         Fix grammar error in comment, if present.
486         * bits/sigstack.h
487         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
488         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
489         * sysdeps/unix/sysv/linux/bits/sigstack.h
490         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
491         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
492         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
493         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
494         * bits/sigcontext.h
495         * sysdeps/mach/hurd/i386/bits/sigcontext.h
496         * sysdeps/unix/sysv/linux/bits/sigcontext.h
497         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
498         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
499         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
500         as well as signal.h, if this was not already allowed.  Request
501         definition of size_t if necessary.  Minimize semantically-null
502         differences across files.
504 2016-09-23  Zack Weinberg  <zackw@panix.com>
506         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
507         Remove all logic conditional on __need macros.  Move all the
508         conditionally defined types to their own headers...
509         * time/bits/types/clock_t.h: Define clock_t here.
510         * time/bits/types/clockid_t.h: Define clockid_t here.
511         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
512         * time/bits/types/struct_timespec.h: Define struct timespec here.
513         * time/bits/types/struct_timeval.h: Define struct timeval here.
514         * time/bits/types/struct_tm.h: Define struct tm here.
515         * time/bits/types/time_t.h: Define time_t here.
516         * time/bits/types/timer_t.h: Define timer_t here.
517         * time/Makefile: Install the new headers.
519         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
520         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
521         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
522         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
523         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
524         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
525         * sysdeps/unix/sysv/linux/bits/resource.h
526         * sysdeps/unix/sysv/linux/bits/timex.h
527         * sysdeps/unix/sysv/linux/mips/bits/resource.h
528         * sysdeps/unix/sysv/linux/net/ppp_defs.h
529         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
530         * sysdeps/unix/sysv/linux/sys/acct.h
531         * sysdeps/unix/sysv/linux/sys/timerfd.h
532         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
533         * time/sys/time.h, time/sys/timeb.h
534         Use the new bits/types headers.
536         * include/time.h: Remove __need logic.
537         * include/bits/time.h
538         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
539         * include/bits/types/time_t.h, include/bits/types/timer_t.h
540         * include/bits/types/struct_itimerspec.h
541         * include/bits/types/struct_timespec.h
542         * include/bits/types/struct_timeval.h
543         * include/bits/types/struct_tm.h:
544         New wrapper headers.
546 2016-09-23  Zack Weinberg  <zackw@panix.com>
548         * sysdeps/mach/hurd/net/if_ppp.h
549         * sysdeps/unix/sysv/linux/net/if_ppp.h:
550         Only define struct ifpppstatsreq and struct ifpppcstatsreq
551         if __USE_MISC is defined, to ensure struct ifreq is declared.
553         * inet/netinet/ether.h: Condition all function prototypes
554         on __USE_MISC, to ensure struct ether_addr is declared.
556         * socket/bits/types/struct_osockaddr.h: New header.
557         * include/bits/types/struct_osockaddr.h: New wrapper.
558         * socket/Makefile: Install the new header.
559         * socket/sys/socket.h, inet/protocols/talkd.h:
560         Refer to bits/types/struct_osockaddr.h for the definition of
561         struct osockaddr.
563 2016-09-23  Zack Weinberg  <zackw@panix.com>
565         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
566         * inet/protocols/routed.h, inet/protocols/talkd.h
567         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
568         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
569         * sysdeps/generic/netinet/if_ether.h
570         * sysdeps/generic/netinet/in_systm.h
571         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
572         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
573         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
574         * sysdeps/mach/hurd/net/if_arp.h
575         * sysdeps/mach/hurd/net/if_ppp.h
576         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
577         * sysdeps/unix/sysv/linux/bits/in.h
578         * sysdeps/unix/sysv/linux/net/ethernet.h
579         * sysdeps/unix/sysv/linux/net/if_arp.h
580         * sysdeps/unix/sysv/linux/net/if_ppp.h
581         * sysdeps/unix/sysv/linux/net/if_shaper.h
582         * sysdeps/unix/sysv/linux/net/route.h
583         * sysdeps/unix/sysv/linux/netinet/if_ether.h
584         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
585         * sysdeps/unix/sysv/linux/netinet/if_tr.h
586         * sysdeps/unix/sysv/linux/netipx/ipx.h
587         * sysdeps/unix/sysv/linux/sys/acct.h
588         * include/arpa/nameser.h, include/resolv.h:
589         Change all uses of u_char to unsigned char,
590         u_short and ushort to unsigned short, u_int and uint to unsigned int,
591         u_long and ulong to unsigned long, u_int8_t to uint8_t,
592         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
593         and u_int64_t and u_quad_t to uint64_t.
595         * mach/sys/reboot.h: Remove two casts of integer literals
596         to the types they already have.
598         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
599         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
600         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
601         from referring to 'unsigned char' to 'uint8_t' for consistency with
602         the macro definition below.
604         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
605         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
606         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
607         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
608         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
609         * sysdeps/unix/sysv/linux/sys/acct.h
610         * include/arpa/nameser.h, include/resolv.h:
611         Fix indentation disrupted by mechanical edits.
613         * inet/protocols/talkd.h, resolv/arpa/nameser.h
614         * sysdeps/generic/netinet/in_systm.h
615         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
616         * sysdeps/gnu/netinet/udp.h
617         * sysdeps/unix/sysv/linux/net/ethernet.h
618         * sysdeps/unix/sysv/linux/net/if_arp.h
619         * sysdeps/unix/sysv/linux/net/if_ppp.h
620         * sysdeps/unix/sysv/linux/net/if_shaper.h
621         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
622         * sysdeps/unix/sysv/linux/netinet/if_tr.h
623         * sysdeps/unix/sysv/linux/netipx/ipx.h
624         * sysdeps/unix/sysv/linux/sys/acct.h
625         Include stdint.h for uintNN_t definitions.
626         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
628 2016-09-23  Zack Weinberg  <zackw@panix.com>
630         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
631         * sysdeps/unix/sysv/linux/netrose/rose.h:
632         Include sys/socket.h and netax25/ax25.h.
634         * inet/netinet/icmp6.h, inet/netinet/ip6.h
635         * resolv/arpa/nameser_compat.h:
636         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
638         * sysdeps/unix/sysv/linux/sys/quota.h:
639         Use __caddr_t instead of caddr_t.
640         * sysdeps/unix/sysv/linux/sys/timerfd.h:
641         Use __clockid_t instead of clockid_t.
643         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
645         * argp/argp.h: Check whether _LIBC is defined before expanding it.
646         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
647         expanding it.
649         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
650         Define __glibc_c99_flexarr_available to 1 when the compiler
651         supports C99-compatible flexible array members, 0 otherwise.
652         * sysdeps/unix/sysv/linux/bits/socket.h
653         * sysdeps/mach/hurd/bits/socket.h
654         * bits/socket.h: Use __glibc_c99_flexarr_available in
655         definitions of struct cmsghdr and CMSG_DATA.
657 2016-09-23  Florian Weimer  <fweimer@redhat.com>
659         * manual/nss.texi (NSS Modules Interface): Adjust function return
660         type to enum nss_status.  Document errnop argument.  Clarify
661         h_errnop semantics.  Fix cross-reference formatting.
662         (NSS Module Function Internals): Mention that *errnop needs to be
663         set on failure, but not to zero.
665 2016-09-23  Florian Weimer  <fweimer@redhat.com>
667         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
668         (get_random_name): New functions.
669         (check_wrapper_flags_mode): Use linkat to give the new file a name
670         determined by get_random_name.
671         (do_test): Add calls to test open64 and openat64.
673 2016-09-23  Florian Weimer  <fweimer@redhat.com>
675         * test-skeleton.c: Remove #include <stdarg.h>.
677 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
679         [BZ #19826]
680         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
681         initialization of static TLS entries.
682         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
683         * nptl/allocatestack.c (init_one_static_tls): Likewise.
685 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
687         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
688         _hurd_malloc_fork_prepare.
689         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
690         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
691         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
692         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
693         (_hurd_fork_child_hook): Drop malloc_fork_child.
694         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
695         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
696         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
697         after locking locks (notably hurd_dtable_lock). Call
698         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
699         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
700         __malloc_fork_unlock_child.
701         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
703 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
705         * soft-fp/extendhftf2.c: New.
706         * soft-fp/fixhfti.c: Likewise.
707         * soft-fp/fixunshfti.c: Likewise.
708         * soft-fp/floattihf.c: Likewise.
709         * soft-fp/floatuntihf.c: Likewise.
710         * soft-fp/half.h: Likewise.
711         * soft-fp/trunctfhf2.c: Likewise.
713 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
715         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
716         macro.
717         * math/libm-test.inc (issubnormal_test_data): New array.
718         (issubnormal_test): New function.
719         * manual/arith.texi (Floating Point Classes): Document
720         issubnormal.
721         * manual/libm-err-tab.pl: Update comment on interfaces without
722         ulps tabulated.
724         * sysdeps/generic/stdint.h: Define
725         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
726         <bits/libc-header-start.h> instead of including <features.h>.
727         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
728         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
729         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
730         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
731         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
732         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
733         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
734         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
735         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
736         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
737         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
738         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
739         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
740         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
741         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
742         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
743         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
744         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
745         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
746         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
747         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
748         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
749         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
750         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
751         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
752         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
753         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
754         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
755         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
756         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
757         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
758         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
759         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
760         * manual/arith.texi (Integers): Document these macros for types
761         specified by width properties.
762         * manual/lang.texi (Width of Type): Document these macros for
763         other standard typedefs.
764         * stdlib/tst-width-stdint.c: New file.
765         * stdlib/Makefile (tests): Add tst-width-stdint.
767 2016-09-21  Florian Weimer  <fweimer@redhat.com>
769         [BZ #20016]
770         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
771         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
772         Move ...
773         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
774         ... here, as compatibility symbols in a new file.
775         * resolv/Makefile (libresolv-routines): Add compat-hooks.
776         * resolv/res_init.c (__res_vinit): Adjust member names.
777         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
778         * resolv/resolv.h (res_sendhookact, res_send_qhook)
779         (res_send_rhook): Remove.
780         (struct __res_state): Rename qhook, rhook members.
782 2016-09-21  Florian Weimer  <fweimer@redhat.com>
784         malloc: Use __libc_lock wrappers.
785         * malloc/arena.c (list_lock, free_list_lock): Define using
786         __libc_lock_define_initialized.
787         (arena_lock): Adjust formatting.
788         * malloc/malloc.c (struct malloc_state): Define mutex using
789         __libc_lock_define.
790         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
791         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
792         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
793         (mutex_unlock, mutex_trylock): Remove.
794         (__pthread_initialize): Remove unused macro.
795         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
796         (mutex_unlock, mutex_trylock): Remove.
798 2016-09-21  Florian Weimer  <fweimer@redhat.com>
800         [BZ #20592]
801         Remove RR type classification macros.
802         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
803         (ns_t_udp_p, ns_t_xfr_p): Remove.
805 2016-09-21  Florian Weimer  <fweimer@redhat.com>
807         Remove misleading version information.
808         * resolv/arpa/nameser.h (__NAMESER): Remove.
809         * resolv/arpa/nameser_compat.h (__BIND): Remove.
811 2016-09-21  Florian Weimer  <fweimer@redhat.com>
813         Remove the always-defined BIND_4_COMPAT macro.
814         * resolv/arpa/nameser.h: Unconditionally include
815         <arpa/nameser_compat.h>.
816         (BIND_4_COMPAT): Remove.
817         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
819 2016-09-21  Florian Weimer  <fweimer@redhat.com>
821         [BZ #20591]
822         Remove obsolete DNSSEC support.
823         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
824         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
825         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
826         (ns_verify_tcp, ns_verify_tcp_init): Remove.
827         (ns_cert_types): Add comment.
828         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
829         separately.
830         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
831         (dst_s_dns_key_id): Remove.
832         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
833         variables.
835 2016-09-21  Florian Weimer  <fweimer@redhat.com>
837         [BZ #20524]
838         * manual/string.texi (String/Array Comparison): Clarify the
839         strverscmp behavior.
841 2016-09-21  Florian Weimer  <fweimer@redhat.com>
843         * test-skeleton.c (xasprintf): Add function.
844         * io/tst-open-tmpfile.c: New test.
845         * io/Makefile (tests): Add it.
847 2016-09-21  Florian Weimer  <fweimer@redhat.com>
849         Avoid running $(CXX) during build to obtain header file paths.
850         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
851         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
852         * Makerules (cstdlib, cmath): Remove variables.  Use
853         $(c++-cstdlib-header), $(c++-cmath-header) instead.
854         * configure: Regenerate.
856 2016-09-21  Florian Weimer  <fweimer@redhat.com>
858         * Makeconfig (all-object-suffixes): Include .op only if
859         $(build-profile).
861 2016-09-21  Florian Weimer  <fweimer@redhat.com>
863         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
864         conditionals.  Do not define PATH_MAX.
866 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
868         * posix/Makefile (tests): Add tst-spawn3.
869         * posix/tst-spawn3.c: New file.
870         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
871         if it is already opened for open action.
873         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
874         all signals when executing the clone vfork child.
875         (SIGALL_SET): Remove macro.
877         * nptl/Makefile (tests): Add tst-exec5.
878         * nptl/tst-exec5.c: New file.
879         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
880         asynchronous cancellation.
882 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
884         * hurd/exc2signal.c: #include <hurd/signal.h>
885         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
886         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
887         accordingly.
888         * mach/mach_error.c (mach_error): Fix old-style function definition.
889         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
891 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
893         * math/Makefile (libm-calls): Remove s_nanF.
894         (gen-libm-calls): Add s_nanF.
896         * math/s_nan.c: Refactor into ...
897         * math/s_nan_template.c: New file.
899         * math/s_nanf.c: Removed.
900         * math/s_nanl.c: Removed.
901         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
902         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
904         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
905         (LDOUBLE_nanl_libm_version): New macro.
907         * sysdeps/generic/math-type-macros-double.h:
908         (M_STRTO_NAN): New macro.
909         * sysdeps/generic/math-type-macros-float.h: Likewise.
910         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
912         * sysdeps/generic/math-type-macros.h: Document
913         M_STRTO_NAN.
915 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
917         * math/s_nanf.c: Remove __nanf undef.
918         * math/s_nan.c: Remove __nan undef.
919         * math/s_nanl.c: Remove __nanl undef.
921         * sysdeps/generic/math_private.h (__nan): Remove macro
922         override.
923         (__nanf): Likewise.
924         (__nanl): Likewise.
926 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
928         * math/Makefile (gen-all-calls): New variable.
929         (generated): Replace gen-libm-calls with gen-all-calls.
930         (gen-libm-templates.stmp): Likewise.  Also, ensure
931         the output directory exists or is created and add
932         dependency on the Makefile.
933         (calls): Move s_ldexpF into gen-calls.
934         (gen-calls): New variable.
936         * math/s_ldexpf.c: Removed.
937         * math/s_ldexpl.c: Removed.
938         * math/s_ldexp.c: Refactored into ...
939         * math/s_ldexp_template.c: New file.
941         * sysdeps/generic/math-type-macros-double.h: Remove
942         redundant fall-through definition of declare_mgen_alias.
943         (declare_mgen_alias_2): New macro.
945         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
946         New macro for function aliased to two exported symbols.
948         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
949         new template file.
950         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
952 2016-09-20  Florian Weimer  <fweimer@redhat.com>
954         * Makeconfig (all-object-suffixes): Remove .og.
955         * Makerules (elide-routines.og): Remove.
956         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
957         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
958         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
960 2016-09-20  Florian Weimer  <fweimer@redhat.com>
962         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
963         .os objects.
965 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
967         [BZ #20615]
968         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
969         fpu directory by non-fpu.
970         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
971         on non-fpu directory from a fpu directory.
973 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
975         * include/limits.h: Define
976         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
977         <bits/libc-header-start.h> instead of including <features.h>.
978         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
979         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
980         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
981         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
982         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
983         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
984         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
985         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
986         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
987         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
988         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
989         * manual/lang.texi (Width of Type): Document these macros.
990         * stdlib/tst-width.c: New file.
991         * stdlib/Makefile (tests): Add tst-width.
993 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
995         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
996         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
998 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1000         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
1001         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
1002         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
1004 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1006         [BZ #18243]
1007         * rt/Makefile (test): Add tst-shm-cancel.
1008         * rt/tst-shm-cancel.c: New file.
1009         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
1011         [BZ #18243]
1012         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
1013         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
1014         definition.
1015         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
1016         uncontended case.
1017         * nptl/sem_wait.c (__new_sem_wait): Likewise.
1018         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
1019         (tf): Fix check for uncontended case.
1020         (do_test): Likewise.
1021         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
1022         (tf): Fix check for uncontended case.
1023         (do_test): Likewise.
1024         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
1025         (tf): Fix check for uncontended case.
1026         (do_test): Likewise.
1027         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
1028         (tf): Fix check for uncontended case.
1029         (do_test): Likewise.
1031         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
1032         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
1034         [BZ #15765]
1035         * nptl/Makefile (tests): Add tst-sem16.
1036         * nptl/tst-sem16.c: New file.
1037         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
1039         * nptl/sem_open.c (sem_open): Init pad value to 0.
1040         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
1041         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
1043 2016-09-15  Florian Weimer  <fweimer@redhat.com>
1045         [BZ #20611]
1046         * inet/Makefile (routines): Add inet6_scopeid_pton.
1047         (tests): Add tst-inet6_scopeid_pton.
1048         * inet/inet6_scopeid_pton.c: New file.
1049         * inet/net-internal.h: Likewise.
1050         * inet/tst-inet6_scopeid_pton.c: New test.
1051         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
1052         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
1053         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1055 2016-09-14  Florian Weimer  <fweimer@redhat.com>
1057         Remove support for compiling wrappers with PTW.
1058         * sysdeps/nptl/Makeconfig: Drop ptw- support.
1059         * nptl/Makefile (pthread-compat-wrappers): Define.
1060         (libpthread-routines): Use pthread-compat-wrappers.
1061         * sysdeps/unix/sysv/linux/alpha/Makefile
1062         (libpthread-routines, libpthread-shared-only-routines): Remove
1063         ptw- prefix.
1064         * sysdeps/s390/nptl/Makefile
1065         (libpthread-routines, libpthread-shared-only-routines): Likewise.
1066         * sysdeps/ia64/nptl/Makefile
1067         (libpthread-routines, libpthread-shared-only-routines): Likewise.
1068         * sysdeps/nacl/Makefile (libpthread-routines): Use
1069         pthread-compat-wrappers to filter the routines list instead of the
1070         ptw- prefix.
1072 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1074         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
1075         with L() and remove explicit suffix, convert real literals
1076         which can be equivalentally substituted with integers, and
1077         transform -L(x) to L(-x).
1079         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1080         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1081         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1082         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1083         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1084         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1085         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1086         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1087         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1088         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1089         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1090         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1091         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1092         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1093         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1094         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1095         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1096         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1097         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1098         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1099         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1100         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1101         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1102         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1103         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1104         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1105         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1106         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1107         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1108         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1109         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1110         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1111         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1112         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1113         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1114         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1115         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1116         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1117         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1118         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1119         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1120         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1121         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1122         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1123         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1124         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1125         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1126         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1127         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1128         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1130 2016-09-13  Florian Weimer  <fweimer@redhat.com>
1132         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
1134 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1136         * malloc/Makefile (tests): Remove individual static test names
1137         and just add all of tests-static.
1139         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
1141 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
1143         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
1144         file.
1146         * sysdeps/sparc/fpu/fegetmode.c: New file.
1147         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
1149         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
1150         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
1152         * sysdeps/s390/fpu/fegetmode.c: New file.
1153         * sysdeps/s390/fpu/fesetmode.c: Likewise.
1155         * sysdeps/powerpc/fpu/fegetmode.c: New file.
1156         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
1157         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
1158         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
1159         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
1160         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
1162         * sysdeps/mips/fpu/fegetmode.c: New file.
1163         * sysdeps/mips/fpu/fesetmode.c: Likewise.
1165         * sysdeps/m68k/fpu/fegetmode.c: New file.
1166         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
1168         * sysdeps/ia64/fpu/fegetmode.c: New file.
1169         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
1171         * sysdeps/hppa/fpu/fegetmode.c: New file.
1172         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
1174         * sysdeps/arm/fegetmode.c: New file.
1175         * sysdeps/arm/fesetmode.c: Likewise.
1177         * sysdeps/alpha/fpu/fegetmode.c: New file.
1178         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
1180         * sysdeps/aarch64/fpu/fegetmode.c: New file.
1181         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
1183         * math/fegetmode.c: New file.
1184         * math/fesetmode.c: Likewise.
1185         * sysdeps/i386/fpu/fegetmode.c: Likewise.
1186         * sysdeps/i386/fpu/fesetmode.c: Likewise.
1187         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
1188         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
1189         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
1190         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
1191         declaration.
1192         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
1193         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
1194         typedef.
1195         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1196         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1197         (femode_t): New typedef.
1198         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1199         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1200         (femode_t): New typedef.
1201         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1202         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1203         (femode_t): New typedef.
1204         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1205         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1206         (femode_t): New typedef.
1207         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1208         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1209         (femode_t): New typedef.
1210         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1211         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1212         (femode_t): New typedef.
1213         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1214         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1215         (femode_t): New typedef.
1216         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1217         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1218         (femode_t): New typedef.
1219         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1220         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1221         (femode_t): New typedef.
1222         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1223         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1224         (femode_t): New typedef.
1225         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
1226         declaration.
1227         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1228         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1229         (femode_t): New typedef.
1230         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1231         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1232         (femode_t): New typedef.
1233         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1234         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1235         (femode_t): New typedef.
1236         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1237         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1238         (femode_t): New typedef.
1239         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1240         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1241         (femode_t): New typedef.
1242         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1243         * manual/arith.texi (FE_DFL_MODE): Document macro.
1244         (fegetmode): Document function.
1245         (fesetmode): Likewise.
1246         * math/Versions (fegetmode): New libm symbol at version
1247         GLIBC_2.25.
1248         (fesetmode): Likewise.
1249         * math/Makefile (libm-support): Add fegetmode and fesetmode.
1250         (tests): Add test-femode and test-femode-traps.
1251         * math/test-femode-traps.c: New file.
1252         * math/test-femode.c: Likewise.
1253         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
1254         alias for __fe_dfl_env.
1255         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
1256         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
1257         (__fe_dfl_mode): Likewise.
1258         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
1259         version GLIBC_2.25.
1260         * sysdeps/nacl/libm.abilist: Update.
1261         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1262         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1263         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1264         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1265         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1266         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1267         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1268         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1269         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1270         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1271         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1272         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1274         Likewise.
1275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1276         Likewise.
1277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1278         Likewise.
1279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1280         Likewise.
1281         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1282         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1283         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1284         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1285         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1287         Likewise.
1288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1289         Likewise.
1290         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1291         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1292         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1294 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
1296         [BZ #20495]
1297         [BZ #20508]
1298         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
1299         processors, set Use_dl_runtime_resolve_slow and set
1300         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
1301         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
1302         New.
1303         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
1304         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
1305         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
1306         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
1307         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
1308         if Use_dl_runtime_resolve_opt is set.  Use
1309         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
1310         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
1311         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
1312         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
1313         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
1314         New.
1315         (_dl_runtime_resolve_opt): Likewise.
1316         (_dl_runtime_profile): Define only if _dl_runtime_profile is
1317         defined.
1319 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1321         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
1322         __libc_memalign with "+ RELA R_390_GLOB_DAT".
1324 2016-09-06  Florian Weimer  <fweimer@redhat.com>
1326         Convert malloc to __libc_lock.  Automated part, using this Perl
1327         s/// command:
1328           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
1329             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
1330         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
1331         conversion.
1333 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
1335         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
1336         (linknamespace-symlists-tests): Likewise.
1337         (linknamespace-header-tests): Likewise.
1339 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
1341         [BZ #19810]
1342         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
1343         * elf/tst-noload.c: New test case.
1344         * elf/Makefile (tests): Add tst-noload.
1346 2016-09-02  Roland McGrath  <roland@hack.frob.com>
1348         * sysdeps/nacl/dup.c: Add libc_hidden_def.
1350         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
1351         not any more.
1353         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
1355 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1357         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
1358         (do_cos_slow): Likewise.
1359         (do_sin): Likewise.
1360         (do_sin_slow): Likewise.
1361         (slow): Likewise.
1362         (slow1): Likewise.
1363         (slow2): Likewise.
1364         (sloww): Likewise.
1365         (sloww1): Likewise.
1366         (sloww2): Likewise.
1367         (bsloww): Likewise.
1368         (bsloww1): Likewise.
1369         (bsloww2): Likewise.
1370         (cslow2): Likewise.
1372         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
1374         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
1375         arguments.  Consolidate input partitioning from callers here.
1376         (do_cos_slow): Likewise.
1377         (do_sin): Likewise.
1378         (do_sin_slow): Likewise.
1379         (do_sincos_1): Remove the no longer necessary input partitioning.
1380         (do_sincos_2): Likewise.
1381         (__sin): Likewise.
1382         (__cos): Likewise.
1383         (slow1): Likewise.
1384         (slow2): Likewise.
1385         (sloww1): Likewise.
1386         (sloww2): Likewise.
1387         (bsloww1): Likewise.
1388         (bsloww2): Likewise.
1389         (cslow2): Likewise.
1391 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1393         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
1394         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
1395         outside of allocated array.
1397 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1399         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
1400         instead of MB_CUR_MAX to avoid variable-length array.
1402 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1404         * math/Makefile (libm-calls): Remove k_rem_pio2F.
1405         (type-double-routines): Add k_rem_pio2.
1406         (type-float-routines): Add k_rem_pio2f.
1408         * sysdeps/generic/math_private.h:
1409         (__kernel_rem_pio2l): Removed.
1411         * math/k_rem_pio2l.c: Removed.
1412         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
1413         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
1414         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
1415         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
1417 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1419         * math/Makefile (gen-libm-calls): Add s_fmin
1420         (libm-calls): Remove above.
1422         * math/s_fmin.c: Refactor into ...
1423         * math/s_fmin_template.c: New file.
1425         * math/s_fminf.c: Removed.
1426         * math/s_fminl.c: Removed.
1427         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1428         (LDOUBLE_fmin_libm_version): New macro.
1430         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
1431         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
1433 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1435         * math/Makefile: (gen-libm-calls): Add s_fmax.
1436         (libm-calls): Remove above.
1438         * math/s_fmax.c: Refactor into ...
1439         * math/s_fmax_template.c: New file.
1440         * math/s_fmaxf.c: Removed.
1441         * math/s_fmaxl.c: Removed.
1443         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1444         (LDOUBLE_fmaxl_libm_version): New macro.
1446         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
1447         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
1449         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
1450         s_fmin.c to pick the aarch64 version of the file.
1451         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
1452         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
1454 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1456         * math/Makefile: (gen-libm-calls): Add s_nextdown.
1457         (libm-calls): Remove above.
1459         * math/s_nextdown.c: Refactor into ...
1460         * math/s_nextdown_template.c: New file.
1461         * math/s_nextdownf.c: Removed.
1462         * math/s_nextdownl.c: Removed.
1464         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
1466 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1468         * math/Makefile (gen-libm-calls): Add s_fdim.
1469         (libm-calls): Move to above.
1471         * math/s_fdim.c: Renamed and refactored into to ...
1472         * math/s_fdim_template.c: New file.
1473         * math/s_fdiml.c: Removed.
1474         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
1475         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
1477         * sysdeps/generic/math-type-macros-double.h:
1478         (declare_mgen_alias): Don't declare if already declared.
1479         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
1480         Likewise.
1482         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1483         (declare_mgen_alias): Don't declare if already declared.
1484         (M_LIBM_NEED_COMPAT): Likewise.
1485         (declare_mgen_libm_compat): Likewise.
1486         (LDOUBLE_fdiml_libm_version): New macro.
1488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1489         Include math/s_fdim.c now that ldbl-opt version is not needed.
1490         (declare_mgen_alias): New macro to disable aliasing.
1492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
1493         (declare_mgen_alias): Likewise.
1494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
1495         (declare_mgen_alias): Likewise.
1496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
1497         (declare_mgen_alias): Likewise.
1498         (M_LIBM_NEED_COMPAT): Likewise.
1500 2016-09-01  Florian Weimer  <fweimer@redhat.com>
1502         [BZ #20525]
1503         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
1504         Include <linux/quota.h>.
1505         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
1506         and btodb.
1507         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
1508         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
1509         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
1510         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
1511         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
1512         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
1513         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
1514         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
1515         types.
1516         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
1517         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
1519 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1521         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
1522         (gammal_positive): Fix spacing.
1523         (__ieee754_gammal_r): Likewise.
1525 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1527         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
1528         (_Float128): Define as long double, always.
1529         (L): Apply long double type suffix, always.
1531         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
1532         _Float128, excepting comments.
1534         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1535         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1536         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1537         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1538         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1539         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1540         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1541         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1542         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1543         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
1544         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1545         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1546         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1547         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1548         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1549         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1550         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1551         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1552         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1553         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1554         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1555         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1556         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1557         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1558         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1559         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1560         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1561         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1562         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1563         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1564         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1565         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1566         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1567         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1568         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1569         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1570         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1571         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1572         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1573         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1574         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1575         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1576         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1577         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1578         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1579         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1580         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1581         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1582         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1583         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1584         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1585         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1586         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1587         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1588         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
1589         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1590         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1591         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1592         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1593         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1594         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1595         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1596         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1597         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1598         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1599         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1600         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1601         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1603         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
1604         _Float128, and include math_private.h.
1605         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1607         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
1608         long double semantics.
1609         (_Float128): Likewise.
1610         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
1611         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
1612         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
1613         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
1615 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1617         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
1618         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
1619         * sysdeps/s390/configure: Regenerated.
1620         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
1621         instruction for raising over-/underflow if z196 zarch is supported
1622         by default.
1623         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
1625 2016-08-30  Svante Signell  <svante.signell@gmail.com>
1627         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
1628         it point to a dumb buffer for RPC to fill it.
1630 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1632         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
1633         instead of if/else.
1634         (do_sin_slow): Likewise.
1635         (do_sincos_1): Use fabs instead of if/else.
1636         (do_sincos_2): Likewise.
1637         (__sin): Likewise.
1638         (__cos): Likewise.
1639         (slow2): Likewise.
1640         (sloww): Likewise.
1641         (sloww1): Likewise.  Drop argument M.
1642         (sloww2): Use fabs instead of if/else.
1643         (bsloww): Likewise.
1644         (bsloww1): Likewise.
1645         (bsloww2): Likewise.
1647         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
1648         fall through comment.
1649         (do_sincos_1): Likewise.
1651         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
1652         Consolidate switch cases 0 and 2.
1654 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1656         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
1657         (libm-calls): Remove the above.
1659         * math/s_cexp_template.c: Update using type-generic macros.
1660         * math/s_clog10_template.c: Likewise.
1661         * math/s_cpow_template.c: Likewise.
1662         * math/s_clog_template.c: Likewise.
1663         * math/s_cproj_template.c: Likewise.
1664         * math/s_csqrt_template.c: Likewise.
1666         * math/s_cexp.c: Removed.
1667         * math/s_cexpf.c: Removed.
1668         * math/s_cexpl.c: Removed.
1669         * math/s_clog10.c: Removed.
1670         * math/s_clog10f.c: Removed.
1671         * math/s_clog10l.c: Removed.
1672         * math/s_cpow.c: Removed.
1673         * math/s_cpowf.c: Removed.
1674         * math/s_cpowl.c: Removed.
1675         * math/s_clog.c: Removed.
1676         * math/s_clogf.c: Removed.
1677         * math/s_clogl.c: Removed.
1678         * math/s_cproj.c: Removed.
1679         * math/s_cprojf.c: Removed.
1680         * math/s_cprojl.c: Removed.
1681         * math/s_csqrt.c: Removed.
1682         * math/s_csqrtf.c: Removed.
1683         * math/s_csqrtl.c: Removed.
1685         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
1686         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
1687         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
1688         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
1689         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
1690         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
1692         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
1693         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
1694         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
1695         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
1696         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
1697         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
1698         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
1699         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
1700         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
1701         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
1702         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
1704         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
1705         version.
1707         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
1708         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
1709         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
1710         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
1712 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1714         * s_cexp_template.c: Copy of s_cexp.c.
1715         * s_clog_template.c: Copy of s_clog.c.
1716         * s_clog10_template.c: Copy of s_clog10.c.
1717         * s_cpow_template.c: Copy of s_cpow.c.
1718         * s_cproj_template.c: Copy of s_cproj.c.
1719         * s_csqrt_template.c: Copy of s_csqrt.c.
1721 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1723         [BZ #20517]
1724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1725         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
1726         exported.
1728 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
1730         * math/fetestexceptflag.c: New file.
1731         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
1732         Stefan Liebler.
1733         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1734         (fetestexceptflag): New function declaration.
1735         * manual/arith.texi (fetestexceptflag): Document function.
1736         * math/Versions (fetestexceptflag): New libm symbol at version
1737         GLIBC_2.25.
1738         * math/Makefile (libm-support): Add fetestexceptflag.
1739         (tests): Add test-fetestexceptflag.
1740         * math/test-fetestexceptflag.c: New file.
1741         * sysdeps/nacl/libm.abilist: Update.
1742         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1743         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1744         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1745         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1746         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1747         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1748         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1749         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1750         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1751         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1752         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1753         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1755         Likewise.
1756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1757         Likewise.
1758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1759         Likewise.
1760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1761         Likewise.
1762         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1763         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1764         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1765         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1766         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1768         Likewise.
1769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1770         Likewise.
1771         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1772         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1773         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1775 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1777         [BZ #20432]
1778         Avoid strong references to malloc-internal symbols when linking
1779         statically, to support statically interposed mallocs.
1780         * include/libc-symbols.h (call_function_static_weak): New macro.
1781         * malloc/Makefile (tests): Add tst-interpose-nothread,
1782         tst-interpose-thread, tst-interpose-static-nothread,
1783         tst-interpose-static-thread.
1784         (tests-static): Add tst-interpose-static-nothread,
1785         tst-interpose-static-thread.
1786         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
1787         tst-interpose-aux-thread.o.
1788         (test-extras): Add tst-interpose-aux-nothread,
1789         tst-interpose-aux-thread.
1790         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
1791         tst-interpose-aux-nothread.o.
1792         (tst-interpose-thread, tst-interpose-static-thread): Link with
1793         tst-interpose-aux-thread.o and libthread.
1794         * malloc/tst-interpose-aux-nothread.c: New file.
1795         * malloc/tst-interpose-aux-thread.c: Likewise.
1796         * malloc/tst-interpose-aux.c: Likewise.
1797         * malloc/tst-interpose-aux.h: Likewise.
1798         * malloc/tst-interpose-nothread.c: Likewise.
1799         * malloc/tst-interpose-skeleton.c: Likewise.
1800         * malloc/tst-interpose-static-nothread.c: Likewise.
1801         * malloc/tst-interpose-static-thread.c: Likewise.
1802         * malloc/tst-interpose-thread.c: Likewise.
1803         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
1804         * sysdeps/mach/hurd/fork.c (__fork): Only call
1805         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
1806         __malloc_fork_unlock_child if defined.
1807         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1809 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1811         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
1812         timespec C99 designated initialization.
1814 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1816         [BZ #19946]
1817         Avoid expected SIGALRM signals.
1818         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
1819         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
1820         (xpthread_create, xpthread_detach, xpthread_join)
1821         (delayed_exit_thread, delayed_exit): New functions.
1822         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
1823         (tf): Use xpthread_cond_wait.
1824         (do_test): Likewise.  Replace alarm with delayed_exit.
1825         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1826         (do_test): Call delayed_exit.  Report failure.
1827         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1828         (do_test): Call delayed_exit.
1829         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1830         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
1831         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1832         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
1833         error.
1834         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1835         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
1836         error.
1837         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
1838         (do_test): Call delayed_exit.
1839         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
1840         (do_test): Call delayed_exit.
1841         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
1842         (do_test): Call delayed_exit instead of alarm.  Use
1843         xpthread_mutex_lock.
1844         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
1845         (do_test): Call delayed_exit instead of alarm.  Use
1846         xpthread_mutex_lock.
1847         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
1848         (do_test): Call delayed_exit instead of alarm.
1849         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
1850         (do_test): Call delayed_exit instead of alarm.  Use
1851         xpthread_spin_lock.
1852         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
1853         (do_test): Call delayed_exit instead of alarm.  Use
1854         xpthread_join.
1856 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
1858         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
1859         adjust CFA when allocating register save area on re-aligned
1860         stack.
1862 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1864         * string/tst-cmp.c: New test.
1865         * string/Makefile (tests): Add it.
1867 2016-08-25  Mark Wielaard  <mark@klomp.org>
1869         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
1870         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
1871         (check_tree_recurse): Use newly defined accessors.
1872         (check_tree): Likewise.
1873         (maybe_split_for_insert): Likewise.
1874         (__tfind): Likewise.
1875         (__tdelete): Likewise.
1876         (trecurse): Likewise.
1877         (tdestroy_recurse): Likewise.
1878         (__tsearch): Likewise. And add asserts for malloc alignment.
1879         (__twalk): Cast root to node in case CHECK_TREE is defined.
1881 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1883         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
1885 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1887         * math/Makefile (libm-gen-calls): Add
1888         catan, catanh, ctan, ctanh.
1889         (libm-calls): Remove the above.
1891         * math/s_catan_template.c: Update using type-generic macros.
1892         * math/s_catanh_template.c: Likewise.
1893         * math/s_ctan_template.c: Likewise.
1894         * math/s_ctanh_template.c: Likewise.
1896         * math/s_catanf.c: Removed.
1897         * math/s_catan.c: Removed.
1898         * math/s_catanl.c: Removed.
1899         * math/s_catanhf.c: Removed.
1900         * math/s_catanh.c: Removed.
1901         * math/s_catanhl.c: Removed.
1902         * math/s_ctanf.c: Removed.
1903         * math/s_ctan.c: Removed.
1904         * math/s_ctanl.c: Removed.
1905         * math/s_ctanhf.c: Removed.
1906         * math/s_ctanh.c: Removed.
1907         * math/s_ctanhl.c: Removed.
1909         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
1910         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
1911         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
1912         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
1913         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
1914         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
1916         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
1917         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
1918         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
1919         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
1921 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1923         * s_catan_template.c: Copy of s_catan.c.
1924         * s_catanh_template.c: Copy of s_catanh.c.
1925         * s_ctan_template.c: Copy of s_ctan.c.
1926         * s_ctanh_template.c: Copy of s_ctanh.c.
1928 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1930         * math/Makefile (gen-libm-calls): Move
1931         casin, casinh, csin, csinh here.
1932         (libm-calls): Remove the above.
1934         * math/s_casin_template.c: Update using type-generic macros.
1935         * math/s_casinh_template.c: Likewise.
1936         * math/s_csin_template.c: Likewise.
1937         * math/s_csinh_template.c: Likewise.
1938         * math/k_casinh_template.c: Likewise.
1940         * math/s_casinf.c: Removed.
1941         * math/s_casin.c: Removed.
1942         * math/s_casinl.c: Removed.
1943         * math/s_casinh.c: Removed.
1944         * math/s_casinhf.c: Removed.
1945         * math/s_casinhl.c: Removed.
1946         * math/s_csin.c: Removed.
1947         * math/s_csinf.c: Removed.
1948         * math/s_csinl.c: Removed.
1949         * math/s_csinh.c: Removed.
1950         * math/s_csinhf.c: Removed.
1951         * math/s_csinhl.c: Removed.
1952         * math/k_casinh.c: Removed.
1953         * math/k_casinhf.c: Removed.
1954         * math/k_casinhl.c: Removed.
1956         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
1957         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
1958         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
1959         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
1961         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
1962         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
1963         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
1964         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
1965         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
1966         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
1967         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
1968         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
1970         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
1971         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
1972         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
1973         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
1975         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
1976         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
1977         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
1978         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
1980 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1982         * s_casin_template.c: Copy of s_casin.c.
1983         * s_casinh_template.c: Copy of s_casinh.c.
1984         * s_csin_template.c: Copy of s_csin.c.
1985         * s_csinh_template.c: Copy of s_csinh.c.
1986         * k_casinh_template.c: Copy of k_casinh.c.
1988 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
1990         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
1992 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1994         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
1995         (mul_split) Remove, rename as mul_splitl, remove
1996         redundant float.h include, and include via mul_splitl.h
1998         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1999         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2000         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2001         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
2002         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2004         * math/mul_splitl.h: New file.
2006         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
2007         Move into mul_split.h, and remove redundant float.h include.
2009         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
2010         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
2011         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2012         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
2014         * math/mul_split.h: New file.
2016 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2018         * math/Makefile (libm-gen-calls): Move
2019         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
2020         (libm-calls): Remove above.
2022         * math/s_cacos_template.c: Update using type-generic macros.
2023         * math/s_cacosh_template.c: Likewise.
2024         * math/s_ccos_template.c: Likewise.
2025         * math/s_ccosh_template.c: Likwise.
2027         * math/s_cacosf.c: Removed.
2028         * math/s_cacos.c: Removed.
2029         * math/s_cacosl.c: Removed.
2030         * math/s_cacoshf.c: Removed.
2031         * math/s_cacosh.c: Removed.
2032         * math/s_cacoshl.c: Removed.
2033         * math/s_ccosf.c: Removed.
2034         * math/s_ccos.c: Removed.
2035         * math/s_ccosl.c: Removed.
2036         * math/s_ccoshf.c: Removed.
2037         * math/s_ccosh.c: Removed.
2038         * math/s_ccoshl.c: Removed.
2040         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
2041         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
2042         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
2043         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
2044         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
2045         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
2047         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
2048         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
2049         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
2050         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
2052         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
2053         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
2054         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
2055         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
2057 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2059         * s_cacos_template.c: Copy of s_cacos.c.
2060         * s_cacosh_template.c: Copy of s_cacosh.c.
2061         * s_ccos_template.c: Copy of s_ccos.c.
2062         * s_ccosh_template.c: Copy of s_ccosh.c.
2064 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2066         * stdlib/tst-strtod-round-skeleton.c:
2067         Refactored from tst-strtod-round.c.
2069         (L_): New macro to apply literal modifier.
2070         (FNPFX): New macro to select str or wcs prefix.
2071         (CHAR): New macro to choose wchar_t or char.
2072         (STRM): New macro to choose printf for tested character type.
2074         (STRTO): New macro to choose appropriate string -> real function.
2075         (FNPFXS): Stringitized version of FNPFX.
2076         (STR): Support for above macro.
2077         (STRX): Likewise.
2079         (TEST): Update with above macros.
2080         (test): Likewise.
2081         (GEN_ONE_TEST): Likewise.
2082         (test_in_one_mode): Likewise.
2084         * stdlib/tst-strtod-round.c: New file.
2085         * wcsmbs/tst-wcstod-round.c: New file.
2087         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
2088         (tst-wcstod-round): Add libm depencency for fesetround.
2090 2016-08-19  Zack Weinberg  <zackw@panix.com>
2092         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
2094 2016-08-18  Torvald Riegel  <triegel@redhat.com>
2096         [BZ #20477]
2097         * resolv/res_hconf.c (do_init): Use atomic access.
2098         * resolv/res_hconf.h: Add comments.
2099         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
2100         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
2101         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2103 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
2105         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
2106         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
2107         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
2108         Likewise.
2110 2016-08-18  Florian Weimer  <fweimer@redhat.com>
2112         [BZ #16907]
2113         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
2114         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
2115         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
2116         (__attribute__): Remove definition.
2118 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2120         * sysdeps/ieee754/ldbl-128/e_asinl.c:
2121         Remove unused sqrtl declaration.
2123 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2125         * math/Makefile: (gen-libm-templates.stmp): New rule.
2126         (libm-calls): Move carg conj cimag and cabs into ...
2127         (gen-libm-calls): New variable.
2128         (generated): Inform Make objects from gen-libm-calls
2129         may be generated.
2131         * sysdeps/generic/math-type-macros.h: New file.
2132         * sysdeps/generic/math-type-macros-float.h: Likewise.
2133         * sysdeps/generic/math-type-macros-double.h: Likewise.
2134         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
2135         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
2136         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
2138         * math/cabs.c: Refactor into
2139         * math/cabs_template.c: new file.
2140         * math/cabsf.c: Removed.
2141         * math/cabsl.c: Removed.
2142         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
2143         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
2145         * math/carg.c: Refactor into
2146         * math/carg_template.c: new file.
2147         * math/cargf.c: Removed.
2148         * math/cargl.c: Removed.
2149         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
2150         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
2152         * math/conj.c: Refactor into
2153         * math/conj_template.c: new file.
2154         * math/conjf.c: Removed.
2155         * math/conjl.c: Removed.
2156         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
2157         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
2159         * math/cimag.c: Refactor into
2160         * math/cimag_template.c: new file.
2161         * math/cimagf.c: Removed.
2162         * math/cimagl.c: Removed.
2163         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
2164         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
2166         * math/cimag.c: Refactor into
2167         * math/cimag_template.c: new file.
2168         * math/cimagf.c: Removed.
2169         * math/cimagl.c: Removed.
2170         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
2171         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
2173 2016-08-17  Florian Weimer  <fweimer@redhat.com>
2175         Reduce time to expected nptl/tst-once5 failure.
2176         * nptl/tst-once5.cc (TIMEOUT): Define.
2178 2016-08-17  Florian Weimer  <fweimer@redhat.com>
2180         [BZ #20452]
2181         Avoid additional copies of objects in libc.a in static libraries.
2182         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
2183         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
2184         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
2185         rt-sysdep.
2186         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
2187         Add nptl-sysdep.
2188         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
2189         Add ptw-sysdep.
2190         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
2191         rt-sysdep.
2192         * sysdeps/unix/sysv/linux/alpha/Makefile
2193         (libpthread-shared-only-routines): Add ptw-sysdep,
2194         ptw-sigprocmask, ptw-rt_sigaction.
2195         * sysdeps/unix/sysv/linux/ia64/Makefile
2196         (librt-shared-only-routines): Add rt-sysdep.
2197         * sysdeps/unix/sysv/linux/i386/Makefile
2198         (libpthread-shared-only-routines): Add libc-do-syscall.
2199         * sysdeps/unix/sysv/linux/microblaze/Makefile
2200         (libpthread-shared-only-routines): Add sysdep.
2201         * sysdeps/unix/sysv/linux/powerpc/Makefile
2202         (librt-shared-only-routines): Add rt-sysdep.
2203         (libpthread-shared-only-routines): Add sysdep.
2204         * sysdeps/unix/sysv/linux/s390/Makefile
2205         (librt-shared-only-routines): Add rt-sysdep.
2206         * sysdeps/unix/sysv/linux/sparc/Makefile
2207         (librt-shared-only-routines): Add rt-sysdep.
2208         (libpthread-shared-only-routines): Add sysdep.
2209         * sysdeps/unix/sysv/linux/tile/Makefile
2210         (libpthread-shared-only-routines): Likewise.
2212 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
2214         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
2215         Mask implicit bit out of unpacked value.
2216         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
2217         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
2218         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
2220         * sysdeps/sparc/fpu/fesetexcept.c: New file.
2222         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
2224         * sysdeps/s390/fpu/fesetexcept.c: New file.
2226         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
2227         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
2228         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
2230         * sysdeps/mips/fpu/fesetexcept.c: New file.
2232         * sysdeps/m68k/fpu/fesetexcept.c: New file.
2234         * sysdeps/ia64/fpu/fesetexcept.c: New file.
2236         * sysdeps/hppa/fpu/fesetexcept.c: New file.
2238         * sysdeps/arm/fesetexcept.c: New file.
2240         * sysdeps/alpha/fpu/fesetexcept.c: New file.
2242         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
2244         * math/fesetexcept.c: New file.
2245         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
2246         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
2247         * math/fenv.h: Define
2248         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2249         <bits/libc-header-start.h> instead of including <features.h>.
2250         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
2251         declaration.
2252         * manual/arith.texi (fesetexcept): Document function.
2253         * math/Versions (fesetexcept): New libm symbol at version
2254         GLIBC_2.25.
2255         * math/Makefile (libm-support): Add fesetexcept.
2256         (tests): Add test-fesetexcept and test-fesetexcept-traps.
2257         * math/test-fesetexcept.c: New file.
2258         * math/test-fesetexcept-traps.c: Likewise.
2259         * sysdeps/nacl/libm.abilist: Update.
2260         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2261         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2262         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2263         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2264         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2265         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2266         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2267         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2268         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2269         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2270         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2271         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2273         Likewise.
2274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2275         Likewise.
2276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2277         Likewise.
2278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2279         Likewise.
2280         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2281         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2282         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2283         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2284         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2286         Likewise.
2287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2288         Likewise.
2289         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2290         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2291         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2293 2016-08-16  Florian Weimer  <fweimer@redhat.com>
2295         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
2296         New.
2297         (do_test): Apply default_stack_size_in_mb if not set.
2298         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
2300 2016-08-15  Andreas Schwab  <schwab@suse.de>
2302         [BZ #20435]
2303         CVE-2016-6323
2304         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
2305         as .cantunwind.
2307 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
2309         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
2310         comment from fraiseexcpt.c.
2312         * math/test-fexcept.c (feraiseexcept_exact): New function.
2313         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
2314         (test_except): Likewise.
2316 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
2318         [BZ #20455]
2319         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
2320         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
2321         to be restored.
2323         * math/test-fexcept-traps.c: New file.
2324         * math/test-fexcept.c: Likewise.
2325         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
2326         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
2327         macro.
2328         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
2329         (EXCEPTION_SET_FORCES_TRAP): Likewise.
2331 2016-08-09  Torvald Riegel  <triegel@redhat.com>
2333         * include/atomic.h (atomic_fetch_and_relaxed,
2334         atomic_fetch_and_release, atomic_fetch_or_release,
2335         atomic_fetch_xor_release): New.
2337 2016-08-06  Christian Seiler  <christian@iwakd.de>
2339         [BZ #20444]
2340         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
2341         MACH_PORT_NULL.
2343 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2345         * math/s_fdim.c: Avoid alias renamed.
2346         * math/s_fdimf.c: Likewise.
2347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2348         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2349         Add s_fdimf-vis3, s_fdim-vis3.
2350         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2351         (CFLAGS-s_fdim-vis3.c): Likewise.
2352         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
2353         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
2355 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2358         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2359         Remove s_fdimf-vis3, s_fdim-vis3.
2360         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
2361         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
2362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
2363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
2364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
2365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
2366         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
2367         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
2368         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
2369         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
2371 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2373         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
2374         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
2375         -Wa,-Av9a -mvis.
2377 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2379         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
2380         LIT() to individual constants in simple expressions
2381         after splitting on spaces.
2382         (_apply_lit): Rename replaced version, and use it to
2383         apply to what appears to be a token.
2385         * math/libm-test.inc: Fix many, many issues with
2386         spacing.
2388 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
2390         * math/math.h: Move comment about <bits/mathdef.h> definitions
2391         above inclusion of <bits/mathdef.h>.  Do not mention
2392         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
2394 2016-08-05  Torvald Riegel  <triegel@redhat.com>
2396         * include/atomic.h (atomic_exchange_relaxed): New.
2398 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
2400         * math/e_scalb.c: Do not include <fenv.h>.
2401         (invalid_fn): Do calculation resulting in NaN instead of raising
2402         FE_INVALID and returning a NaN explicitly.
2403         * math/e_scalbf.c: Do not include <fenv.h>.
2404         (invalid_fn): Do calculation resulting in NaN instead of raising
2405         FE_INVALID and returning a NaN explicitly.
2406         * math/e_scalbl.c: Do not include <fenv.h>.
2407         (invalid_fn): Do calculation resulting in NaN instead of raising
2408         FE_INVALID and returning a NaN explicitly.
2410 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
2412         * po/de.po: Updated from Translation Project.
2413         * po/fi.po: Likewise.
2414         * po/sv.po: Likewise.
2416 2016-08-04  Florian Weimer  <fweimer@redhat.com>
2418         [BZ #20452]
2419         Use sysdep.o from libc.a in static libraries.
2420         * sysdeps/unix/sysv/linux/i386/Makefile
2421         (libpthread-shared-only-routines): Add sysdep.
2422         (librt-shared-only-routines): Likewise.
2424 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2426         * math/tgmath.h (nextdown): Define if
2427         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
2428         (nextup): Likewise.
2430         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
2431         macro.
2432         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2433         Document.
2434         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2435         Document macro.
2436         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
2437         (exp10f): Likewise.
2438         (exp10l): Likewise.
2439         * math/bits/mathcalls.h (exp10): Declare if
2440         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
2442         * manual/arith.texi (nextup): Fix typo in last change.
2444 2016-08-03  Zack Weinberg  <zackw@panix.com>
2446         [BZ #19239]
2447         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
2448         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
2449         define major, minor, and makedev to issue deprecation warnings on use.
2450         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
2451         previously-activated deprecation warnings for these macros and prevent
2452         subsequent inclusions of this header from having any effect.
2453         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
2454         including <sys/sysmacros.h>, and undefine it again afterward.
2456 2016-08-03  Zack Weinberg  <zackw@panix.com>
2458         * sysdeps/generic/sys/sysmacros.h: Delete file.
2459         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
2460         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
2461         * bits/sysmacros.h: ... here; this encoding is now the generic
2462         encoding.  Now defines only the following macros:
2463         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
2464         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
2465         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
2467         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
2468         bits/sysmacros.h and the above new macros to generate the
2469         public implementations of major, minor, and makedev.
2470         * misc/tst-makedev.c: New test.
2471         * include/sys/sysmacros.h: New wrapper.
2473         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
2474         (routines): Add makedev.
2475         (tests): Add tst-makedev.
2476         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
2477         gnu_dev_makedev.
2478         * posix/Makefile (headers): Remove sys/sysmacros.h.
2479         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
2481         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
2482         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
2483         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
2484         * sysdeps/unix/sysv/linux/alpha/libc.abilist
2485         * sysdeps/unix/sysv/linux/arm/libc.abilist
2486         * sysdeps/unix/sysv/linux/hppa/libc.abilist
2487         * sysdeps/unix/sysv/linux/i386/libc.abilist
2488         * sysdeps/unix/sysv/linux/ia64/libc.abilist
2489         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2490         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
2491         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
2492         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2493         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2494         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2495         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2496         * sysdeps/unix/sysv/linux/nios2/libc.abilist
2497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2501         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
2502         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
2503         * sysdeps/unix/sysv/linux/sh/libc.abilist
2504         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2505         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2508         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
2509         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
2510         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
2511         Add GLIBC_2.25.
2513         * include/features.h (__glibc_clang_prereq): New macro.
2514         * misc/sys/cdefs.h (__glibc_clang_has_extension)
2515         (__attribute_deprecated_msg__): New macros.
2517 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2519         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
2520         macro.
2521         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
2522         * manual/arith.texi (issignaling): Document as ISO from TS
2523         18661-1:2014.
2524         (nextup): Likewise.
2525         (nextupf): Likewise.
2526         (nextupl): Likewise.
2527         (nextdown): Likewise.
2528         (nextdownf): Likewise.
2529         (nextdownl): Likewise.
2530         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
2531         macro.
2532         * math/math.h: Define
2533         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2534         <bits/libc-header-start.h> instead of including <features.h>.
2535         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
2536         [__USE_GNU].
2537         * math/bits/mathcalls.h (nextdown): Declare if
2538         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
2539         (nextup): Likewise.
2540         (__issignaling): Likewise.
2542 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2544         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
2545         check, and remove __glibc_likely hint
2546         from FP_INFINITE check.
2547         * s_csinhf.c (__csinhf): Likewise.
2549         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
2550         hint from FP_INFINITE check.
2551         * s_csinhl.c (__csinhl): Likewise.
2553 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2555         * math/Makefile (libm-calls): Insert F placeholder into
2556         object names.  Move w_lgamma_compat* routines into
2557         (libm-compat-calls): New variable.
2558         (libm-compat-calls-ldouble-yes): New variable.
2559         (calls): Insert F placeholder.
2560         (generated): Redefine using new type-foreach macro call.
2561         (routines): Likewise.
2563         (types): New variable to hold a list of symbolic names
2564         for each type supported by the target machine.
2565         (libm-routines): Redefine using new types variable.
2566         (type-foreach): macro to replace fooF with the
2567         appropriately suffixed foo for each types.
2569         (type-ldouble-suffix): New variable.
2570         (type-ldouble-routines): Likewise.
2571         (type-ldouble-yes): Likewise.
2572         (type-double-suffix): Likewise.
2573         (type-double-routines): Likewise.
2574         (type-float-suffix): Likewise.
2575         (type-float-routines): Likewise.
2577         (dbl-only-routines): Remove.
2578         (long-c-yes): Likewise.
2579         (long-m-routines): Likewise.
2580         (long-m-support): Likewise.
2581         (long-m-yes): Likewise.
2582         (test-longdouble-yes): Likewise.
2584         (test-float.o): Simplify by increasing the scope of the
2585         recipe which adds libm-test.stmp to the vector types.
2586         (test-ifloat.o): Likewise.
2587         (test-float-finite.o): Likewise.
2588         (test-double.o): Likewise
2589         (test-idouble.o): Likewise.
2590         (test-double-finite.o): Likewise.
2591         (test-ldouble.o): Likewise
2592         (test-ildoubl.o): Likewise.
2593         (test-ldouble-finite.o): Likewise.
2595         (libm-tests): Redefine type tests using foreach and the
2596         list of types in types.
2598         (CPPFLAGS-test-ildoubl.c): Rename to
2599         (CPPFLAGS-test-ildouble.c): New variable
2601         * math/test-ildoubl.c: Rename to
2602         * math/test-ildouble.c: New file.
2604 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2606         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
2607         Use fabsl instead of fabs.
2608         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
2609         Likewise.
2610         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
2611         Add long double suffix to constant to ensure proper
2612         promotion to long double.
2614 2016-08-03  Tom Tromey  <tom@tromey.com>
2616         [BZ #20311]
2617         * nptl_db/Makefile (headers): Add proc_service.h.
2618         * nptl_db/proc_service.h: Add include guard.  Use
2619         __BEGIN/__END_DECLS.
2620         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
2621         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
2622         arguments.
2625 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2627         [BZ #17730]
2628         Avoid using memalign for TCB allocations.
2629         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
2630         (_dl_allocate_tls_storage): Use malloc and manual alignment.
2631         Avoid alignment gap in the TLS_DTV_AT_TP case.
2632         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
2633         determine the pointer to free.
2634         * nptl/tst-tls3-malloc.c: New test.
2635         * nptl/Makefile (tests): Add it.
2636         (tst-tls3-malloc): Link with libdl, libpthread.
2637         (LDFLAGS-tst-tls3-malloc): Set.
2638         (tst-tls3-malloc.out): Depend on DSO used in test.
2640 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2642         [BZ #17730]
2643         Avoid using memalign for TLS allocations.
2644         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
2645         is_static member with to_free member.
2646         (union dtv): Use struct dtv_pointer.
2647         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
2648         dtv_pointer instead of is_static.
2649         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
2650         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
2651         instead of val.
2652         (allocate_dtv_entry): New function.
2653         (allocate_and_init): Return struct dtv_pointer.  Call
2654         allocate_dtv_entry instead of __libc_memalign.
2655         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
2656         instead of val.
2657         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
2658         instead of is_static.  Adjust call to allocate_and_init.
2659         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
2660         struct dtv_pointer instead of val.
2662 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2664         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
2665         (MALLOC_ALIGN_MASK): Move ...
2666         * malloc/malloc-internal.h: ... to here.
2667         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
2669 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2671         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
2672         (UDP_ENCAP_GTP1U): Likewise.
2674         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
2675         (PF_MAX): Update value.
2676         (AF_QIPCRTR): New macro.
2678 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
2680         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
2681         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2682         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2683         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2684         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2685         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
2686         s_truncf-vis3, s_trunc-vis3.
2687         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2688         (CFLAGS-s_ceil-vis3.c): Likewise.
2689         (CFLAGS-s_floorf-vis3.c): Likewise.
2690         (CFLAGS-s_floor-vis3.c): Likewise.
2691         (CFLAGS-s_truncf-vis3.c): Likewise.
2692         (CFLAGS-s_trunc-vis3.c): Likewise.
2693         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
2694         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
2695         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
2696         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
2697         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
2698         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
2699         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
2700         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
2701         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
2702         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
2703         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
2704         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
2706 2016-08-02  David S. Miller  <davem@davemloft.net>
2708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
2709         (__nearbyint_vis3): Don't check for sNaN before float register is
2710         loaded with the incoming argument.
2711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
2712         (__nearbyintf_vis3): Likewise.
2713         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
2714         Likewise.
2715         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
2716         Likewise.
2718         * string/test-strncmp.c (do_test_limit): Make sure the test data
2719         stream is aligned as required for the type "CHAR".
2720         (do_test): Likewise.
2722 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
2724         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
2725         by beq instructions jumping to the end of the function.
2726         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
2727         clobber list. Use "i" constraint instead of "X".
2728         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
2729         of "X".
2731 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
2733         * bits/libc-header-start.h: New file.
2734         * Makefile (headers): Add bits/libc-header-start.h.
2735         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
2736         (__GLIBC_USE): New macro.
2737         * libio/stdio.h: Define
2738         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2739         <bits/libc-header-start.h> instead of including <features.h>.
2740         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
2741         (open_memstream): Likewise.
2742         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
2743         (__asprintf): Likewise.
2744         (asprintf): Likewise.
2745         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
2746         (getdelim): Likewise.
2747         (getline): Likewise.
2748         * string/string.h: Define
2749         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2750         <bits/libc-header-start.h> instead of including <features.h>.
2751         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
2752         (strndup): Likewise.
2753         * wcsmbs/wchar.h: Define
2754         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2755         <bits/libc-header-start.h> instead of including <features.h>.
2756         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
2757         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
2759 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2761         Support linking against compatibility symbols, for use in tests.
2762         * include/libc-symbols.h (symbol_version_reference): New macro.
2763         (symbol_version): Use it.
2764         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
2765         (compat_symbol): Use compat_symbol_reference.
2766         (compat_symbol_1, compat_symbol_2): Remove.
2767         (compat_symbol_reference, compat_symbol_reference_1)
2768         (compat_symbol_reference_2): New macro.  Use
2769         symbol_version_reference.
2771 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2773         [BZ #19469]
2774         * malloc/Makefile (CPPFLAGS): Compile tests with
2775         -DTEST_NO_MALLOPT.
2776         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
2778 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
2780         [BZ #20033]
2781         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
2782         finite version.
2783         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
2784         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
2785         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
2786         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
2787         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
2788         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
2789         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
2790         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
2791         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
2792         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
2793         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
2794         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
2795         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
2796         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
2797         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
2798         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
2799         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
2800         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
2801         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
2802         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
2803         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
2804         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
2805         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
2806         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
2807         in zero power.
2809 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2811         [BZ #20370]
2812         * malloc/arena.c (get_free_list): Update comment.  Assert that
2813         arenas on the free list have no attached threads.
2814         (remove_from_free_list): New function.
2815         (reused_arena): Call it.
2817 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
2819         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
2820         when it is a NaN.
2821         [_IEEE_FP_INEXACT] Remove.
2822         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
2823         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
2824         when it is a NaN.
2825         [_IEEE_FP_INEXACT] Remove.
2826         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
2827         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
2828         when it is a NaN.
2829         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
2830         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
2831         when its absolute value is greater than 0x1.0p52.
2832         [_IEEE_FP_INEXACT] Remove.
2833         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
2834         when its absolute value is greater than 0x1.0p23.
2835         [_IEEE_FP_INEXACT] Remove.
2837 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
2839         * version.h (RELEASE): Set to "development"
2840         (VERSION): Set to 2.24.90.
2841         * NEWS: Add 2.25 section.
2843         * version.h (RELEASE): Set to "stable"
2844         (VERSION): Set to 2.24.
2845         * include/features.h (__GLIBC_MINOR__): Set to 24.
2847         * NEWS: Add 2.24 fixed bugs.
2848         * po/libc.pot: Regenerate.
2850 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
2852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2853         [$(subdir) = math] (libm-sysdep_routines): Remove.
2854         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2855         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
2856         s_truncf-vis3, s_trunc-vis3.
2857         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
2859         file.
2860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
2861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
2862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
2863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
2866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
2867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
2869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
2870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
2871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
2872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
2873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
2874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
2875         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2876         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2877         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2878         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
2879         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
2880         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
2881         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
2882         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2883         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2884         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
2885         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2886         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2887         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
2888         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2889         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2890         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
2891         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2892         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2893         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
2894         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
2895         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
2896         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
2897         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2898         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2899         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
2900         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
2901         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
2902         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
2904 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
2906         [BZ #20384]
2907         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
2908         test-double-libmvec-sincos-avx-main.o,
2909         test-double-libmvec-sincos-avx2-main.o,
2910         test-double-libmvec-sincos-main.o,
2911         test-float-libmvec-sincosf-avx-main.o,
2912         test-float-libmvec-sincosf-avx2-main.o and
2913         test-float-libmvec-sincosf-main.o.
2914         test-float-libmvec-sincosf-avx512-main.o.
2915         ($(objpfx)test-double-libmvec-sincos): Also link with
2916         $(objpfx)test-double-libmvec-sincos-main.o.
2917         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
2918         $(objpfx)test-double-libmvec-sincos-avx-main.o.
2919         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
2920         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
2921         ($(objpfx)test-float-libmvec-sincosf): Also link with
2922         $(objpfx)test-float-libmvec-sincosf-main.o.
2923         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
2924         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
2925         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
2926         test-double-libmvec-sincos-avx512-main.o and
2927         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
2928         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
2929         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
2930         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
2931         (CFLAGS-test-double-libmvec-sincos.c): Removed.
2932         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
2933         (CFLAGS-test-double-libmvec-sincos-main.c): New.
2934         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
2935         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
2936         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
2937         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
2938         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
2939         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
2940         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
2941         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
2942         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
2943         -DREQUIRE_AVX2.
2944         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
2945         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
2946         -DREQUIRE_AVX512F.
2947         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
2948         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
2949         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
2950         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
2951         file.
2952         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
2953         Likewise.
2954         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
2955         Likewise.
2956         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
2957         Likewise.
2958         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
2959         Likewise.
2960         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
2961         Likewise.
2962         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
2963         Likewise.
2964         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
2965         Likewise.
2967 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
2969         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
2971 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
2973         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
2974         and typo in a comment about AT_HWCAP entry.
2976 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2978         * sysdeps/aarch64/libm-test-ulps: Updated.
2980 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2982         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
2983         of r13 as it is not restored in mvcle case.
2985 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
2987         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
2988         Rename "ret" to "__ret".
2989         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
2990         inline_syscall5, inline_syscall6): Likewise.
2992 2016-07-19   Will Newton  <will.newton@gmail.com>
2994         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
2995         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
2996         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
2997         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
2998         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
3000 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
3002         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
3003         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
3004         -mfpmath=387 with $(rtld-CFLAGS).
3005         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
3006         $(rtld-CFLAGS).
3008 2016-07-18   Ross Burton  <ross.burton@intel.com>
3009              Khem Raj  <raj.khem@gmail.com>
3011         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
3012         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
3013         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
3014         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
3015         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
3016         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
3017         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
3018         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
3019         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
3020         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
3021         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
3022         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
3023         R_METAG_TLS_DTPOFF): New.
3025 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3026             Matt Clay  <mclay@lycos.com>
3028         [BZ #20357]
3029         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
3030         to call __mpsin/__mpcos and to negate values.
3031         * math/auto-libm-test-in: Add test.
3032         * math/auto-libm-test-out: Regenerate.
3034 2016-07-18  Zack Weinberg  <zackw@panix.com>
3036         * grp/Makefile: Don't install the internal header grp-merge.h.
3038 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3040         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3042 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3044         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
3046 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3048         [BZ #15368]
3049         * sysdeps/unix/sysv/linux/nptl-signals.h
3050         (__nptl_clear_internal_signals): New function.
3051         (__libc_signal_block_all): Likewise.
3052         (__libc_signal_block_app): Likewise.
3053         (__libc_signal_restore_set): Likewise.
3054         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
3055         implementation.
3056         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
3057         the cached pid/tid value in pthread structure.
3059 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
3061         [BZ #20347]
3062         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3064 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3066         [BZ #20348]
3067         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
3068         preadv64, pwrite64 and pwritev64.
3070 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3072         [BZ #20350]
3073         * posix/tst-preadwrite.c: Renamed to ...
3074         * posix/tst-preadwrite-common.c: This.
3075         (PREAD): Removed.
3076         (PWRITE): Likewise.
3077         (STRINGIFY): Likewise.
3078         (STRINGIFY2): Likewise.
3079         (do_prepare): Make it static and remove function arguments.
3080         (do_test): Likewise.
3081         (PREPARE): Updated.
3082         (TEST_FUNCTION): New.
3083         (name): Make it static.
3084         (fd): Likewise.
3085         (do_prepare): Use create_temp_file.
3086         (do_test): Renamed to ...
3087         (do_test_with_offset): This.  Make it static and accept offset.
3088         Properly check return value of PWRITE and PREAD.  Return bytes
3089         read.  Don't close fd nor unlink name.
3090         * posix/tst-preadwrite.c: Rewrite.
3091         * posix/tst-preadwrite64.c: Likewise.
3093 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3095         [BZ #20309]
3096         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
3097         -mtls-dialect=gnu2 works.
3098         * configure: Regenerated.
3099         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
3100         (tests): Add tst-gnu2-tls1.
3101         (modules-names): Add tst-gnu2-tls1mod.
3102         ($(objpfx)tst-gnu2-tls1): New.
3103         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
3104         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
3105         * elf/tst-gnu2-tls1.c: New file.
3106         * elf/tst-gnu2-tls1mod.c: Likewise.
3107         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
3108         bytes for push in the PLT entry to align the stack.
3110 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
3112         [BZ #20349]
3113         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
3115 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3117         [BZ #18707]
3118         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
3119         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
3121 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3123         * sysdeps/unix/sysv/linux/sysdep.h
3124         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
3125         guards.
3126         * misc/tst-preadvwritev-common.c: New file.
3127         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
3128         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
3129         a check for files larger than 2GB.
3131         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3132         (__ASSUME_OFF_DIFF_OFF64): Remove define.
3133         * sysdeps/unix/sysv/linux/pread.c
3134         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
3135         __OFF_T_MATCHES_OFF64_T.
3136         * sysdeps/unix/sysv/linux/pread64.c
3137         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
3138         * sysdeps/unix/sysv/linux/preadv.c
3139         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
3140         * sysdeps/unix/sysv/linux/preadv64.c
3141         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
3142         * sysdeps/unix/sysv/linux/pwrite.c
3143         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
3144         * sysdeps/unix/sysv/linux/pwrite64.c
3145         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
3146         * sysdeps/unix/sysv/linux/pwritev.c
3147         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
3148         * sysdeps/unix/sysv/linux/pwritev64.c
3149         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
3151 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
3153         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3154         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
3156 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
3158         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
3160 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
3162         [BZ #20240]
3163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3164         (CFLAGS-s_modf-ppc32.c): New variable.
3165         (CFLAGS-s_modff-ppc32.c): Likewise.
3166         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3167         (CFLAGS-s_modf-ppc64.c): Likewise.
3168         (CFLAGS-s_modff-ppc64.c): Likewise.
3170 2016-07-07  Andreas Schwab  <schwab@suse.de>
3172         [BZ #20263]
3173         * nptl/tst-robust10.c: New test.
3174         * nptl/Makefile (tests): Add tst-robust10.
3176 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
3178         [BZ #20263]
3179         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
3181 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3183         * sysdeps/s390/linkmap.h (struct link_map_machine):
3184         Remove member gotplt and add member jmprel.
3185         * sysdeps/s390/s390-32/dl-machine.h
3186         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
3187         instead of gotplt with &got[3].
3188         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
3189         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3191 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
3193         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
3195 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3197         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
3198         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
3199         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
3200         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
3201         * libio/vtables.c (_IO_vtable_check)
3202         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
3203         * libio/libioP.h (IO_set_accept_foreign_vtables)
3204         [!PTR_MANGLE]: Do not call PTR_MANGLE.
3206 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
3208         [BZ #20314]
3209         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
3210         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
3211         $(common-objpfx)cmath.
3212         ($(common-objpfx)cstdlib): New target.
3213         ($(common-objpfx)cmath): Likewise.
3215 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
3217         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
3219 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3221         [BZ #20327]
3222         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
3223         are not part of the string.
3225 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3227         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
3228         * nptl/tst-cancel4-common.h (fifoname): New variable.
3229         (fifofd): Likewise.
3230         (cl_fifo): New function.
3231         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
3232         SIGINT.
3233         (tf_open): Add early cancel test.
3235 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
3237         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
3239 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
3241         * sysdeps/generic/ldsodefs.h
3242         (dl_symbol_visibility_binds_local_p): New inline function.
3243         * elf/dl-addr.c (determine_info): Treat hidden and internal
3244         symbols as local.
3245         * elf/dl-lookup.c (do_lookup_x): Likewise.
3246         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
3248 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
3250         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
3251         invalid exception for a sNaN input.
3252         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3253         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
3254         (__nearbyint_vis3): Likewise
3255         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
3256         (__nearbyintf_vis3): Likewise
3257         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
3258         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3259         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
3260         Likewise.
3261         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
3262         Likewise.
3264 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
3266         [BZ #20139]
3267         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
3268         (HAVE_AVX512DQ_ASM_SUPPORT): This.
3269         * sysdeps/x86_64/configure.ac: Require assembler from binutils
3270         2.24 or above.
3271         (HAVE_AVX512_ASM_SUPPORT): Removed.
3272         (HAVE_AVX512DQ_ASM_SUPPORT): New.
3273         * sysdeps/x86_64/configure: Regenerated.
3274         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
3275         check unconditional.
3276         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
3277         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3278         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3279         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3280         Likewise.
3281         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3282         Likewise.
3283         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
3284         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
3285         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3286         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3287         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
3288         Likewise.
3289         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3290         Likewise.
3291         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3292         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3293         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
3294         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
3295         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
3296         Likewise.
3297         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
3298         Likewise.
3299         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
3300         Likewise.
3301         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
3302         Likewise.
3303         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
3304         Likewise.
3305         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
3306         Likewise.
3307         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
3308         Likewise.
3309         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
3310         Likewise.
3311         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
3312         Likewise.
3313         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
3314         Likewise.
3315         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
3316         Likewise.
3318 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
3320         [BZ #20024]
3321         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
3322         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
3323         of this implementation of vector function.
3324         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3325         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3326         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
3327         Likewise.
3328         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3329         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3330         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
3331         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
3332         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
3333         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
3334         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
3335         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
3336         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
3337         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
3338         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
3339         for testing vector sincos with fixed ABI.
3340         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3341         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3342         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3343         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3344         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3345         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3346         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3347         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
3348         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
3349         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
3350         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
3351         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
3352         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
3353         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
3354         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3355         * sysdeps/x86_64/fpu/Makefile: Added new tests.
3357 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3359         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
3361 2016-06-30  Anton Blanchard  <anton@samba.org>
3363         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3364         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
3365         s_sinf-ppc64.
3366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
3367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
3368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
3369         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
3371 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3373         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3374         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3375         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
3376         e_expf-ppc64.
3377         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
3378         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
3379         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
3380         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
3382 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
3384         [BZ #20277]
3385         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
3386         when SHARED is defined.
3388 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
3390         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
3391         (index_arch_Prefer_ERMS): Likewise.
3392         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
3393         __memcpy_erms for Prefer_ERMS.
3394         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3395         (__memmove_erms): Enabled for libc.a.
3396         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
3397         __memmove_erms or Prefer_ERMS.
3398         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
3399         __mempcpy_erms for Prefer_ERMS.
3400         * sysdeps/x86_64/multiarch/memset.S (memset): Return
3401         __memset_erms for Prefer_ERMS.
3403 2016-06-30  Andreas Schwab  <schwab@suse.de>
3405         [BZ #20262]
3406         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
3407         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
3408         of memory.
3410 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
3412         [BZ #18645]
3413         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
3414         (test-extras): Add tst-cleanupx4aux.
3415         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
3416         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
3417         tst-cleanupx4aux.o.
3418         * nptl/tst-cleanupx4aux.c: New file.
3420 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3422         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3424 2016-06-29  Andreas Schwab  <schwab@suse.de>
3426         [BZ #20260]
3427         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
3428         address before the beginning of the string as an integer to avoid
3429         array-bounds warning.
3431 2016-06-28  Richard Henderson  <rth@redhat.com>
3433         * elf/elf.h (EM_BPF): New.
3434         (EM_NUM): Update.
3435         (R_BPF_NONE, R_BPF_MAP_FD): New.
3437         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
3438         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
3439         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
3440         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
3441         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
3442         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
3443         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
3444         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
3445         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
3446         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
3447         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
3448         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
3449         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
3450         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
3451         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
3452         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
3453         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
3454         (EM_NUM): Update.
3456 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
3458         [BZ #18960]
3459         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
3460         Set _nl_current_LC_CATEGORY_used to two instead of one.
3462 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
3464         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
3465         (do_test): ... this.
3466         (TEST_FUNCTION): New macro.
3467          Include test-skeleton.c.
3468         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
3469         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
3471 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
3473         [BZ #15479]
3474         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
3475         floating-point environment rather than just control word.
3476         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3477         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
3478         floating-point environment, with "invalid" exceptions merged in,
3479         rather than just control word.
3480         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
3481         * math/libm-test.inc (trunc_test_data): Do not allow spurious
3482         "inexact" exceptions.
3484         [BZ #15479]
3485         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
3486         floating-point environment rather than just control word.
3487         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3488         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
3489         floating-point environment, with "invalid" exceptions merged in,
3490         rather than just control word.
3491         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
3492         * math/libm-test.inc (floor_test_data): Do not allow spurious
3493         "inexact" exceptions.
3495         [BZ #15479]
3496         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
3497         floating-point environment rather than just control word.
3498         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3499         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
3500         floating-point environment, with "invalid" exceptions merged in,
3501         rather than just control word.
3502         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
3503         * math/libm-test.inc (ceil_test_data): Do not allow spurious
3504         "inexact" exceptions.
3506 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
3508         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
3509         __libc_vfork.
3510         (__vfork) [IS_IN (libc)]: Remove alias.
3511         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
3512         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3513         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3515 2016-06-24  Torvald Riegel  <triegel@redhat.com>
3517         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
3518         of atomic_compare_and_exchange_bool_rel.
3519         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3520         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
3521         catomic_compare_and_exchange_bool_rel): Remove.
3522         * sysdeps/aarch64/atomic-machine.h
3523         (atomic_compare_and_exchange_bool_rel): Likewise.
3524         * sysdeps/alpha/atomic-machine.h
3525         (atomic_compare_and_exchange_bool_rel): Likewise.
3526         * sysdeps/arm/atomic-machine.h
3527         (atomic_compare_and_exchange_bool_rel): Likewise.
3528         * sysdeps/mips/atomic-machine.h
3529         (atomic_compare_and_exchange_bool_rel): Likewise.
3530         * sysdeps/microblaze/atomic-machine.h
3531         ( __arch_compare_and_exchange_bool_8_rel,
3532         __arch_compare_and_exchange_bool_16_rel): Likewise.
3533         * sysdeps/powerpc/atomic-machine.h
3534         ( __arch_compare_and_exchange_bool_8_rel,
3535         __arch_compare_and_exchange_bool_16_rel): Likewise.
3536         * sysdeps/powerpc/powerpc32/atomic-machine.h
3537         ( __arch_compare_and_exchange_bool_32_rel,
3538         __arch_compare_and_exchange_bool_64_rel): Likewise.
3539         * sysdeps/powerpc/powerpc64/atomic-machine.h
3540         ( __arch_compare_and_exchange_bool_32_rel,
3541         __arch_compare_and_exchange_bool_64_rel): Likewise.
3542         * sysdeps/tile/atomic-machine.h
3543         (atomic_compare_and_exchange_bool_rel): Likewise.
3545 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
3547         [BZ #20296]
3548         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
3549         when either argument is a NaN.
3550         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3551         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
3553         * math/libm-test.inc (snan_value_ld): New macro.
3554         (isgreater_test_data): Add sNaN tests.
3555         (isgreaterequal_test_data): Likewise.
3556         (isless_test_data): Likewise.
3557         (islessequal_test_data): Likewise.
3558         (islessgreater_test_data): Likewise.
3559         (isunordered_test_data): Likewise.
3560         (nextafter_test_data): Likewise.
3561         (nexttoward_test_data): Likewise.
3562         (remainder_test_data): Likewise.
3563         (remquo_test_data): Likewise.
3564         (significand_test_data): Likewise.
3565         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
3567 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3569         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
3570         environment macros are defined.
3571         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
3573 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3575         [BZ #20191]
3576         Implement vtable verification in libio.
3577         * Makerules (shlib.lds): Place __libc_IO_vtables section.
3578         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
3579         * debug/vdprintf_chk.c (__vdprintf_chk): Call
3580         _IO_new_file_init_internal instead of _IO_file_init.
3581         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
3582         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
3583         * libio/Makefile (routines): Add vtables.
3584         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
3585         (_IO_init): Remove, not for internal use.
3586         (_IO_init_internal): Declare, internal replacement for _IO_init.
3587         (_IO_file_init): Remove, not for internal use.
3588         (_IO_new_file_init): Remove, not for internal use.
3589         (_IO_new_file_init_internal): Declare, internal replacement for
3590         _IO_new_file_init.
3591         (_IO_old_file_init): Remove, not for internal use.
3592         (_IO_old_file_init_internal): Declare, internal replacement for
3593         _IO_old_file_init.
3594         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
3595         internal use.
3596         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
3597         Declare.
3598         (libio_vtable): New macro.
3599         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
3600         functions.
3601         * libio/fileops.c (_IO_new_file_init_internal): Rename from
3602         _IO_new_file_init.
3603         (_IO_new_file_init): New externally visible wrapper which disables
3604         vtable verification.
3605         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
3606         Define as vtables.
3607         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
3608         (_IO_init): New externally visible wrapper which disables
3609         vtable verification.
3610         * libio/iofdopen.c (_IO_new_fdopen): Call
3611         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
3612         comment.
3613         * libio/iofopen.c (__fopen_internal): Call
3614         _IO_new_file_init_internal instead of _IO_file_init.
3615         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
3616         Define as vtables.
3617         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
3618         _IO_new_file_init_internal instead of _IO_file_init.
3619         * libio/iopopen.c (_IO_new_popen): Likewise.
3620         (_IO_proc_jumps): Define as vtable.
3621         * libio/iovdprintf.c (_IO_vdprintf): Call
3622         _IO_new_file_init_internal instead of _IO_file_init.
3623         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
3624         (__open_memstream): Call _IO_init_internal instead of _IO_init.
3625         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
3626         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
3627         _IO_old_file_init.
3628         (_IO_old_file_init): New externally visible wrapper which disables
3629         vtable verification.
3630         (_IO_old_file_jumps): Define as vtable.
3631         * libio/oldiofdopen.c (_IO_old_fdopen): Call
3632         _IO_old_file_init_internal instead of _IO_old_file_init.
3633         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3634         * libio/oldiopopen.c (_IO_old_popen): Likewise.
3635         (_IO_old_proc_jumps): Define as vtable.
3636         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
3637         Define as vtables.
3638         * libio/vtables.c: New file.
3639         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
3640         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
3641         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
3642         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
3643         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
3644         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
3645         instead of _IO_init.
3647 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3649         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
3651 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3653         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
3654         potentially unused.
3656 2016-06-22  Florian Weimer  <fweimer@redhat.com>
3658         * test-skeleton.c (write_message): New function.
3659         * malloc/tst-mallocfork2.c (write_message): Remove.
3660         * debug/tst-longjmp_chk2.c (write_indented): New function.
3661         (write_message): Remove.
3662         (stackoverflow_handler): Call write_indented.
3664 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
3666         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
3667         "inexact" exceptions after fnstenv.
3668         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3669         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3670         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3672 2015-06-22  Zack Weinberg  <zackw@panix.com>
3674         * sysdeps/generic/bits/hwcap.h: Moved to ...
3675         * bits/hwcap.h: Here.
3677 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
3679         * sysdeps/aarch64/memcpy.S (memcpy):
3680         Further tuning for performance.
3682 2016-06-21  Florian Weimer  <fweimer@redhat.com>
3684         [BZ #20284]
3685         * malloc/arena.c (reused_arena): Do not return NULL if we start
3686         out with a non-corrupted arena.
3688 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3690         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
3691         * misc/tst-preadvwritev.c: New file.
3692         * misc/tst-preadvwritev64.c: Likewise.
3693         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
3694         usage.
3695         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
3696         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
3697         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
3698         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
3700 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
3702         [BZ #19654]
3703         * sysdeps/x86_64/fpu/Makefile: Added new tests.
3704         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
3705         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
3706         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
3707         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
3708         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
3709         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
3710         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
3711         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
3712         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
3713         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
3714         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
3715         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
3716         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
3717         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
3718         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
3719         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
3720         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
3721         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
3722         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
3723         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
3724         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
3725         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
3726         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
3727         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
3728         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
3730 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
3732         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
3733         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
3735 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
3737         * sysdeps/aarch64/memcpy.S (memcpy):
3738         Rewrite of optimized memcpy and memmove.
3739         * sysdeps/aarch64/memmove.S (memmove): Remove
3740         memmove code (merged into memcpy.S).
3742 2016-06-20  Florian Weimer  <fweimer@redhat.com>
3744         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
3745         * sysdeps/generic/dl-dtv.h: New file.
3746         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3747         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
3748         (dtv_t): Remove.
3749         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3750         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
3751         (dtv_t): Remove.
3752         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3753         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
3754         (dtv_t): Remove.
3755         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3756         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
3757         (dtv_t): Remove.
3758         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3759         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
3760         (dtv_t): Remove.
3761         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3762         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
3763         (dtv_t): Remove.
3764         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3765         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
3766         (dtv_t): Remove.
3767         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
3768         (dtv_t): Remove.
3769         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3770         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
3771         (dtv_t): Remove.
3772         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3773         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
3774         (dtv_t): Remove.
3775         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3776         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
3777         (dtv_t): Remove.
3778         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3779         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
3780         (dtv_t): Remove.
3781         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3782         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
3783         (dtv_t): Remove.
3784         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3785         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
3786         (dtv_t): Remove.
3787         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3788         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
3789         (dtv_t): Remove.
3790         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3791         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
3792         (dtv_t): Remove.
3794 2016-06-20  Florian Weimer  <fweimer@redhat.com>
3796         Revert symbol poisoning of  __malloc_initialize_hook.
3797         * include/stdc-predef.h (__malloc_initialize_hook): Remove
3798         poisoning.
3799         * malloc/Makefile: Remove un-poisoning.
3800         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
3801         instead of old__malloc_initialize_hook.
3802         * malloc/malloc-hooks.h: Likewise.
3803         * malloc/malloc.c: Likewise.
3804         * malloc/mcheck-init.c: Likewise.
3806 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
3808         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
3810 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
3812         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
3813         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
3814         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3815         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3817 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3819         * NEWS: Mention addition of nextup and nextdown.
3820         * manual/arith.texi: Document nextup and nextdown.
3821         * manual/libm-err-tab.pl: Add nextup and nextdown.
3822         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
3823         * math/Versions (libm): Add GLIBC_2.24.
3824         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
3825         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
3826         Add new test.
3827         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
3828         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
3829         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
3830         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
3831         (nextup_test_data): Likewise.
3832         (nextdown_test_data): Likewise.
3833         * math/s_nextdown.c: New file.
3834         * math/s_nextdownf.c: Likewise.
3835         * math/s_nextdownl.c: Likewise.
3836         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
3837         F(nextup): New function.
3838         F(nextdown): Likewise.
3839         * math/tgmath.h: Add nextup and nextdown.
3840         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
3841         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
3842         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
3843         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
3844         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
3845         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
3846         Add nextup and nextdown.
3847         (CFLAGS-nldbl-nextup.c): New variable.
3848         (CFLAGS-nldbl-nextdown.c): Likewise.
3849         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
3850         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
3851         * sysdeps/nacl/libm.abilist: Update.
3852         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3853         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3854         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3855         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3856         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3857         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3858         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3859         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3860         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3861         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3862         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3863         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
3865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3866         Likewise.
3867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
3868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
3869         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3870         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3871         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3872         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3873         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
3875         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
3876         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3877         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3878         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
3879         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3881 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3883         * manual/pattern.texi: Fix typos & grammar errors.
3885 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3887         * manual/search.texi: Fix typos & grammar errors.
3889 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3891         * manual/message.texi: Fix typos & grammar errors.
3893 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
3895         * manual/contrib.texi: Fix spelling typos.
3896         * manual/crypt.texi: Likewise.
3897         * manual/filesys.texi: Likewise.
3898         * manual/locale.texi: Likewise.
3899         * manual/message.texi: Likewise.
3900         * manual/nss.texi: Likewise.
3901         * manual/string.texi: Likewise.
3903 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3905         * manual/locale.texi: Fix typos & grammar errors.
3907 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3909         * manual/charset.texi: Fix typos & grammar errors.
3911 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3913         * manual/string.texi: Fix typos.
3915 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3917         * manual/ctype.texi: Fix typos.
3919 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3921         * manual/memory.texi: Fix various typos & grammar errors.
3923 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
3925         [BZ #20255]
3926         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
3927         * math/libm-test.inc (fdim_test_data): Add another test.
3929         [BZ #6796]
3930         [BZ #20255]
3931         [BZ #20256]
3932         * math/s_fdim.c: Include <math_private.h>.
3933         (__fdim): Use math_narrow_eval on result.
3934         * math/s_fdimf.c: Include <math_private.h>.
3935         (__fdimf): Use math_narrow_eval on result.
3936         * sysdeps/i386/fpu/s_fdim.S: Remove file.
3937         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
3938         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
3939         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
3940         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
3941         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
3942         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
3943         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
3944         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
3945         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
3946         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
3947         * math/libm-test.inc (fdim_test_data): Expect errno setting on
3948         overflow.  Add sNaN tests.
3950         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
3951         fpclassify.
3952         * math/s_fdimf.c (__fdimf): Likewise.
3953         * math/s_fdiml.c (__fdiml): Likewise.
3955 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3957         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3958         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
3959         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3960         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
3961         ifunc'ed strcasecmp/strncasecmp.
3962         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
3963         [EALIGN]: Removed.
3964         [END]: Likewise.
3965         [__strcasecmp]: Define instead of the above to control symbol name.
3966         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
3967         for __strcasecmp_power8.
3968         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
3969         for __strncasecmp_power8.
3970         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
3971         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
3972         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
3973         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
3974         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
3975         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
3977 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
3979         [BZ #20252]
3980         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
3981         arguments when second argument is a NaN.
3982         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
3983         qNaN tests.
3985         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
3986         (conj_test_data): Likewise.
3987         (copysign_test_data): Likewise.
3988         (creal_test_data): Likewise.
3989         (fma_test_data): Likewise.
3990         (fmod_test_data): Likewise.
3992         [BZ #20250]
3993         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
3994         itself.
3995         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
3996         zero input to itself.
3997         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
3998         Likewise.
3999         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
4000         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
4001         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4002         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
4003         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
4005 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4007         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
4008         * nptl/tst-cancel4-common.c: New file.
4009         * nptl/tst-cancel4-common.h: Likewise.
4010         * nptl/tst-cancel4.c: Move common definitions to
4011         tst-cancel4-common.{c,h} file.
4012         * nptl/tst-cancel4_1.c: New test.
4013         * nptl/tst-cancel4_2.c: New test.
4015 2016-06-13  Florian Weimer  <fweimer@redhat.com>
4017         [BZ #20248]
4018         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
4019         (write_message): New function.
4020         (stackoverflow_handler): Call it instead of printf, to avoid
4021         excessive stack usage by printf.
4022         (do_test): Restore SIGSEGV, SIGBUS default handlers.
4024 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4026         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
4027         (prio_inherit_missing): Remove define.
4028         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4029         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4030         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
4031         Likewise.
4032         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4033         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4034         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4035         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4036         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4037         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4039 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4041         [BZ #19670]
4042         [BZ #19672]
4044         * io/test-lfs.c (do_prepare): Use xmalloc.
4045         * io/tst-fcntl.c (do_prepare): Likewise.
4046         * libio/tst-fopenloc.c (do_bz17916): Likewise.
4047         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
4048         * login/tst-utmp.c (do_prepare): Likewise.
4049         * posix/tst-exec.c (do_prepare): Likewise.
4050         * posix/tst-pathconf.c (prepare): Likewise.
4051         * posix/tst-spawn.c (do_prepare): Likewise.
4052         * posix/tst-truncate.c (do_prepare): Likewise.
4053         * rt/tst-aio.c (do_prepare): Likewise.
4054         * rt/tst-aio64.c (do_prepare): Likewise.
4056 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4058         [BZ #20237]
4059         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
4060         (get*ent): Set entidx to NULL during initialization.  If entidx is
4061         NULL, start iteration from the beginning.
4063 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4065         * malloc/malloc.c (musable): Return correct size for dumped fake
4066         mmapped chunk.
4068 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4070         [BZ #20222]
4071         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
4072         (_IO_cookie_write): Likewise.
4073         (_IO_cookie_seek): Likewise.
4074         (_IO_cookie_close): Likewise.
4075         (_IO_old_cookie_seek): Likewise.
4076         (set_callbacks): New function.
4077         (_IO_cookie_init): Call set_callbacks to copy callbacks.
4079 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
4081         * locale/programs/localedef.c (oldstyle_tables): Remove.
4082         * locale/programs/localedef.h (oldstyle_tables): Likewise.
4084 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
4086         [BZ #20240]
4087         * math/Makefile (CFLAGS-s_modf.c): New variable.
4088         (CFLAGS-s_modff.c): Likewise.
4089         (CFLAGS-s_modfl.c): Likewise.
4090         * math/libm-test.inc (modf_test_data): Add sNaN tests.
4092 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
4094         [BZ #20215]
4095         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
4096         [!__GNUC_PREREQ (3,2)]: Likewise.
4098 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
4100         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
4101         (msghdr.msg_controllen): Likewise.
4102         (cmsghdr.cmsg_len): Likewise.
4103         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
4104         ptw-oldsendmsg.
4105         (CFLAGS-oldrecvmsg.c): Remove rule.
4106         (CFLAGS-oldsendmsg.c): Likewise.
4107         (CFLAGS-recvmsg.c): Add rule.
4108         (CFLAGS-sendmsg.c): Likewise.
4109         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
4110         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
4111         (CFLAGS-recvmsg.c): Remove rule.
4112         (CFLAGS-sendmsg.c): Likewise.
4113         (CFLAGS-oldrecvmsg.c): Likewise.
4114         (CFLAGS-oldsendmsg.c): Likewise.
4115         (CFLAGS-recvmmsg.c): Likewise.
4116         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
4117         to kernel defined interfaces.
4118         (msghdr.msg_controllen): Likewise.
4119         (cmsghdr.cmsg_len): Likewise.
4120         (msghdr.__glibc_reserved1): Remove member.
4121         (msghdr.__glibc_reserved2): Likewise.
4122         (cmsghdr.__glibc_reserved1): Likewise.
4123         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
4124         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
4125         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
4126         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
4127         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
4128         version.
4129         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4130         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
4131         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4132         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
4133         Remove recvmsg and sendmsg.
4134         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
4135         Likewise.
4136         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
4137         Likewise.
4138         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
4139         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
4140         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
4141         Likewise.
4142         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
4143         Likewise.
4144         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
4145         [libc] (GLIBC_2.24): Likewise.
4146         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
4147         Likewise.
4148         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
4149         Likewise.
4150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4151         [libc] (GLIBC_2.24): Likewise.
4152         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
4153         Likewise.
4154         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
4155         Likewise.
4156         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
4157         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
4158         Likewise.
4159         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
4160         Likewise.
4161         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
4162         Likewise.
4163         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
4164         Likewise.
4165         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
4166         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
4167         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
4168         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
4169         version for {recv,send,recm,sendm}msg.
4170         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4171         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4172         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4173         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4174         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4175         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4176         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4177         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4178         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4179         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4180         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4181         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4183         Likewise.
4184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4185         Likewise.
4186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4188         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4189         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4190         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4191         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4192         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4193         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4194         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4195         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4196         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4197         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4198         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4200 2016-06-10  Florian Weimer  <fweimer@redhat.com>
4202         [BZ #19564]
4203         Remove __malloc_initialize_hook from the API.
4204         * malloc/malloc.h (__malloc_initialize_hook): Remove.
4205         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
4206         #pragma GCC poison.
4207         * malloc/malloc-hooks.h: New file.
4208         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
4209         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
4210         (old__malloc_initialize_hook): Rename from
4211         __malloc_initialize_hook to evade poisoning.  Turn into compat
4212         symbol.
4213         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
4214         __malloc_initialize_hook.
4215         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
4216         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
4217         * manual/memory.texi (Hooks for Malloc): Remove
4218         __malloc_initialize_hook.  Adjust hook example.
4220 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
4222         [BZ #20235]
4223         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
4224         itself.
4225         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4226         * math/libm-test.inc (log2_test_data): Add sNaN tests.
4228         [BZ #20234]
4229         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
4230         infinity or NaN input to itself.
4232         [BZ #20233]
4233         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
4234         to itself.
4236         [BZ #20232]
4237         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
4238         itself.
4240 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
4242         * sysdeps/x86_64/start.S (_start): Always indirect branch to
4243         __libc_start_main via GOT.
4245 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
4247         * sysdeps/x86_64/memcopy.h: New file.
4248         * sysdeps/x86_64/wordcopy.c: Likewise.
4250 2016-06-09  Florian Weimer  <fweimer@redhat.com>
4252         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
4253         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
4254         <cstdlib>.
4255         (optimization_barrier): New.
4256         (do_test): Use it.  Call quick_exit in the global namespace.
4257         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
4258         instead of <cstdlib>, <thread>.
4259         (optimization_barrier): New.
4260         (non_main_thread): Adjust declaration.  Call optimization_barrier.
4261         Call quick_exit in the global namespace.
4262         (do_test): Call optimization_barrier.  Use pthread_create,
4263         pthread_join instead of std::thread.
4265 2016-06-09  Andreas Schwab  <schwab@suse.de>
4267         [BZ #19755]
4268         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
4269         new entries in auto-propagate mode.
4270         * nscd/grpcache.c (cache_addgr): Likewise.
4272 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4274         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
4275         New functions.
4276         (add_temp_file): Use them.
4278 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
4280         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
4282 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
4284         [BZ #20229]
4285         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
4286         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
4287         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
4289         [BZ #20228]
4290         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
4291         itself.
4292         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4293         * math/libm-test.inc (log10_test_data): Add sNaN tests.
4295         [BZ #20227]
4296         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
4297         itself.
4298         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4299         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4300         * math/libm-test.inc (log_test_data): Add sNaN tests.
4302         [BZ #20226]
4303         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
4304         itself.
4305         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4306         * math/libm-test.inc (exp_test_data): Add sNaN tests.
4307         (exp10_test_data): Likewise.
4308         (expm1_test_data): Likewise.
4310         [BZ #20225]
4311         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
4312         itself.
4313         * math/s_ldexpf.c (__ldexpf): Likewise.
4314         * math/s_ldexpl.c (__ldexpl): Likewise.
4315         * math/w_scalbln.c (__w_scalbln): Likewise.
4316         * math/w_scalblnf.c (__w_scalblnf): Likewise.
4317         * math/w_scalblnl.c (__w_scalblnl): Likewise.
4318         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
4319         (scalbln_test_data): Likewise.
4321         [BZ #20224]
4322         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
4323         argument to itself.
4324         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
4326 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
4328         [BZ #19776]
4329         * sysdeps/x86_64/memcpy.S: Make it dummy.
4330         * sysdeps/x86_64/mempcpy.S: Likewise.
4331         * sysdeps/x86_64/memmove.S: New file.
4332         * sysdeps/x86_64/memmove_chk.S: Likewise.
4333         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
4334         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
4335         * sysdeps/x86_64/memmove.c: Removed.
4336         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4337         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4338         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
4339         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4340         Likewise.
4341         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4342         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4343         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4344         memcpy-sse2-unaligned, memmove-avx-unaligned,
4345         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
4346         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4347         (__libc_ifunc_impl_list): Replace
4348         __memmove_chk_avx512_unaligned_2 with
4349         __memmove_chk_avx512_unaligned.  Remove
4350         __memmove_chk_avx_unaligned_2.  Replace
4351         __memmove_chk_sse2_unaligned_2 with
4352         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
4353         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
4354         with __memmove_avx512_unaligned.  Replace
4355         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
4356         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
4357         with __memcpy_chk_avx512_unaligned.  Remove
4358         __memcpy_chk_avx_unaligned_2.  Replace
4359         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
4360         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
4361         Replace __memcpy_avx512_unaligned_2 with
4362         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
4363         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
4364         with __mempcpy_chk_avx512_unaligned.  Remove
4365         __mempcpy_chk_avx_unaligned_2.  Replace
4366         __mempcpy_chk_sse2_unaligned_2 with
4367         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
4368         Replace __mempcpy_avx512_unaligned_2 with
4369         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
4370         Replace __mempcpy_sse2_unaligned_2 with
4371         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
4372         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
4373         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
4374         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
4375         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
4376         (ENTRY): Removed.
4377         (END): Likewise.
4378         (ENTRY_CHK): Likewise.
4379         (libc_hidden_builtin_def): Likewise.
4380         Don't include ../memcpy.S.
4381         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
4382         __memcpy_chk_avx512_unaligned_erms and
4383         __memcpy_chk_avx512_unaligned.  Use
4384         __memcpy_chk_avx_unaligned_erms and
4385         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4386         Default to __memcpy_chk_sse2_unaligned.
4387         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4388         Change function suffix from unaligned_2 to unaligned.
4389         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
4390         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
4391         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
4392         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
4393         (ENTRY): Removed.
4394         (END): Likewise.
4395         (ENTRY_CHK): Likewise.
4396         (libc_hidden_builtin_def): Likewise.
4397         Don't include ../mempcpy.S.
4398         (mempcpy): New.  Add a weak alias.
4399         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
4400         __mempcpy_chk_avx512_unaligned_erms and
4401         __mempcpy_chk_avx512_unaligned.  Use
4402         __mempcpy_chk_avx_unaligned_erms and
4403         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4404         Default to __mempcpy_chk_sse2_unaligned.
4406 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
4408         [BZ #19881]
4409         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
4410         into ...
4411         * sysdeps/x86_64/memset.S: This.
4412         (__bzero): Removed.
4413         (__memset_tail): Likewise.
4414         (__memset_chk): Likewise.
4415         (memset): Likewise.
4416         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
4417         defined.
4418         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
4419         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
4420         (__memset_zero_constant_len_parameter): Check SHARED instead of
4421         PIC.
4422         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4423         memset-avx2 and memset-sse2-unaligned-erms.
4424         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4425         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
4426         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
4427         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4428         (__bzero): Enabled.
4429         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
4430         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
4431         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
4432         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
4433         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4434         (memset): Removed.
4435         (__memset_chk): Likewise.
4436         (MEMSET_SYMBOL): New.
4437         (libc_hidden_builtin_def): Replace __memset_sse2 with
4438         __memset_sse2_unaligned.
4439         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
4440         __memset_chk_sse2 and __memset_chk_avx2 with
4441         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
4442         Use __memset_chk_sse2_unaligned_erms or
4443         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
4444         __memset_chk_avx512_unaligned_erms and
4445         __memset_chk_avx512_unaligned.
4447 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4449         * math/gen-auto-libm-test.c (fp_format_desc): remove
4450         suffix member.
4451         (output_generic_value): Remove usage of suffix member,
4452         and the resulting unuse of the fp_format argument.
4453         (output_for_one_input_case): Remove unused fp_format
4454         parameter.
4456         * math/auto-libm-test-out: Regenerate.
4458         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
4459         usage with TEST_COND_ibm128.
4460         (TEST_COND_flt_32): Remove.
4461         (TEST_COND_dbl_64): Remove.
4462         (TEST_COND_ldbl_96_intel): Remove.
4463         (TEST_COND_ldbl_96_m68k): Remove.
4464         (TEST_COND_ldbl_128): Remove.
4466 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4468         * auto-libm-test-in:
4469         Replace flt-32 usage with binary32.
4470         Replace dbl-64 usage with binary64.
4471         Replace ldbl-intel-96 usage with intel96.
4472         Replace ldbl-m68k-96 usage with m68k96.
4473         Replace ldbl-128ibm usage with ibm128.
4474         Replace ldbl-128 usage with binary128.
4476         * auto-libm-test-out: Regenerate.
4478 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4480         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
4481         (parse_ulps): Dynamically generate type name matching
4482         string from all_floats.
4483         (get_ulps): Generate the ulps as an array instead.
4484         (output_ulps): Dynamically compose the type based
4485         on the number of supported formats, and print
4486         the indices as type specific helper macros.
4488         * math/libm-test.inc: Remove comment about CHOOSE.
4489         (ulp_data): Generate the type in libm-test-ulps.h.
4490         (ULP_IDX): New macro.
4491         (find_ulps): Update usage of max_ulp.
4493         * math/test-double-vlen2.h (CHOOSE): Remove.
4494         * math/test-double-vlen4.h (CHOOSE): Likewise.
4495         * math/test-double-vlen8.h (CHOOSE): Likewise.
4496         * math/test-float.c (CHOOSE): Likewise.
4497         * math/test-float-finite.c (CHOOSE): Likewise.
4498         * math/test-double.c (CHOOSE): Likewise.
4499         * math/test-double-finite.c (CHOOSE): Likewise.
4500         * math/test-idouble.c (CHOOSE): Likewise.
4501         * math/test-ifloat.c (CHOOSE): Likewise.
4502         * math/test-ildoubl.c (CHOOSE): Likewise.
4503         * math/test-ldouble-finite.c (CHOOSE): Likewise.
4504         * math/test-ldouble.c (CHOOSE): Likewise.
4506         * math/test-float.h (TEST_FLOAT): Remove.
4507         * math/test-double.h (TEST_DOUBLE): Likewise.
4508         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
4510 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4512         * math/gen-libm-test.pl: (apply_lit): New subroutine.
4513         (parse_args): Strip C suffix from floating point literals
4514         typed with 'f' and wrap them with LIT().
4516         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
4517         (test_ff_f_data_nexttoward): Rename to
4518         (test_fj_f_data): New struct.
4519         (nexttoward_test_data): Relabel tests as
4520         TEST_fj_f instead of TEST_ff_f.
4522 2016-06-08  Florian Weimer  <fweimer@redhat.com>
4524         Emacs bug 23726.
4525         * malloc/malloc.c (dumped_main_arena_start): Update comment.
4526         (__libc_realloc): Correct size computation for dumped fake mmapped
4527         chunks.
4529 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
4531         [BZ #20219]
4532         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
4533         to itself.
4534         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
4536         [BZ #20218]
4537         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
4538         to itself.
4539         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
4541 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
4543         [BZ #20195]
4544         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
4545         check to ...
4546         (init_cpu_features): Here.
4548 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
4550         [BZ #20214]
4551         * sysdeps/unix/sysv/linux/bits/in.h
4552         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4553          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
4554         Define to 1.
4555         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4556          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
4557         Define to 0.
4558         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
4559         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
4561 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
4563         [BZ #20198]
4564         * stdlib/Makefile (tests): Add tst-quick_exit, and
4565         tst-thread-quick_exit.
4566         [ifeq ($(have-cxx-thread_local),yes)]
4567         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
4568         (CFLAGS-tst-thread-quick_exit.o): Likewise.
4569         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
4570         (LDLIBS-tst-thread-quick_exit): Likewise.
4571         [ifneq ($(have-cxx-thread_local),yes)]
4572         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
4573         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
4574         If run_dtors is true call __call_tls_dtors.
4575         (exit): Call __run_exit_handlers with run_dtors set to true.
4576         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
4577         definition.
4578         * stdlib/quick_exit.c (quick_exit): Remove function.
4579         (__new_quick_exit): New function.
4580         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
4581         function.
4582         * stdlib/tst-quick_exit.cc: New file.
4583         * stdlib/tst-thread-quick_exit.cc: New file.
4584         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
4585         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
4586         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
4587         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
4588         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
4589         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
4590         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
4591         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
4592         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
4593         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
4594         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
4595         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
4596         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
4597         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
4598         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
4599         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
4601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
4602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
4603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
4604         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
4605         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
4606         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
4607         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
4608         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
4609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
4610         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
4611         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
4612         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
4613         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
4615 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
4617         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
4618         a typo in comments.
4620 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
4622         [BZ #20213]
4623         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
4624         argument to itself.
4625         * math/libm-test.inc (asin_test_data): Add sNaN tests.
4627 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4629         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
4630         required flags.
4631         (CFLAGS-pwritev64.c): Likewise.
4632         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
4633         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4634         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
4635         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4636         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
4637         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
4638         syscall from auto-generation.
4639         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
4640         [WORDSIZE == 64] (pwritev64): Remove macro.
4641         [!PWRITEV] (PWRITEV): Likewise.
4642         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4643         [!PWRITEV] (PWRITE): Likewise.
4644         [!PWRITEV] (OFF_T): Likewise.
4645         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4646         (LO_HI_LONG): Remove macro.
4647         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
4648         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
4649         (PWRITEV): Remove macro.
4650         (PWRITEV_REPLACEMENTE): Likewise.
4651         (PWRITE): Likewise.
4652         (OFF_T): Likewise.
4653         (pwritev64): New function.
4654         * nptl/tst-cancel4.c (tf_writev): Add test.
4656         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
4657         required flags.
4658         (CFLAGS-preadv64.c): Likewise.
4659         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
4660         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4661         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
4662         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
4663         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
4664         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
4665         syscall from auto-generation.
4666         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
4667         [WORDSIZE == 64] (preadv64): Remove macro.
4668         [!PREADV] (PREADV): Likewise.
4669         [!PREADV] (PREADV_REPLACEMENT): Likewise.
4670         [!PREADV] (PREAD): Likewise.
4671         [!PREADV] (OFF_T): Likewise.
4672         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
4673         (LO_HI_LONG): Remove macro.
4674         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
4675         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
4676         (PREADV): Remove macro.
4677         (PREADV_REPLACEMENTE): Likewise.
4678         (PREAD): Likewise.
4679         (OFF_T): Likewise.
4680         (preadv64): New function.
4681         * nptl/tst-cancel4.c (tf_preadv): Add test.
4683 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
4685         [BZ #20212]
4686         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
4687         argument to itself.
4688         * math/libm-test.inc (acos_test_data): Add sNaN tests.
4690 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4692         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
4693         New symbol defined as libc_hidden_def.
4694         (strcasestr): Became a weak alias to __strcasestr.
4695         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
4696         according to multi-arch support.  Move __stpncpy hidden
4697         definition from here to...
4698         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
4699         symbol stpncpy.
4700         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
4701         libc_hidden_builtin_def.
4702         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
4703         memset symbol to use when multi-arch support is available.
4705 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4707         * dlfcn/tst-rec-dlopen.c: Include string.h.
4709 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4711         * manual/install.texi: Remove mention of --without-tls
4712         * INSTALL: Regenerate.
4714 2016-06-05  Florian Weimer  <fweimer@redhat.com>
4716         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
4717         Remove.
4718         (call_function, interposed_malloc_called): New variables.
4719         (malloc): New function.
4720         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
4721         and clear call_function as needed.
4723 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
4725         * include/wchar.h (__wmemset): Use __typeof.
4727 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
4729         * include/wchar.h (__wmemset): Declare function without typeof.
4731 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
4733         [BZ #20205]
4734         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
4735         exponent when incrementing negative subnormal with low mantissa
4736         word zero.
4737         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
4738         Add another test.
4740 2016-06-03  Florian Weimer  <fweimer@redhat.com>
4742         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
4743         __wmemset instead of wmemset.
4745 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
4747         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
4748         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
4749         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
4750         __USE_KERNEL_IPV6_DEFS to 0.
4751         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
4752         Update comment.
4754 2016-06-01  Florian Weimer  <fweimer@redhat.com>
4756         [BZ #19861]
4757         Do not use IFUNC resolver with potentially unrelocated symbol.
4758         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
4759         (DEFINE_FORK): Remove macro and inline definition.
4760         (fork_alias): Renamed from fork_ifunc.
4761         (__fork_alias): Renamed from __fork_ifunc.
4763 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
4765         [BZ 19653]
4766         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
4767         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
4769 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4771         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
4772         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
4773         i386-linux-gnu).
4774         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
4775         Set to no.
4776         * sysdeps/mach/hurd/configure: Refresh.
4778 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4780         [BZ #20178]
4781         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
4782         on failure instead of exit.
4784 2016-05-30  Roland McGrath  <roland@hack.frob.com>
4786         [BZ #3629]
4787         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
4788         of POSIX.1-2008.
4790 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4792         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
4793           Use PLT entry for calling _hurd_self_sigstate.
4795 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
4797         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
4798         available logical processors with SMT level type sharing L2
4799         cache for Intel processors.
4801 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4803         [BZ #20160]
4804         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
4805         argument to itself before returning the result.
4806         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
4807         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
4808         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
4809         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
4810         Likewise.
4811         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
4812         Likewise.
4813         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
4814         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
4815         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
4816         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
4817         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
4818         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
4820         [BZ #20160]
4821         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
4822         argument to itself before returning the result.
4823         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
4824         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
4825         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
4826         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
4827         Likewise.
4828         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4829         Likewise.
4830         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
4831         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
4832         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
4833         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
4834         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
4835         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
4837 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4839         * libm-test.inc: Replace usage of M_El with
4840         (lit_e): New macro.
4842 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4844         * libm-test.inc: Replace usage of M_PI_4l with
4845         (lit_pi_4_d): New macro.
4847 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4849         * libm-test.inc: Replace usage of M_PIl with
4850         (lit_pi): New macro.
4852 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4854         * libm-test.inc: Replace usage of M_PI2l with
4855         (lit_pi_2_d): New macro.
4857         * math/test-double.h (LITM): New macro.
4858         * math/test-float.h (LITM): Likewise.
4859         * math/test-ldouble.h (LITM): Likewise.
4861 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4863         * libm-test.inc (M_PI_34l): Rename to
4864         (lit_pi_3_m_4_d): New Macro.
4865         (M_PI_34_LOG10El): Rename to
4866         (lit_pi_3_m_4_ln10_m_d): New Macro.
4867         (M_PI2_LOG10El): Rename to
4868         (lit_pi_2_ln10_m_d):  New Macro.
4869         (M_PI4_LOG10El): Rename to
4870         (lit_pi_4_ln10_m_d):  New Macro.
4871         (M_PI_LOG10El): Rename to
4872         (lit_pi_ln10_d):  New Macro.
4874 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4876         [BZ #20157]
4877         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
4878         determine whether to negate low half if [_ARCH_PPCGR], and integer
4879         comparison otherwise.
4880         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
4881         determine whether to negate low half.
4883         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
4884         (NO_TEST_INLINE_DOUBLE): Likewise.
4885         (TEST_COND_x86_64): Likewise.
4886         (TEST_COND_x86): Likewise.
4887         (M_PI_6l): Likewise.
4889 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4891         * math/libm-test.inc:
4892         (TEST_FLOAT): Change usage to TEST_COND_binary32.
4893         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
4894         (TEST_LDOUBLE): Update usage to evaluate as true if
4895         the guarded tests match the property being tested.
4896         (LDBL_MAX_EXP): Change to MAX_EXP.
4897         (LDBL_MIN_EXP): Change to MIN_EXP.
4898         (LDBL_MANT_DIG): Change to MANT_DIG, except for
4899         nexttoward tests.
4901 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4903         * math/libm-test.inc:
4904         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
4905         (TYPE_MIN): Likewise.
4906         (TYPE_TRUE_MIN): Likewise.
4907         (TYPE_MAX): Likewise.
4908         (MIN_EXP): Likewise.
4909         (MAX_EXP): Likewise.
4910         (MANT_DIG): Likewise.
4912         (FSTR_MAX): New macro.
4913         (__CONCATX): Likewise.
4914         (QTYPE_STR): Likewise.
4915         (TEST_COND_binary32): Likewise.
4916         (TEST_COND_binary64): Likewise.
4917         (TEST_COND_binary128): Likewise.
4918         (TEST_COND_ibm128): Likewise.
4919         (TEST_COND_intel96): Likewise.
4920         (TEST_COND_m68k96): Likewise.
4922         (TEST_COND_flt_32): Redefine as equivalent format test macro.
4923         (TEST_COND_dbl_64): Likewise.
4924         (TEST_COND_ldbl_96_intel): Likewise.
4925         (TEST_COND_ldbl_96_m68k): Likewise.
4926         (TEST_COND_ldbl_128): Likewise.
4927         (TEST_COND_ldbl_128ibm): Likewise.
4929         (plus_zero): Redefine using LIT macro.
4930         (minus_zero): Likewise.
4931         (plus_infty): Redefine as (INF).
4932         (minux_infty): Redefine as (-INF).
4933         (max_value): Redefine as TYPE_MAX.
4934         (min_value): Redefine as TYPE_MIN.
4935         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
4937         (print_float): Refactor to use snprintf to convert FLOAT values
4938         to string. This brings it closer to dropin replacement of strtof
4939         for the TS 18661 defined types.
4940         (update_stats): Likewise.
4941         (print_complex_function_ulps): Likewise.
4942         (print_max_error): Likewise.
4943         (print_complex_max_error): Likewise.
4944         (check_float_internal): Likewise.
4946         * math/test-float.h (PREFIX): New macro.
4947         (LIT): Likewise.
4948         (TYPE_STR): Likewise.
4949         (FTOSTR): Likewise.
4951         * math/test-double.h (PREFIX): New macro.
4952         (LIT): Likewise.
4953         (TYPE_STR): Likewise.
4954         (FTOSTR): Likewise.
4956         * math/test-ldouble.h (PREFIX): New macro.
4957         (LIT): Likewise.
4958         (TYPE_STR): Likewise.
4959         (FTOSTR): Likewise.
4961 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4963         [BZ #20156]
4964         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
4965         to itself when zero or not finite.
4966         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
4967         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4968         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
4969         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
4971 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
4973         [BZ #20153]
4974         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
4975         x * x + x for infinities and NaNs.
4977         [BZ #20151]
4978         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
4979         argument to itself before returning result.
4980         (__ieee754_y0l): Likewise.
4981         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4982         (__ieee754_y1l).
4984         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
4985         (atan_test_data): Likewise.
4986         (ceil_test_data): Likewise.
4987         (cos_test_data): Likewise.
4988         (cosh_test_data): Likewise.
4989         (erf_test_data): Likewise.
4990         (exp2_test_data): Likewise.
4991         (fabs_test_data): Likewise.
4992         (floor_test_data): Likewise.
4993         (ilogb_test_data): Likewise.
4994         (j0_test_data): Likewise.
4995         (j1_test_data): Likewise.
4996         (jn_test_data): Likewise.
4997         (lgamma_test_data): Likewise.
4998         (lrint_test_data): Likewise.
4999         (llrint_test_data): Likewise.
5000         (logb_test_data): Likewise.
5001         (lround_test_data): Likewise.
5002         (llround_test_data): Likewise.
5003         (nearbyint_test_data): Likewise.
5004         (rint_test_data): Likewise.
5005         (round_test_data): Likewise.
5006         (sin_test_data): Likewise.
5007         (sincos_test_data): Likewise.
5008         (sinh_test_data): Likewise.
5009         (sqrt_test_data): Likewise.
5010         (tan_test_data): Likewise.
5011         (tanh_test_data): Likewise.
5012         (tgamma_test_data): Likewise.
5013         (trunc_test_data): Likewise.
5014         (y0_test_data): Likewise.
5015         (y1_test_data): Likewise.
5016         (yn_test_data): Likewise.
5018         * math/libm-test.inc: Update comment about NaN testing.
5019         (TEST_SNAN): New macro.
5020         (snan_value): Likewise.
5021         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
5022         (fpclassify_test_data): Add sNaN tests.
5023         (isfinite_test_data): Likewise.
5024         (isinf_test_data): Likewise.
5025         (isnan_test_data): Likewise.
5026         (isnormal_test_data): Likewise.
5027         (issignaling_test_data): Likewise.
5028         (signbit_test_data): Likewise.
5029         * math/gen-libm-test.pl (%beautify): Add snan_value.
5030         (show_exceptions): Add argument $test_snan.
5031         (parse_args): Handle snan_value as non-finite.  Update call to
5032         show_exceptions.
5033         * math/Makefile (libm-test-no-inline-cflags): Add
5034         -fsignaling-nans.
5036 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5038         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
5039         (CFLAGS-oldsendmsg.c): Add rule.
5040         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
5041         Correct recvmsg symbol name.
5042         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
5043         Likewise.
5045 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5047         * sysdeps/unix/sysv/linux/Makefile
5048         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
5049         oldsendmmsg.
5050         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
5051         sendmmsg.
5052         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5053         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5054         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5055         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5057         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5058         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5060         Likewise.
5061         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5062         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
5063         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
5064         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
5065         iovlen and controllen fields to adjust to POSIX specification.
5066         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5068         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
5069         and change to correct expected type.
5070         (msghdr.msg_controllen): Likewise.
5071         (cmsghdr.cmsg_len): Likewise.
5072         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
5073         expected POSIX assumption about the size.
5074         (msghdr.msg_controllen): Likewise.
5075         (msghdr.__glibc_reserved1): Likewise.
5076         (msghdr.__glibc_reserved2): Likewise.
5077         (cmsghdr.cmsg_len): Likewise.
5078         (cmsghdr.__glibc_reserved1): Likewise.
5079         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
5080         Add ptw-oldrecvmsg and ptw-oldsendmsg.
5081         (CFLAGS-sendmsg.c): Remove rule.
5082         (CFLAGS-recvmsg.c): Likewise.
5083         (CFLAGS-oldsendmsg.c): Add rule.
5084         (CFLAGS-oldrecvmsg.c): Likewise.
5085         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
5086         recvmsg and sendmsg.
5087         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
5088         Likewise.
5089         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
5090         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
5091         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
5092         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
5093         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
5094         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
5095         Likewise.
5096         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
5097         Likewise.
5098         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
5099         Likewise.
5100         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
5101         Likewise.
5102         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
5103         Likewise.
5104         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
5105         Likewise.
5106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
5107         (GLIBC_2.24): Likewise.
5108         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
5109         Likewise.
5110         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
5111         Likewise.
5112         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
5113         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
5114         Likewise.
5115         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
5116         Likewise.
5117         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
5118         Likewise.
5119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
5120         (GLIBC_2.24): Likewise.
5121         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
5122         Likewise.
5123         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
5124         Likewise.
5125         * sysdeps/unix/sysv/linux/Makefile
5126         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
5127         (CFLAGS-sendmsg.c): Add rule.
5128         (CFLAGS-recvmsg.c): Likewise.
5129         (CFLAGS-oldsendmsg.c): Likewise.
5130         (CFLAGS-oldrecvmsg.c): Likewise.
5131         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
5132         initialization.
5133         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
5134         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
5135         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
5136         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
5137         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
5138         iovlen and controllen fields to adjust to POSIX specification.
5139         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
5140         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
5141         added recvmsg and sendmsg.
5142         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5143         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5144         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5145         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5146         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5147         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5148         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5149         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5150         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5151         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5152         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5153         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
5154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5155         Likewise.
5156         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
5157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5158         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5159         Likewise.
5160         Likewise.
5161         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5162         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5163         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5164         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5165         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5166         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5167         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5168         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5169         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5170         Likewise.
5171         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5172         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5174         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
5175         from auto-generation.
5176         (sendmsg): Likewise.
5177         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
5178         (sendmsg): Likewise.
5179         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
5180         (sendmsg): Likewise.
5181         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
5182         (sendmsg): Likewise.
5183         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
5184         (sendmsg): Likewise.
5185         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
5186         (sendmsg): Likewise.
5187         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
5188         Likewise.
5189         (sendmsg): Likewise.
5190         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
5191         (sendmsg): Likewise.
5192         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5193         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5194         Remove.
5195         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5196         Likewise.
5197         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5198         Undefine.
5199         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5200         Likewise.
5201         * sysdeps/unix/sysv/linux/kernel-features.h
5202         (__ASSUME_SENDMSG_SYSCALL): Define.
5203         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5204         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5205         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5206         Remove.
5207         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5208         Likewise.
5209         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5210         Undefine.
5211         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5212         Likewise.
5213         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5214         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5215         Remove.
5216         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5217         Likewise.
5218         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5219         Undefine.
5220         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5221         Likewise.
5222         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5223         (__ASSUME_SENDMSG_SYSCALL): Undefine.
5224         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5225         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5226         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5227         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5228         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5229         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5230         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5232 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5234         * stdlib/gen-tst-strtod-round.c: Add backslash to
5235         compile command in comment.
5236         (printfp): Remove the literal suffix, and define an infinite
5237         value as INF to avoid expansion clash with INFINITY.
5238         (round_str): Remove the literal suffix.
5239         (round_for_all): Likewise, remove the now duplicate ldbl-64
5240         entry, and remove some magic constants.
5242         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
5243         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
5244         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
5245         (_CONCAT): New macro.
5246         (CONCAT): Likewise.
5247         (CHOOSE_ld): Likewise.
5248         (CHOOSE_f): Likewise.
5249         (CHOOSE_d): Likewise.
5250         (FTYPE_MEMBER): Likewise.
5251         (BOOL_MEMBER): Likewise.
5252         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
5253         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
5254         (_XNTRY): Likewise.
5255         (XNTRY): Likewise.
5256         (_ENTRY): Likewise.
5257         (ENTRY): Likewise.
5258         (test_exactness): Generate members via macro.
5259         (test_results): Likewise.
5260         (test): Update members.
5261         (TEST): Redefine using new macros.
5262         (INF): New macro.
5263         (fetestmodes): New structure.
5264         (do_test): Refactor to be type generic.
5265         (test_in_one_mode): Refactor duplicate code into
5266         (GEN_ONE_TEST): New macro.
5268         * stdlib/tst-strtod-round-data.h: Regenerate.
5270         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
5271         Extend to pass additional arbitrary parameters to
5272         generators.
5274 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
5276         [BZ #15479]
5277         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
5278         floating-point state after first floating-point operation on
5279         input.  Restore full floating-point state instead of just rounding
5280         mode.
5281         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
5282         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
5283         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
5284         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
5285         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
5287         [BZ #15479]
5288         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
5289         floating-point state after first floating-point operation on
5290         input.  Restore full floating-point state instead of just rounding
5291         mode.
5292         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
5293         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
5294         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
5295         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
5296         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
5298 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5300         [BZ #19727]
5301         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
5302         valid high surrogate.
5303         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
5304         of an utf16 surrogate.
5305         * iconv/gconv_simple.c (BODY): Likewise.
5306         * iconvdata/bug-iconv12.c: New file.
5307         * iconvdata/Makefile (tests): Add bug-iconv12.
5309 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5311         [BZ #19726]
5312         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
5313         outptrp in case of an illegal input.
5314         * iconv/tst-iconv6.c: New file.
5315         * iconv/Makefile (tests): Add tst-iconv6.
5317 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5319         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
5320         an error in case of a value in range of an utf16 low surrogate.
5322 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5324         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
5325         an error in case of a value in range of an utf16 low surrogate.
5327 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5329         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
5330         Move to ...
5331         * sysdeps/s390/Makefile: ... here.
5332         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
5333         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
5334         (BRANCH_ON_COUNT): New define.
5335         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
5336         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
5337         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
5338         run on s390-32, too.
5339         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
5340         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
5341         run on s390-32, too.
5342         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
5343         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
5344         run on s390-32, too.
5346 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5348         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
5349         etf3eh or new vector loop-variant.
5351 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5353         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
5354         etf3eh or new vector loop-variant.
5356 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5358         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
5359         or new vector loop-variant.
5361 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5363         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
5364         Rename to TR_LOOP and usage of tr instead of troo instruction.
5366 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5368         * sysdeps/s390/multiarch/gconv_simple.c: New File.
5369         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
5371 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5373         * sysdeps/s390/multiarch/8bit-generic.c: New File.
5374         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
5375         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
5376         New override define.
5377         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
5379 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5381         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
5382         * sysdeps/s390/configure.ac: Add test for S390 vector register
5383         support in gcc.
5384         * sysdeps/s390/configure: Regenerated.
5386 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5388         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
5389         Install file from $(objpfx)gconv-modules.
5390         ($(objpfx)gconv-modules): Concatenate architecture specific file
5391         in variable sysdeps-gconv-modules and gconv-modules in src dir.
5392         * sysdeps/s390/gconv-modules: New file.
5393         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
5394         Deleted.
5395         ($(objpfx)gconv-modules-s390): Deleted.
5396         (sysdeps-gconv-modules): New variable.
5398 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5400         [BZ #15479]
5401         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
5402         of immediate operand to rounding instruction.
5403         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
5404         Likewise.
5405         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
5406         Likewise.
5407         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
5408         Likewise.
5410 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5412         * math/libm-test.inc (MIN_EXP): Directly define as
5413         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
5415 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5417         * math/libm-test.inc (MANT_DIG): Directly define as
5418         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
5420 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5422         * stdlib/gen-tst-strtod-round.c (main):
5423           Change usage to more closely match the generated
5424           output.  Add usage and compilation instructions.
5425           (string_to_fp): Add and use FILE* parameter as
5426           output target.
5427           (print_fp): Likewise.
5428           (round_str): Likewise.
5429           (round_for_all): Likewise.
5430         * stdlib/tst-strtod-round.c (tests): Move into
5431         * stdlib/tst-strtod-round-data.h: New file.
5433 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5435         [BZ #15479]
5436         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
5437         (__round): Do not force "inexact" exception.
5438         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
5439         variable.
5440         (__round): Do not force "inexact" exception.
5441         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
5442         (__roundf): Do not force "inexact" exception.
5443         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
5444         (__roundl): Do not force "inexact" exception.
5445         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
5446         (__roundl): Do not force "inexact" exception.
5447         * math/libm-test.inc (round_test_data): Do not allow spurious
5448         "inexact" exceptions.
5450         [BZ #15479]
5451         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
5452         exception in comment.
5453         (huge): Remove variable.
5454         (__floor): Do not force "inexact" exception.
5455         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
5456         "inexact" exception in comment.
5457         (huge): Remove variable.
5458         (__floor): Do not force "inexact" exception.
5459         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
5460         exception in comment.
5461         (huge): Remove variable.
5462         (__floorf): Do not force "inexact" exception.
5463         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
5464         exception in comment.
5465         (huge): Remove variable.
5466         (__floorl): Do not force "inexact" exception.
5468         [BZ #15479]
5469         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
5470         exception in comment.
5471         (huge): Remove variable.
5472         (__ceil): Do not force "inexact" exception.
5473         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
5474         "inexact" exception in comment.
5475         (huge): Remove variable.
5476         (__ceil): Do not force "inexact" exception.
5477         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
5478         (__ceilf): Do not force "inexact" exception.
5479         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
5480         exception in comment.
5481         (huge): Remove variable.
5482         (__ceill): Do not force "inexact" exception.
5484 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
5486         * config.h.in (BIND_NOW): New.
5487         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
5488         * configure: Regenerated.
5489         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
5490         indirect branch via the GOT slot.
5492 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5494         [BZ #19765]
5495         * sysdeps/s390/mempcpy.S: New File.
5496         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
5497         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
5498         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5499         Add mempcpy variants.
5500         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
5501         (memcpy): Adjust to be usable from mempcpy entry point.
5502         (__memcpy_mvcle): Likewise.
5503         * sysdeps/s390/s390-64/memcpy.S: Likewise.
5504         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
5505         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
5506         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
5507         (__memcpy_z10): Likewise.
5508         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5510 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5512         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
5513         Remove __GI_ symbol.
5514         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
5515         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
5516         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
5517         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5518         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
5519         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
5521 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5523         * sysdeps/s390/s390-64/memcpy.S (memcpy):
5524         Use cghi instead of chi to compare 64bit value.
5526 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5528         * sysdeps/s390/s390-32/memcpy.S (memcpy):
5529         Jump to 1MB check before executing mvc-loop.
5531 2016-05-24  Florian Weimer  <fweimer@redhat.com>
5533         [BZ #6527]
5534         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
5535         unconditionally.
5536         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
5538 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5540         * stdlib/tst-strtod6.c (do_test): Use new type generic
5541         invocation of the test function.
5542         (test): Refactor into ...
5543         (TEST_STRTOD): New macro base function.
5545 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5547         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
5548         (TEST_STRTOD): New macro.
5549         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
5551 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5553         * stdlib/tst-strtod6.c (do_test): Use new type generic
5554         invocation of the test function.
5555         (test): Refactor into ...
5556         (TEST_STRTOD): New macro base function.
5558 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5560         CVE-2016-4429
5561         [BZ #20112]
5562         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
5563         payload.
5565 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5567         [BZ #20111]
5568         * bits/sockaddr.h (_SS_SIZE): Define.
5569         * bits/socket.h (_SS_SIZE): Remove.
5570         (_SS_PADSIZE): Adjust to account for all padding.
5571         (struct sockaddr_storage): Update comment.  Avoid implicit
5572         padding.
5573         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
5574         (_SS_PADSIZE): Adjust to account for all padding.
5575         (struct sockaddr_storage): Update comment.  Avoid implicit
5576         padding.
5577         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
5578         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
5579         (_SS_PADSIZE): Adjust to account for all padding.
5580         (struct sockaddr_storage): Update comment.  Avoid implicit
5581         padding.
5582         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
5583         __SS_SIZE is 126 in this version.
5584         * inet/tst-sockaddr.c: New file.
5585         * inet/Makefile (tests): Add tst-sockaddr.c
5586         (tst-sockaddr.c): Compile with non-strict aliasing.
5588 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
5590         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
5591         [XPG3 || XPG4].
5592         (NL_ARGMAX): Also expect for [XPG3].
5593         (NL_LANGMAX): Likewise.
5594         (NL_MSGMAX): Likewise.
5595         (NL_NMAX): Likewise.
5596         (NL_SETMAX): Likewise.
5597         (NL_TEXTMAX): Likewise.
5598         (NZERO): Likewise.
5599         (TMP_MAX): Likewise.
5600         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
5601         variable.
5603         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
5604         (PF_MAX): Update value.
5605         (AF_KCM): New macro.
5606         (SOL_NETBEUI): Likewise.
5607         (SOL_LLC): Likewise.
5608         (SOL_DCCP): Likewise.
5609         (SOL_NETLINK): Likewise.
5610         (SOL_TIPC): Likewise.
5611         (SOL_RXRPC): Likewise.
5612         (SOL_PPPOL2TP): Likewise.
5613         (SOL_BLUETOOTH): Likewise.
5614         (SOL_PNPIPE): Likewise.
5615         (SOL_RDS): Likewise.
5616         (SOL_IUCV): Likewise.
5617         (SOL_CAIF): Likewise.
5618         (SOL_ALG): Likewise.
5619         (SOL_NFC): Likewise.
5620         (SOL_KCM): Likewise.
5621         (MSG_BATCH): New enum value and macro.
5623 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
5625         [BZ #18185]
5626         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
5627         sharing L2 cache to 2 for Knights Landing.
5629 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
5631         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
5632         (FTW_DP): Do not expect for [XPG3 || XPG4].
5633         (FTW_SL): Do not expect for [XPG3].
5634         (FTW_SLN): Likewise.
5635         (FTW_PHYS): Likewise.
5636         (FTW_MOUNT): Likewise.
5637         (FTW_DEPTH): Likewise.
5638         (FTW_CHDIR): Likewise.
5639         (nftw): Likewise.
5640         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
5641         variable.
5643 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5645         * manual/errno.texi: Fix various typos & grammar errors.
5647 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5649         * manual/intro.texi: Fix duplicated typo.
5651 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
5653         [BZ #13304]
5654         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
5655         <float.h>, <math_private.h> and <stdlib.h>.
5656         (add_split): New function.
5657         (mul_split): Likewise.
5658         (ext_val): New typedef.
5659         (store_ext_val): New function.
5660         (mul_ext_val): New function.
5661         (compare): New function.
5662         (add_split_ext): New function.
5663         (__fmal): After checking for Inf, NaN and zero, compute result as
5664         an exact sum of scaled double values in round-to-nearest before
5665         adding those up and adjusting for other rounding modes.
5666         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
5667         tests of fma.
5668         * math/auto-libm-test-out: Regenerated.
5670 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5672         [BZ #20119]
5673         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
5674         processor level type mask for CPUID with EAX == 11.
5676 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5678         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
5679         logical threads if the HTT bit is 0.
5680         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
5681         (index_cpu_HTT): Likewise.
5682         (reg_HTT): Likewise.
5684 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5686         [BZ #20115]
5687         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
5688         Remove alignments on jump targets.
5690 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
5692         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
5693         (getpwent): Likewise.
5694         (setpwent): Likewise.
5695         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
5696         variable.
5698         * conform/data/search.h-data (insque): Do not expect for [XPG3].
5699         (remque): Likewise.
5700         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
5701         variable.
5703 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
5705         * math/libm-test.inc: Update comment not to refer to signs of NaNs
5706         not being tested.
5708 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5710         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5711         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
5712         call.
5713         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5714         (__condvar_cleanup1): Likewise.
5716 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5718         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
5719         New
5720         (__pthread_unwind): Renamed to ...
5721         (PTHREAD_UNWIND): This.
5722         (__pthread_enable_asynccancel): Replace
5723         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
5725 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
5727         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
5728         (CLONE_NEWCGROUP): New macro.
5730         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
5731         (Q_GETNEXTQUOTA): New macro.
5733 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5735         [BZ #19907]
5736         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
5737         buffer updated by the previous run.
5738         * string/test-memcpy.c (do_one_test): Likewise.
5739         * benchtests/bench-memmove.c (do_one_test): Add a comment.
5740         * string/test-memmove.c (do_one_test): Likewise.
5742 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
5744         [BZ #20094]
5745         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
5746         not [__USE_XOPEN].
5747         (unlockpt): Likewise.
5748         (ptsname): Likewise.
5749         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
5750         variable.
5752         [BZ #20076]
5753         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
5754         instead of [__USE_UNIX98].
5755         (S_ISSOCK): Likewise.
5756         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
5757         variable.
5759         [BZ #20074]
5760         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
5761         [__USE_POSIX].
5762         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
5763         variable.
5765         [BZ #20051]
5766         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
5767         (ttyslot): Do not declare.
5768         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
5769         (ttyslot): New prototype.
5770         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
5771         variable.
5772         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5774 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5776         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
5778 2016-05-13  Florian Weimer  <fweimer@redhat.com>
5780         Fix race condition in tst-mallocfork2, use fewer resources.
5781         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
5782         to current process group.
5783         (signal_sender): Yield in the non-sleeping case.
5785 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
5787         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
5788         (ecvt): Likewise.
5789         (fcvt): Likewise.
5790         (gcvt): Likewise.
5791         (getsubopt): Likewise.
5792         (grantpt): Likewise.
5793         (initstate): Likewise.
5794         (l64a): Likewise.
5795         (mktemp): Likewise.
5796         (mkstemp): Likewise.
5797         (ptsname): Likewise.
5798         (random): Likewise.
5799         (realpath): Likewise.
5800         (setstate): Likewise.
5801         (srandom): Likewise.
5802         (ttyslot): Likewise.
5803         (unlockpt): Likewise.
5804         (valloc): Likewise.
5806         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
5807         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
5808         variable.
5810 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5812         [BZ #20072]
5813         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
5814         init_cpu_features only if SHARED is defined.
5815         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5817 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5819         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
5820         non-inclusive caches on Intel processors.
5822 2016-05-13  Florian Weimer  <fweimer@redhat.com>
5824         * malloc/malloc.c (dumped_main_arena_start)
5825         (dumped_main_arena_end): New variables.
5826         (DUMPED_MAIN_ARENA_CHUNK): New macro.
5827         (do_check_chunk): Skip dumped fake mmapped chunks.
5828         (munmap_chunk): Likewise.
5829         (__libc_free): Do not adjust statistics for fake mmapped chunks.
5830         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
5831         mmapped chunks.
5832         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
5833         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
5834         and dumped_main_arena_end to cover the dumped heap.
5836 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
5838         * conform/data/time.h-data (getdate_err): Do not expect for
5839         [XPG3].
5840         (getdate): Likewise.
5841         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
5842         variable.
5844         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
5845         (F_ULOCK): Likewise.
5846         (F_TEST): Likewise.
5847         (F_TLOCK): Likewise.
5848         (useconds_t): Likewise.
5849         (intptr_t): Do not expect for [XPG3] or [XPG4].
5850         (brk): Do not expect for [XPG3]
5851         (fchown): Likewise.
5852         (fchdir): Likewise.
5853         (ftruncate): Likewise.
5854         (getdtablesize): Likewise.
5855         (gethostid): Likewise.
5856         (getpagesize): Likewise.
5857         (getpgid): Likewise.
5858         (getsid): Likewise.
5859         (getwd): Likewise.
5860         (lchown): Likewise.
5861         (lockf): Likewise.
5862         (readlink): Likewise.
5863         (sbrk): Likewise.
5864         (setpgrp): Likewise.
5865         (setregid): Likewise.
5866         (setreuid): Likewise.
5867         (symlink): Likewise.
5868         (sync): Likewise.
5869         (truncate): Likewise.
5870         (ualarm): Likewise.
5871         (usleep): Likewise.
5872         (vfork): Likewise.
5873         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
5874         variable.
5876         [BZ #20054]
5877         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
5878         not [__USE_UNIX98].
5879         * conform/data/unistd.h-data (gethostname): Do not expect for
5880         [XPG3].
5882         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
5883         [!POSIX] (S_IFBLK): Likewise.
5884         [!POSIX] (S_IFCHR): Likewise.
5885         [!POSIX] (S_IFIFO): Likewise.
5886         [!POSIX] (S_IFREG): Likewise.
5887         [!POSIX] (S_IFDIR): Likewise.
5888         [!POSIX] (S_IFLNK): Likewise.
5889         [!POSIX] (S_IFSOCK): Likewise.
5890         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
5891         variable.
5892         (test-xfail-XPG4/fcntl.h/conform): Likewise.
5894 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
5896         * sysdeps/aarch64/memset.S (__memset):
5897         Rewrite of optimized memset.
5899 2016-05-12  Florian Weimer  <fweimer@redhat.com>
5901         [BZ #19703]
5902         Partially async-signal-safe fork for single-threaded processes.
5903         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
5904         variable.  Do not acquire and reset/release malloc and libio locks
5905         in single-threaded processes.
5906         * malloc/tst-mallocfork2.c: New file.
5907         * malloc/Makefile (tests): Add it.
5909 2016-05-12  Florian Weimer  <fweimer@redhat.com>
5911         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
5912         argument.  Use scratch buffer instead of extend_alloca.
5913         (gethosts): Use scratch buffer instead of extend_alloca.
5914         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
5915         extend_alloca.
5916         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
5918 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
5920         [BZ #20055]
5921         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
5922         instead of [__USE_UNIX98].
5923         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
5924         [__USE_UNIX98].
5925         * conform/data/termios.h-data (tcgetsid): Do not expect for
5926         [XPG3].
5927         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
5928         variable.
5929         (test-xfail-XPG4/termios.h/conform): Likewise.
5931 2016-05-11  Florian Weimer  <fweimer@redhat.com>
5933         Do not use mcheck in localedef.
5934         * locale/programs/localedef.c (turn_on_mcheck)
5935         (__malloc_initialize_hook): Remove.
5937 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5939         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
5940         * sysdeps/s390/s390-64/Makefile: Likewise.
5942 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
5944         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
5945         Remove ifunc-defines.sym.
5946         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
5947         Likewise.
5948         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
5949         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
5950         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
5951         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
5952         rtld-global-offsets.sym.
5953         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
5954         * sysdeps/x86/cpu-features-offsets.sym: This.
5955         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
5956         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
5958 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
5960         [BZ #20073]
5961         * io/sys/stat.h (fchmod): Declare for
5962         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
5963         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
5964         variable.
5966         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
5967         [XPG3] (S_IFSOCK): Likewise.
5968         [XPG3] (S_ISVTX): Likewise.
5969         [XPG3] (S_ISLNK): Likewise.
5970         [XPG3] (S_ISSOCK): Likewise.
5971         [XPG3] (fchmod): Likewise.
5972         [XPG3] (lstat): Likewise.
5973         [XPG3] (mknod): Likewise.
5975         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
5976         [XPG3].  Expect type long and XFAIL for [XPG4].
5977         (st_blocks): Likewise.
5979         [BZ #20044]
5980         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
5981         (pthread_atfork): New prototype.
5982         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
5983         variable.
5985         [BZ #20043]
5986         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
5987         prototype.
5989 2016-05-10  Florian Weimer  <fweimer@redhat.com>
5991         [BZ #20017]
5992         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
5993         gmtime.
5995 2016-05-10  Florian Weimer  <fweimer@redhat.com>
5997         [BZ #19994]
5998         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
5999         flag in _res.options.
6001 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
6003         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
6004         [XPG3 || XPG4].
6005         (blksize_t): Likewise.
6006         (clockid_t): Likewise.
6007         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
6008         variable.
6009         (test-xfail-XPG4/sys/types.h/conform): Likewise.
6011 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6013         * sysdeps/unix/sysv/linux/s390/init-first.c:
6014         Add VDSO_SYMBOL(getcpu).
6015         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
6016         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
6017         Add VDSO_SYMBOL(getcpu).
6018         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
6019         New define HAVE_GETCPU_VSYSCALL.
6020         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6022 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
6024         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
6025         instead of <sysdeps/x86_64/cacheinfo.c>.
6026         * sysdeps/x86_64/cacheinfo.c: Moved to ...
6027         * sysdeps/x86/cacheinfo.c: Here.
6029 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6031         * malloc/malloc-internal.h: Adjust header file guard.
6033 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6035         [BZ #19787]
6036         * inet/getnameinfo.c (check_sprintf_result): New function.
6037         (CHECKED_SNPRINTF): New macro.
6038         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
6039         to the host buffer.
6040         (gni_host_local): Use checked_copy to copy the host name.
6041         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
6042         (gni_serv_local): Use checked_copy to copy the service name.
6043         (getnameinfo): Remove unnecessary truncation of result buffers.
6045 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6047         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
6048         in case of inet_ntop failure.
6050 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6052         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
6053         avoid long lines.
6054         (gni_host_inet_numeric): Likewise.  Reduce scope of local
6055         variables.
6056         (gni_host_inet, gni_host_local): Add comment.
6057         (gni_host): Add comment.  Use temporary to avoid long lines.
6059 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6061         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
6062         registers specifiers where general purpose registers specifiers should
6063         have been used.
6065 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6067         [BZ #19779]
6068         CVE-2016-1234
6069         Avoid copying names of directory entries.
6070         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
6071         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
6072         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
6073         (struct readdir_result): New type.
6074         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
6075         (GL_READDIR): New macros.
6076         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
6077         (convert_dirent, convert_dirent64): New functions.
6078         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
6079         convert_dirent64.  Adjust references to the readdir result.
6080         * sysdeps/unix/sysv/linux/i386/glob64.c:
6081         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
6082         * posix/bug-glob2.c (LONG_NAME): Define.
6083         (filesystem): Add LONG_NAME.
6084         (my_DIR): Increase the size of room_for_dirent.
6086 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
6088         [BZ #20041]
6089         * misc/sys/select.h (__need_timespec): Only define if
6090         [__USE_XOPEN2K].
6091         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
6092         variable.
6093         (test-xfail-XPG4/utmpx.h/conform): Likewise.
6094         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6095         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6097 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6098             Segher Boessenkool  <segher@gcc.gnu.org>
6100         [BZ #20004]
6101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
6102         (__novec_swapcontext): Add missing load.
6104 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
6106         [BZ #20023]
6107         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
6108         <time.h>.
6109         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
6110         variable.
6111         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6113 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
6116         flags CLONE_VM compare.
6118 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6120         [BZ #20031]
6121         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
6122         completely empty.
6124 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6126         [BZ #19573]
6127         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
6128         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
6129         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
6130         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
6131         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
6132         (hesiod_free_list): Mark as hidden.
6133         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
6134         res_set, res_get.
6135         * hesiod/hesiod.c: Remove unnecessary forward declarations.
6136         (init, __hesiod_res_get, __hesiod_res_set): Remove.
6137         (hesiod_init): Remove obsolete res_ninit call.
6138         (hesiod_end): Do not free resolver state.  Do not invoke callback.
6139         (hesiod_bind): Do not call init.
6140         (get_txt_records): Use res_mkquery, res_send instead of
6141         res_nmkquery, res_nsend.
6142         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
6143         instead of _nss_hesiod_init.
6144         (_nss_hesiod_initgroups_dyn): Likewise.
6145         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
6146         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
6147         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
6149 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6151         * hesiod/hesiod_p.h (DEF_RHS): Remove.
6152         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
6154 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6156         * hesiod/hesiod.h: Remove RCS keyword.
6157         * hesiod/hesiod_p.h: Likewise.
6159         * hesiod/hesiod.c: Likewise.
6161 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
6163         [BZ #12450]
6164         * locale/iso-639.def: Add Samogitian/sgs.
6166 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
6168         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
6170         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
6172 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
6173             Carlos O'Donell  <carlos@redhat.com>
6175         [BZ #19072]
6176         * grp/Makefile (headers): Add grp-merge.h
6177         (routines): Add grp-merge.
6178         * grp/getgrgid_r.c: Include grp-merge.h.
6179         (DEEPCOPY_FN): Define.
6180         (MERGE_FN): Define.
6181         * grp/getgrname_r.c: Include grp-merge.h.
6182         (DEEPCOPY_FN): Define.
6183         (MERGE_FN): Define.
6184         * grp/grp-merge.c: New file.
6185         * grp/grp-merge.h: New file.
6186         * include/grp-merge.h: New file.
6187         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
6188         __copy_grp@GLIBC_PRIVATE.
6189         * manual/nss.texi (Actions in the NSS configuration): Describe
6190         return, continue, and merge.
6191         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
6192         (DEEPCOPY_FN): Define.
6193         (MERGE_FN): Define.
6194         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
6195         (DEEPCOPY_FN): Define.
6196         (MERGE_FN): Define.
6197         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
6198         [!MERGE_FN]: Define __merge_einval.
6199         (CHECK_MERGE): Define.
6200         (REENTRANT_NAME): Process merge if do_merge is true.
6201         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
6202         (__nss_getent_r): Likewise.
6203         * nss/nsswitch.c (nss_parse_service_list): Likewise.
6204         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
6206 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6208         [BZ #20012]
6209         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
6210         length to calculate the buffer to read.
6211         (fmemopen_write): Set the buffer position based on bytes written.
6212         (fmemopen_seek): Return EINVAL for invalid whence modes.
6214         [BZ #19957]
6215         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
6216         tst-getpid2.
6217         (test): Add tst-clone2.
6218         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
6219         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
6220         pid/tid fields for CLONE_VM.
6221         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
6222         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
6223         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
6224         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
6225         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
6226         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
6227         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
6228         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
6229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
6230         Likewise.
6231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6232         Likewise.
6233         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
6234         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
6235         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
6236         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6237         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
6238         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
6239         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
6240         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
6242 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6244         [BZ #19642]
6245         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
6246         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
6247         (gni_serv_local, gni_serv): New functions extracted from
6248         getnameinfo.
6249         (getnameinfo): Call gni_host and gni_serv to perform the
6250         processing.  Always free scratch buffer.
6252 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6254         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
6255         remaining bytes in the dest string, with zeros.
6257 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6259         [BZ #20010]
6260         CVE-2016-3706
6261         * sysdeps/posix/getaddrinfo.c
6262         (convert_hostent_to_gaih_addrtuple): New function.
6263         (gethosts): Call convert_hostent_to_gaih_addrtuple.
6264         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
6265         AF_INET data.
6267 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6269         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
6270         callback function gl_readdir.
6271         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
6272         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
6273         (glob_in_dir): Remove len.  Use strdup instead of malloc and
6274         memcpy to copy the name.
6275         * manual/pattern.texi (Calling Glob): Document requirements for
6276         implementations of the gl_readdir callback function.
6277         * manual/examples/mkdirent.c: New example.
6278         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
6279         per the manual guidance.
6280         * posix/tst-gnuglob.c (my_readdir): Likewise.
6282 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
6284         [BZ #20014]
6285         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
6286         not [__USE_POSIX].
6287         (getchar_unlocked): Likewise.
6288         (putc_unlocked): Likewise.
6289         (putchar_unlocked): Likewise.
6290         (flockfile): Likewise.
6291         (ftrylockfile): Likewise.
6292         (funlockfile): Likewise.
6293         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
6294         variable.
6295         (test-xfail-XPG4/stdio.h/conform): Likewise.
6297         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
6298         Expect constant.
6299         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
6300         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
6301         variable.
6302         (test-xfail-XPG4/langinfo.h/conform): Likewise.
6303         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6305         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
6306         [__USE_LARGEFILE64] (off64_t): Likewise.
6307         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
6308         variable.
6310 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6312         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
6314 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6316         * resolv/inet_addr.c: Reindent preprocessor conditionals.
6317         * resolv/res_init.c: Likewise.
6318         * resolv/res_mkquery.c: Likewise.
6320 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6322         * resolv/res_init.c (isascii): Do not define.  Use definition in
6323         <ctype.h>.
6324         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
6325         (LOG_AUTH): Remove.
6326         (SPRINTF): Remove, adjust caller.
6327         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
6329 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6331         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
6332         SUNSECURITY conditional.
6333         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
6335 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6337         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
6338         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
6339         Remove BSD-related preprocessor conditionals.
6340         * conf/portability.h: Remove.
6342 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6344         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
6345         * resolv/res_data.c: Likewise.
6347 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6349         * resolv/res_comp.c: Remove code conditional on __ultrix__.
6350         * resolv/res_data.c: Remove code conditional on ultrix.
6352 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6354         * resolv/res_init.c (RFC1535): Do not define.  Remove
6355         RFC1535 preprocessor conditionals.
6356         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
6357         because there configuration options which make the resolver
6358         behavior different.
6360 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6362         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
6363         RESOLVSORT preprocessor conditionals.
6364         * resolv/nss_dns/dns-host.c: Likewise.
6365         * resolv/res_init.c: Likewise.
6367 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6369         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
6370         is never defined.
6372 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6374         * inet/inet_lnaof.c: Remove SCSS keyword.
6375         * inet/inet_mkadr.c: Likewise.
6376         * inet/inet_net.c: Likewise.
6377         * inet/inet_netof.c: Likewise.
6378         * inet/rcmd.c: Likewise.
6379         * inet/rexec.c: Likewise.
6380         * inet/ruserpass.c: Likewise.
6382 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6384         * resolv/inet_addr.c: Remove _LIBC conditionals.
6385         * resolv/res_data.c: Likewise.
6386         * resolv/res_init.c: Likewise.
6387         * resolv/res_mkquery.c: Likewise.
6388         * resolv/res_libc.c: Update comment.
6389         * resolv/README: Update.
6391 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6393         * resolv/gethnamaddr.c: Remove SCSS keyword.
6394         * resolv/herror.c: Likewise.
6395         * resolv/inet_addr.c: Likewise.
6396         * resolv/inet_net_ntop.c: Likewise.
6397         * resolv/inet_net_pton.c: Likewise.
6398         * resolv/inet_neta.c: Likewise.
6399         * resolv/inet_ntop.c: Likewise.
6400         * resolv/inet_pton.c: Likewise.
6401         * resolv/ns_date.c: Remove RCS keyword.
6402         * resolv/ns_name.c: Likewise.
6403         * resolv/ns_netint.c: Likewise.
6404         * resolv/ns_parse.c: Likewise.
6405         * resolv/ns_print.c: Likewise.
6406         * resolv/ns_samedomain.c: Likewise.
6407         * resolv/ns_ttl.c: Likewise.
6408         * resolv/nsap_addr.c: Likewise.
6409         * resolv/res_comp.c: Remove SCSS and RCS keyword.
6410         * resolv/res_data.c: Remove RCS keyword.
6411         * resolv/res_debug.c: Remove SCSS and RCS keyword.
6412         * resolv/res_init.c: Likewise.
6413         * resolv/res_mkquery.c: Likewise.
6414         * resolv/res_query.c: Likewise.
6415         * resolv/res_send.c: Likewise.
6417 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6419         * conform/data/stdio.h-data (fdopen): Expect also for
6420         [XPG3 || XPG4].
6422         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
6423         (fseeko): Likewise.
6424         (ftello): Likewise.
6425         (ftrylockfile): Likewise.
6426         (funlockfile): Likewise.
6427         (getc_unlocked): Likewise.
6428         (getchar_unlocked): Likewise.
6429         (putc_unlocked): Likewise.
6430         (putchar_unlocked): Likewise.
6432 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6434         [BZ #19868]
6435         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
6436         DNS packet syntax checks (which were not needed before).  Skip
6437         over non-PTR records.
6439 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6441         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
6442         definition.  Include <stddef.h> instead.
6444 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6446         [BZ #19831]
6447         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
6448         function.
6449         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
6450         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
6452 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6454         [BZ #19862]
6455         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
6456         (getanswer_r): Do not call syslog.
6457         (gaih_getanswer_slice): Likewise.
6458         * resolv/gethnamaddr.c (AskedForGot): Remove.
6459         (getanswer): Do not call syslog.
6460         (gethostbyaddr): Likewise.
6462 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6464         * conform/data/signal.h-data (union sigval): Expect also if
6465         [XOPEN2K].
6466         (struct sigevent): Likewise.
6467         (SIGEV_NONE): Likewise.
6468         (SIGEV_SIGNAL): Likewise.
6469         (SIGEV_THREAD): Likewise.
6470         (SIGRTMIN): Likewise.
6471         (SIGRTMAX): Likewise.
6472         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
6473         variable.
6474         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6476 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6478         [BZ #19830]
6479         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
6480         (gaih_getanswer_slice): Likewise.
6481         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
6482         Also check for availability of RR metadata.
6484 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6486         [BZ #19825]
6487         * resolv/res_send.c (send_vc): Remove early *resplen2
6488         initialization.  Set *resplen2 on socket error.  Call
6489         close_and_return_error for other errors.
6491 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
6493         * sysdeps/unix/sysv/linux/netiucv/iucv.h
6494         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
6495         (SCM_IUCV_TRGCLS): New define.
6497 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6499         [BZ #20005]
6500         * libio/fmemopen.c (fmemopen_write): Update internal position after
6501         write.
6502         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
6503         * stdio-common/tst-fmemopen4.c: New file..
6505 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
6507         [BZ #19996]
6508         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
6509         not [__USE_XOPEN2K].
6510         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
6511         variable.
6513         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
6514         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
6515         variable.
6517         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
6518         [__USE_XOPEN2K8].
6519         [__USE_LARGEFILE64] (off64_t): Likewise.
6520         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
6521         variable.
6523 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
6525         [BZ #19989]
6526         * libio/stdio.h (cuserid): Do not declare if
6527         [__USE_XOPEN2K && !__USE_GNU].
6528         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
6529         variable.
6531 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6533         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6534         (sysdep_routines): Add P8 and PPC64 strcspn targets.
6535         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6536         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
6537         ifunc'ed strcspn.
6538         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6539         [EALIGN]: Removed.
6540         [END]: Likewise
6541         [STRSPN]: Define instead of the above to control symbol name.
6542         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
6543         New file.
6544         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
6545         Likewise.
6546         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
6547         Likewise.
6548         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
6549         Likewise.
6550         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6551         [INITIAL_MASK]: New macro.
6552         [STRCSPN]: Likewise.
6553         [UPDATE_MASK]: Likewise.
6554         [USE_AS_STRCSPN]: Lisewise.
6556 2016-04-25  Florian Weimer  <fweimer@redhat.com>
6558         [BZ #19931]
6559         * stdio-common/tst-vfprintf-width-prec.c: New file.
6560         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
6561         (tests-special): Add tst-vfprintf-width-prec-mem.out.
6562         (generated): Add mtrace-related files.
6563         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
6564         (tst-%-mem.out): New pattern rule, replaces
6565         tst-printf-bz18872-mem.out.
6566         * stdio-common/vfprintf.c (vfprintf): When handling a precision
6567         specifier, deallocate any previously allocated work buffer.
6569 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
6571         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
6572         Add nop before __startcontext, add explaining comments.
6574 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
6576         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
6577         any more. Notably since IPV6_PKTINFO has been reintroduced with a
6578         completely different API.
6580         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
6581         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
6582         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
6583         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
6584         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
6585         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
6586         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
6587         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
6588         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
6589         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
6591 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
6593         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
6595 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
6597         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
6598         when it is the default of 0.
6600 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6602         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
6603         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6604         (sysdep_routines): Add new strcasestr targets.
6605         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6606         (__libc_ifunc_impl_list): Likewise.
6607         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
6608         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
6609         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
6610         * sysdeps/powerpc/powerpc64/power8/Makefile:
6611         New file to add strcasestr-ppc64 to sysdep_routines.
6612         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
6613         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
6615 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
6617         * benchtests/Makefile (wcsmbs-benchset): Include only for
6618         native builds and runs.
6619         (LOCALES): Likewise.
6620         (bench-build): Build timing-type here instead of the bench
6621         target.  Generate locale only for native builds.
6622         * benchtests/README: Add note for cross-building.
6624         * benchtests/Makefile (bench-clean): Clean up extra-objs.
6626         * benchtests/README: Update README to include instructions on
6627         using bench-build.
6629         * Makefile.in (bench-build): New target.
6630         * Rules (PHONY): Add bench-build target.
6631         * benchtests/Makefile (bench): Depend on bench-build.
6632         (bench-build): New target.
6634 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6636         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
6637         profil_reply_port.
6638         (profile_waiter): Do not initialize profil_reply_port.
6639         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
6640         frequency instead of tick length in us.
6642 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
6644         [BZ #18712]
6645         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
6646         (__old_mempcpy_small): Likewise.
6647         (__old_strcpy_small): Likewise.
6648         (__old_stpcpy_small): Likewise.
6649         (__old_strpbrk_c2): Fix compat symbol name.
6650         (__old_strpbrk_c3): Likewise.
6651         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
6652         (__mempcpy_small): Remove.
6653         (__strcpy_small): Remove.
6654         (__stpcpy_small): Remove.
6656 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
6658         [BZ #19400]
6659         * locale/iso-639.def: Add the Talossan/tzl language.
6661 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
6663         [BZ #16983]
6664         * locale/programs/ld-address.c (address_finish): Update postal_fmt
6665         comment.  Add "ln" to strchr check on postal_fmt.
6667 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
6669         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
6670         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
6671         tel_dom_fmt.
6673 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6675         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6676         (sysdep_routines): Added __strlen_power8.
6677         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
6678         __strlen_power8 entry.
6679         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
6680         Implementation for POWER8.
6681         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
6682         for __strlen_power8.
6683         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
6684         Implementation for POWER8.
6686 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
6688         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
6690 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
6692         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
6693         Goldmont and Airmont processors.
6695 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
6697         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
6698         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
6699         (__STRING2_SMALL_GET32): Remove.
6700         (memset): Remove.
6701         (__memset_1): Remove.
6702         (__memset_gc): Remove.
6703         (__mempcpy): Remove.
6704         (mempcpy): Remove.
6705         (__mempcpy_args): Remove.
6706         (strchr): Remove.
6707         (strcpy): Remove.
6708         (strcpy_args): Remove.
6709         (__stpcpy_args): Remove.
6710         (__strcmp_cc): Remove.
6711         (__strcmp_gc): Remove.
6712         (strstr): Remove.
6714 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
6716         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
6717         * nis/nis_call.c (nis_server_cache_add): Likewise.
6719 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6721         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
6723 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6725         * malloc/arena.c (__malloc_fork_lock_parent)
6726         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
6727         internal_function attribute.
6729 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
6731         * stdio-common/printf_fp.c (__printf_fp_l):
6732         Rename ___printf_fp_l to __printf_fp_l and
6733         remove strong alias. Use libc_hidden_def instead
6734         of ldbl_hidden_def macro.
6736 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6738         Remove malloc hooks from fork handler.  They are no longer needed
6739         because malloc runs right before fork, and no malloc calls from
6740         other fork handlers are not possible anymore.
6741         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
6742         declarations.
6743         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
6744         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
6745         (atfork_recursive_cntr): Remove.
6746         (__malloc_fork_lock_parent): Do not override malloc hooks and
6747         thread_arena.
6748         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
6749         thread_arena.
6750         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
6751         thread_arena instead of save_arena.
6753 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6755         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
6756         (thread_atfork, thread_atfork_static): Remove.
6757         * sysdeps/mach/hurd/malloc-machine.h:
6758         (thread_atfork, thread_atfork_static): Remove.
6760 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6762         [BZ #19431]
6763         Run the malloc fork handler as late as possible to avoid deadlocks.
6764         * malloc/malloc-internal.h: New file.
6765         * malloc/malloc.c: Include it.
6766         * malloc/arena.c (ATFORK_MEM): Remove.
6767         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
6768         Update comment.
6769         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
6770         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
6771         Remove outdated comment.
6772         (ptmalloc_init): Do not call thread_atfork.  Remove
6773         thread_atfork_static.
6774         * malloc/tst-malloc-fork-deadlock.c: New file.
6775         * Makefile (tests): Add tst-malloc-fork-deadlock.
6776         (tst-malloc-fork-deadlock): Link against libpthread.
6777         * manual/memory.texi (Aligned Memory Blocks): Update safety
6778         annotation comments.
6779         * sysdeps/nptl/fork.c (__libc_fork): Call
6780         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
6781         __malloc_fork_unlock_child.
6782         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
6784 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6786         [BZ #19613]
6787         Remove union wait.
6788         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
6789         (w_stopsig, w_stopval): Remove.
6790         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
6791         stat_loc argument.
6792         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
6793         (__WAIT_STATUS_DEFN): Remove.
6794         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
6795         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
6796         (wait, wait3, wait4): Use int * for the stat_loc argument.
6797         * posix/wait.c (__wait): Likewise.
6798         * posix/wait3.c (__wait3): Likewise.
6799         * posix/wait4.c (__wait4): Likewise.
6800         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
6801         (__WAIT_STATUS_DEFN): Remove.
6802         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
6803         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
6804         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
6805         argument.
6806         * sysdeps/posix/wait.c (__libc_wait): Likewise.
6807         * sysdeps/posix/wait3.c (__wait3): Likewise.
6808         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
6809         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
6810         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
6811         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
6812         stat_loc argument.
6813         * manual/process.texi (BSD Wait Functions): Remove union wait.
6815 2016-04-13  Andreas Schwab  <schwab@suse.de>
6817         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
6818         (test-extras): Add tst-tlsalign-vars.
6819         * math/Makefile: Wrap long lines.
6820         (libm-vec-test-wrappers): Define.
6821         (test-extras): Add $(libm-vec-test-wrappers).
6822         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
6823         * nss/Makefile (extra-test-objs): Add nss_test1.os.
6824         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
6825         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
6826         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
6827         (extra-test-objs): Add corresponding objects.
6829 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
6831         [BZ #19928]
6832         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
6833         New.
6834         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
6835         times of shared cache size.
6836         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
6837         (VMOVNT): New.
6838         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
6839         (VMOVNT): Likewise.
6840         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
6841         (VMOVNT): Likewise.
6842         (VMOVU): Changed to movups for smaller code sizes.
6843         (VMOVA): Changed to movaps for smaller code sizes.
6844         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
6845         comments.
6846         (PREFETCH): New.
6847         (PREFETCH_SIZE): Likewise.
6848         (PREFETCHED_LOAD_SIZE): Likewise.
6849         (PREFETCH_ONE_SET): Likewise.
6850         Rewrite to use forward and backward loops, which move 4 vector
6851         registers at a time, to support overlapping addresses and use
6852         non temporal store if size is above the threshold and there is
6853         no overlap between destination and source.
6855 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
6857         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
6858         Include dl-vdso.
6859         * sysdeps/unix/sysv/linux/mips/Versions: Add
6860         __vdso_clock_gettime.
6861         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
6862         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
6863         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
6864         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
6865         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
6866         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6867         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6868         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
6869         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
6871 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6873         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
6874         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
6875         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6876         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6877         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6878         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6881         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
6882         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
6883         syscalls generation.
6884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6885         [__NR_pwrite64] (__NR_write): Remove define.
6886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6887         [__NR_pwrite64] (__NR_write): Remove define.
6888         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
6889         Remove define.
6890         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
6891         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
6892         Remove define.
6893         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
6894         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
6895         Linux implementation as base.
6896         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6898         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
6899         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
6900         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6901         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
6903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6904         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
6905         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
6906         syscall generation.
6907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6908         [__NR_pread64] (__NR_pread): Remove define.
6909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6910         [__NR_pread64] (__NR_pread): Likewise.
6911         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
6912         define.
6913         (__libc_pread): Use SYSCALL_LL macro on offset argument.
6914         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
6915         Remove define.
6916         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
6917         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
6918         Linux implementation as base.
6919         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6920         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6921         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6923         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
6924         definition.
6925         (__ALIGNMENT_COUNT): Likewise.
6926         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
6927         (__ALIGNMENT_COUNT): Likewise.
6928         (SYSCALL_LL): New define.
6929         (SYSCALL_LL64): Likewise.
6930         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
6931         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
6932         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
6933         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
6935         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6936         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
6937         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6938         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6939         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6940         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6942 2016-04-11  Florian Weimer  <fweimer@redhat.com>
6944         [BZ #19865]
6945         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
6946         original buffer before retry.
6948 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6950         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
6951         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
6952         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
6953         GLRO(dl_auxv) list.
6954         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
6955         including <ldsodefs.h>.
6956         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
6958 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
6960         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
6961         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
6962         $(CPPFLAGS).
6964 2016-04-09  Khem Raj  <raj.khem@gmail.com>
6966         [BZ #17950]
6967         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
6968         Add -mfpmath=387.
6970 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
6972         * sysdeps/i386/configure.ac: Change == to = when calling test.
6973         * sysdeps/x86_64/configure.ac: Likewise.
6974         * sysdeps/i386/configure: Regenerated.
6975         * sysdeps/x86_64/configure: Likewise.
6977 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
6979         [BZ #16137]
6980         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
6981         * benchtests/bench-strcoll.c (input_files): Likewise.
6982         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
6983         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
6984         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
6986 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
6988         [BZ #19929]
6989         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
6990         [__USE_XOPEN2K8 && !__USE_GNU].
6991         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
6992         variable.
6994         [BZ #19925]
6995         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
6996         define if [!__USE_MISC && __USE_XOPEN2K].
6997         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
6998         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
6999         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
7000         Likewise.
7001         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
7002         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
7003         variable.
7004         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7006 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7008         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7009         (sysdep_routines): Add new strspn targets.
7010         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7011         (__libc_ifunc_impl_list): Add strspn.
7012         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
7013         New file.
7014         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
7015         Likewise.
7016         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
7017         Likewise.
7018         * sysdeps/powerpc/powerpc64/power8/strspn.S:
7019         Likewise.
7021 2016-04-07  Florian Weimer  <fweimer@redhat.com>
7023         * misc/hsearch_r.c: Include <limits.h>.
7025 2016-04-07  Florian Weimer  <fweimer@redhat.com>
7027         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
7029 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7031         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7032         (MEMCPY_SYMBOL): New.
7033         (MEMPCPY_SYMBOL): Likewise.
7034         (MEMMOVE_CHK_SYMBOL): Likewise.
7035         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
7036         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
7037         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
7038         Provide alias for memcpy in libc.a and ld.so.
7040 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7042         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7043         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
7044         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
7045         Disabled fro now.
7046         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
7047         symbols.  Properly check USE_MULTIARCH on __memset symbols.
7049 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7051         * benchtests/Makefile (string-benchset): Add memcpy-large,
7052         memmove-large and memset-large.
7053         * benchtests/bench-memcpy-large.c: New file.
7054         * benchtests/bench-memmove-large.c: Likewise.
7055         * benchtests/bench-memmove-large.c: Likewise.
7056         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
7058 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
7060         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
7061         32-bit displacement to avoid long nop between instructions.
7063 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
7065         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
7066         a comment on VMOVU and VMOVA.
7068 2016-04-04  Florian Weimer  <fweimer@redhat.com>
7070         [BZ #19633]
7071         Use specified locale for number formatting in strfmon_l.
7072         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
7073         (__nl_lookup_word): New inline functions.
7074         * include/printf.h (__print_fp_l): Declare.
7075         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
7076         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
7077         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
7078         (___printf_fp): New function.
7079         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
7080         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
7081         * stdlib/tst-strfmon_l.c (do_test): New test.
7082         * stdlib/Makefile (tests): Add kt.
7083         (LOCALES): Build additional locales.
7084         (tst-strfmon_l.out): Require locales.
7086 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
7088         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
7089         if not in libc.
7090         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7091         Likewise.
7092         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
7093         Likewise.
7094         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7095         Likewise.
7097 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
7099         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7100         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
7101         with unaligned_erms.
7102         (__memmove_erms): Skip if source == destination.
7103         (__memmove_unaligned_erms): Don't check source == destination
7104         first.
7106 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7108         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
7109         bit_arch_Fast_Copy_Backward for Intel Core proessors.
7111 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7113         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
7114         * string/strspn.c (strspn): Likewise.
7116 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7118         * benchtests/bench-memset.c (do_test): Support 64-byte
7119         alignment.
7120         (test_main): Test 64-byte alignment.
7122 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7124         * benchtests/bench-memmove.c (test_main): Test 64-byte
7125         alignment.
7127 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7129         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
7131 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7133         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
7134         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
7135         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
7137         * string/strpbrk.c (strpbrk): Rewrite function.
7138         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
7139         (__strpbrk_c2): Likewise.
7140         (__strpbrk_c3): Likewise.
7141         * string/string-inlines.c
7142         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
7143         Likewise.
7144         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
7145         Likewise.
7147         * string/strspn.c (strcspn): Rewrite function.
7148         * string/bits/string2.h (strspn): Use __builtin_strcspn.
7149         (__strspn_c1): Remove inline function.
7150         (__strspn_c2): Likewise.
7151         (__strspn_c3): Likewise.
7152         * string/string-inlines.c
7153         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
7154         compatibility symbol.
7155         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
7156         Likewise.
7157         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
7158         Likewise.
7159         * string/string-inlines.c: Include generic version.
7161 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
7162             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7164         * string/Version (libc): Add GLIBC_2.24.
7165         * string/strcspn.c (strcspn): Rewrite function.
7166         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
7167         (__strcspn_c1): Remove inline function.
7168         (__strcspn_c2): Likewise.
7169         (__strcspn_c3): Likewise.
7170         * string/string-inline.c
7171         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
7172         compatibility symbol.
7173         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
7174         Likewise.
7175         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
7176         Likewise.
7177         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
7179 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
7181         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7182         Use ahi instead of aghi to adjust stack pointer.
7184 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7186         [BZ #19853]
7187         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
7188         TEST to take significant digits as second parameter.
7189         [TEST]: Redefine in terms of TEST_N taking 30
7190         significant digits.
7191         (do_test): Add test case to demonstrate precision
7192         failure in the ldbl-128ibm printf.
7193         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
7194         (__mpn_extract_long_double): Carry 7 extra intermediate
7195         bits of precision to aide computing difference when
7196         signs differ.
7198 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
7200         [BZ #19881]
7201         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7202         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
7203         memset-avx512-unaligned-erms.
7204         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7205         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
7206         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
7207         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
7208         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
7209         __memset_sse2_unaligned_erms, __memset_erms,
7210         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
7211         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
7212         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
7213         file.
7214         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7215         Likewise.
7216         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
7217         Likewise.
7218         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
7219         Likewise.
7221 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
7223         [BZ #19776]
7224         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7225         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
7226         memmove-avx512-unaligned-erms.
7227         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7228         (__libc_ifunc_impl_list): Test
7229         __memmove_chk_avx512_unaligned_2,
7230         __memmove_chk_avx512_unaligned_erms,
7231         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
7232         __memmove_chk_sse2_unaligned_2,
7233         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
7234         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
7235         __memmove_avx512_unaligned_erms, __memmove_erms,
7236         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
7237         __memcpy_chk_avx512_unaligned_2,
7238         __memcpy_chk_avx512_unaligned_erms,
7239         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
7240         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
7241         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
7242         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
7243         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
7244         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
7245         __mempcpy_chk_avx512_unaligned_erms,
7246         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
7247         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
7248         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
7249         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
7250         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
7251         __mempcpy_erms.
7252         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
7253         file.
7254         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7255         Likwise.
7256         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
7257         Likwise.
7258         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7259         Likwise.
7261 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7263         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
7264         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
7265         (La_s390_64_regs): Likewise.
7266         (La_s390_32_retval): Append vector register lrv_v24.
7267         (La_s390_64_retval): Likeweise.
7268         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7269         Handle extended structs La_s390_32_regs and La_s390_32_retval.
7270         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7271         Handle extended structs La_s390_64_regs and La_s390_64_retval.
7273 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7275         [BZ #19916]
7276         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
7277         to create a non-vector/vector version for _dl_runtime_resolve and
7278         _dl_runtime_profile. Move implementation to ...
7279         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
7280         (_dl_runtime_resolve) Save and restore fpr/vrs.
7281         (_dl_runtime_profile) Save and restore vrs and fix some issues
7282         if _dl_call_pltexit is called.
7283         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
7284         Choose the correct resolver function if running on a machine with vx.
7285         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
7286         to create a non-vector/vector version for _dl_runtime_resolve and
7287         _dl_runtime_profile. Move implementation to ...
7288         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
7289         (_dl_runtime_resolve) Save and restore fpr/vrs.
7290         (_dl_runtime_profile) Save and restore vrs and fix some issues
7291         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
7292         Choose the correct resolver function if running on a machine with vx.
7294 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7296         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
7298 2016-03-31  Florian Weimer  <fweimer@redhat.com>
7300         [BZ #19509]
7301         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
7302         skip_map != NULL.
7303         * elf/tst-dlsym-error.c: New file.
7304         * elf/Makefile (tests): Add tst-dlsym-error.
7305         (tst-dlsym-error): Link against libdl.
7307 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
7309         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7310         (__ASSUME_FUTIMESAT): Remove macro.
7311         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
7313 2016-03-29  Florian Weimer  <fweimer@redhat.com>
7315         [BZ #19879]
7316         CVE-2016-3075
7317         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
7318         copy name.
7320 2016-03-29  Florian Weimer  <fweimer@redhat.com>
7322         [BZ #19837]
7323         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
7324         error if parse_line fails.
7326 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7328         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
7329         (index_cpu_ERMS): Likewise.
7330         (reg_ERMS): Likewise.
7332 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
7334         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
7335         PER_LINUX_FDPIC): Add.
7337 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7339         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7340         memcpy-avx512-no-vzeroupper.
7341         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
7342         to ...
7343         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
7344         (MEMCPY): Don't define.
7345         (MEMCPY_CHK): Likewise.
7346         (MEMPCPY): Likewise.
7347         (MEMPCPY_CHK): Likewise.
7348         (MEMPCPY_CHK): Renamed to ...
7349         (__mempcpy_chk_avx512_no_vzeroupper): This.
7350         (MEMPCPY_CHK): Renamed to ...
7351         (__mempcpy_chk_avx512_no_vzeroupper): This.
7352         (MEMCPY_CHK): Renamed to ...
7353         (__memmove_chk_avx512_no_vzeroupper): This.
7354         (MEMCPY): Renamed to ...
7355         (__memmove_avx512_no_vzeroupper): This.
7356         (__memcpy_avx512_no_vzeroupper): New alias.
7357         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
7359 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7361         [BZ #18858]
7362         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7363         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
7364         and mempcpy-avx512-no-vzeroupper.
7365         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
7366         New.
7367         (MEMPCPY): Likewise.
7368         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
7369         (MEMPCPY_CHK): New.
7370         (MEMPCPY): Likewise.
7371         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
7372         (MEMPCPY): Likewise.
7373         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
7374         (MEMPCPY): Likewise.
7375         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
7376         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
7377         Likewise.
7378         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
7379         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
7381 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7382              Amit Pawar  <Amit.Pawar@amd.com>
7384         [BZ #19583]
7385         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7386         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
7387         processors.  Set Fast_Copy_Backward for AMD Excavator
7388         processors.
7389         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
7390         New.
7391         (index_arch_Fast_Unaligned_Copy): Likewise.
7392         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
7393         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
7395 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7397         [BZ #19791]
7398         * resolv/res_send.c (close_and_return_error): New function.
7399         (send_dg): Initialize *resplen2 after reopen failure.  Call
7400         close_and_return_error for error returns.  On error paths without
7401         __res_iclose, initialze *resplen2 explicitly.  Update comment for
7402         successful return.
7404 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7406         [BZ# 19860]
7407         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
7408         zero if the compiler does not provide the AVX512F bit.
7410 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
7412         [BZ #19848]
7413         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
7414         from 8 to 4.
7415         (__ieee754_powl): Compare integer exponent against 4 not 8.
7416         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
7417         from 8 to 4.
7418         (__ieee754_powl): Compare integer exponent against 4 not 8.
7419         * math/auto-libm-test-in: Add more tests of pow.
7420         * math/auto-libm-test-out: Regenerated.
7421         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
7422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7424 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7426         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
7427         Make code unconditional.
7428         [!__NR_utimensat]: Remove conditional code.
7429         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
7430         Make code unconditional.
7431         [!__NR_utimensat]: Remove conditional code.
7432         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
7433         Make code unconditional.
7434         [!__NR_utimensat]: Remove conditional code.
7436 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7438         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
7439         Make code unconditional.
7441 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
7443         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
7444         call-clobbered %eax on retry path.
7445         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
7447 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7449         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
7450         Don't set %rcx twice before "rep movsb".
7452 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7454         [BZ #19583]
7455         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
7456         inline.  Check family before setting family, model and
7457         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
7458         bits here.
7459         (init_cpu_features): Replace HAS_CPU_FEATURE and
7460         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
7461         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
7462         for Intel processors with usable AVX2.  Call get_common_indeces
7463         for other processors with family == NULL.
7464         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
7465         (CPU_FEATURES_ARCH_P): Likewise.
7466         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
7467         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
7469 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7471         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
7472         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
7473         $(shared-thread-library) instead of hardcoding the path to libpthread.
7475 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
7477         * sysdeps/unix/sysv/linux/kernel-features.h
7478         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
7479         * sysdeps/unix/sysv/linux/getdents.c
7480         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
7481         [!have_no_getdents64_defined]: Likewise.
7482         (__GETDENTS): Remove __have_no_getdents64 conditional.
7484 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
7486         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
7487         Remove macro.
7488         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
7489         <kernel-features.h>.
7490         (signalfd) [__NR_signalfd4]: Make code unconditional.
7491         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
7493 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7495         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
7496         style.
7498 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7500         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
7501         (__pthread_enable_asynccancel): Use JUMPTARGET to call
7502         __pthread_unwind.
7503         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7504         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
7505         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7506         (__condvar_cleanup1): Likewise.
7508 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
7510         [BZ #19822]
7511         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
7512         move it to the final $@ location.
7514 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7516         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
7517         access where posix_spawn success and pid argument is null.
7518         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
7519         success case.
7521 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
7523         * sysdeps/mach/hurd/i386/c++-types.data: New file.
7525         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
7527         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
7528         and __fcntl.
7529         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
7530         __fcntl only.
7531         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
7532         adding attribute_hidden to __open and __fcntl.
7534         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
7535         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
7536         depend on libc-modules.h,
7537         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
7539 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
7541         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
7542         Remove macro.
7543         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
7544         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
7545         entry.
7547         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
7548         Remove macro.
7549         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
7550         include <kernel-features.h>.
7551         [!__ASSUME_FALLOCATE]: Remove conditional code.
7552         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
7554 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7556         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
7557         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
7558         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
7559         (_ZGVdN4v_cos_avx2): Likewise.
7560         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
7561         (_ZGVdN4v_cos): Likewise.
7562         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
7563         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
7564         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
7565         (_ZGVdN4v_exp_avx2): Likewise.
7566         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
7567         (_ZGVdN4v_exp): Likewise.
7568         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
7569         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
7570         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
7571         (_ZGVdN4v_log_avx2): Likewise.
7572         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
7573         (_ZGVdN4v_log): Likewise.
7574         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
7575         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
7576         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
7577         (_ZGVdN4vv_pow_avx2): Likewise.
7578         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
7579         (_ZGVdN4vv_pow): Likewise.
7580         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
7581         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
7582         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
7583         (_ZGVdN4v_sin_avx2): Likewise.
7584         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
7585         (_ZGVdN4v_sin): Likewise.
7586         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
7587         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
7588         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
7589         (_ZGVdN4vvv_sincos_avx2): Likewise.
7590         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
7591         (_ZGVdN4vvv_sincos): Likewise.
7592         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
7593         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
7594         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
7595         (_ZGVbN4v_cosf_sse4): Likewise.
7596         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
7597         (_ZGVdN8v_cosf_avx2): Likewise.
7598         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
7599         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
7600         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
7601         (_ZGVbN4v_expf_sse4): Likewise.
7602         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
7603         (_ZGVdN8v_expf_avx2): Likewise.
7604         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
7605         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
7606         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
7607         (_ZGVbN4v_logf_sse4): Likewise.
7608         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
7609         (_ZGVdN8v_logf_avx2): Likewise.
7610         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
7611         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
7612         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
7613         (_ZGVbN4vv_powf_sse4): Likewise.
7614         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
7615         (_ZGVdN8vv_powf_avx2): Likewise.
7616         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
7617         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
7618         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
7619         (_ZGVbN4vvv_sincosf_sse4): Likewise.
7620         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
7621         (_ZGVdN8vvv_sincosf_avx2): Likewise.
7622         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
7623         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
7624         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
7625         (_ZGVbN4v_sinf_sse4): Likewise.
7626         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
7627         (_ZGVdN8v_sinf_avx2): Likewise.
7628         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7629         Use JUMPTARGET to call callee.
7630         (WRAPPER_IMPL_SSE2_ff): Likewise.
7631         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7632         (WRAPPER_IMPL_AVX): Likewise.
7633         (WRAPPER_IMPL_AVX_ff): Likewise.
7634         (WRAPPER_IMPL_AVX_fFF): Likewise.
7635         (WRAPPER_IMPL_AVX512): Likewise.
7636         (WRAPPER_IMPL_AVX512_ff): Likewise.
7637         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7638         Likewise.
7639         (WRAPPER_IMPL_SSE2_ff): Likewise.
7640         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7641         (WRAPPER_IMPL_AVX): Likewise.
7642         (WRAPPER_IMPL_AVX_ff): Likewise.
7643         (WRAPPER_IMPL_AVX_fFF): Likewise.
7644         (WRAPPER_IMPL_AVX512): Likewise.
7645         (WRAPPER_IMPL_AVX512_ff): Likewise.
7646         (WRAPPER_IMPL_AVX512_fFF): Likewise.
7648 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7650         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
7651         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
7652         qualifier.
7653         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
7654         internal_function qualifiers.
7656 2016-03-15  Carlos O'Donell <carlos@redhat.com>
7658         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
7659         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
7660         * math/atest-exp.c (exp_mpn): Mark chk unused.
7661         * math/atest-exp2.c (exp_mpn): Likwise.
7662         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
7663         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
7665 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
7667         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
7668         Remove macro.
7669         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
7670         <kernel-features.h>.
7671         [__NR_ppoll]: Make code unconditional.
7672         [!__ASSUME_PPOLL]: Remove conditional code.
7674         * sysdeps/unix/sysv/linux/kernel-features.h
7675         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
7676         (__ASSUME_ACCEPT4): Likewise.
7677         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7678         Define.
7679         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
7680         Likewise.
7681         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7682         Likewise.
7683         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
7684         Likewise.
7685         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
7686         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
7687         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7688         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7689         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7690         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7691         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7692         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7693         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7694         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7695         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7696         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7697         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7698         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7699         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7700         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7701         Likewise.
7702         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7703         Likewise.
7704         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7705         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7706         0x040300].
7707         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7708         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7709         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7710         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7711         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
7712         0x030300].
7713         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
7714         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7715         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7716         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7717         0x040300].
7718         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7719         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7720         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7721         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7722         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7723         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7724         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
7725         0x030300].
7726         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7727         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7728         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7729         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7730         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7731         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7732         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7733         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7734         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7735         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7736         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7737         0x040300].
7738         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7739         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7740         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7741         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7742         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7743         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7744         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7745         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7746         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7747         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7748         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7749         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7750         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7751         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7752         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
7753         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7754         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7755         Likewise.
7756         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7757         Likewise.
7759 2016-03-15  Andreas Schwab  <schwab@suse.de>
7761         [BZ #19257]
7762         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
7763         statp->_u._ext.nscount as loop count.
7765 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
7767         * math/test-signgam-finite-c99.c: Also #undef
7768         __LIBC_INTERNAL_MATH_INLINES.
7769         * math/test-signgam-main.c: Likewise.
7771 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
7773         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
7774         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
7775         (MADV_FREE): Likewise.
7776         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
7777         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
7778         EPOLLEXCLUSIVE.
7780 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
7782         * timezone/README: Remove mention of checktab.awk. Mention wiki
7783         SharedSourceFiles.
7785 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
7787         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
7788         WUNTRACED.
7790 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7792         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
7793         order to match the type of p when calling atomic_exchange_acq().
7795 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7797         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
7798         cfi_offset calls.
7799         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
7800         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
7801         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
7802         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
7803         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
7805 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
7807         * timezone/checktab.awk: Removed.
7809 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
7811         * manual/math.texi (Errors in Math Functions): Document relaxed
7812         accuracy goals for IBM long double.
7813         * math/libm-test.inc (test_exceptions): Always allow spurious
7814         "underflow" and "inexact" exceptions for IBM long double.
7816 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
7818         [BZ #19762]
7819         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
7820         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
7821         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
7822         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
7823         (bit_arch_*): This for feature array.
7824         (bit_*): Renamed to ...
7825         (bit_cpu_*): This for cpu array.
7826         (index_*): Renamed to ...
7827         (index_arch_*): This for feature array.
7828         (index_*): Renamed to ...
7829         (index_cpu_*): This for cpu array.
7830         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
7831         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
7832         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
7833         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
7834         bit_##name with index_cpu_##name and bit_cpu_##name.
7835         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
7836         bit_##name with index_arch_##name and bit_arch_##name.
7838 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
7840         [BZ #19792]
7841         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
7842         Terminate FDE before return label.
7844 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
7846         [BZ #19790]
7847         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
7848         (rintl): Define as macro.
7849         [USE_AS_NEARBYINTL] (__rintl): Likewise.
7850         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
7851         of fesetround.  Ensure results are evaluated before end of scope.
7852         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
7853         USE_AS_NEARBYINTL and include s_rintl.c.
7854         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
7855         Disable exception traps in new environment.
7856         (libc_feholdsetround_ppc_ctx): Likewise.
7858 2016-03-08  Roland McGrath  <roland@hack.frob.com>
7860         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
7861         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
7862         (tst_audit10_aux) [__AVX512F__]: ... here.
7864 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
7866         * include/sys/auxv.h: New file.
7868 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
7870         [BZ #19759]
7871         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
7873 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7875         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
7876         operand modifier.
7877         (feclearexcept): Likewise.
7879 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7881         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
7882         to reflect the entire 32-bit HWCAP.
7883         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
7884         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
7886 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
7888         [BZ #19783]
7889         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
7890         $(test-via-rtld-prefix).
7891         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
7893 2016-03-08  Florian Weimer  <fweimer@redhat.com>
7895         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
7896         union wait.  Report any non-zero exit status as error.
7898 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7900         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
7901         configured with --enable-hardcoded-path-in-tests.
7903 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
7905         [BZ #19677]
7906         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7907         (__ieee754_remainderl): Put zero low parts in canonical form.
7908         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
7909         file.  Based on
7910         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
7911         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
7912         with wrapper round test-fmodrem-ldbl-128ibm.c.
7913         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
7914         file.
7915         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
7916         Likewise.
7917         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
7918         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
7920 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7922         [BZ #19610]
7923         * elf/ldconfig.c (opt_link): Update comment.
7924         (options): Update help string for option -X.
7925         (search_dir): Unlink stale symbolic link only if updating symbolic
7926         links.
7927         * elf/tst-ldconfig-X.sh: New file.
7928         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
7929         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
7931 2016-03-07  Andreas Schwab  <schwab@suse.de>
7933         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
7934         needed arguments.
7936 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
7938         [BZ #15333]
7939         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
7940         to lstat64.
7942 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7944         * libio/filedoalloc.c (isatty): Remove.
7945         (local_isatty): Add comment.  Call __isatty directly.
7946         (_IO_file_doallocate): Update comment.  Assume _LIBC.
7947         * libio/wfiledoalloc.c (isatty): Remove.
7948         (_IO_wfile_doallocate): Update comment.
7950 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7952         [BZ #19269]
7953         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
7954         tst-audit4-aux.o.
7955         (tst-audit10): Depend on tst-audit10-aux.o.
7956         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
7957         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
7958         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
7959         instead of inline AVX code.
7960         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
7961         instead of inline AVX512 code.
7962         * sysdeps/x86_64/tst-audit4-aux.c: New file
7963         * sysdeps/x86_64/tst-audit10-aux.c: New file
7965         [BZ #19648]
7966         * test-skeleton.c (main): Do not set RLIMIT_DATA.
7968 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7970         [BZ #14750]
7971         [BZ #10354]
7972         [BZ #18433]
7973         * include/sched.h (__clone): Add hidden prototype.
7974         (__clone2): Likewise.
7975         * include/unistd.h (__dup): Likewise.
7976         * posix/Makefile (tests): Add tst-spawn2.
7977         * posix/tst-spawn2.c: New file.
7978         * sysdeps/posix/dup.c (__dup): Add hidden definition.
7979         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
7980         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
7981         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
7982         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
7983         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
7984         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
7985         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
7986         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
7987         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
7988         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
7989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
7990         Likewise.
7991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7992         Likewise.
7993         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
7994         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
7995         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
7996         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
7997         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
7998         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
7999         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
8000         * sysdeps/unix/sysv/linux/nptl-signals.h
8001         (____nptl_is_internal_signal): New function.
8002         * sysdeps/unix/sysv/linux/spawni.c: New file.
8004         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
8005         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
8006         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
8007         * posix/tst-execvp2.c (do_test): Likewise.
8008         * posix/tst-execvp3.c (do_test): Likewise.
8009         * posix/tst-execvp4.c (do_test): Likewise.
8010         * posix/tst-execvpe1.c: New file.
8011         * posix/tst-execvpe2.c: Likewise.
8012         * posix/tst-execvpe3.c: Likewise.
8013         * posix/tst-execvpe4.c: Likewise.
8014         * posix/tst-execvpe5.c: Likewise.
8015         * posix/tst-execvpe6.c: Likewise.
8017         [BZ #19534]
8018         * posix/execl.c (execl): Remove dynamic memory allocation.
8019         * posix/execle.c (execle): Likewise.
8020         * posix/execlp.c (execlp): Likewise.
8022 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
8024         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
8025         Replace .text with .text.avx512.
8026         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
8027         Likewise.
8029 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
8031         * sysdeps/generic/libnsl.abilist: New file.
8032         * sysdeps/generic/libutil.abilist: New file.
8034 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
8036         [BZ #19762]
8037         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
8038         HAS_ARCH_FEATURE with Fast_Rep_String.
8039         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
8040         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
8041         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
8042         Likewise.
8043         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
8044         Likewise.
8045         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
8046         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
8047         Likewise.
8048         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
8049         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
8050         Likewise.
8052 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8054         [BZ #19745]
8055         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
8056         with *%rax in call.
8058 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8060         [BZ #19745]
8061         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
8062         with *__libc_start_main@GOTPCREL(%rip) in call.
8064 2016-03-04  Roland McGrath  <roland@hack.frob.com>
8066         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
8067         inside conditional for nonempty $(CXX).
8069         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
8070         nonempty.
8072         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
8073         to test for empty $(CXX) rather than $(CXX) of "no".
8075 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8077         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
8079 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
8080             H.J. Lu  <hongjiu.lu@intel.com>
8082         [BZ #18880]
8083         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
8084         instead of Slow_BSF, and also check for Fast_Copy_Backward to
8085         enable __memcpy_ssse3_back.
8087 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
8089         [BZ #19758]
8090         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
8091         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
8093 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
8095         [BZ #19490]
8096         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
8097         (__fentry__): Likewise.
8099 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
8101         * gmon/Makefile (noprof): Add $(sysdep_noprof).
8102         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
8104 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
8106         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
8107         __mcount_internal directly.
8108         (C_LABEL(__fentry__)): Likewise.
8109         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
8110         directly.
8112 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
8114         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8115         (__start_context): Call __setcontext directly.
8117 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
8119         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8120         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8121         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
8122         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
8123         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8124         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8125         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
8126         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8127         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8128         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
8129         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
8130         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
8131         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8132         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8133         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8134         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8135         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
8136         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8137         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8138         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
8139         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
8140         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8141         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8142         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
8143         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
8144         Remove conditional code.
8145         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8146         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
8147         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8148         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8149         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
8150         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8151         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
8152         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8153         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8154         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8155         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8156         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8158 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
8160         * NEWS (2.23): Fix typo in bug 19048 text.
8162 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
8164         [BZ #14259]
8165         * Makeconfig: Rename msgcatdir to localedir.
8166         Rename inst_msgcatdir to inst_localedir.
8167         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
8168         * config.make.in: Add localedir.
8169         * elf/Makefile ($(objpfx)sotruss): Use localedir.
8170         (ldd-rewrite): Likewise.
8171         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
8172         (install-others): Use inst_localedir.
8173         (CPPFLAGS): Use localedir.
8174         * locale/Makefile (locale-CPPFLAGS): Likewise.
8175         * po/Makefile (mo-installed): Use inst_localedir.
8177         [BZ #19575]
8178         * localedata/charmaps/GB18030: Update comments regarding PAU to
8179         non-PUA mappings.
8181 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
8183         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
8184         test for header.
8185         * sysdeps/unix/sysv/linux/configure: Regenerated.
8186         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
8187         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
8188         Remove conditional code.
8189         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
8191         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8192         Define to 3.2.0.
8193         (arch_minimum_kernel): Likewise.
8194         * sysdeps/unix/sysv/linux/configure: Regenerated.
8195         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
8196         Define to 2.6.32.
8197         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
8198         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
8199         (arch_minimum_kernel): Define to 2.6.32.
8200         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
8201         * README: Document Linux 3.2 requirement.
8202         * manual/install.texi (Linux): Document Linux 3.2 headers
8203         requirement.
8204         * INSTALL: Regenerated.
8206 2016-02-24  Andreas Schwab  <schwab@suse.de>
8208         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
8209         if !NO_LONG_DOUBLE.
8211 2016-02-22  Roland McGrath  <roland@hack.frob.com>
8213         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
8214         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
8216 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
8218         [BZ #19512]
8219         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
8221 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
8223         * posix/tst-dir.c: Include libc-internal.h.
8225 2016-02-20  Florian Weimer  <fweimer@redhat.com>
8227         [BZ #19056]
8228         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
8229         * manual/filesys.texi (Reading/Closing Directory): Mention
8230         deprecaion.
8231         * posix/tst-dir.c (main): Disable deprecation warning in test.
8233 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
8235         [BZ #19679]
8236         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
8237         Renamed to ...
8238         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
8239         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8240         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
8241         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8242         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
8243         * sysdeps/x86_64/dl-trampoline.h
8244         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8245         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
8247 2016-02-19  Mark Wielaard  <mjw@redhat.com>
8249         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
8251 2016-02-19  Mark Wielaard  <mjw@redhat.com>
8253         * elf/elf.h (R_386_GOT32X): New.
8254         (R_386_NUM): Update.
8255         (R_X86_64_GOTPCRELX: New.
8256         (R_X86_64_REX_GOTPCRELX): New.
8257         (R_X86_64_NUM): Update.
8259 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
8261         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
8263 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
8265         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
8266         assign attr->stackaddr to it, and adjust it down when
8267         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
8268         [_STACK_GROWS_UP]: Delete assert.
8269         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
8270         Implement stack grows up logic.
8271         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
8272         stack grows up logic.
8274 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8276         * NEWS: Update with 2.24 template.
8278 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
8280         [BZ #19678]
8281         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8282         Ensure +0.0 is returned when taking the next value below the least
8283         positive value.
8285 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8287         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
8288         available.  Do not define NO_THREADS.
8289         * malloc/malloc.c: Do not check NO_THREADS.
8290         * malloc/arena.c: Likewise.
8292 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8294         * malloc/malloc.c (__libc_mallinfo): Update comment.
8295         (struct malloc_par): Remove max_total_mem member, it was always 0.
8296         (int_mallinfo): Store 0 into usmblks (no functional change).
8297         * malloc/hooks.c (struct malloc_state): Document that
8298         max_total_mem is always 0.
8299         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
8300         always 0.
8301         * manual/memory.texi (Statistics of Malloc): Likewise.
8303 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8305         * malloc/malloc.c (sysmalloc): Do not update arena_max.
8306         * malloc/arena.c (arena_max): Remove.
8307         (heap_trim, _int_new_arena): Do not update arena_max.
8309 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8311         * resolv/res_init.c (res_ninit): Update comment.
8313 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8315         [BZ #19505]
8316         * posix/spawn_int.h: Add headers and include guard.
8317         (__spawn_valid_fd): New function.
8318         * posix/spawn_faction_addopen.c
8319         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
8320         * posix/spawn_faction_addclose.c
8321         (posix_spawn_file_actions_addclose): Likewise.
8322         * posix/spawn_faction_adddup2.c
8323         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
8324         second file descriptor.
8325         * posix/spawn_valid_fd.c: New file.
8326         * posix/tst-posix_spawn-fd.c: New file.
8327         * posix/Makefile (routines): Add spawn_valid_fd.
8328         (tests): Add tst-posix_spawn-fd.
8330 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8332         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
8333         (do_test): Limit the number of arenas, so that we can use fewer
8334         outer threads.  Limit timeout to 3 seconds, in preparation for a
8335         larger TIMEOUT value.
8337 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
8339         [BZ #19674]
8340         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
8341         sign in overflowing and underflowing results when overflow or
8342         underflow is detected early.  Include sign in result before rather
8343         than after scaling.
8345         [BZ #19603]
8346         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8347         (__ieee754_remainderl): Adjust sign of integer version of low part
8348         when taking absolute value of high part.
8349         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8350         * math/libm-test.inc (remainder_test_data): Add another test.
8351         (remquo_test_data): Likewise.
8353 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
8355         [BZ #19602]
8356         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
8357         equal high parts and both low parts zero specially.
8358         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
8359         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
8360         Add test-fmodl-ldbl-128ibm.
8362         [BZ #19595]
8363         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
8364         common logic for all cases of shifting subnormal results.  Do not
8365         insert sign bit in shifted mantissa.  Always pass -1023 as biased
8366         exponent to ldbl_insert_mantissa in subnormal case.
8368         [BZ #19594]
8369         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
8370         on high and low parts then adjust result and use
8371         ldbl_canonicalize_int if needed.
8373         [BZ #19593]
8374         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
8375         on high part and __floor or __ceil on low part then use
8376         ldbl_canonicalize_int if needed.
8378         [BZ #19592]
8379         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
8380         high and low parts then use ldbl_canonicalize_int if needed.
8382         [BZ #17899]
8383         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
8384         New function.
8385         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
8386         on high and low parts then use ldbl_canonicalize_int if needed.
8388 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8390         * configure: Regenerated.
8392         * po/libc.pot: Regenerated.
8394         * po/be.po: Updated translation.
8395         * po/bg.po: Likewise.
8396         * po/ca.po: Likewise.
8397         * po/cs.po: Likewise.
8398         * po/da.po: Likewise.
8399         * po/el.po: Likewise.
8400         * po/eo.po: Likewise.
8401         * po/es.po: Likewise.
8402         * po/fi.po: Likewise.
8403         * po/fr.po: Likewise.
8404         * po/gl.po: Likewise.
8405         * po/hr.po: Likewise.
8406         * po/hu.po: Likewise.
8407         * po/ia.po: Likewise.
8408         * po/id.po: Likewise.
8409         * po/it.po: Likewise.
8410         * po/ja.po: Likewise.
8411         * po/lt.po: Likewise.
8412         * po/nb.po: Likewise.
8413         * po/nl.po: Likewise.
8414         * po/pt_BR.po: Likewise.
8415         * po/rw.po: Likewise.
8416         * po/sk.po: Likewise.
8417         * po/sl.po: Likewise.
8418         * po/sv.po: Likewise.
8419         * po/tr.po: Likewise.
8420         * po/zh_CN.po: Likewise.
8421         * po/zh_TW.po: Likewise.
8423         * version.h (RELEAES): Set to "development".
8424         (VERSION): Set to 2.23.90.
8426         * version.h (RELEASE): Set to "stable".
8427         (VERSION): Set to 2.23.
8428         * include/feature.h (__GLIBC_MINOR__): Set to 23.
8430         * NEWS: Updated fixed bugs.
8432 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
8433             Wilco Dijkstra  <wdijkstr@arm.com>
8435         [BZ #19462]
8436         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
8437         (_STRING_INLINE_unaligned): This.
8438         * include/string.h: Include <string_private.h>.
8439         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
8440         _STRING_INLINE_unaligned.
8441         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
8442         (_STRING_INLINE_unaligned): New.
8443         * sysdeps/aarch64/string_private.h: New file.
8444         * sysdeps/generic/string_private.h: Likewise.
8445         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
8446         * sysdeps/s390/string_private.h: Likewise.
8447         * sysdeps/x86/string_private.h: Likewise.
8448         * sysdeps/m68k/m680x0/m68020/bits/string.h
8449         (_STRING_ARCH_unaligned): Renamed to ...
8450         (_STRING_INLINE_unaligned): This.
8451         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
8452         to ...
8453         (_STRING_INLINE_unaligned): This.
8454         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
8455         to ...
8456         (_STRING_INLINE_unaligned): This.
8457         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
8458         to ...
8459         (_STRING_INLINE_unaligned): This.
8461 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
8462             H.J. Lu  <hongjiu.lu@intel.com>
8464         [BZ #19590]
8465         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
8466         relocation.
8468 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
8470         [BZ #18665]
8471         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
8472         *herrno_p.
8473         (gaih_getanswer): Document functional behviour. Return tryagain
8474         if any result is tryagain.
8475         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
8476         when freed.
8477         * resolv/res_send.c: Add copyright text.
8478         (__libc_res_nsend): Document that MAXPACKET is expected.
8479         (send_vc): Document. Remove buffer reuse.
8480         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
8481         size of the buffer. Add Dprint for truncated UDP buffer.
8483 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
8485         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
8486         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
8487         * INSTALL: Regenerate.
8489 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
8490             Jonathan Wakely  <jwakely@redhat.com>
8491             Carlos O'Donell  <carlos@redhat.com>
8493         [BZ 19439]
8494         * math/Makefile (tests): Add test-math-isinff.
8495         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
8496         * math/bits/mathcalls.h [__USE_MISC]: Use
8497         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
8498         functions not in C++11 and which don't conflict e.g. isinff,
8499         isinfl etc.
8500         * math/test-math-isinff.cc: New file.
8502 2016-02-12  Florian Weimer  <fweimer@redhat.com>
8504         * misc/bug18240.c (do_test): Set RLIMIT_AS.
8506 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8508         [BZ #19529]
8509         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
8511 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8513         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8515 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
8517         [BZ #19550]
8518         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
8519         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
8520         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
8521         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
8522         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
8523         New syscall entry.
8524         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
8525         New syscall entry.
8526         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
8527         syscall entry.
8529 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
8531         [BZ #18240]
8532         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
8533         unsigned int wraparound.
8535 2016-01-27  Florian Weimer  <fweimer@redhat.com>
8537         [BZ #18240]
8538         * misc/bug18240.c: New test.
8539         * misc/Makefile (tests): Add it.
8541 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
8542             Joseph Myers  <joseph@codesourcery.com>
8544         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
8545         load in branch delay slot when less than a word of input left.
8547 2016-01-27  Andreas Schwab  <schwab@suse.de>
8549         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
8550         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
8551         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
8552         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
8554 2016-01-26  David S. Miller  <davem@davemloft.net>
8556         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
8558 2016-01-25  David S. Miller  <davem@davemloft.net>
8560         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
8561         __sqrtl_finite.
8562         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
8563         instead using versioned_symbol.
8564         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
8565         of entries.
8567         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
8568         __sqrtl_finite to GLIBC_2.23
8570 2016-01-25  Ricchard Henderson  <rth@redhat.com>
8572         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8574 2016-01-25  Andreas Schwab  <schwab@suse.de>
8576         [BZ #17514]
8577         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
8578         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
8579         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
8580         * nptl/tst-mutex-errorcheck.c: New file.
8582 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8584         [BZ #18560]
8585         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
8586         (IPCOP_semop): Likewise.
8587         (IPCOP_semget): Likewise.
8588         (IPCOP_semctl): Likewise.
8589         (IPCOP_msgsnd): Likewise.
8590         (IPCOP_msgrcv): Likewise.
8591         (IPCOP_msgget): Likewise.
8592         (IPCOP_msgctl): Likewise.
8593         (IPCOP_shmat): Likewise.
8594         (IPCOP_shmdt): Likewise.
8595         (IPCOP_shmget): Likewise.
8596         (IPCOP_shmctl): Likewise.
8598 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
8600         * string/tst-endian.c: Include <libc-internal.h>.
8601         (do_test): Ignore tautological-compare warnings around
8602         "htobeXX (beXXtoh (i)) != i" and
8603         "htoleXX (leXXtoh (i)) != i" if-statements.
8605 2016-01-24  David S. Miller  <davem@davemloft.net>
8607         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
8608         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
8609         alias.
8610         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
8611         __sqrtl_finite.
8613         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8615 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
8617         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
8618         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
8619         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8621 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8623         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
8624         (thread_func): Use new function to simplify barrier check.
8625         (do_test): Use new function to simplify checking barrier exit
8626         code, and actually join the child thread.
8628 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8630         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
8631         semicolon.
8632         (__libc_tend): Likewise.
8633         (__libc_tabort): Likewise.
8635 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
8637         * sysdeps/nios2/libm-test-ulps: Update.
8638         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
8639         (__gtsf2): Likewise.
8640         (__unorddf2): Likewise.
8641         (__unordsf2): Likewise.
8642         (__ledf2): Likewise.
8644 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
8646         * nis/nis_table.c (__follow_path): Disable diagnostic for
8647         uninitialized variable that is a false positive for gcc 4.7.
8648         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
8650 2016-01-20  Roland McGrath  <roland@hack.frob.com>
8652         * sysdeps/nacl/lowlevellock-futex.h
8653         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
8654         Always evaluate PRIVATE argument.
8656 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
8658         [BZ #19490]
8659         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
8660         (pthread_cond_broadcast): Use ENTRY/END
8661         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
8662         (pthread_cond_signal): Likewise.
8663         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
8664         Likewise.
8665         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
8666         Likewise.
8667         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
8668         Likewise.
8670 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
8672         * sysdeps/ieee754/dbl-64/s_finite.c
8673         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
8674         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
8675         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
8676         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
8677         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
8679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
8680         (__gtsf2): Add as optional for libc.so.
8681         (__unordsf2): Likewise.
8682         (__signbit): Remove for libc.so.
8683         (__signbitl): Likewise.
8685 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8687         * iconvdata/bug-iconv11.c (test_ibm93x):
8688         Use %zu printf format specifier for size_t argument.
8690 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
8692         * math/gen-libm-test.pl (parse_ulps): Do not reduce
8693         already-recorded ulps.
8694         * sysdeps/arm/libm-test-ulps: Regenerated.
8695         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8696         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8697         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8699 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8700             Paul Pluzhnikov  <ppluzhnikov@google.com>
8702         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
8703         assembler not supporting AVX-512.
8705 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
8707         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8709 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
8711         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8712         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8714         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8716         * sysdeps/arm/libm-test-ulps: Regenerated.
8718 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8720         [BZ #19451]
8721         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
8723 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8725         [BZ #19486]
8726         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
8727         * sysdeps/generic/fix-fp-int-convert-overflow.h
8728         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
8729         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
8730         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
8731         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
8732         Likewise.
8733         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
8734         Avoid conversions to long int where inexact exceptions
8735         could be raised.
8736         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
8737         Likewise.
8738         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
8739         Avoid conversions to long long int where inexact exceptions
8740         could be raised.
8741         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
8742         Likewise.
8744 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
8746         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
8747         * configure: Regenerated.
8749 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
8751         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
8753 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
8755         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
8756         outside of comment.
8758 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8760         * nptl/tst-barrier1.c: Add description on first line.
8761         * nptl/tst-barrier2.c: Likewise.
8762         * nptl/tst-barrier3.c: Likewise.
8763         * nptl/tst-barrier4.c: Likewise.
8764         * nptl/tst-barrier5.c: Likewise.
8766 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8768         [BZ #18868]
8769         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
8771 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
8773         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
8774         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
8775         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
8776         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
8777         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
8778         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
8779         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8780         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8781         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8782         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8783         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8785 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8787         [BZ #13065]
8788         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
8789         new implementation.
8790         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
8791         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
8792         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
8793         (BARRIER_IN_THRESHOLD): New macro.
8794         * nptl/pthread_barrierattr_setpshared.c
8795         (pthread_barrierattr_setpshared): Clean up.
8796         * nptl/tst-barrier4.c: Correct comment.
8797         * nptl/tst-barrier5.c: New file.
8798         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
8799         (gen-as-const-headers): Remove lowlevelbarrier.sym.
8800         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
8801         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
8802         * nptl/lowlevelbarrier.sym: Remove.
8803         * nptl/DESIGN-barrier.txt: Remove.
8804         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
8805         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
8806         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
8807         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
8808         error.
8809         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
8810         implementation.
8812 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8814         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
8815         (do_child): Mask SIGRTMIN while thr is running.
8817 2016-01-15  Martin Sebor  <msebor@redhat.com>
8819         [BZ #19432]
8820         * iconvdata/Makefile: Add bug-iconv11.
8821         * iconvdata/bug-iconv11.c: New test.
8822         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
8823         * iconvdata/ibm933.c: Same.
8824         * iconvdata/ibm935.c: Same.
8825         * iconvdata/ibm937.c: Same.
8826         * iconvdata/ibm939.c: Same.
8828 2016-01-15  Martin Sebor  <msebor@redhat.com>
8830         [BZ #19443]
8831         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
8832         [DEBUG] (_ufc_set_bits): Declare used.
8833         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
8834         [DEBUG] (print_all): Declare used.
8835         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
8836         operands of the ternary ?: expression to target type.
8837         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
8838         calling the undeclared abort.
8839         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
8841 2016-01-15  Martin Sebor  <msebor@redhat.com>
8843         [BZ #18755]
8844         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
8845         warnings.
8846         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
8847         (__gai_create_helper_thread): Same.
8848         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
8849         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
8850         to suppress -Wmaybe-uninitialized warnings.
8852 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
8854         [BZ #19465]
8855         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
8856         inside if.
8857         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8858         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8859         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8861 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
8863         [BZ #19466]
8864         * time/tst-mktime2.c (time_t_max): Removed.
8865         (time_t_min): Likewise.
8866         (TYPE_SIGNED): New.
8867         (TYPE_MINIMUM): Likewise.
8868         (TYPE_MAXIMUM): Likewise.
8869         (TIME_T_MIN): Likewise.
8870         (TIME_T_MAX): Likewise.
8871         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
8872         and TIME_T_MIN.
8873         (do_test): Likewise.
8875 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
8877         [BZ #19467]
8878         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
8879         index_Fast_Unaligned_Load flag for Excavator family CPUs.
8881 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
8883         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
8885 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
8887         * benchtests/Makefile (PYTHON): Define.
8888         (bench-func): Use $(PYTHON) to run python scripts.
8889         ($(objpfx)bench-%.c): Likewise.
8891 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
8893         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
8894         leading slash when `file_name' is "/".
8896 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
8898         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
8899         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
8900         Likewise.
8901         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
8902         Likewise.
8903         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
8904         Likewise.
8905         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
8906         enum constant and macro.
8907         (PTRACE_SETSIGMASK): Likewise.
8908         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8909         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
8910         (PTRACE_GETSIGMASK): Likewise.
8911         (PTRACE_SETSIGMASK): Likewise.
8912         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8913         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
8914         Likewise.
8915         (PTRACE_SETSIGMASK): Likewise.
8916         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8917         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
8918         (PTRACE_GETSIGMASK): Likewise.
8919         (PTRACE_SETSIGMASK): Likewise.
8920         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8921         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
8922         Likewise.
8923         (PTRACE_SETSIGMASK): Likewise.
8924         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8925         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
8926         Likewise.
8927         (PTRACE_SETSIGMASK): Likewise.
8928         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8929         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
8930         Likewise.
8931         (PTRACE_SETSIGMASK): Likewise.
8932         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8934 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
8935             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8937         [BZ #19439]
8938         * math/bits/mathcalls.h
8939         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
8940         prototype.
8941         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
8943 2016-01-11  Andreas Schwab  <schwab@suse.de>
8945         [BZ #19253]
8946         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
8947         cache when TZDEFRULES was used.
8948         * time/tst-tzname.c: New file.
8949         * time/Makefile (test): Add tst-tzname.
8950         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
8951         * timezone/Makefile (test-zones): Add $(posixrules-file).
8952         ($(testdata)/$(posixrules-file)): New rule.
8954 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
8956         Fix doc quoting problems with Texinfo 5
8957         Without this change, in the info file output, Texinfo 5 quotes code
8958         in text with undirected single quotes 'like this' and generates
8959         code examples that with many PDF readers cannot be cut out of PDFs
8960         and pasted into code.
8961         * manual/libc.texinfo: Configure the libc manual like the GNU
8962         Emacs manual, by using @documentencoding and setting
8963         txicodequoteundirected and txicodequotebacktick.  This way,
8964         Texinfo 5 quotes code in text with directed single quotes ‘like
8965         this’ and produces examples that can be cut out of PDFs.  This
8966         change causes Texinfo 5 to generate info files that contain UTF-8
8967         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
8968         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
8970 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8972         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
8973         __libc_tabort, __libc_tend): New wrappers that enforce compiler
8974         barriers to their respective compiler built-ins.
8975         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
8976         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
8977         * sysdeps/powerpc/sysdep.h: Likewise.
8978         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
8979         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
8980         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
8982 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
8984         * scripts/config.guess: Revert previous shebang change.
8985         * scripts/config.sub: Likewise.
8986         * scripts/mkinstalldirs: Likewise.
8988 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8990         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
8991         PPC_FEATURE2_HAS_IEEE128.
8992         * sysdeps/powerpc/dl-procinfo.c:
8993         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
8995 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
8997         [BZ #19415]
8998         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
8999         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
9000         (_dl_lookup_address): Rewrite using function resolver trampoline.
9001         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
9002         two bits in address.
9004 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
9006         * longlong.h: Change !__SHMEDIA__ to
9007         (!defined (__SHMEDIA__) || !__SHMEDIA__).
9008         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
9010 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
9011             Joseph Myers  <joseph@codesourcery.com>
9012             Mark Shinwell  <shinwell@codesourcery.com>
9013             Andrew Stubbs  <ams@codesourcery.com>
9014             Rich Felker <dalias@libc.org>
9016         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
9018 2016-01-07  Richard Henderson  <rth@redhat.com>
9020         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
9022 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
9024         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
9025         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
9026         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9027         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9028         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
9030 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
9031             Joseph Myers  <joseph@codesourcery.com>
9033         * timezone/private.h: Update from tzcode 2015g.
9034         * timezone/tzfile.h: Likewise.
9035         * timezone/tzselect.ksh: Likewise.
9036         * timezone/zdump.c: Likewise.
9037         * timezone/zic.c: Likewise.
9038         * timezone/ialloc.c: Remove file.
9039         * timezone/scheck.c: Likewise.
9040         * timezone/Makefile (extra-objs): Remove variable.
9041         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
9042         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
9043         -Wno-maybe-uninitialized.
9044         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
9045         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
9046         (CFLAGS-ialloc.c): Remove variable.
9047         (CFLAGS-scheck.c): Likewise.
9048         * timezone/README: Update list of files from tzcode.
9050 2016-01-07  Khem Raj  <raj.khem@gmail.com>
9052         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
9053         instead of __fxprintf when _LIBC is undefined.
9055 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
9057         * catgets/test-gencat.sh: Remove space after shebang.
9058         * conform/GlibcConform.pm: Likewise.
9059         * conform/check-header-lists.sh: Likewise.
9060         * conform/conformtest.pl: Likewise.
9061         * conform/linknamespace.pl: Likewise.
9062         * conform/list-header-symbols.pl: Likewise.
9063         * debug/catchsegv.sh: Likewise.
9064         * elf/genrtldtbl.awk: Likewise.
9065         * elf/tst-pathopt.sh: Likewise.
9066         * elf/tst-rtld-load-self.sh: Likewise.
9067         * grp/tst_fgetgrent.sh: Likewise.
9068         * iconvdata/gen-8bit-gap-1.sh: Likewise.
9069         * iconvdata/gen-8bit-gap.sh: Likewise.
9070         * iconvdata/gen-8bit.sh: Likewise.
9071         * iconvdata/run-iconv-test.sh: Likewise.
9072         * intl/tst-gettext.sh: Likewise.
9073         * intl/tst-gettext2.sh: Likewise.
9074         * intl/tst-gettext4.sh: Likewise.
9075         * intl/tst-gettext6.sh: Likewise.
9076         * intl/tst-translit.sh: Likewise.
9077         * io/ftwtest-sh: Likewise.
9078         * libio/test-freopen.sh: Likewise.
9079         * locale/gen-translit.pl: Likewise.
9080         * malloc/tst-mtrace.sh: Likewise.
9081         * manual/check-safety.sh: Likewise.
9082         * manual/libc-texinfo.sh: Likewise.
9083         * manual/tsort.awk: Likewise.
9084         * manual/xtract-typefun.awk: Likewise.
9085         * nptl/tst-cancel-wrappers.sh: Likewise.
9086         * nptl/tst-tls6.sh: Likewise.
9087         * posix/globtest.sh: Likewise.
9088         * posix/tst-getconf.sh: Likewise.
9089         * posix/wordexp-tst.sh: Likewise.
9090         * scripts/check-c++-types.sh: Likewise.
9091         * scripts/check-local-headers.sh: Likewise.
9092         * scripts/config.guess: Likewise.
9093         * scripts/config.sub: Likewise.
9094         * scripts/cpp: Likewise.
9095         * scripts/cross-test-ssh.sh: Likewise.
9096         * scripts/documented.sh: Likewise.
9097         * scripts/evaluate-test.sh: Likewise.
9098         * scripts/gen-libc-abis: Likewise.
9099         * scripts/gen-sorted.awk: Likewise.
9100         * scripts/list-fixed-bugs.py: Likewise.
9101         * scripts/merge-test-results.sh: Likewise.
9102         * scripts/mkinstalldirs: Likewise.
9103         * scripts/rellns-sh: Likewise.
9104         * scripts/test-installation.pl: Likewise.
9105         * scripts/update-copyrights: Likewise.
9106         * stdio-common/tst-printf.sh: Likewise.
9107         * stdio-common/tst-unbputc.sh: Likewise.
9108         * stdlib/tst-fmtmsg.sh: Likewise.
9109         * stdlib/tst-setcontext3.sh: Likewise.
9110         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
9111         * sysdeps/unix/make-syscalls.sh: Likewise.
9113 2016-01-06  John David Anglin  <dave.anglin@bell.net>
9115         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
9116         asm stw with atomic_exchange_rel.  Add explanatory comment.
9117         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
9118         Likewise.
9120 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
9122         [BZ #19122]
9123         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
9124         * sysdeps/generic/dl-unistd.h: New file.
9125         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
9127 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
9129          [BZ #19122]
9130          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
9131          * sysdeps/generic/dl-mman.h: New file.
9132          * sysdeps/mach/hurd/dl-mman.h: Likewise.
9134 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
9136         * manual/texinfo.tex: Update to version 2016-01-04.21 with
9137         trailing whitespace removed.
9138         * scripts/config.guess: Update to version 2016-01-01.
9139         * scripts/config.sub: Update to version 2016-01-01.
9140         * scripts/move-if-change: Update from gnulib.
9142 2016-01-04  Anton Blanchard  <anton@samba.org>
9144         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
9145         for array indices.
9146         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
9148 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
9150         * NEWS: Update copyright dates.
9151         * catgets/gencat.c (print_version): Likewise.
9152         * csu/version.c (banner): Likewise.
9153         * debug/catchsegv.sh: Likewise.
9154         * debug/pcprofiledump.c (print_version): Likewise.
9155         * debug/xtrace.sh (do_version): Likewise.
9156         * elf/ldconfig.c (print_version): Likewise.
9157         * elf/ldd.bash.in: Likewise.
9158         * elf/pldd.c (print_version): Likewise.
9159         * elf/sotruss.sh: Likewise.
9160         * elf/sprof.c (print_version): Likewise.
9161         * iconv/iconv_prog.c (print_version): Likewise.
9162         * iconv/iconvconfig.c (print_version): Likewise.
9163         * locale/programs/locale.c (print_version): Likewise.
9164         * locale/programs/localedef.c (print_version): Likewise.
9165         * login/programs/pt_chown.c (print_version): Likewise.
9166         * malloc/memusage.sh (do_version): Likewise.
9167         * malloc/memusagestat.c (print_version): Likewise.
9168         * malloc/mtrace.pl: Likewise.
9169         * manual/libc.texinfo: Likewise.
9170         * nptl/version.c (banner): Likewise.
9171         * nscd/nscd.c (print_version): Likewise.
9172         * nss/getent.c (print_version): Likewise.
9173         * nss/makedb.c (print_version): Likewise.
9174         * posix/getconf.c (main): Likewise.
9175         * scripts/test-installation.pl: Likewise.
9176         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9178         * All files with FSF copyright notices: Update copyright dates
9179         using scripts/update-copyrights.
9180         * intl/plural.c: Regenerated.
9181         * locale/programs/charmap-kw.h: Likewise.
9182         * locale/programs/locfile-kw.h: Likewise.
9184 2016-01-02  Helge Deller  <deller@gmx.de>
9186         [BZ #19285]
9187         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
9188         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
9189         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
9190         (MADV_xxK_PAGES): Remove.
9192 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
9194         [BZ #15421]
9195         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
9196         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
9197         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
9198         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
9200 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
9202         [BZ #19408]
9203         * sysdeps/unix/sysv/linux/personality.c: New file.
9204         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
9205         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
9206         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
9207         (sysdep_routines): Add personality.
9208         (tests): Add tst-personality.
9209         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
9210         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
9211         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
9212         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
9213         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
9214         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
9215         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
9216         Likewise.
9217         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
9218         Likewise.
9219         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
9220         Likewise.
9221         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
9222         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
9223         Likewise.
9225 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
9227         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
9228         (PATH_ARM_SYSTYPE): Remove.
9229         (PATH_CPUINFO): Likewise.
9230         (IO_BASE_FOOTBRIDGE): Likewise.
9231         (IO_SHIFT_FOOTBRIDGE): Likewise.
9232         (struct platform): Likewise.
9233         (init_iosys): Remove compatibility code for 2.4 kernels.
9234         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
9236 2015-12-29  Florian Weimer  <fweimer@redhat.com>
9238         * malloc/tst-malloc-thread-fail.c: New file.
9239         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
9240         (tst-malloc-thread-fail): Link against libpthread.
9242 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
9244         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
9245         (get_parser): New function.
9246         (main): New function.
9248 2015-12-29  Rob Wu  <rob@robwu.nl>
9250         [BZ #19369]
9251         * resolv/res_init.c (__res_vinit): Reset defdname before use.
9253 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
9255         [BZ #19270]
9256         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
9258 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
9260         [BZ #15421]
9261         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
9263 2015-12-23  Torvald Riegel  <triegel@redhat.com>
9265         [BZ #13690]
9266         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
9267         after releasing it.
9268         (__lll_robust_unlock): Likewise.
9269         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9270         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
9271         (lll_robust_unlock): Likewise.
9272         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
9273         Prevent warnings in callers.
9275 2015-12-23  Florian Weimer  <fweimer@redhat.com>
9277         * malloc/arena.c (list_lock): Update comment.
9279 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9281         * sysdeps/powerpc/hwcapinfo.c: Export symbol
9282         __parse_hwcap_and_convert_at_platform to libc.a.
9284 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9286         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
9287         platform and feature support for POWER9.
9288         * sysdeps/powerpc/dl-procinfo.h: Likewise.
9289         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
9290         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
9291         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
9292         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
9293         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
9294         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
9295         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
9297 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9299         Harmonize generic stdio-lock support with nptl
9301         This fixes build when _IO_funlockfile is a macro, fixes build where
9302         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
9303         stack unwind.
9305         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
9306         _IO_release_lock ): Use cleanup attribute on new
9307         _IO_acquire_lock_file variable instead of assuming that
9308         _IO_release_lock will be called.
9309         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
9310         _IO_acquire_lock_needs_exceptions_enabled.
9311         (_IO_acquire_lock_clear_flags2): New macro.
9313 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9315         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9317 2015-12-21  Florian Weimer  <fweimer@redhat.com>
9319         [BZ #19182]
9320         * malloc/arena.c (list_lock): Document lock ordering requirements.
9321         (free_list_lock): New lock.
9322         (ptmalloc_lock_all): Comment on free_list_lock.
9323         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
9324         (detach_arena): Update comment.  free_list_lock is now needed.
9325         (_int_new_arena): Use free_list_lock around detach_arena call.
9326         Acquire arena lock after list_lock.  Add comment, including FIXME
9327         about incorrect synchronization.
9328         (get_free_list): Switch to free_list_lock.
9329         (reused_arena): Acquire free_list_lock around detach_arena call
9330         and attached threads counter update.  Add two FIXMEs about
9331         incorrect synchronization.
9332         (arena_thread_freeres): Switch to free_list_lock.
9333         * malloc/malloc.c (struct malloc_state): Update comments to
9334         mention free_list_lock.
9336 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
9338         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
9339         Remove functions.
9340         (sloww, sloww1): Accept argument to offset quadrant.
9341         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
9342         quadrant.
9343         (__sin, __cos): Consolidate common code into new functions.
9344         (reduce_sincos_1, do_sincos_1): New functions.
9345         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9347         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
9348         code to new functions.
9349         (reduce_sincos_2, do_sincos_2): New functions.
9350         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9352         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
9353         common code for sincos.
9354         (__cos) [!IN_SINCOS]: Likewise.
9355         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
9356         New function.
9357         (__sincos): Use it.
9359 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
9361         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
9362         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
9363         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9365 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9367         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
9368         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
9369         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
9370         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
9371         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9372         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
9373         index_Prefer_No_VZEROUPPER): New feature.
9374         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
9375         Prefer_No_VZEROUPPER for Knights Landing.
9377 015-12-18  Torvald Riegel  <triegel@redhat.com>
9379         * math/atest-exp2.c (mp_exp_m1): Remove.
9381 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9383         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
9384         syscalls.
9385         (__SYSCALL0): New macro.
9386         (__SYSCALL1): Likewise.
9387         (__SYSCALL2): Likewise.
9388         (__SYSCALL3): Likewise.
9389         (__SYSCALL4): Likewise.
9390         (__SYSCALL5): Likewise.
9391         (__SYSCALL6): Likewise.
9392         (__SYSCALL_CONCAT_X): Likewise.
9393         (__SYSCALL_CONCAT): Likewise.
9394         (__SYSCALL_DIST): Likewise.
9395         (__SYSCALL_CALL): Likewise.
9397 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
9399         [BZ #19363]
9400         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
9402 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9404         [BZ #19375]
9405         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
9406         negative subnormals.
9408 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
9410         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9411         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
9412         (INTERNAL_SYSCALL_NCS): Use it.
9413         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9415 2015-12-16  Florian Weimer  <fweimer@redhat.com>
9417         [BZ #19243]
9418         * malloc/arena.c (get_free_list): Remove assert and adjust
9419         reference count handling.  Add comment about reused_arena
9420         interaction.
9421         (reused_arena): Add comments abount get_free_list interaction.
9422         * malloc/tst-malloc-thread-exit.c: New file.
9423         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
9424         (tst-malloc-thread-exit): Link against libpthread.
9426 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9428         [BZ #19367]
9429         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
9430         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
9431         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
9432         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
9433         (index_Prefer_MAP_32BIT_EXEC): Likewise.
9435 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9437         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
9438         Silvermont optimizations for Knights Landing.
9440 2015-12-15  Andreas Schwab  <schwab@suse.de>
9442         [BZ #17197]
9443         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
9444         immediately after emitting SI.
9445         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
9446         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
9447         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
9448         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
9449         * iconvdata/bug-iconv10.c: New file.
9450         * iconvdata/Makefile (tests): Add bug-iconv10.
9451         ($(objpfx)bug-iconv10.out): New rule.
9453 2015-12-15  Florian Weimer  <fweimer@redhat.com>
9455         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
9456         aliasing violation.
9458 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
9460         [BZ #18472]
9461         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
9462         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
9463         conditionals for them.
9464         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
9465         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
9466         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
9467         sys/kdaemon.h.
9468         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
9469         compat-only syscall, obsoleted in glibc 2.23.
9470         (create_module): Likewise.
9471         (get_kernel_syms): Likewise.
9472         (query_module): Likewise.
9473         (uselib): Likewise.
9474         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
9476 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
9478         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
9479         <linux/version.h>.
9480         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
9481         conditional code.
9482         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
9483         and ioshift_name initialization.
9485 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9487         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9488         Fix indentation.
9490 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9492         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
9494 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9496         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
9498 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
9499             Jakub Wilk  <jwilk@debian.org>
9501         [BZ #19347]
9502         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
9503         to change the group of the device to the tty group.
9505 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
9507         Split large string section; add truncation advice
9508         * manual/examples/strncat.c: Remove.
9509         This example was misleading, as the code would have undefined
9510         behavior if "hello" was longer than SIZE.  Anyway, the manual
9511         shouldn't encourage strncpy+strncat for this sort of thing.
9512         * manual/string.texi (Copying Strings and Arrays): Split into
9513         three sections Copying Strings and Arrays, Concatenating Strings,
9514         and Truncating Strings, as this section was way too long.  All
9515         cross-referenced changed.  Add advice about string-truncation
9516         functions.  Remove misleading strncat example.
9518 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
9520         * manual/nss.texi (NSS Modules Interface): Document
9521         NSS_STATUS_NOTFOUND and SUCCESS.
9523 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9525         [BZ 18568]
9526         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
9527         201505L, for Unicode 8.
9529 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
9531         * locale/C-translit.h: Regenerate.
9533 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9535         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
9536         and U+0153.
9538 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
9540         [BZ #19351]
9541         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
9542         expanding log(1+z), compare z rather than its square with epsilon
9543         to determine when to avoid evaluating the expansion.
9545         [BZ #19350]
9546         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
9547         Increase overflow threshold.
9549         [BZ #19349]
9550         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
9551         when small.
9553         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9554         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9555         New macro.
9556         [__LINUX_KERNEL_VERSION >= 0x040300]
9557         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9558         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9559         Likewise.
9560         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9561         Likewise.
9562         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9563         Likewise.
9564         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9565         Likewise.
9566         [__LINUX_KERNEL_VERSION >= 0x040300]
9567         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9568         [__LINUX_KERNEL_VERSION >= 0x040300]
9569         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9570         [__LINUX_KERNEL_VERSION >= 0x040300]
9571         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9572         [__LINUX_KERNEL_VERSION >= 0x040300]
9573         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9574         [__LINUX_KERNEL_VERSION >= 0x040300]
9575         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9576         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9577         Likewise.
9578         [__LINUX_KERNEL_VERSION >= 0x040300]
9579         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9580         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9581         Likewise.
9582         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9583         Likewise.
9584         [__LINUX_KERNEL_VERSION >= 0x040300]
9585         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9586         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9587         Likewise.
9588         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9589         Likewise.
9590         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9591         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
9592         Likewise.
9593         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
9594         Likewise.
9595         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9596         Likewise.
9597         [__LINUX_KERNEL_VERSION >= 0x040300]
9598         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9599         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9600         Likewise.
9601         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9602         Likewise.
9603         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9604         Likewise.
9605         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9606         Likewise.
9607         [__LINUX_KERNEL_VERSION >= 0x040300]
9608         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9609         [__LINUX_KERNEL_VERSION >= 0x040300]
9610         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9611         [__LINUX_KERNEL_VERSION >= 0x040300]
9612         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9613         [__LINUX_KERNEL_VERSION >= 0x040300]
9614         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9615         [__LINUX_KERNEL_VERSION >= 0x040300]
9616         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9617         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9618         Likewise.
9619         [__LINUX_KERNEL_VERSION >= 0x040300]
9620         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9621         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9622         Likewise.
9623         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9624         Likewise.
9625         [__LINUX_KERNEL_VERSION >= 0x040300]
9626         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9627         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9628         Likewise.
9629         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9630         Likewise.
9631         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9632         (__ASSUME_SOCKET_SYSCALL): Likewise.
9633         (__ASSUME_BIND_SYSCALL): Likewise.
9634         (__ASSUME_CONNECT_SYSCALL): Likewise.
9635         (__ASSUME_LISTEN_SYSCALL): Likewise.
9636         (__ASSUME_ACCEPT_SYSCALL): Likewise.
9637         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9638         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9639         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9640         (__ASSUME_SEND_SYSCALL): Likewise.
9641         (__ASSUME_SENDTO_SYSCALL): Likewise.
9642         (__ASSUME_RECV_SYSCALL): Likewise.
9643         (__ASSUME_RECVFROM_SYSCALL): Likewise.
9644         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
9645         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9646         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9647         (__ASSUME_SENDMSG_SYSCALL): Likewise.
9648         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9649         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9650         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
9651         Likewise.
9652         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
9653         Likewise.
9654         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
9655         Likewise.
9656         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
9657         Likewise.
9658         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
9659         Likewise.
9660         [__LINUX_KERNEL_VERSION >= 0x020625]
9661         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9662         [__LINUX_KERNEL_VERSION >= 0x020625]
9663         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9664         [__LINUX_KERNEL_VERSION >= 0x020625]
9665         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9666         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
9667         Likewise.
9668         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
9669         Likewise.
9670         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
9671         Likewise.
9672         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
9673         Likewise.
9674         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
9675         Likewise.
9676         [__LINUX_KERNEL_VERSION >= 0x020625]
9677         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9678         [__LINUX_KERNEL_VERSION >= 0x020625]
9679         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9680         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
9681         Likewise.
9682         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
9683         Likewise.
9685 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
9687         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
9688         record the current if the current ABI and CPU support the FP64
9689         extension.
9690         (has-modd-spreg): Define to record the current if the current ABI and
9691         CPU support 32-bit floating point values in odd FPU registers.
9692         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9693         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
9694         $(has-modd-spreg) equals yes.
9695         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
9696         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
9697         $(has-modd-spreg) equal yes.
9699 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
9701         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
9702         basename.
9704 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
9706         * benchtests/Makefile (bench-math): Move ffs and ffsll...
9707         (bench-string): ... here.
9708         (bench): Add bench-string.
9709         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
9710         to *-benchset to reflect what they are.
9711         (benchset): Adjust.
9713         * benchtests/sincos-inputs: Add inputs from sin-inputs and
9714         cos-inputs.
9716 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
9718         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
9719         __attribute__ ((__simd__)) for vector math function declarations.
9721 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9723         Fix typo in strncat, wcsncat manual entries
9724         * manual/string.texi (Copying and Concatenation): Fix typos in
9725         sample implementations of strncat and wcsncat, by having them use
9726         the old value of the destination length, not the new one.
9728 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
9730         [BZ #16961]
9731         [BZ #16962]
9732         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
9733         string on the stack for strtod.
9734         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
9735         a string on the stack for strtof.
9736         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
9737         constructing a string on the stack for strtold.
9738         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
9739         __strtold_nan to GLIBC_PRIVATE.
9740         * math/test-nan-overflow.c: New file.
9741         * math/test-nan-payload.c: Likewise.
9742         * math/Makefile (tests): Add test-nan-overflow and
9743         test-nan-payload.
9745 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9747         Consistency about byte vs character in string.texi
9748         * manual/string.texi (String and Array Utilities):
9749         Distinguish more carefully among bytes, multibyte characters,
9750         and wide characters.  Use "byte" when talking about C 'char',
9751         to distinguish it more clearly from multibyte characters.
9752         Say "wide character" or "multibyte character" instead of
9753         "character", when a wide or multibyte character is intended.
9754         Similarly for "multibyte string" versus "string".
9755         Define these terms more carefully.
9757 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
9759         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
9760         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
9761         Likewise.
9762         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9763         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9764         * sysdeps/sh/math_private.h: New file.
9765         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
9766         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
9767         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
9768         long double function name.
9769         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9770         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9771         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9772         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9773         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
9775         Remove __finitel, __isinfl, and __isnanl.
9776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9777         Likewise.
9778         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9780         Remove __finitel.
9781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9782         Likewise.
9783         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9785 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
9787         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
9788         installed libmvec_nonshared.a.
9790 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9792         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
9793         (sysdep_routines): Likewise.
9794         (sysdep-rtld-routines): Likewise.
9795         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
9796         [$(subdir) = nptl](tests-static): test-get_hwcap-static
9797         * sysdeps/powerpc/Versions: Added new
9798         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
9799         * sysdeps/powerpc/hwcapinfo.c: New file.
9800         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
9801         and parse hwcap, hwcap2 and platform number information.
9802         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
9803         to store HWCAP+HWCAP2 and platform number.
9804         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
9805         for HWCAP+HWCAP2 and platform number in the TCB.
9806         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
9807         the HWCAP, HWCAP2 and platform number in the TCB.
9808         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
9809         (TLS_INIT_TP): Included calls to add the hwcap and
9810         at_platform values in the TCB in TP initialization.
9811         (TLS_DEFINE_INIT_TP): Likewise.
9812         (THREAD_GET_HWCAP): New macro.
9813         (THREAD_SET_HWCAP): Likewise.
9814         (THREAD_GET_AT_PLATFORM): Likewise.
9815         (THREAD_SET_AT_PLATFORM): Likewise.
9816         * sysdeps/powerpc/powerpc32/dl-machine.h:
9817         (dl_platform_init): New function that calls
9818         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
9819         powerpc32.
9820         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
9821         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
9822         this functionality, static linking case.
9823         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
9824         linking case.
9825         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
9826         __parse_hwcap_and_convert_at_platform for the static linking case.
9827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
9828         Included the new __parse_hwcap_and_convert_at_platform symbol in the
9829         ABI list for GLIBC 2.23.
9830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
9831         Likewise.
9832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
9833         Likewise.
9835 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
9837         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
9838         * configure: Regenerate.
9839         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
9840         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
9842 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
9844         * iconvdata/ibm930.c: Add comment explaining encoding uses.
9845         * iconvdata/ibm933.c: Likewise.
9846         * iconvdata/ibm935.c: Likewise.
9847         * iconvdata/ibm937.c: Likewise.
9848         * iconvdata/ibm939.c: Likewise.
9850 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9852         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
9853         pthread_join.
9854         * nptl/tst-cancel21.c (tf): Likewise.
9856 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
9858         [BZ #19313]
9859         * bits/typesizes.h (__CPU_MASK_TYPE): New.
9860         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
9861         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
9862         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
9863         Likewise.
9864         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
9865         Likewise.
9866         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
9867         Likewise.
9868         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
9869         Likewise.
9870         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
9871         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
9872         unsigned long int with __CPU_MASK_TYPE.
9874 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9876         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9878 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
9880         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
9881         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
9882         t512.x.
9883         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
9885 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
9887         [BZ #19214]
9888         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
9889         argument to return extended model.  Update family and model
9890         with extended family and model when family == 0x0f.
9891         (init_cpu_features): Updated.
9893 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9895         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
9896         signed off_t, so 32bit bigger than 2GiB values are fine actually.
9898         * sysdeps/mach/hurd/mmap64.c: New file.
9900 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
9902         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
9903         rights for its main user thread in NEWTASK.
9905 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
9907         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
9908         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
9910 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
9912         [BZ #14259]
9913         * Makeconfig: Rename localedir to complocaledir.
9914         Rename inst_localedir to inst_complocaledir.
9915         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
9916         * config.make.in: Use complocaledir and libc_cv_complocaledir.
9917         * configure.ac: Use libc_cv_complocaledir.
9918         * configure: Regenerate.
9919         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
9920         -DCOMPLOCALEDIR.
9921         * locale/findlocale.c: Use COMPLOCALEDIR.
9922         * locale/loadarchive.c: Likewise.
9923         * locale/programs/locale.c: Likewise.
9924         * locale/programs/localedef.c: Likewise.
9925         * locale/programs/locarchive.c: Likewise.
9926         * localedata/Makefile: Use inst_complocaledir.
9927         * sysdeps/gnu/configure: Regenerate.
9928         * sysdeps/hppa/configure: Regenerate.
9929         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
9930         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9932         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
9933         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
9934         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
9935         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
9937 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
9939         [BZ #19058]
9940         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
9941         AS_NEEDED.
9942         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
9943         workaround.
9944         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
9945         libmvec-static-only-routines): Added new file.
9946         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
9948 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9950         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
9951         of interrupted RPC instead of restoring it.
9953         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
9954         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
9955         libc_hidden_def.
9956         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
9957         into initialized data instead of common. Define rtld_hidden_data_def.
9958         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
9959         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
9960         libc_hidden_def.
9961         (if_freenameindex): Add libc_hidden_weak.
9962         (if_nameindex): Add libc_hidden_weak.
9963         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
9964         __open64.
9965         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
9966         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
9967         * sysdeps/mach/nanosleep.c: Include <time.h>
9968         (__nanosleep): Rename to __libc_nanosleep.
9969         (__nanosleep): Add weak_alias.
9970         (nanosleep): Update alias.
9972 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
9974         * stdlib/strtod_nan.c: New file.
9975         * stdlib/strtod_nan_double.h: Likewise.
9976         * stdlib/strtod_nan_float.h: Likewise.
9977         * stdlib/strtod_nan_main.c: Likewise.
9978         * stdlib/strtod_nan_narrow.h: Likewise.
9979         * stdlib/strtod_nan_wide.h: Likewise.
9980         * stdlib/strtof_nan.c: Likewise.
9981         * stdlib/strtold_nan.c: Likewise.
9982         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
9983         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
9984         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
9985         * wcsmbs/wcstod_nan.c: Likewise.
9986         * wcsmbs/wcstof_nan.c: Likewise.
9987         * wcsmbs/wcstold_nan.c: Likewise.
9988         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
9989         strtold_nan.
9990         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
9991         wcstof_nan.
9992         * include/stdlib.h (__strtof_nan): Declare and use
9993         libc_hidden_proto.
9994         (__strtod_nan): Likewise.
9995         (__strtold_nan): Likewise.
9996         (__wcstof_nan): Likewise.
9997         (__wcstod_nan): Likewise.
9998         (__wcstold_nan): Likewise.
9999         * include/wchar.h (____wcstoull_l_internal): Declare.
10000         * stdlib/strtod_l.c: Do not include <ieee754.h>.
10001         (____strtoull_l_internal): Remove declaration.
10002         (STRTOF_NAN): Define macro.
10003         (SET_MANTISSA): Remove macro.
10004         (STRTOULL): Likewise.
10005         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
10006         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
10007         (STRTOF_NAN): Define macro.
10008         (SET_MANTISSA): Remove macro.
10009         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
10010         (SET_MANTISSA): Remove macro.
10011         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
10012         macro.
10013         (SET_MANTISSA): Remove macro.
10014         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
10015         macro.
10016         (SET_MANTISSA): Remove macro.
10017         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
10018         (SET_MANTISSA): Remove macro.
10019         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
10020         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
10021         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
10023         [BZ #19266]
10024         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
10025         upper case and lower case letters inside NAN(), not using TOLOWER.
10026         * stdlib/tst-strtod-nan-locale-main.c: New file.
10027         * stdlib/tst-strtod-nan-locale.c: Likewise.
10028         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
10029         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
10030         Depend on $(gen-locales).
10031         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
10032         * wcsmbs/tst-wcstod-nan-locale.c: New file.
10033         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
10034         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
10035         Depend on $(gen-locales).
10036         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
10038 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
10040         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
10042         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
10043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
10044         __finitel, __isinfl, and __isnanl.
10045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10046         Likewise.
10047         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10048         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
10049         __finitel.
10050         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10051         Likewise.
10052         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10054 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
10056         * malloc/memusage.c (me): Remove redundant getenv call.
10058 2015-10-24  Florian Weimer  <fweimer@redhat.com>
10060         [BZ #19143]
10061         [BZ #19164]
10062         * nptl/check-cpuset.h: Remove.
10063         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
10064         Remove CPU set size check.
10065         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
10066         Likewise.
10067         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
10068         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
10069         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
10070         (__pthread_setaffinity_new): Remove CPU set size check.
10071         * sysdeps/unix/sysv/linux/sched_setaffinity.c
10072         (__kernel_cpumask_size): Remove.
10073         (__sched_setaffinity_new): Remove CPU set size check.
10074         * manual/threads.texi (Default Thread Attributes): Remove stale
10075         reference to check_cpuset_attr, determine_cpumask_size in comment.
10076         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
10077         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
10078         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
10079         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
10080         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
10081         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
10082         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
10083         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
10084         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
10085         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
10086         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
10087         skeleton test file.
10088         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
10089         tst-affinity-pid.
10091 2015-11-24  Florian Weimer  <fweimer@redhat.com>
10093         * scripts/update-abilist.sh: New file.
10094         * Makefile (+subdir_targets): Add subdir_update-all-abi.
10095         * Makerules (update-all-abi-%, update-all-abi)
10096         (subdir_update-all-abi): New targets.
10097         * elf/Makefile (update-all-abi): New target.
10099 2015-11-24  Florian Weimer  <fweimer@redhat.com>
10101         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
10102         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
10103         (__libc_lock_define_initialized): Use it.
10104         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
10105         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
10106         * malloc/malloc.c (main_arena): Likewise.
10107         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
10108         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
10110 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
10112         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
10113         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
10114         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10115         (PTRACE_O_MASK): Update value.
10116         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
10117         New value in enum __ptrace_setoptions.
10118         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10119         (PTRACE_O_MASK): Update value.
10120         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
10121         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10122         (PTRACE_O_MASK): Update value.
10123         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
10124         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10125         (PTRACE_O_MASK): Update value.
10126         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
10127         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10128         (PTRACE_O_MASK): Update value.
10129         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
10130         New value in enum __ptrace_setoptions.
10131         (PTRACE_O_MASK): Update value.
10132         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
10133         New value in enum __ptrace_setoptions.
10134         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10135         (PTRACE_O_MASK): Update value.
10137         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
10138         New macro.
10139         (PACKET_AUXDATA): Likewise.
10140         (PACKET_ORIGDEV): Likewise.
10141         (PACKET_VERSION): Likewise.
10142         (PACKET_HDRLEN): Likewise.
10143         (PACKET_RESERVE): Likewise.
10144         (PACKET_TX_RING): Likewise.
10145         (PACKET_LOSS): Likewise.
10146         (PACKET_VNET_HDR): Likewise.
10147         (PACKET_TX_TIMESTAMP): Likewise.
10148         (PACKET_TIMESTAMP): Likewise.
10149         (PACKET_FANOUT): Likewise.
10150         (PACKET_TX_HAS_OFF): Likewise.
10151         (PACKET_QDISC_BYPASS): Likewise.
10152         (PACKET_ROLLOVER_STATS): Likewise.
10153         (PACKET_FANOUT_DATA): Likewise.
10154         (PACKET_MR_UNICAST): Likewise.
10156         [BZ #19242]
10157         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
10158         (TOUPPER): Likewise.
10159         * stdlib/tst-strtol-locale-main.c: New file.
10160         * stdlib/tst-strtol-locale.c: Likewise.
10161         * stdlib/Makefile (tests): Add tst-strtol-locale.
10162         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
10163         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
10164         Depend on $(gen-locales).
10165         * wcsmbs/tst-wcstol-locale.c: New file.
10166         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
10167         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
10168         tr_TR.ISO-8859-9.
10169         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
10170         Depend on $(gen-locales).
10172 2015-11-20  Roland McGrath  <roland@hack.frob.com>
10174         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
10175         __glibc_likely instead of __builtin_expect.  After falling back to
10176         dyncode_create in a non-ET_DYN case, use the allocate_code_data
10177         system interface to register the code pages as occupied.
10179 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
10181         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10182         [!ARM_MATH_PRIVATE_H].
10183         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
10184         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10185         [!HPPA_MATH_PRIVATE_H].
10186         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
10187         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
10188         to [!I386_MATH_PRIVATE_H].
10189         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
10190         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
10191         Change guard to [!M68K_MATH_PRIVATE_H].
10192         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
10193         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
10194         guard to [!MICROBLAZE_MATH_PRIVATE_H].
10195         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
10196         macro.
10197         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10198         [!MIPS_MATH_PRIVATE_H].
10199         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
10200         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10201         [!NIO2_MATH_PRIVATE_H].
10202         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
10203         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10204         [!TILE_MATH_PRIVATE_H].
10205         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
10207         [BZ #15421]
10208         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
10209         initialize with 0 and define as weak alias of __signgam.
10210         * include/math.h [!_ISOMAC] (__signgam): Declare.
10211         * math/Makefile (libm-calls): Add w_lgamma_compat.
10212         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
10213         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
10214         test-signgam-ullong-init.
10215         (tests-static): Add test-signgam-uchar-static,
10216         test-signgam-uchar-init-static, test-signgam-uint-static,
10217         test-signgam-uint-init-static, test-signgam-ullong-static and
10218         test-signgam-ullong-init-static.
10219         (CFLAGS-test-signgam-uchar.c): New variable.
10220         (CFLAGS-test-signgam-uchar-init.c): Likewise.
10221         (CFLAGS-test-signgam-uchar-static.c): Likewise.
10222         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
10223         (CFLAGS-test-signgam-uint.c): Likewise.
10224         (CFLAGS-test-signgam-uint-init.c): Likewise.
10225         (CFLAGS-test-signgam-uint-static.c): Likewise.
10226         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
10227         (CFLAGS-test-signgam-ullong.c): Likewise.
10228         (CFLAGS-test-signgam-ullong-init.c): Likewise.
10229         (CFLAGS-test-signgam-ullong-static.c): Likewise.
10230         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
10231         * math/Versions (libm): Add GLIBC_2.23.
10232         * math/lgamma-compat.h: New file.
10233         * math/test-signgam-main.c: Likewise.
10234         * math/test-signgam-uchar-init-static.c: Likewise.
10235         * math/test-signgam-uchar-init.c: Likewise.
10236         * math/test-signgam-uchar-static.c: Likewise.
10237         * math/test-signgam-uchar.c: Likewise.
10238         * math/test-signgam-uint-init-static.c: Likewise.
10239         * math/test-signgam-uint-init.c: Likewise.
10240         * math/test-signgam-uint-static.c: Likewise.
10241         * math/test-signgam-uint.c: Likewise.
10242         * math/test-signgam-ullong-init-static.c: Likewise.
10243         * math/test-signgam-ullong-init.c: Likewise.
10244         * math/test-signgam-ullong-static.c: Likewise.
10245         * math/test-signgam-ullong.c: Likewise.
10246         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
10247         wrapper of w_lgamma_main.c.
10248         * math/w_lgamma_compat.c: New file.
10249         * math/w_lgamma_compatf.c: Likewise.
10250         * math/w_lgamma_compatl.c: Likewise.
10251         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
10252         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10253         defining compatibility symbols.
10254         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
10255         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
10256         wrapper of w_lgammaf_main.c.
10257         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
10258         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10259         defining compatibility symbols.
10260         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
10261         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
10262         wrapper of w_lgammal_main.c.
10263         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
10264         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10265         defining compatibility symbols.
10266         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
10267         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
10268         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
10269         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
10270         <lgamma-compat.h>.
10271         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
10272         (__ieee754_gamma): Define as alias.
10273         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
10274         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
10275         <lgamma-compat.h>.
10276         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
10277         (__ieee754_gammaf): Define as alias.
10278         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
10279         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
10280         <lgamma-compat.h>.
10281         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
10282         (__ieee754_gammal): Define as alias.
10283         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
10284         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
10285         <math/w_lgamma_compat.c>.
10286         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
10287         Define as alias of __lgamma_compat and use in defining lgammal.
10288         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
10289         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
10290         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
10291         (USE_AS_COMPAT): New macro.
10292         (LGAMMA_OLD_VER): Undefine and redefine.
10293         (lgammal): Do not define here.
10294         (gammal): Only define here if [GAMMA_ALIAS].
10295         * conform/linknamespace.pl (@whitelist): Remove signgam.
10296         * sysdeps/nacl/libm.abilist: Update.
10297         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10298         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10299         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10300         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10301         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10302         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10303         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10304         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10305         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10306         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10307         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10308         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10310         Likewise.
10311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10312         Likewise.
10313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10314         Likewise.
10315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10316         Likewise.
10317         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10318         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10319         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10320         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10321         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10322         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10323         Likewise.
10324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10325         Likewise.
10326         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10327         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10328         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10330 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10332         [BZ #16364]
10333         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
10334         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
10336 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10338         * sysdeps/s390/fpu/bits/mathinline.h:
10339         Use __asm__ [__volatile__] instead of asm [volatile].
10340         * sysdeps/s390/abort-instr.h: Likewise.
10341         * sysdeps/s390/atomic-machine.h: Likewise.
10342         * sysdeps/s390/bits/string.h: Likewise.
10343         * sysdeps/s390/dl-tls.h: Likewise.
10344         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10345         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10346         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10347         * sysdeps/s390/fpu/fesetround.c: Likewise.
10348         * sysdeps/s390/fpu/fpu_control.h: Likewise.
10349         * sysdeps/s390/fpu/s_fma.c: Likewise.
10350         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
10351         * sysdeps/s390/memusage.h: Likewise.
10352         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
10353         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
10354         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
10355         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
10356         * sysdeps/s390/nptl/tls.h: Likewise.
10357         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
10358         * sysdeps/s390/s390-32/backtrace.c: Likewise.
10359         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10360         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
10361         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10362         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10363         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
10364         * sysdeps/s390/s390-64/backtrace.c: Likewise.
10365         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10366         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
10367         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
10368         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10369         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10370         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
10371         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10372         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10373         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
10374         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10375         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
10376         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10377         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
10378         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10379         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
10381 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10382             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10384         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
10385         Add lwarx hint, and use macro for acquire instruction.
10386         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10387         Likewise.
10388         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
10389         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
10390         update to use new atomic macros.
10392 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10394         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10395         (__lll_trylock_elision): Fix setting of adapt_count.
10396         * sysdeps/unix/sysv/linux/powerpc/htm.h
10397         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
10398         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
10399         (_ABORT_SYSCALL): Renumber, and clarify definition.
10400         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
10402 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10404         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
10405         after system headers to prevent MIN/MAX redefinition.  Define
10406         HAVE_ALLOCA to preserve builtin alloca usage.
10408 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
10410         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
10411         static and don't set or restore rounding.
10412         (__cos)[IN_SINCOS]: Likewise.
10413         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
10414         (__sincos): Set and restore rounding mode.  Remove check for infinite
10415         or NaN input.
10417         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
10419         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
10420         as used.
10422 2015-11-16  Florian Weimer  <fweimer@redhat.com>
10424         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
10426 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
10428         * config.make.in (have-glob-dat-reloc): New.
10429         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
10430         target supports GLOB_DAT relocaton. AC_SUBST.
10431         * configure: Regenerated.
10432         * elf/Makefile (tests): Add tst-prelink.
10433         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10434         (tst-prelink-ENV): New.
10435         ($(objpfx)tst-prelink-conflict.out): Likewise.
10436         ($(objpfx)tst-prelink-cmp.out): Likewise.
10437         * sysdeps/x86/tst-prelink.c: Moved to ...
10438         * elf/tst-prelink.c: Here.
10439         * sysdeps/x86/tst-prelink.exp: Moved to ...
10440         * elf/tst-prelink.exp: Here.
10441         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
10442         (tst-prelink-ENV): Removed.
10443         ($(objpfx)tst-prelink-conflict.out): Likewise.
10444         ($(objpfx)tst-prelink-cmp.out): Likewise.
10445         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
10447 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
10449         [BZ #14551]
10450         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
10451         (__mpn_construct_long_double): If high part overflows to infinity,
10452         set errno and recompute overflowed result of the correct sign.
10453         * sysdeps/ieee754/ldbl-128ibm/Makefile
10454         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
10455         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
10456         $(libm).
10457         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
10459 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
10461         [BZ #15479]
10462         [BZ #19238]
10463         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
10464         floating-point state after first operation on input.  Restore full
10465         state rather than just rounding mode.
10466         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
10467         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
10468         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
10470         [BZ #19235]
10471         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
10472         add 0.5 to integer arguments.
10473         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
10474         Likewise.
10475         (.LC2): New object.
10477 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
10479         * scripts/pylintrc (reports): Set to no.
10481 2015-11-10  Roland McGrath  <roland@hack.frob.com>
10483         * elf/dl-load.c (open_verify): Take new argument FD.
10484         Skip __open call if passed FD is not -1.
10485         (_dl_map_object, open_path): Update callers.
10486         * elf/dl-sysdep-open.h: New file.
10487         * elf/dl-load.c: Include it.
10488         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
10489         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
10490         * sysdeps/nacl/dl-sysdep-open.h: New file.
10491         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
10492         from libc to rtld.
10494 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10496         [BZ #19228]
10497         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
10498         and restore full floating-point state.
10499         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10500         Likewise.
10501         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
10502         Likewise.
10503         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
10504         Likewise.
10505         * math/test-nearbyint-except-2.c: New file.
10506         * math/Makefile (tests): Add test-nearbyint-except-2.
10508 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
10510         [BZ #19178]
10511         * sysdeps/x86/Makefile (tests): Add tst-prelink.
10512         (tst-prelink-ENV): New.
10513         ($(objpfx)tst-prelink-conflict.out): Likewise.
10514         ($(objpfx)tst-prelink-cmp.out): Likewise.
10515         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10516         * sysdeps/x86/tst-prelink.c: New file.
10517         * sysdeps/x86/tst-prelink.exp: Likewise.
10519 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10521         * math/auto-libm-test-in: Add another test of pow.
10522         * math/auto-libm-test-out: Regenerated.
10523         * math/libm-test.inc (pow_test_data): Add another test.
10525 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10527         [BZ #19219]
10528         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
10529         weak_alias to nearbyintl.
10531 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10533         * sysdeps/aarch64/bits/string.h: New file.
10534         (_STRING_ARCH_unaligned): Define.
10536 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10538         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
10539         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10540         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10541         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
10542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
10544 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
10546         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
10547         for original name of the DSO.  Add it to the name list of the DSO
10548         if it is actually given.
10549         (_dl_map_object): Keep track of whether an audit module rewrote
10550         the file name.  If yes, pass the original name to
10551         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
10552         debugging is enabled, log the change of the file name.
10553         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
10554         _dl_map_object_from_fd.
10555         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
10556         * elf/tst-audit11.c: New file
10557         * elf/tst-auditmod11.c: New file.
10558         * elf/tst-audit11mod1.c: New file.
10559         * elf/tst-audit11mod2.c: New file.
10560         * elf/tst-audit11mod2.map: New file.
10561         * elf/tst-audit12.c: New file
10562         * elf/tst-auditmod12.c: New file.
10563         * elf/tst-audit12mod1.c: New file.
10564         * elf/tst-audit12mod2.c: New file.
10565         * elf/tst-audit12mod2.map: New file.
10566         * elf/tst-audit12mod3.c: New file.
10568 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10570         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
10571         Don't create weak aliases,
10572         because versioned symbols are created later.
10573         * sysdeps/s390/s390-32/setjmp.S
10574         (setjmp, _setjmp): Remove weak and rename to an unique name
10575         in SHARED case due to existing versioned symbols.
10576         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10577         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
10578         (getcontext): Create weak alias only in non SHARED case.
10579         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10581 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10583         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
10584         (__ASSUME_*_SYSCALL) Define new macros.
10585         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
10586         Remove socketcall syscalls.
10587         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
10588         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
10589         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
10590         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
10591         * sysdeps/unix/sysv/linux/send.c (__libc_send):
10592         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
10594 2015-11-09  Florian Weimer  <fweimer@redhat.com>
10596         [BZ #12926]
10597         Terminate process on invalid netlink response.
10598         * sysdeps/unix/sysv/linux/netlinkaccess.h
10599         (__netlink_assert_response): Declare.
10600         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
10601         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
10602         (sysdep_routines): Add netlink_assert_response.
10603         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
10604         __netlink_assert_response.
10605         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
10606         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
10607         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
10608         __netlink_assert_response.
10610 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
10612         [BZ #19178]
10613         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
10614         (RTYPE_CLASS_PLT): Likewise.
10615         (RTYPE_CLASS_COPY): Likewise.
10616         (RTYPE_CLASS_TLS): Likewise.
10617         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
10618         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
10619         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
10620         DL_DEBUG_PRELINK.
10622 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
10624         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
10625         calls with argument -0.5.
10626         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
10628         * configure.ac (libc_cv_z_nodelete): Remove configure test.
10629         (libc_cv_z_nodlopen): Likewise.
10630         (libc_cv_z_initfirst): Likewise.
10631         * configure: Regenerated.
10633 2015-11-06  Florian Weimer  <fweimer@redhat.com>
10635         Simplify abilist format to be line-based.
10636         * scripts/abilist.awk: Collect descriptors in the descs variable.
10637         (emit): Write descs variable and sort it
10638         externally, with sort.
10639         * sysdeps/**/*.abilist: Convert to new format.
10641 2015-11-06  Mark Wielaard  <mjw@redhat.com>
10643         [BZ #11460]
10644         * io/Makefile (routines): Add fts64.
10645         (tests): Add tst-fts and tst-fts-lfs.
10646         (CFLAGS-fts64.c): New.
10647         * io/Versions (GLIBC_2.23): New.
10648         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
10649         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
10650         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
10651         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
10652         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
10653         (FTSENT64): Likewise.
10654         (fts64_children): Likewise.
10655         (fts64_close): Likewise.
10656         (fts64_open): Likewise.
10657         (fts64_read): Likewise.
10658         (fts64_set): Likewise.
10659         * io/fts64.c: New file.
10660         * io/tst-fts.c: New test.
10661         * io/tst-fts-lfs.c: Likewise.
10662         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
10663         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
10664         fts64_set.
10665         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10666         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10667         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10668         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10669         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10670         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10671         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10672         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10673         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10674         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10675         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10676         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10677         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10679         Likewise.
10680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10681         Likewise.
10682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10684         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10685         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10686         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10687         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10688         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10689         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10691         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10692         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10693         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10694         * sysdeps/wordsize-64/fts.c: New file.
10695         * sysdeps/wordsize-64/fts64.c: Likewise.
10696         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
10697         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
10698         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
10699         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
10701 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
10703         * math/libm-test.inc (NON_FINITE): New macro.
10704         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
10705         * math/gen-libm-test.pl (show_exceptions): Add argument
10706         $non_finite.
10707         (parse_args): Update call to show_exceptions.
10708         * math/test-math-finite.h: New file.
10709         * math/test-math-no-finite.h: Likewise.
10710         * math/test-double-finite.c: Likewise.
10711         * math/test-float-finite.c: Likewise.
10712         * math/test-ldouble-finite.c: Likewise.
10713         * math/test-double.c: Include "test-math-no-finite.h".
10714         * math/test-float.c: Include "test-math-no-finite.h".
10715         * math/test-ldouble.c: Include "test-math-no-finite.h".
10716         * math/test-math-inline.h (TEST_FINITE): New macro.
10717         * math/test-math-vector.h (TEST_FINITE): Likewise.
10718         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
10719         (libm-tests): Add test-float-finite and test-double-finite.
10720         ($(objpfx)test-float-finite.o): New dependency on
10721         $(objpfx)libm-test.stmp.
10722         ($(objpfx)test-double-finite.o): Likewise.
10723         ($(objpfx)test-ldouble-finite.o): Likewise.
10724         (libm-test-no-inline-cflags): New variable.
10725         (libm-test-finite-cflags): Likewise.
10726         (CFLAGS-test-float-finite.c): Likewise.
10727         (CFLAGS-test-double-finite.c): Likewise.
10728         (CFLAGS-test-ldouble-finite.c): Likewise.
10729         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
10730         (CFLAGS-test-double.c): Likewise.
10731         (CFLAGS-test-ldouble.c): Likewise.
10733 2015-11-05  Roland McGrath  <roland@hack.frob.com>
10735         * io/fcntl.c (__fcntl): Add ... to prototype.
10736         * misc/ioctl.c (__ioctl): Likewise.
10737         * misc/syscall.c (syscall): Likewise.
10739 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
10741         * scripts/list-fixed-bugs.py: New file.
10743         [BZ #19213]
10744         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
10745         returned for argument 1.
10746         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
10747         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
10748         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
10749         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
10750         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
10751         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
10753         [BZ #19211]
10754         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
10755         __USE_XOPEN], not if [!__USE_ISOC99].
10756         (lgammaf): Likewise.
10757         (lgammal): Likewise.
10758         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
10759         (gammaf): Likewise.
10760         (gammal): Likewise.
10761         * math/test-signgam-finite-c11.c: New file.
10762         * math/test-signgam-finite-c99.c: Likewise.
10763         * math/test-signgam-finite.c: Likewise.
10764         * math/Makefile (tests): Add test-signgam-finite,
10765         test-signgam-finite-c99 and test-signgam-finite-c11.
10766         (CFLAGS-test-signgam-finite.c): New variable.
10767         (CFLAGS-test-signgam-finite-c99.c): Likewise.
10768         (CFLAGS-test-signgam-finite-c11.c): Likewise.
10770         [BZ #19212]
10771         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
10772         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
10773         500].
10774         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
10775         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
10776         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
10777         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
10778         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
10779         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
10780         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
10781         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
10782         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
10783         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
10785         [BZ #19209]
10786         * math/bits/math-finite.h (ldexp): Remove declaration.
10787         (ldexpf): Likewise.
10788         (ldexpl): Likewise.
10790         [BZ #19205]
10791         * math/bits/math-finite.h (acosf): Condition declaration on
10792         [__USE_ISOC99].
10793         (acosl): Likewise.
10794         (acoshf): Likewise.
10795         (acoshl): Likewise.
10796         (asinf): Likewise.
10797         (asinl): Likewise.
10798         (atan2f): Likewise.
10799         (atan2l): Likewise.
10800         (atanhf): Likewise.
10801         (atanhl): Likewise.
10802         (coshf): Likewise.
10803         (coshl): Likewise.
10804         (expf): Likewise.
10805         (expl): Likewise.
10806         (fmodf): Likewise.
10807         (fmodl): Likewise.
10808         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
10809         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
10810         (j0l): Likewise.
10811         (y0f): Likewise.
10812         (y0l): Likewise.
10813         (j1f): Likewise.
10814         (j1l): Likewise.
10815         (y1f): Likewise.
10816         (y1l): Likewise.
10817         (jnf): Likewise.
10818         (jnl): Likewise.
10819         (ynf): Likewise.
10820         (ynl): Likewise.
10821         (lgammaf_r): Condition declaration on [__USE_ISOC99].
10822         (lgammal_r): Likewise.
10823         (__lgamma_r_finite): New declaration.
10824         (__lgammaf_r_finite): Likewise.
10825         (__lgammal_r_finite): Likewise.
10826         (lgamma): Use __lgamma_r_finite.
10827         (lgammaf): Condition definition on [__USE_ISOC99].  Use
10828         __lgammaf_r_finite.
10829         (lgammal): Condition definition on [__USE_ISOC99].  Use
10830         __lgammal_r_finite.
10831         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
10832         __lgamma_r_finite.
10833         (gammaf): Condition definition on [__USE_ISOC99].  Use
10834         __lgammaf_r_finite.
10835         (gammal): Condition definition on [__USE_ISOC99].  Use
10836         __lgammal_r_finite.
10837         (logf): Condition declaration on [__USE_ISOC99].
10838         (logl): Likewise.
10839         (log10f): Likewise.
10840         (log10l): Likewise.
10841         (ldexpf): Likewise.
10842         (ldexpl): Likewise.
10843         (powf): Likewise.
10844         (powl): Likewise.
10845         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
10846         __USE_ISOC99].
10847         (remainderf): Condition declaration on [__USE_ISOC99].
10848         (remainderl): Likewise.
10849         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
10850         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
10851         (scalbl): Likewise.
10852         (sinhf): Condition declaration on [__USE_ISOC99].
10853         (sinhl): Likewise.
10854         (sqrtf): Likewise.
10855         (sqrtl): Likewise.
10857 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
10859         * sysdeps/arm/atomic-machine.h
10860         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
10861         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
10862         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
10863         Remove conditional code.
10864         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
10865         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
10866         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
10867         Change conditional to [__ASSEMBLER__].
10868         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10869         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
10870         [!__ASSEMBLER__].
10871         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
10872         code.
10873         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
10874         conditional macro definitions.
10875         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
10876         (__arch_compare_and_exchange_val_16_acq): Likewise.
10877         (__arch_compare_and_exchange_val_32_acq): Likewise.
10878         (atomic_exchange_and_add): Likewise.
10879         (atomic_add): Likewise.
10880         (atomic_add_negative): Likewise.
10881         (atomic_add_zero): Likewise.
10882         (atomic_bit_set): Likewise.
10883         (atomic_bit_test_set): Likewise.
10884         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
10885         code unconditional.
10886         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10888         * math/test-math-errno.h: New file.
10889         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
10890         empty.
10891         (TEST_ERRNO): New macro.
10892         (TEST_EXCEPTIONS): Likewise.
10893         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
10894         (TEST_EXCEPTIONS): Likewise.
10895         * math/test-math-vector.h (TEST_ERRNO): Likewise.
10896         * math/test-double.c: Include "test-math-errno.h".
10897         * math/test-float.c: Likewise.
10898         * math/test-ldouble.c: Likewise.
10899         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
10900         code unconditional.
10901         (test_exceptions): Only run code if TEST_EXCEPTIONS.
10902         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
10903         unconditional.
10904         (test_errno): Only run code if TEST_ERRNO.
10905         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
10907 2015-11-04  Florian Weimer  <fweimer@redhat.com>
10909         * nptl/tst-once5.cc: Remove attribution.
10911 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
10913         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
10914         sqrt, tan, tanh, y0, y1 and yn.
10915         * math/auto-libm-test-out: Regenerated.
10916         * math/libm-test.inc (scalb_test_data): Add more tests.
10917         (scalbn_test_data): Likewise.
10918         (scalbln_test_data): Likewise.
10919         (signbit_test_data): Likewise.
10920         (sin_test_data): Likewise.
10921         (sincos_test_data): Likewise.
10922         (sinh_test_data): Likewise.
10923         (sqrt_test_data): Likewise.
10924         (tan_test_data): Likewise.
10925         (tanh_test_data): Likewise.
10926         (tgamma_test_data): Likewise.
10927         (y0_test_data): Likewise.
10928         (y1_test_data): Likewise.
10929         (yn_test_data): Likewise.
10930         (significand_test_data): Likewise.
10931         * sysdeps/i386/fpu/libm-test-ulps: Update.
10933 2015-11-03  David Kastrup  <dak@gnu.org>
10935         [BZ #18604]
10936         * assert/assert.h (assert): Don't macro-expand failed assertion
10937         expression in error message.
10938         * malloc/malloc.c (assert): Likewise.
10940 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
10942         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
10943         test.
10944         * configure: Regenerated.
10946 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
10948         * math/libm-test.inc (modf_test_data): Add more tests.
10949         (nearbyint_test_data): Likewise.
10950         (nextafter_test_data): Likewise.
10951         (nexttoward_test_data): Likewise.
10952         (pow_test_data): Likewise.
10953         (remainder_test_data): Likewise.
10954         (remquo_test_data): Likewise.
10955         (rint_test_data): Likewise.
10957         [BZ #19201]
10958         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10959         Check for zero remainder in case of large exponents and ensure
10960         correct sign of result in that case.
10961         * math/libm-test.inc (remainder_test_data): Add more tests.
10963         [BZ #6799]
10964         * math/s_nextafter.c: Include <errno.h>.
10965         (__nextafter): Set errno on overflow and underflow.
10966         * math/s_nexttowardf.c: Include <errno.h>.
10967         (__nexttowardf): Set errno on overflow and underflow.
10968         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
10969         (__nextafterl): Set errno on overflow and underflow.
10970         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
10971         (__nexttoward): Set errno on overflow and underflow.
10972         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
10973         (__nexttowardf): Set errno on overflow and underflow.
10974         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
10975         (__nextafterf): Set errno on overflow and underflow.
10976         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
10977         (__nextafterl): Set errno on overflow and underflow.
10978         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
10979         (__nexttoward): Set errno on overflow and underflow.
10980         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
10981         (__nexttowardf): Set errno on overflow and underflow.
10982         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
10983         (__nextafterl): Set errno on overflow and underflow.
10984         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
10985         (__nexttoward): Set errno on overflow and underflow.
10986         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
10987         (__nexttowardf): Set errno on overflow and underflow.
10988         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
10989         (__nexttoward): Set errno on overflow and underflow.
10990         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
10991         (__nexttowardf): Set errno on overflow and underflow.
10992         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
10993         (__nldbl_nexttowardf): Set errno on overflow and underflow.
10994         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
10995         (__nextafterl): Set errno on overflow and underflow.
10996         * math/libm-test.inc (nextafter_test_data): Do not allow errno
10997         setting to be missing on overflow.  Add more tests.
10998         (nexttoward_test_data): Likewise.
11000         * configure.ac (libc_cv_initfini_array): Remove configure test.
11001         * configure: Regenerated.
11003 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
11005         [BZ #19189]
11006         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
11007         non-finite argument handle arguments with negative sign.
11009         * math/libm-test.inc (j0_test_data): Do not test sign of zero
11010         result from infinite argument.
11011         (j1_test_data): Likewise.
11012         (jn_test_data): Likewise.
11013         (y0_test_data): Likewise.
11014         (y1_test_data): Likewise.
11015         (yn_test_data): Likewise.
11017         [BZ #16171]
11018         * math/w_remainder.c (drem): Define as weak alias of __remainder.
11019         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
11020         * math/w_remainderf.c (dremf): Define as weak alias of
11021         __remainderf.
11022         * math/w_remainderl.c (dreml): Define as weak alias of
11023         __remainderl.
11024         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
11025         __remainder.
11026         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
11027         __remainderf.
11028         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
11029         __remainderl.
11030         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
11031         weak alias of remainderl.
11032         * sysdeps/ieee754/ldbl-opt/w_remainder.c
11033         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
11034         alias of __remainder.
11035         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
11036         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
11037         strong alias of __remainderl.
11038         (dreml): Use long_double_symbol.
11039         * math/Makefile (libm-calls): Remove w_drem.
11040         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
11041         (CFLAGS-nldbl-drem.c): Remove variable.
11042         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
11043         * math/w_drem.c: Remove file.
11044         * math/w_dremf.c: Likewise.
11045         * math/w_dreml.c: Likewise.
11046         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
11047         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
11048         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
11050         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
11051         * sysdeps/i386/configure: Regenerated.
11052         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
11053         * sysdeps/x86_64/configure: Regenerated.
11055         * configure.ac (libc_cv_asm_protected_directive): Remove configure
11056         test.
11057         (libc_cv_visibility_attribute): Likewise.
11058         (libc_cv_protected_data): Test unconditionally.
11059         (libc_cv_broken_visibility_attribute): Remove configure test.
11060         (libc_cv_have_sdata_section): Test unconditionally.
11061         * configure: Regenerated.
11063         * include/libc-internal.h (libc_max_align_t): Remove typedef.
11064         * include/scratch_buffer.h: Include <stddef.h> instead of
11065         <libc-internal.h>.
11066         (struct scratch_buffer): Use max_align_t instead of
11067         libc_max_align_t.
11069 2015-10-29  Florian Weimer  <fweimer@redhat.com>
11071         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
11072         instead of extend_alloca.  Change control flow to avoid a goto.
11073         Remove assert which is trivially always true.
11075 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11077         [BZ #16068]
11078         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
11079         (FE_ALL_EXCEPT_X86): New macro.
11080         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
11081         FE_ALL_EXCEPT.  Ensure precision control is included in
11082         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
11083         handle "denormal operand exception" and clear FZ and DAZ bits.
11084         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
11085         (FE_ALL_EXCEPT_X86): New macro.
11086         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
11087         FE_ALL_EXCEPT.  Ensure precision control is included in
11088         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
11089         handle "denormal operand exception" and clear FZ and DAZ bits.
11090         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
11091         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
11092         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11093         test-fenv-x87 and test-fenv-sse-2.
11094         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
11096         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
11097         * math/test-double.h (BUILD_COMPLEX): New macro.
11098         * math/test-float.h (BUILD_COMPLEX): Likewise.
11099         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
11101         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
11102         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
11103         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
11104         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
11105         instead of DBL_DENORM_MIN in comment.
11106         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
11107         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
11108         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
11109         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
11110         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
11111         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
11113 2015-10-28  Florian Weimer  <fweimer@redhat.com>
11115         [BZ# 19048]
11116         * malloc/malloc.c (struct malloc_state): Update comment.  Add
11117         attached_threads member.
11118         (main_arena): Initialize attached_threads.
11119         * malloc/arena.c (list_lock): Update comment.
11120         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
11121         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
11122         (deattach_arena): New function.
11123         (_int_new_arena): Initialize arena reference count and deattach
11124         replaced arena.
11125         (get_free_list, reused_arena): Update reference count and deattach
11126         replaced arena.
11127         (arena_thread_freeres): Update arena reference count and only put
11128         unreferenced arenas on the free list.
11130 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11132         [BZ #19181]
11133         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
11134         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
11135         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
11136         * math/test-fenv-clear-main.c: New file.
11137         * math/test-fenv-clear.c: Likewise.
11138         * math/Makefile (tests): Add test-fenv-clear.
11139         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
11140         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11141         test-fenv-clear-sse.
11142         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
11144         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
11145         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
11146         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
11148 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11150         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
11151         static libc.
11153 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11155         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
11156         test.
11157         * sysdeps/i386/configure: Regenerated.
11158         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
11159         test.
11160         * sysdeps/x86_64/configure: Regenerated.
11161         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
11162         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11163         memset-avx2 unconditionally instead of conditionally on
11164         [$(config-cflags-avx2) = yes].
11165         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11166         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
11167         unconditional.
11168         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
11169         * sysdeps/x86_64/multiarch/memset_chk.S
11170         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
11171         to [IS_IN (libc) && SHARED].
11173 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11175         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
11176         configure test.
11177         * sysdeps/arm/configure: Regenerated.
11178         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
11179         Define variable if not already defined.
11181         [BZ #17404]
11182         * sysdeps/mips/atomic-machine.h
11183         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
11184         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
11185         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
11187         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
11188         unconditional.
11189         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
11190         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11191         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
11192         unconditional.
11193         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11194         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
11195         unconditional.
11196         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11197         * stdlib/setenv.c
11198         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
11199         code unconditional.
11200         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
11201         Remove conditional code.
11202         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
11203         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
11204         unconditional.
11205         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11206         code.
11207         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
11208         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
11209         unconditional.
11210         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11211         code.
11212         * sysdeps/ieee754/ldbl-128/k_tanl.c
11213         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11214         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11215         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
11216         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11217         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11218         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
11219         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
11220         unconditional.
11221         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11222         code.
11223         * sysdeps/ieee754/ldbl-96/k_tanl.c
11224         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11225         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11227         * nptl/tst-initializers1-c11.c: New file.
11228         * nptl/tst-initializers1-gnu11.c: Likewise.
11229         * nptl/Makefile (tests): Add these new tests.
11230         (CFLAGS-tst-initializers1-c11.c): New variable.
11231         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
11233         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
11234         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
11235         instead of -std=gnu99.
11236         * configure.ac (systemtap): Test with -std=gnu11 instead of
11237         -std=gnu99.
11238         * configure: Regenerated.
11239         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
11240         in compilation command in comment.
11242         * sysdeps/nptl/configure.ac: Remove file.
11243         * sysdeps/nptl/configure: Remove generated file.
11244         * configure.ac (libc_cv_forced_unwind): Do not substitute.
11245         * configure: Regenerated.
11246         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
11247         * config.make.in (have-forced-unwind): Remove variable.
11248         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
11249         unconditional.
11250         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
11251         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
11252         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
11253         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
11254         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
11255         unconditional.
11257 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11259         [BZ #19174]
11260         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
11261         .skip_lock_out_of_tbegin_retries.
11262         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11263         (__lll_lock_elision): Likewise, and respect a value of
11264         try_tbegin <= 0.
11266 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11268         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
11269         statement.
11271 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11273         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
11274         variable.
11275         (test-xfail-ISO11/stdalign.h/conform): Likewise.
11276         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11278         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
11279         of -std=c1x -D_ISOC11_SOURCE.
11281         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
11282         * configure: Regenerated.
11283         * manual/install.texi (Tools for Compilation): Document
11284         requirement for GCC 4.7 or later.
11285         * INSTALL: Regenerated.
11287 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
11289         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
11290         on CNT to a conditional jump to 'puntdata'.
11292 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11294         * configure.ac (libc_cv_gcc___thread): Remove configure test.
11295         (libc_cv_gcc_tls_model_attr): Likewise.
11296         * configure: Regenerated.
11298         * configure.ac (libc_cv_need_minus_P): Remove configure test.
11299         * configure: Regenerated.
11300         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
11302 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
11304         * configure.ac (old_glibc_headers): Remove configure test.
11305         * configure: Regenerated.
11306         * config.make.in (old-glibc-headers): Remove variable.
11307         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
11308         (install): Remove dependency on remove-old-headers.
11309         (headers2_0): Remove variable.
11310         (remove-old-headers): Remove rule.
11312         * configure.ac (libc_cv_dot_text): Remove configure test.
11313         (libc_cv_asm_set_directive): Use .text instead of
11314         ${libc_cv_dot_text} in configure test.
11315         * configure: Regenerated.
11317 2015-10-26  Florian Weimer  <fweimer@redhat.com>
11319         [BZ #19168]
11320         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11322 2015-10-26  Florian Weimer  <fweimer@redhat.com>
11324         * configure.ac (CXX): Clear the variable if the C++ toolchain does
11325         not support static linking.
11326         * configure: Regenerate.
11328 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
11330         * math/libm-test.inc (check_float_internal): Do not special-case
11331         errors up to 0.5 ulp.
11333         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11334         log2.
11335         * math/auto-libm-test-out: Regenerated.
11336         * math/libm-test.inc (MAX_EXP): New macro.
11337         (ilogb_test_data): Add more tests.
11338         (isfinite_test_data): Likewise.
11339         (isgreater_test_data): Likewise.
11340         (isgreaterequal_test_data): Likewise.
11341         (isinf_test_data): Likewise.
11342         (isless_test_data): Likewise.
11343         (islessequal_test_data): Likewise.
11344         (islessgreater_test_data): Likewise.
11345         (isnan_test_data): Likewise.
11346         (isnormal_test_data): Likewise.
11347         (issignaling_test_data): Likewise.
11348         (isunordered_test_data): Likewise.
11349         (j0_test_data): Likewise.
11350         (j1_test_data): Likewise.
11351         (jn_test_data): Likewise.
11352         (lgamma_test_data): Likewise.
11353         (log_test_data): Likewise.
11354         (log10_test_data): Likewise.
11355         (log1p_test_data): Likewise.
11356         (log2_test_data): Likewise.
11357         (logb_test_data): Likewise.
11358         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11360         [BZ #18611]
11361         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
11362         avoid excess range and precision on underflow.
11363         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11364         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
11365         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11366         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
11367         underflow.
11368         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11369         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11370         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11371         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11372         * math/auto-libm-test-in: Do not allow missing errno setting for
11373         tests of j1 and jn.
11374         * math/auto-libm-test-out: Regenerated.
11376 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
11378         [BZ #15491]
11379         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
11380         floating-point environment instead of clearing all exceptions.
11381         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11382         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
11383         merging in "invalid" exceptions from frndint.
11384         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11385         * math/test-nearbyint-except.c: New file.
11386         * math/Makefile (tests): Add test-nearbyint-except.
11388 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
11390         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
11392         * sysdeps/tile/libm-test-ulps: Regenerated.
11394 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
11397         (__NR_sync_file_range2): Assume it is always defined.
11398         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
11399         (__NR_sync_file_range): Assume it is always defined.
11401 2015-10-22  Andreas Schwab  <schwab@suse.de>
11403         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
11404         INTERNAL_SYSCALL_ERRNO.
11405         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11406         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
11407         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11408         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
11409         Likewise.
11410         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11412 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11414         * io/tst-fcntl.c (fd): New static variable.
11415         (do_prepare): Open temporary file here....
11416         (do_test): ...not here.
11418         * io/ftwtest-sh: Also trap on exit to remove temporary files.
11420 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11422         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
11423         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11424         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11425         Moved before "#ifdef __ASSEMBLER__".
11427 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11429         [BZ #19156]
11430         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
11431         arguments very close to 0.
11433 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
11435         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
11436         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
11438 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11440         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11441         New.  Defined for GCC 5 and above when not compiling for
11442         profiling.
11443         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11445         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
11446         Renamed to ...
11447         (CFLAGS-epoll_pwait.o): This.
11448         (CFLAGS-mmap.c): Renamed to ...
11449         (CFLAGS-mmap.o): This.
11450         (CFLAGS-mmap64.c): Renamed to ...
11451         (CFLAGS-mmap64.o): This.
11452         (CFLAGS-epoll_pwait.os): New.
11453         (CFLAGS-mmap.os): Likewise.
11454         (CFLAGS-mmap64.os): Likewise.
11455         (CFLAGS-semtimedop.os): Likewise.
11456         (CFLAGS-semtimedop.c): Renamed to ...
11457         (CFLAGS-semtimedop.o): This.
11459 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11461         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
11462         warning message.
11464 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11466         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
11467         * Makefile ($(objpfx)c++-types-check.out): Filter out
11468         $(+gccwarn-c) instead of -Wstrict-prototypes.
11470         * io/fts.c (fts_open): Convert to prototype-style function
11471         definition.
11472         * malloc/mcheck.c (mcheck): Likewise.
11473         (mcheck_pedantic): Likewise.
11474         * posix/regexec.c (re_search_2_stub): Likewise.  Use
11475         internal_function.
11476         (re_search_internal): Likewise.
11477         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
11478         prototype-style function definition.
11479         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11480         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
11481         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
11482         (xdr_utmpptr): Likewise.
11483         (xdr_utmparr): Likewise.
11484         (xdr_utmpidle): Likewise.
11485         (xdr_utmpidleptr): Likewise.
11486         (xdr_utmpidlearr): Likewise.
11488         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
11489         log, log10 and log2.
11490         * math/auto-libm-test-out: Regenerated.
11491         * math/libm-test.inc (fmod_test_data): Add more tests.
11492         (fpclassify_test_data): Likewise.
11493         (frexp_test_data): Likewise.
11494         (hypot_test_data): Likewise.
11495         (ilogb_test_data): Likewise.
11497 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
11499         * debug/fortify_fail.c (__fortify_fail): Convert to
11500         prototype-style function definition.  Use internal_function.
11501         * libio/genops.c (save_for_backup): Convert to prototype-style
11502         function definition.
11503         * libio/wgenops.c (save_for_wbackup): Likewise.
11504         * login/grantpt.c (grantpt): Likewise.
11505         * login/ptsname.c (ptsname): Likewise.
11506         (__ptsname_r): Likewise.
11507         * login/unlockpt.c (unlockpt): Likewise.
11508         * mach/msgserver.c (__mach_msg_server): Likewise.
11509         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
11510         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
11511         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
11512         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
11513         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
11514         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
11515         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
11516         Likewise.
11517         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
11518         internal_function.
11519         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
11520         prototype-style function definition.
11521         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
11522         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
11523         (__pthread_create_2_0): Likewise.
11524         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
11525         * nptl/register-atfork.c (__register_atfork): Likewise.
11526         * posix/glob.c (glob): Likewise.
11527         * posix/regcomp.c (re_comp): Likewise.
11528         * posix/regexec.c (re_exec): Likewise.
11529         * stdlib/add_n.c [__STDC__]: Make code unconditional.
11530         [!__STDC__]: Remove conditional code.
11531         * stdlib/cmp.c [__STDC__]: Make code unconditional.
11532         [!__STDC__]: Remove conditional code.
11533         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
11534         [!__STDC__]: Remove conditional code.
11535         * stdlib/divrem.c [__STDC__]: Make code unconditional.
11536         [!__STDC__]: Remove conditional code.
11537         * stdlib/lshift.c [__STDC__]: Make code unconditional.
11538         [!__STDC__]: Remove conditional code.
11539         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
11540         [!__STDC__]: Remove conditional code.
11541         * stdlib/mul.c [__STDC__]: Make code unconditional.
11542         [!__STDC__]: Remove conditional code.
11543         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
11544         [!__STDC__]: Remove conditional code.
11545         * stdlib/rshift.c [__STDC__]: Make code unconditional.
11546         [!__STDC__]: Remove conditional code.
11547         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
11548         function definition.
11549         (STRTOF): Likewise.
11550         * stdlib/strtod_l.c (__STRTOF): Likewise.
11551         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
11552         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
11553         (__strtol_l): Likewise.
11554         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
11555         [!__STDC__]: Remove conditional code.
11556         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
11557         definition.
11558         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11559         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11560         type.
11561         (__strcasecmp): Convert to prototype-style function definition.
11562         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
11563         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11564         type.
11565         (__strncasecmp): Convert to prototype-style function definition.
11566         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
11567         * sunrpc/xdr.c (xdr_union): Likewise.
11568         * sunrpc/xdr_array.c (xdr_array): Likewise.
11569         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
11570         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
11571         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
11572         Likewise.
11573         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
11574         Likewise.
11575         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
11576         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11577         Likewise.
11578         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
11579         (LOCALE_PARAM_PROTO): Likewise.
11580         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
11581         argument type.
11582         (ut_argument_spec): Remove macro.
11583         (ut_argument_spec_iso): Rename to ut_argument_spec.
11584         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
11585         prototype-style function definition.
11586         (memcpy_uppcase): Likewise.
11587         (__strftime_internal): Likewise.
11588         (my_strftime): Likewise.
11589         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
11590         (LOCALE_PARAM_DECL): Likewise.
11591         [_LIBC] (LOCALE_PARAM): Include argument type.
11592         (__strptime_internal): Convert to prototype-style function
11593         definition.
11594         (strptime): Likewise.
11595         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11596         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11597         type.
11598         (__wcscasecmp): Convert to prototype-style function definition.
11599         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
11600         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11601         type.
11602         (__wcsncasecmp): Convert to prototype-style function definition.
11604         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
11605         function definition.
11606         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11607         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11608         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
11609         * elf/dl-minimal.c (_itoa): Likewise.
11610         * hurd/hurdmalloc.c (malloc): Likewise.
11611         (free): Likewise.
11612         (realloc): Likewise.
11613         * inet/inet6_option.c (inet6_option_space): Likewise.
11614         (inet6_option_init): Likewise.
11615         (inet6_option_append): Likewise.
11616         (inet6_option_alloc): Likewise.
11617         (inet6_option_next): Likewise.
11618         (inet6_option_find): Likewise.
11619         * io/ftw.c (FTW_NAME): Likewise.
11620         (NFTW_NAME): Likewise.
11621         (NFTW_NEW_NAME): Likewise.
11622         (NFTW_OLD_NAME): Likewise.
11623         * libio/iofwide.c (_IO_fwide): Likewise.
11624         * libio/strops.c (_IO_str_init_static_internal): Likewise.
11625         (_IO_str_init_static): Likewise.
11626         (_IO_str_init_readonly): Likewise.
11627         (_IO_str_overflow): Likewise.
11628         (_IO_str_underflow): Likewise.
11629         (_IO_str_count): Likewise.
11630         (_IO_str_seekoff): Likewise.
11631         (_IO_str_pbackfail): Likewise.
11632         (_IO_str_finish): Likewise.
11633         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
11634         (_IO_wstr_overflow): Likewise.
11635         (_IO_wstr_underflow): Likewise.
11636         (_IO_wstr_count): Likewise.
11637         (_IO_wstr_seekoff): Likewise.
11638         (_IO_wstr_pbackfail): Likewise.
11639         (_IO_wstr_finish): Likewise.
11640         * locale/programs/localedef.c (normalize_codeset): Likewise.
11641         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11642         (add_locales_to_archive): Likewise.
11643         (delete_locales_from_archive): Likewise.
11644         * malloc/malloc.c (__libc_mallinfo): Likewise.
11645         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
11646         * misc/tsearch.c (__tfind): Likewise.
11647         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
11648         * nptl/pthread_attr_getdetachstate.c
11649         (__pthread_attr_getdetachstate): Likewise.
11650         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
11651         Likewise.
11652         * nptl/pthread_attr_getinheritsched.c
11653         (__pthread_attr_getinheritsched): Likewise.
11654         * nptl/pthread_attr_getschedparam.c
11655         (__pthread_attr_getschedparam): Likewise.
11656         * nptl/pthread_attr_getschedpolicy.c
11657         (__pthread_attr_getschedpolicy): Likewise.
11658         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
11659         Likewise.
11660         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
11661         Likewise.
11662         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
11663         Likewise.
11664         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
11665         Likewise.
11666         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
11667         (__pthread_attr_init_2_0): Likewise.
11668         * nptl/pthread_attr_setdetachstate.c
11669         (__pthread_attr_setdetachstate): Likewise.
11670         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
11671         Likewise.
11672         * nptl/pthread_attr_setinheritsched.c
11673         (__pthread_attr_setinheritsched): Likewise.
11674         * nptl/pthread_attr_setschedparam.c
11675         (__pthread_attr_setschedparam): Likewise.
11676         * nptl/pthread_attr_setschedpolicy.c
11677         (__pthread_attr_setschedpolicy): Likewise.
11678         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
11679         Likewise.
11680         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
11681         Likewise.
11682         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
11683         Likewise.
11684         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
11685         Likewise.
11686         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
11687         Likewise.
11688         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
11689         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
11690         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
11691         use internal_function.
11692         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
11693         prototype-style function definition.
11694         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
11695         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
11696         internal_function.
11697         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
11698         Convert to prototype-style function definition.
11699         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
11700         Likewise.
11701         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
11702         Likewise.
11703         (__pthread_mutex_unlock): Likewise.
11704         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
11705         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
11706         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
11707         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
11708         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
11709         * nss/makedb.c (process_input): Likewise.
11710         * posix/fnmatch.c (__strchrnul): Likewise.
11711         (__wcschrnul): Likewise.
11712         (fnmatch): Likewise.
11713         * posix/fnmatch_loop.c (FCT): Likewise.
11714         * posix/glob.c (globfree): Likewise.
11715         (__glob_pattern_type): Likewise.
11716         (__glob_pattern_p): Likewise.
11717         * posix/regcomp.c (re_compile_pattern): Likewise.
11718         (re_set_syntax): Likewise.
11719         (re_compile_fastmap): Likewise.
11720         (regcomp): Likewise.
11721         (regerror): Likewise.
11722         (regfree): Likewise.
11723         * posix/regexec.c (regexec): Likewise.
11724         (re_match): Likewise.
11725         (re_search): Likewise.
11726         (re_match_2): Likewise.
11727         (re_search_2): Likewise.
11728         (re_search_stub): Likewise.  Use internal_function
11729         (re_copy_regs): Likewise.
11730         (re_set_registers): Convert to prototype-style function
11731         definition.
11732         (prune_impossible_nodes): Likewise.  Use internal_function.
11733         * resolv/inet_net_pton.c (inet_net_pton): Convert to
11734         prototype-style function definition.
11735         (inet_net_pton_ipv4): Likewise.
11736         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11737         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
11738         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
11739         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
11740         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11741         Make variadic.
11742         * time/strptime_l.c (localtime_r): Convert to prototype-style
11743         function definition.
11744         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11745         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11746         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11747         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11749         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
11750         definition.
11751         (_ufc_doit_r): Likewise.
11752         * crypt/crypt_util.c (_ufc_copymem): Likewise.
11753         (_ufc_output_conversion_r): Likewise.
11754         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
11755         * inet/rcmd.c (rcmd_af): Likewise.
11756         (rcmd): Likewise.
11757         (ruserok_af): Likewise.
11758         (ruserok): Likewise.
11759         (ruserok2_sa): Likewise.
11760         (ruserok_sa): Likewise.
11761         (iruserok_af): Likewise.
11762         (iruserok): Likewise.
11763         (__ivaliduser): Likewise.
11764         (__validuser2_sa): Likewise.
11765         * inet/rexec.c (rexec_af): Likewise.
11766         (rexec): Likewise.
11767         * inet/ruserpass.c (ruserpass): Likewise.
11768         * locale/programs/xmalloc.c (xcalloc): Likewise.
11769         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
11770         * math/w_drem.c (__drem): Likewise.
11771         * math/w_dremf.c (__dremf): Likewise.
11772         * math/w_dreml.c (__dreml): Likewise.
11773         * misc/daemon.c (daemon): Likewise.
11774         * resolv/res_debug.c (p_fqnname): Likewise.
11775         * stdlib/div.c (div): Likewise.
11776         * string/memcmp.c (memcmp_bytes): Likewise.
11777         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
11778         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
11780         * crypt/cert.c (main): Convert to prototype-style function
11781         definition.
11782         * io/pipe.c (__pipe): Likewise.
11783         * io/pipe2.c (__pipe2): Likewise.
11784         * misc/futimesat.c (futimesat): Likewise.
11785         * misc/utimes.c (__utimes): Likewise.
11786         * posix/execve.c (__execve): Likewise.
11787         * posix/execvp.c (execvp): Likewise.
11788         * posix/execvpe.c (__execvpe): Likewise.
11789         * posix/fexecve.c (fexecve): Likewise.
11790         * socket/socketpair.c (socketpair): Likewise.
11791         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11792         * stdlib/erand48.c (erand48): Likewise.
11793         * stdlib/erand48_r.c (__erand48_r): Likewise.
11794         * stdlib/jrand48.c (jrand48): Likewise.
11795         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
11796         * stdlib/lcong48.c (lcong48): Likewise.
11797         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
11798         * stdlib/nrand48.c (nrand48): Likewise.
11799         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
11800         * stdlib/seed48.c (seed48): Likewise.
11801         * stdlib/seed48_r.c (__seed48_r): Likewise.
11802         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
11803         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
11804         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
11806 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
11808         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
11809         * configure: Regenerated.
11810         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
11811         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
11812         unconditional.
11813         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11814         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11815         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11816         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
11817         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
11818         unconditional.
11819         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11821         * posix/Makefile (CFLAGS-regex.c): Remove variable.
11822         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
11824         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
11825         function definition.
11826         * crypt/crypt_util.c (__encrypt_r): Likewise.
11827         * libio/genops.c (_IO_no_init): Likewise.
11828         * libio/iofopncook.c (_IO_fopencookie): Likewise.
11829         (_IO_old_fopencookie): Likewise.
11830         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11831         * libio/iogetline.c (_IO_getline): Likewise.
11832         (_IO_getline_info): Likewise.
11833         * libio/iogetwline.c (_IO_getwline): Likewise.
11834         (_IO_getwline_info): Likewise.
11835         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
11836         * libio/vswprintf.c (_IO_vswprintf): Likewise.
11837         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
11838         (find_entry): Likewise.
11839         (iterate_table): Likewise.
11840         (lookup): Likewise.
11841         * login/forkpty.c (forkpty): Likewise.
11842         * misc/hsearch_r.c (__hsearch_r): Likewise.
11843         * misc/select.c (__select): Likewise.
11844         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
11845         Likewise.
11846         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
11847         Likewise.
11848         * nptl/old_pthread_cond_timedwait.c
11849         (__pthread_cond_timedwait_2_0): Likewise.
11850         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
11851         * nptl/pthread_barrierattr_getpshared.c
11852         (pthread_barrierattr_getpshared): Likewise.
11853         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
11854         Likewise.
11855         * nptl/pthread_mutex_setprioceiling.c
11856         (pthread_mutex_setprioceiling): Likewise.
11857         * nptl/pthread_mutexattr_getprioceiling.c
11858         (pthread_mutexattr_getprioceiling): Likewise.
11859         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
11860         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11861         Likewise.
11862         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11863         Likewise.
11864         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
11865         Likewise.
11866         * socket/recvfrom.c (__recvfrom): Likewise.
11867         * socket/sendto.c (__sendto): Likewise.
11868         * socket/setsockopt.c (__setsockopt): Likewise.
11869         * stdio-common/_itoa.c (_itoa): Likewise.
11870         * stdio-common/_itowa.c (_itowa): Likewise.
11871         * stdio-common/reg-printf.c (__register_printf_specifier):
11872         Likewise.
11873         (__register_printf_function): Likewise.
11874         * stdio-common/tempname.c (__path_search): Likewise.
11875         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
11876         * stdlib/mul_1.c (mpn_mul_1): Likewise.
11877         * stdlib/random_r.c (__initstate_r): Likewise.
11878         * stdlib/setenv.c (__add_to_environ): Likewise.
11879         * stdlib/submul_1.c (mpn_submul_1): Likewise.
11880         * streams/getpmsg.c (getpmsg): Likewise.
11881         * streams/putmsg.c (putmsg): Likewise.
11882         * streams/putpmsg.c (putpmsg): Likewise.
11883         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
11884         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
11885         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
11886         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
11887         * sunrpc/pm_getport.c (pmap_getport): Likewise.
11888         * sunrpc/svc_udp.c (cache_get): Likewise.
11889         * sunrpc/xdr_array.c (xdr_vector): Likewise.
11890         * sysdeps/mach/hurd/getcwd.c
11891         (__canonicalize_directory_name_internal): Likewise.
11892         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
11893         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
11894         * sysdeps/mach/hurd/select.c (__select): Likewise.
11895         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
11896         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
11897         * sysdeps/sparc/nptl/pthread_barrier_init.c
11898         (__pthread_barrier_init): Likewise.
11899         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
11900         (__pthread_cond_timedwait): Likewise.
11901         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
11902         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
11903         Likewise.
11904         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
11905         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
11906         Likewise.
11907         * sysvipc/semtimedop.c (semtimedop): Likewise.
11908         * time/setitimer.c (__setitimer): Likewise.
11909         * time/strftime_l.c (emacs_strftime): Likewise.
11911 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
11913         * config.make.in (have-ssp): Delete.
11914         (stack-protector): New variable.
11915         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
11916         cache test for -fstack-protector-strong.  Export stack_protector to
11917         the best ssp flag.
11918         * configure: Regenerated.
11919         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
11920         * nscd/Makefile (CFLAGS-nscd): Likewise.
11921         * resolv/Makefile (CFLAGS-libresolv): Likewise.
11923 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
11925         [BZ #19122]
11926         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
11927         attribute_hidden.
11929 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11931         [BZ #18743]
11932         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
11933         code to...
11934         (ELIDE_LOCK): ...here.
11935         (__get_new_count): New function with part of the code from
11936         __elide_lock that updates the value of adapt_count after a
11937         transaction abort.
11938         (__elided_trylock): Moved this code to...
11939         (ELIDE_TRYLOCK): ...here.
11941 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
11943         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
11944         * configure: Regenerate.
11945         * INSTALL: Regenerate.
11946         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
11947         and tweak grammar.
11949 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
11951         * login/programs/pt_chown.c: Include signal.h
11952         (main): Clear any signal mask from the parent process.
11954 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
11956         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
11957         * configure: Regenerated.
11958         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
11959         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
11960         $(gnu89-inline-CFLAGS).
11962         * configure.ac (libc_cv_asm_weak_directive): Remove configure
11963         test.
11964         (libc_cv_asm_weakext_directive): Likewise.
11965         * configure: Regenerated.
11966         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
11967         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
11968         * include/libc-symbols.h
11969         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
11970         #error.
11971         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
11972         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
11974         * sysdeps/arm/backtrace.c (__backtrace): Convert to
11975         prototype-style function definition.
11976         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
11977         * sysdeps/i386/ffs.c (__ffs): Likewise.
11978         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11979         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
11980         Likewise.
11981         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11982         Likewise.
11983         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
11984         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11985         Likewise.
11986         * sysdeps/m68k/ffs.c (__ffs): Likewise.
11987         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
11988         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
11989         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
11990         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
11991         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
11992         * sysdeps/mach/hurd/access.c (__access): Likewise.
11993         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
11994         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
11995         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
11996         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
11997         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
11998         (cthread_getspecific): Likewise.
11999         (cthread_setspecific): Likewise.
12000         (__libc_getspecific): Likewise.
12001         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
12002         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
12003         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
12004         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
12005         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
12006         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
12007         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
12008         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
12009         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
12010         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
12011         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
12012         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
12013         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
12014         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
12015         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
12016         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
12017         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
12018         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
12019         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
12020         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
12021         * sysdeps/mach/hurd/link.c (__link): Likewise.
12022         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
12023         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
12024         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
12025         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
12026         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
12027         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
12028         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
12029         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
12030         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
12031         * sysdeps/mach/hurd/rename.c (rename): Likewise.
12032         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
12033         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
12034         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
12035         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
12036         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
12037         * sysdeps/mach/hurd/send.c (__send): Likewise.
12038         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
12039         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
12040         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
12041         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
12042         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
12043         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
12044         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
12045         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
12046         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
12047         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
12048         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
12049         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
12050         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
12051         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
12052         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
12053         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
12054         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
12055         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
12056         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
12057         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
12058         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
12059         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
12060         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
12061         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
12062         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
12063         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
12064         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
12065         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
12066         * sysdeps/posix/alarm.c (alarm): Likewise.
12067         * sysdeps/posix/cuserid.c (cuserid): Likewise.
12068         * sysdeps/posix/dirfd.c (dirfd): Likewise.
12069         * sysdeps/posix/dup.c (__dup): Likewise.
12070         * sysdeps/posix/dup2.c (__dup2): Likewise.
12071         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
12072         (main): Likewise.
12073         * sysdeps/posix/flock.c (__flock): Likewise.
12074         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
12075         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
12076         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
12077         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
12078         * sysdeps/posix/isatty.c (__isatty): Likewise.
12079         * sysdeps/posix/killpg.c (killpg): Likewise.
12080         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
12081         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
12082         * sysdeps/posix/raise.c (raise): Likewise.
12083         * sysdeps/posix/remove.c (remove): Likewise.
12084         * sysdeps/posix/rename.c (rename): Likewise.
12085         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
12086         * sysdeps/posix/seekdir.c (seekdir): Likewise.
12087         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
12088         * sysdeps/posix/sigignore.c (sigignore): Likewise.
12089         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
12090         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
12091         * sysdeps/posix/sigset.c (sigset): Likewise.
12092         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
12093         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
12094         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
12095         * sysdeps/posix/time.c (time): Likewise.
12096         * sysdeps/posix/ttyname.c (getttyname): Likewise.
12097         (ttyname): Likewise.
12098         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
12099         * sysdeps/posix/utime.c (utime): Likewise.
12100         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
12101         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
12102         Likewise.
12103         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
12104         (pthread_spin_trylock): Likewise.
12105         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
12106         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
12107         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
12108         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
12109         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
12110         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
12111         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
12112         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
12113         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
12114         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
12115         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
12116         * sysdeps/s390/ffs.c (__ffs): Likewise.
12117         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
12118         Likewise.
12119         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12120         Likewise.
12121         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
12122         Likewise.
12123         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
12124         (pthread_barrier_destroy): Likewise.
12125         * sysdeps/sparc/nptl/pthread_barrier_wait.c
12126         (__pthread_barrier_wait): Likewise.
12127         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
12128         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
12129         (__pthread_barrier_wait): Likewise.
12130         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
12131         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
12132         (memcmp_not_common_alignment): Likewise.
12133         (MEMCMP): Likewise.
12134         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
12135         (_wordcopy_fwd_dest_aligned): Likewise.
12136         (_wordcopy_bwd_aligned): Likewise.
12137         (_wordcopy_bwd_dest_aligned): Likewise.
12138         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
12139         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
12140         * sysdeps/unix/bsd/stty.c (stty): Likewise.
12141         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
12142         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
12143         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
12144         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
12145         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
12146         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
12147         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
12148         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
12149         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
12150         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
12151         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
12152         * sysdeps/unix/stime.c (stime): Likewise.
12153         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
12154         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
12155         Likewise.  Use internal_function.
12156         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
12157         Convert to prototype-style function definition.
12158         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12159         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12160         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
12161         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12162         Likewise.  Use internal_function.
12163         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
12164         prototype-style function definition
12165         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12166         Likewise.
12167         (__getlogin_r): Likewise.
12168         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
12169         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
12170         (__pthread_cond_broadcast): Likewise.
12171         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
12172         (__pthread_cond_destroy): Likewise.
12173         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
12174         (__pthread_cond_init): Likewise.
12175         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
12176         (__pthread_cond_signal): Likewise.
12177         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
12178         (__pthread_cond_wait): Likewise.
12179         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
12180         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
12181         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
12182         Likewise.
12183         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
12184         Likewise.
12185         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
12186         Likewise.
12187         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
12188         Likewise.
12189         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
12190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
12191         (__ftruncate64): Likewise.
12192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
12193         (truncate64): Likewise.
12194         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
12195         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
12196         (pthread_getcpuclockid): Likewise.
12197         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
12198         Likewise.
12199         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
12200         Likewise.
12201         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
12202         Likewise.
12203         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
12204         Likewise.
12205         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
12206         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
12207         (__libc_sigaction): Likewise.
12208         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
12209         Likewise.
12210         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
12211         (__sigprocmask): Likewise.
12212         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
12213         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
12214         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
12215         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
12216         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12217         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
12218         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12219         Likewise.
12220         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
12221         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
12222         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12223         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
12224         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
12225         Likewise.
12226         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
12227         (__sigprocmask): Likewise.
12228         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
12229         (cfgetispeed): Likewise.
12230         (cfsetospeed): Likewise.
12231         (cfsetispeed): Likewise.
12232         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
12233         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
12234         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12235         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
12236         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
12237         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
12238         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
12239         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
12240         Likewise.
12241         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
12242         Likewise.
12243         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
12244         Likewise.
12245         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
12246         Likewise.
12247         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
12249 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12251         sunrpc: Rewrite with explicit TLS access using __thread.
12252         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
12253         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
12254         directly.
12255         (__rpc_thread_variables): Access thread_rpc_vars directly.
12256         Eliminate redundant assignment of the tvp variable.
12258 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12260         malloc: Rewrite with explicit TLS access using __thread.
12261         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
12262         (tsd_setspecific, tsd_getspecific): Remove.
12263         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
12264         (tsd_setspecific, tsd_getspecific): Likewise.
12265         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
12266         (tsd_setspecific, tsd_getspecific): Likewise.
12267         * malloc/arena.c (thread_arena): New TLS variable.
12268         (arena_key): Remove variable.
12269         (arena_get): Use thread_arena.
12270         (arena_lookup): Remove macro.
12271         (malloc_atfork, free_atfork, ptmalloc_lock_all)
12272         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
12273         (_int_new_arena, get_free_list, reused_arena)
12274         (arena_thread_freeres): Use thread_arena.
12275         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
12276         tsd_getspecific, tsd_setspecific from safety annotations.
12277         (Allocating Cleared Space): Remove arena_lookup from safety
12278         annotations.
12280 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12282         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
12283         struct scratch_buffer instead of extend_alloca.
12285 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12287         * sysdeps/unix/sysv/linux/kernel-features.h
12288         (__ASSUME_SOCK_CLOEXEC): Remove.
12289         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
12290         (__have_paccept): Remove unused macro.
12291         * include/unistd.h (__have_sock_cloexec): Remove declaration.
12292         * misc/syslog.c (openlog_internal): Remove fallback code for
12293         !__ASSUME_SOCK_CLOEXEC.
12294         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
12295         missing SOCK_CLOEXEC.
12296         * nscd/connections.c (have_sock_cloexec): Remove definition.
12297         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
12298         * nscd/nscd_helper.c (open_socket): Remove fallback code for
12299         !__ASSUME_SOCK_CLOEXEC.
12300         * resolv/res_send.c (__have_o_nonblock): Remove definition.
12301         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
12302         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
12303         definition.
12304         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
12305         code for !__ASSUME_SOCK_CLOEXEC.
12307 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12309         [BZ #18982]
12310         * manual/stdio.texi (Variable Arguments Output): Add portability
12311         note, explaining that vfprintf clobbers the va_list pointer.
12313 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
12315         * math/libm-test.inc (fabs_test_data): Add more tests.
12316         (fdim_test_data): Likewise.
12317         (fma_test_data): Likewise.
12318         (fmax_test_data): Likewise.
12319         (fmin_test_data): Likewise.
12320         (fmod_test_data): Likewise.
12322 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
12324         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
12325         data.
12327 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
12329         * math/libm-test.inc (ceil_test_data): Add more tests and more
12330         expectations for "inexact".
12331         (floor_test_data): Add more tests.
12332         (round_test_data): Likewise.
12333         (trunc_test_data): Likewise.
12335         * crypt/cert.c (good_bye): Convert to prototype-style function
12336         definition.
12337         (get8): Likewise.
12338         (put8): Likewise.
12339         * crypt/crypt-entry.c (crypt): Likewise.
12340         (__fcrypt): Likewise.
12341         * crypt/crypt_util.c (_ufc_prbits): Likewise.
12342         (_ufc_set_bits): Likewise.
12343         (_ufc_clearmem): Likewise.
12344         (__init_des_r): Likewise.
12345         (shuffle_sb): Likewise.
12346         (shuffle_sb): Likewise.
12347         (_ufc_setup_salt_r): Likewise.
12348         (_ufc_mk_keytab_r): Likewise.
12349         (_ufc_dofinalperm_r): Likewise.
12350         (encrypt): Likewise.
12351         (__setkey_r): Likewise.
12352         (setkey): Likewise.
12353         * crypt/md5.c (md5_init_ctx): Likewise.
12354         (md5_read_ctx): Likewise.
12355         (md5_finish_ctx): Likewise.
12356         (md5_stream): Likewise.
12357         (md5_buffer): Likewise.
12358         (md5_process_bytes): Likewise.
12359         * crypt/sha256.c (__sha256_init_ctx): Likewise.
12360         (__sha256_finish_ctx): Likewise.
12361         (__sha256_process_bytes): Likewise.
12362         * crypt/sha512.c (__sha512_init_ctx): Likewise.
12363         (__sha512_finish_ctx): Likewise.
12364         (__sha512_process_bytes): Likewise.
12365         * ctype/isctype.c (__isctype): Likewise.
12366         * debug/backtrace.c (__backtrace): Likewise.
12367         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
12368         * debug/fgets_chk.c (__fgets_chk): Likewise.
12369         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
12370         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
12371         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12372         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12373         * debug/memset_chk.c (__memset_chk): Likewise.
12374         * debug/strcat_chk.c (__strcat_chk): Likewise.
12375         * debug/strncat_chk.c (__strncat_chk): Likewise.
12376         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
12377         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
12378         * dirent/dirfd.c (dirfd): Likewise.
12379         * dirent/getdents.c (__getdirentries): Likewise.
12380         * dirent/getdents64.c (getdirentries64): Likewise.
12381         * dirent/rewinddir.c (__rewinddir): Likewise.
12382         * dirent/seekdir.c (seekdir): Likewise.
12383         * dirent/telldir.c (telldir): Likewise.
12384         * elf/sln.c (makesymlinks): Likewise.
12385         (makesymlink): Likewise.
12386         * gmon/gmon.c (__moncontrol): Likewise.
12387         (__monstartup): Likewise.
12388         (write_hist): Likewise.
12389         (write_call_graph): Likewise.
12390         (write_bb_counts): Likewise.
12391         * grp/setgroups.c (setgroups): Likewise.
12392         * inet/inet_lnaof.c (inet_lnaof): Likewise.
12393         * inet/inet_net.c (inet_network): Likewise.
12394         * inet/inet_netof.c (inet_netof): Likewise.
12395         * inet/rcmd.c (rresvport_af): Likewise.
12396         (rresvport): Likewise.
12397         * io/access.c (__access): Likewise.
12398         * io/chdir.c (__chdir): Likewise.
12399         * io/chmod.c (__chmod): Likewise.
12400         * io/chown.c (__chown): Likewise.
12401         * io/close.c (__close): Likewise.
12402         * io/creat.c (creat): Likewise.
12403         * io/creat64.c (creat64): Likewise.
12404         * io/dup.c (__dup): Likewise.
12405         * io/dup2.c (__dup2): Likewise.
12406         * io/dup3.c (__dup3): Likewise.
12407         * io/euidaccess.c (__euidaccess): Likewise.
12408         * io/faccessat.c (faccessat): Likewise.
12409         * io/fchmod.c (__fchmod): Likewise.
12410         * io/fchmodat.c (fchmodat): Likewise.
12411         * io/fchown.c (__fchown): Likewise.
12412         * io/fchownat.c (fchownat): Likewise.
12413         * io/fcntl.c (__fcntl): Likewise.
12414         * io/flock.c (__flock): Likewise.
12415         * io/fts.c (fts_load): Likewise.
12416         (fts_close): Likewise.
12417         (fts_read): Likewise.
12418         (fts_set): Likewise.
12419         (fts_children): Likewise.
12420         (fts_build): Likewise.
12421         (fts_stat): Likewise.
12422         (fts_sort): Likewise.
12423         (fts_alloc): Likewise.
12424         (fts_lfree): Likewise.
12425         (fts_palloc): Likewise.
12426         (fts_padjust): Likewise.
12427         (fts_maxarglen): Likewise.
12428         (fts_safe_changedir): Likewise.
12429         * io/getwd.c (getwd): Likewise.
12430         * io/isatty.c (__isatty): Likewise.
12431         * io/lchown.c (__lchown): Likewise.
12432         * io/link.c (__link): Likewise.
12433         * io/linkat.c (linkat): Likewise.
12434         * io/lseek.c (__libc_lseek): Likewise.
12435         * io/mkdir.c (__mkdir): Likewise.
12436         * io/mkdirat.c (mkdirat): Likewise.
12437         * io/mkfifo.c (mkfifo): Likewise.
12438         * io/mkfifoat.c (mkfifoat): Likewise.
12439         * io/open.c (__libc_open): Likewise.
12440         * io/open64.c (__libc_open64): Likewise.
12441         * io/readlink.c (__readlink): Likewise.
12442         * io/readlinkat.c (readlinkat): Likewise.
12443         * io/rmdir.c (__rmdir): Likewise.
12444         * io/symlink.c (__symlink): Likewise.
12445         * io/symlinkat.c (symlinkat): Likewise.
12446         * io/ttyname.c (ttyname): Likewise.
12447         * io/ttyname_r.c (__ttyname_r): Likewise.
12448         * io/umask.c (__umask): Likewise.
12449         * io/unlink.c (__unlink): Likewise.
12450         * io/unlinkat.c (unlinkat): Likewise.
12451         * io/utime.c (utime): Likewise.
12452         * libio/clearerr.c (clearerr): Likewise.
12453         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
12454         * libio/feof.c (_IO_feof): Likewise.
12455         * libio/feof_u.c (feof_unlocked): Likewise.
12456         * libio/ferror.c (_IO_ferror): Likewise.
12457         * libio/ferror_u.c (ferror_unlocked): Likewise.
12458         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12459         * libio/fileno.c (__fileno): Likewise.
12460         * libio/fputc.c (fputc): Likewise.
12461         * libio/fputc_u.c (fputc_unlocked): Likewise.
12462         * libio/fputwc.c (fputwc): Likewise.
12463         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
12464         * libio/freopen.c (freopen): Likewise.
12465         * libio/freopen64.c (freopen64): Likewise.
12466         * libio/fseek.c (fseek): Likewise.
12467         * libio/fseeko.c (fseeko): Likewise.
12468         * libio/fseeko64.c (fseeko64): Likewise.
12469         * libio/ftello.c (__ftello): Likewise.
12470         * libio/ftello64.c (ftello64): Likewise.
12471         * libio/fwide.c (fwide): Likewise.
12472         * libio/genops.c (_IO_un_link): Likewise.
12473         (_IO_link_in): Likewise.
12474         (_IO_least_marker): Likewise.
12475         (_IO_switch_to_main_get_area): Likewise.
12476         (_IO_switch_to_backup_area): Likewise.
12477         (_IO_switch_to_get_mode): Likewise.
12478         (_IO_free_backup_area): Likewise.
12479         (_IO_switch_to_put_mode): Likewise.
12480         (__overflow): Likewise.
12481         (__underflow): Likewise.
12482         (__uflow): Likewise.
12483         (_IO_setb): Likewise.
12484         (_IO_doallocbuf): Likewise.
12485         (_IO_default_underflow): Likewise.
12486         (_IO_default_uflow): Likewise.
12487         (_IO_default_xsputn): Likewise.
12488         (_IO_sgetn): Likewise.
12489         (_IO_default_xsgetn): Likewise.
12490         (_IO_sync): Likewise.
12491         (_IO_default_setbuf): Likewise.
12492         (_IO_default_seekpos): Likewise.
12493         (_IO_default_doallocate): Likewise.
12494         (_IO_init): Likewise.
12495         (_IO_old_init): Likewise.
12496         (_IO_default_sync): Likewise.
12497         (_IO_default_finish): Likewise.
12498         (_IO_default_seekoff): Likewise.
12499         (_IO_sputbackc): Likewise.
12500         (_IO_sungetc): Likewise.
12501         (_IO_set_column): Likewise.
12502         (_IO_set_column): Likewise.
12503         (_IO_adjust_column): Likewise.
12504         (_IO_get_column): Likewise.
12505         (_IO_init_marker): Likewise.
12506         (_IO_remove_marker): Likewise.
12507         (_IO_marker_difference): Likewise.
12508         (_IO_marker_delta): Likewise.
12509         (_IO_seekmark): Likewise.
12510         (_IO_unsave_markers): Likewise.
12511         (_IO_nobackup_pbackfail): Likewise.
12512         (_IO_default_pbackfail): Likewise.
12513         (_IO_default_seek): Likewise.
12514         (_IO_default_stat): Likewise.
12515         (_IO_default_read): Likewise.
12516         (_IO_default_write): Likewise.
12517         (_IO_default_showmanyc): Likewise.
12518         (_IO_default_imbue): Likewise.
12519         (_IO_iter_next): Likewise.
12520         (_IO_iter_file): Likewise.
12521         * libio/getc.c (_IO_getc): Likewise.
12522         * libio/getwc.c (_IO_getwc): Likewise.
12523         * libio/iofclose.c (_IO_new_fclose): Likewise.
12524         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12525         * libio/iofflush.c (_IO_fflush): Likewise.
12526         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
12527         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
12528         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
12529         * libio/iofgets.c (_IO_fgets): Likewise.
12530         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
12531         * libio/iofgetws.c (fgetws): Likewise.
12532         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12533         * libio/iofopen64.c (_IO_fopen64): Likewise.
12534         * libio/iofopncook.c (_IO_cookie_read): Likewise.
12535         (_IO_cookie_write): Likewise.
12536         (_IO_cookie_seek): Likewise.
12537         (_IO_cookie_close): Likewise.
12538         (_IO_cookie_seekoff): Likewise.
12539         (_IO_old_cookie_seek): Likewise.
12540         * libio/iofputs.c (_IO_fputs): Likewise.
12541         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
12542         * libio/iofputws.c (fputws): Likewise.
12543         * libio/iofputws_u.c (fputws_unlocked): Likewise.
12544         * libio/iofread.c (_IO_fread): Likewise.
12545         * libio/iofread_u.c (__fread_unlocked): Likewise.
12546         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
12547         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
12548         * libio/ioftell.c (_IO_ftell): Likewise.
12549         * libio/iofwrite.c (_IO_fwrite): Likewise.
12550         * libio/iogetdelim.c (_IO_getdelim): Likewise.
12551         * libio/iogets.c (_IO_gets): Likewise.
12552         * libio/iopadn.c (_IO_padn): Likewise.
12553         * libio/iopopen.c (_IO_new_proc_open): Likewise.
12554         (_IO_new_popen): Likewise.
12555         (_IO_new_proc_close): Likewise.
12556         * libio/ioputs.c (_IO_puts): Likewise.
12557         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
12558         (_IO_seekoff): Likewise.
12559         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
12560         (_IO_seekpos): Likewise.
12561         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
12562         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
12563         * libio/ioungetc.c (_IO_ungetc): Likewise.
12564         * libio/ioungetwc.c (ungetwc): Likewise.
12565         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12566         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
12567         * libio/iowpadn.c (_IO_wpadn): Likewise.
12568         * libio/libc_fatal.c (__libc_fatal): Likewise.
12569         * libio/memstream.c (__open_memstream): Likewise.
12570         (_IO_mem_sync): Likewise.
12571         (_IO_mem_finish): Likewise.
12572         * libio/oldfileops.c (_IO_old_file_init): Likewise.
12573         (_IO_old_file_close_it): Likewise.
12574         (_IO_old_file_finish): Likewise.
12575         (_IO_old_file_fopen): Likewise.
12576         (_IO_old_file_attach): Likewise.
12577         (_IO_old_file_setbuf): Likewise.
12578         (_IO_old_do_write): Likewise.
12579         (old_do_write): Likewise.
12580         (_IO_old_file_underflow): Likewise.
12581         (_IO_old_file_overflow): Likewise.
12582         (_IO_old_file_sync): Likewise.
12583         (_IO_old_file_seekoff): Likewise.
12584         (_IO_old_file_write): Likewise.
12585         (_IO_old_file_xsputn): Likewise.
12586         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
12587         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12588         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
12589         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
12590         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12591         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
12592         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
12593         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
12594         (_IO_old_popen): Likewise.
12595         (_IO_old_proc_close): Likewise.
12596         * libio/oldpclose.c (__old_pclose): Likewise.
12597         * libio/pclose.c (__new_pclose): Likewise.
12598         * libio/peekc.c (_IO_peekc_locked): Likewise.
12599         * libio/putc.c (_IO_putc): Likewise.
12600         * libio/putc_u.c (putc_unlocked): Likewise.
12601         * libio/putchar.c (putchar): Likewise.
12602         * libio/putchar_u.c (putchar_unlocked): Likewise.
12603         * libio/putwc.c (putwc): Likewise.
12604         * libio/putwc_u.c (putwc_unlocked): Likewise.
12605         * libio/putwchar.c (putwchar): Likewise.
12606         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
12607         * libio/rewind.c (rewind): Likewise.
12608         * libio/setbuf.c (setbuf): Likewise.
12609         * libio/setlinebuf.c (setlinebuf): Likewise.
12610         * libio/vasprintf.c (_IO_vasprintf): Likewise.
12611         * libio/vscanf.c (_IO_vscanf): Likewise.
12612         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
12613         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
12614         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
12615         * libio/wgenops.c (_IO_least_wmarker): Likewise.
12616         (_IO_switch_to_main_wget_area): Likewise.
12617         (_IO_switch_to_wbackup_area): Likewise.
12618         (_IO_wsetb): Likewise.
12619         (_IO_wdefault_pbackfail): Likewise.
12620         (_IO_wdefault_finish): Likewise.
12621         (_IO_wdefault_uflow): Likewise.
12622         (__woverflow): Likewise.
12623         (__wuflow): Likewise.
12624         (__wunderflow): Likewise.
12625         (_IO_wdefault_xsputn): Likewise.
12626         (_IO_wdefault_xsgetn): Likewise.
12627         (_IO_wdoallocbuf): Likewise.
12628         (_IO_wdefault_doallocate): Likewise.
12629         (_IO_switch_to_wget_mode): Likewise.
12630         (_IO_free_wbackup_area): Likewise.
12631         (_IO_switch_to_wput_mode): Likewise.
12632         (_IO_sputbackwc): Likewise.
12633         (_IO_sungetwc): Likewise.
12634         (_IO_adjust_wcolumn): Likewise.
12635         (_IO_init_wmarker): Likewise.
12636         (_IO_wmarker_delta): Likewise.
12637         (_IO_seekwmark): Likewise.
12638         (_IO_unsave_wmarkers): Likewise.
12639         * libio/wmemstream.c (open_wmemstream): Likewise.
12640         (_IO_wmem_sync): Likewise.
12641         (_IO_wmem_finish): Likewise.
12642         * locale/nl_langinfo.c (nl_langinfo): Likewise.
12643         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
12644         * locale/programs/simple-hash.c (init_hash): Likewise.
12645         (delete_hash): Likewise.
12646         (insert_entry): Likewise.
12647         (set_entry): Likewise.
12648         (next_prime): Likewise.
12649         (is_prime): Likewise.
12650         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
12651         (xmalloc): Likewise.
12652         (xrealloc): Likewise.
12653         * locale/programs/xstrdup.c (xstrdup): Likewise.
12654         * localedata/collate-test.c (xstrcoll): Likewise.
12655         * localedata/xfrm-test.c (xstrcmp): Likewise.
12656         * login/getlogin_r.c (__getlogin_r): Likewise.
12657         * login/getpt.c (__posix_openpt): Likewise.
12658         * login/login_tty.c (login_tty): Likewise.
12659         * login/setlogin.c (setlogin): Likewise.
12660         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
12661         (mach_msg_destroy_port): Likewise.
12662         (mach_msg_destroy_memory): Likewise.
12663         * malloc/mcheck.c (flood): Likewise.
12664         * misc/acct.c (acct): Likewise.
12665         * misc/brk.c (__brk): Likewise.
12666         * misc/chflags.c (chflags): Likewise.
12667         * misc/chroot.c (chroot): Likewise.
12668         * misc/fchflags.c (fchflags): Likewise.
12669         * misc/fstab.c (getfsspec): Likewise.
12670         (getfsfile): Likewise.
12671         * misc/fsync.c (fsync): Likewise.
12672         * misc/ftruncate.c (__ftruncate): Likewise.
12673         * misc/ftruncate64.c (__ftruncate64): Likewise.
12674         * misc/getdomain.c (getdomainname): Likewise.
12675         (getdomainname): Likewise.
12676         * misc/gethostname.c (__gethostname): Likewise.
12677         * misc/getpass.c (getpass): Likewise.
12678         * misc/getttyent.c (skip): Likewise.
12679         (value): Likewise.
12680         * misc/gtty.c (gtty): Likewise.
12681         * misc/hsearch.c (hsearch): Likewise.
12682         (hcreate): Likewise.
12683         * misc/hsearch_r.c (__hcreate_r): Likewise.
12684         (__hdestroy_r): Likewise.
12685         * misc/ioctl.c (__ioctl): Likewise.
12686         * misc/mkdtemp.c (mkdtemp): Likewise.
12687         * misc/mkostemp.c (mkostemp): Likewise.
12688         * misc/mkostemp64.c (mkostemp64): Likewise.
12689         * misc/mkostemps.c (mkostemps): Likewise.
12690         * misc/mkostemps64.c (mkostemps64): Likewise.
12691         * misc/mkstemp.c (mkstemp): Likewise.
12692         * misc/mkstemp64.c (mkstemp64): Likewise.
12693         * misc/mkstemps.c (mkstemps): Likewise.
12694         * misc/mkstemps64.c (mkstemps64): Likewise.
12695         * misc/mktemp.c (__mktemp): Likewise.
12696         * misc/preadv.c (preadv): Likewise.
12697         * misc/preadv64.c (preadv64): Likewise.
12698         * misc/pwritev.c (pwritev): Likewise.
12699         * misc/pwritev64.c (pwritev64): Likewise.
12700         * misc/readv.c (__readv): Likewise.
12701         * misc/revoke.c (revoke): Likewise.
12702         * misc/setdomain.c (setdomainname): Likewise.
12703         * misc/setegid.c (setegid): Likewise.
12704         * misc/seteuid.c (seteuid): Likewise.
12705         * misc/sethostid.c (sethostid): Likewise.
12706         * misc/sethostname.c (sethostname): Likewise.
12707         * misc/setregid.c (__setregid): Likewise.
12708         * misc/setreuid.c (__setreuid): Likewise.
12709         * misc/sstk.c (sstk): Likewise.
12710         * misc/stty.c (stty): Likewise.
12711         * misc/syscall.c (syscall): Likewise.
12712         * misc/syslog.c (setlogmask): Likewise.
12713         * misc/truncate.c (__truncate): Likewise.
12714         * misc/truncate64.c (truncate64): Likewise.
12715         * misc/ualarm.c (ualarm): Likewise.
12716         * misc/usleep.c (usleep): Likewise.
12717         * misc/ustat.c (ustat): Likewise.
12718         * misc/writev.c (__writev): Likewise.
12719         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
12720         * nptl/old_pthread_cond_broadcast.c
12721         (__pthread_cond_broadcast_2_0): Likewise.
12722         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
12723         Likewise.
12724         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
12725         Likewise.
12726         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
12727         Likewise.
12728         * nptl/pt-raise.c (raise): Likewise.
12729         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
12730         Likewise.
12731         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
12732         * nptl/pthread_barrierattr_destroy.c
12733         (pthread_barrierattr_destroy): Likewise.
12734         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
12735         Likewise.
12736         * nptl/pthread_barrierattr_setpshared.c
12737         (pthread_barrierattr_setpshared): Likewise.
12738         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12739         Likewise.
12740         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
12741         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
12742         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
12743         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
12744         Likewise.
12745         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
12746         Likewise.
12747         * nptl/pthread_condattr_getpshared.c
12748         (pthread_condattr_getpshared): Likewise.
12749         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
12750         Likewise.
12751         * nptl/pthread_condattr_setpshared.c
12752         (pthread_condattr_setpshared): Likewise.
12753         * nptl/pthread_detach.c (pthread_detach): Likewise.
12754         * nptl/pthread_equal.c (__pthread_equal): Likewise.
12755         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
12756         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
12757         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
12758         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
12759         Likewise.
12760         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
12761         Likewise.
12762         * nptl/pthread_mutex_getprioceiling.c
12763         (pthread_mutex_getprioceiling): Likewise.
12764         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
12765         Likewise.
12766         * nptl/pthread_mutexattr_getprotocol.c
12767         (pthread_mutexattr_getprotocol): Likewise.
12768         * nptl/pthread_mutexattr_getpshared.c
12769         (pthread_mutexattr_getpshared): Likewise.
12770         * nptl/pthread_mutexattr_getrobust.c
12771         (pthread_mutexattr_getrobust): Likewise.
12772         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
12773         Likewise.
12774         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
12775         Likewise.
12776         * nptl/pthread_mutexattr_setprioceiling.c
12777         (pthread_mutexattr_setprioceiling): Likewise.
12778         * nptl/pthread_mutexattr_setprotocol.c
12779         (pthread_mutexattr_setprotocol): Likewise.
12780         * nptl/pthread_mutexattr_setpshared.c
12781         (pthread_mutexattr_setpshared): Likewise.
12782         * nptl/pthread_mutexattr_setrobust.c
12783         (pthread_mutexattr_setrobust): Likewise.
12784         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
12785         Likewise.
12786         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
12787         Likewise.
12788         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
12789         Likewise.
12790         * nptl/pthread_rwlockattr_getkind_np.c
12791         (pthread_rwlockattr_getkind_np): Likewise.
12792         * nptl/pthread_rwlockattr_getpshared.c
12793         (pthread_rwlockattr_getpshared): Likewise.
12794         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
12795         Likewise.
12796         * nptl/pthread_rwlockattr_setkind_np.c
12797         (pthread_rwlockattr_setkind_np): Likewise.
12798         * nptl/pthread_rwlockattr_setpshared.c
12799         (pthread_rwlockattr_setpshared): Likewise.
12800         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
12801         Likewise.
12802         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
12803         Likewise.
12804         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
12805         Likewise.
12806         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
12807         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
12808         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
12809         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
12810         * nptl/sem_close.c (sem_close): Likewise.
12811         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
12812         * nptl/sem_init.c (__old_sem_init): Likewise.
12813         * nptl/sigaction.c (__sigaction): Likewise.
12814         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
12815         * posix/_exit.c (_exit): Likewise.
12816         * posix/alarm.c (alarm): Likewise.
12817         * posix/confstr.c (confstr): Likewise.
12818         * posix/fpathconf.c (__fpathconf): Likewise.
12819         * posix/getgroups.c (__getgroups): Likewise.
12820         * posix/getpgid.c (__getpgid): Likewise.
12821         * posix/group_member.c (__group_member): Likewise.
12822         * posix/pathconf.c (__pathconf): Likewise.
12823         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
12824         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
12825         * posix/setgid.c (__setgid): Likewise.
12826         * posix/setpgid.c (__setpgid): Likewise.
12827         * posix/setuid.c (__setuid): Likewise.
12828         * posix/sleep.c (__sleep): Likewise.
12829         * posix/sysconf.c (__sysconf): Likewise.
12830         * posix/times.c (__times): Likewise.
12831         * posix/uname.c (__uname): Likewise.
12832         * posix/waitid.c (__waitid): Likewise.
12833         * pwd/getpw.c (__getpw): Likewise.
12834         * resolv/base64.c (b64_pton): Likewise.
12835         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
12836         * resolv/gethnamaddr.c (Dprintf): Likewise.
12837         (gethostbyname): Likewise.
12838         (gethostbyname2): Likewise.
12839         (gethostbyaddr): Likewise.
12840         (_sethtent): Likewise.
12841         (_gethtbyname): Likewise.
12842         (_gethtbyname2): Likewise.
12843         (_gethtbyaddr): Likewise.
12844         (map_v4v6_address): Likewise.
12845         (map_v4v6_hostent): Likewise.
12846         (addrsort): Likewise.
12847         (ht_sethostent): Likewise.
12848         (ht_gethostbyname): Likewise.
12849         (ht_gethostbyaddr): Likewise.
12850         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
12851         (inet_net_ntop_ipv4): Likewise.
12852         * resolv/inet_neta.c (inet_neta): Likewise.
12853         * resolv/inet_ntop.c (inet_ntop): Likewise.
12854         (inet_ntop4): Likewise.
12855         (inet_ntop6): Likewise.
12856         * resolv/inet_pton.c (__inet_pton): Likewise.
12857         (inet_pton4): Likewise.
12858         (inet_pton6): Likewise.
12859         * resolv/res_debug.c (loc_aton): Likewise.
12860         (loc_ntoa): Likewise.
12861         * resource/getpriority.c (__getpriority): Likewise.
12862         * resource/getrusage.c (__getrusage): Likewise.
12863         * resource/nice.c (nice): Likewise.
12864         * resource/setpriority.c (__setpriority): Likewise.
12865         * resource/setrlimit64.c (setrlimit64): Likewise.
12866         * resource/vlimit.c (vlimit): Likewise.
12867         * resource/vtimes.c (vtimes): Likewise.
12868         * rt/aio_error.c (aio_error): Likewise.
12869         * rt/aio_return.c (aio_return): Likewise.
12870         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
12871         * signal/kill.c (__kill): Likewise.
12872         * signal/killpg.c (killpg): Likewise.
12873         * signal/raise.c (raise): Likewise.
12874         * signal/sigaction.c (__sigaction): Likewise.
12875         * signal/sigaddset.c (sigaddset): Likewise.
12876         * signal/sigaltstack.c (sigaltstack): Likewise.
12877         * signal/sigandset.c (sigandset): Likewise.
12878         * signal/sigblock.c (__sigblock): Likewise.
12879         * signal/sigdelset.c (sigdelset): Likewise.
12880         * signal/sigempty.c (sigemptyset): Likewise.
12881         * signal/sigfillset.c (sigfillset): Likewise.
12882         * signal/sighold.c (sighold): Likewise.
12883         * signal/sigignore.c (sigignore): Likewise.
12884         * signal/sigintr.c (siginterrupt): Likewise.
12885         * signal/sigisempty.c (sigisemptyset): Likewise.
12886         * signal/sigismem.c (sigismember): Likewise.
12887         * signal/signal.c (signal): Likewise.
12888         * signal/sigorset.c (sigorset): Likewise.
12889         * signal/sigpause.c (__sigpause): Likewise.
12890         * signal/sigpending.c (sigpending): Likewise.
12891         * signal/sigprocmask.c (__sigprocmask): Likewise.
12892         * signal/sigrelse.c (sigrelse): Likewise.
12893         * signal/sigreturn.c (__sigreturn): Likewise.
12894         * signal/sigset.c (sigset): Likewise.
12895         * signal/sigsetmask.c (__sigsetmask): Likewise.
12896         * signal/sigstack.c (sigstack): Likewise.
12897         * signal/sigsuspend.c (__sigsuspend): Likewise.
12898         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
12899         * signal/sysv_signal.c (__sysv_signal): Likewise.
12900         * socket/accept.c (accept): Likewise.
12901         * socket/accept4.c (__libc_accept4): Likewise.
12902         * socket/bind.c (__bind): Likewise.
12903         * socket/connect.c (__connect): Likewise.
12904         * socket/getpeername.c (getpeername): Likewise.
12905         * socket/getsockname.c (__getsockname): Likewise.
12906         * socket/getsockopt.c (getsockopt): Likewise.
12907         * socket/listen.c (__listen): Likewise.
12908         * socket/recv.c (__recv): Likewise.
12909         * socket/recvmsg.c (__recvmsg): Likewise.
12910         * socket/send.c (__send): Likewise.
12911         * socket/sendmsg.c (__sendmsg): Likewise.
12912         * socket/shutdown.c (shutdown): Likewise.
12913         * socket/sockatmark.c (sockatmark): Likewise.
12914         * socket/socket.c (__socket): Likewise.
12915         * stdio-common/ctermid.c (ctermid): Likewise.
12916         * stdio-common/cuserid.c (cuserid): Likewise.
12917         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
12918         * stdio-common/remove.c (remove): Likewise.
12919         * stdio-common/rename.c (rename): Likewise.
12920         * stdio-common/renameat.c (renameat): Likewise.
12921         * stdio-common/tempname.c (__gen_tempname): Likewise.
12922         * stdio-common/xbug.c (InitBuffer): Likewise.
12923         (AppendToBuffer): Likewise.
12924         (ReadFile): Likewise.
12925         * stdlib/a64l.c (a64l): Likewise.
12926         * stdlib/drand48_r.c (drand48_r): Likewise.
12927         * stdlib/getcontext.c (getcontext): Likewise.
12928         * stdlib/getenv.c (getenv): Likewise.
12929         * stdlib/l64a.c (l64a): Likewise.
12930         * stdlib/llabs.c (llabs): Likewise.
12931         * stdlib/lldiv.c (lldiv): Likewise.
12932         * stdlib/lrand48_r.c (lrand48_r): Likewise.
12933         * stdlib/mrand48_r.c (mrand48_r): Likewise.
12934         * stdlib/putenv.c (putenv): Likewise.
12935         * stdlib/random.c (__srandom): Likewise.
12936         (__initstate): Likewise.
12937         (__setstate): Likewise.
12938         * stdlib/random_r.c (__srandom_r): Likewise.
12939         (__setstate_r): Likewise.
12940         (__random_r): Likewise.
12941         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
12942         * stdlib/setcontext.c (setcontext): Likewise.
12943         * stdlib/setenv.c (setenv): Likewise.
12944         (unsetenv): Likewise.
12945         * stdlib/srand48.c (srand48): Likewise.
12946         * stdlib/srand48_r.c (__srand48_r): Likewise.
12947         * stdlib/swapcontext.c (swapcontext): Likewise.
12948         * stdlib/system.c (__libc_system): Likewise.
12949         * stdlib/tst-strtod.c (expand): Likewise.
12950         * stdlib/tst-strtol.c (expand): Likewise.
12951         * stdlib/tst-strtoll.c (expand): Likewise.
12952         * streams/fattach.c (fattach): Likewise.
12953         * streams/fdetach.c (fdetach): Likewise.
12954         * streams/getmsg.c (getmsg): Likewise.
12955         * streams/isastream.c (isastream): Likewise.
12956         * string/ffs.c (__ffs): Likewise.
12957         * string/ffsll.c (ffsll): Likewise.
12958         * string/memcmp.c (memcmp_common_alignment): Likewise.
12959         (memcmp_not_common_alignment): Likewise.
12960         (MEMCMP): Likewise.
12961         * string/memcpy.c (memcpy): Likewise.
12962         * string/memmove.c (MEMMOVE): Likewise.
12963         * string/memset.c (memset): Likewise.
12964         * string/rawmemchr.c (RAWMEMCHR): Likewise.
12965         * string/strchrnul.c (STRCHRNUL): Likewise.
12966         * string/strerror.c (strerror): Likewise.
12967         * string/strndup.c (__strndup): Likewise.
12968         * string/strverscmp.c (__strverscmp): Likewise.
12969         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
12970         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
12971         (clnttcp_freeres): Likewise.
12972         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
12973         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
12974         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
12975         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
12976         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
12977         (xdr_callhdr): Likewise.
12978         * sunrpc/rpcinfo.c (udpping): Likewise.
12979         (tcpping): Likewise.
12980         (pstatus): Likewise.
12981         (pmapdump): Likewise.
12982         (brdcst): Likewise.
12983         (deletereg): Likewise.
12984         (getprognum): Likewise.
12985         (getvers): Likewise.
12986         (get_inet_address): Likewise.
12987         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
12988         * sunrpc/svc_udp.c (svcudp_create): Likewise.
12989         (svcudp_stat): Likewise.
12990         (svcudp_recv): Likewise.
12991         (svcudp_reply): Likewise.
12992         (svcudp_getargs): Likewise.
12993         (svcudp_freeargs): Likewise.
12994         (svcudp_destroy): Likewise.
12995         * sunrpc/xdr.c (xdr_bytes): Likewise.
12996         (xdr_netobj): Likewise.
12997         (xdr_string): Likewise.
12998         (xdr_wrapstring): Likewise.
12999         * sunrpc/xdr_float.c (xdr_float): Likewise.
13000         (xdr_double): Likewise.
13001         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
13002         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
13003         * sysvipc/ftok.c (ftok): Likewise.
13004         * sysvipc/msgctl.c (msgctl): Likewise.
13005         * sysvipc/msgget.c (msgget): Likewise.
13006         * sysvipc/msgrcv.c (msgrcv): Likewise.
13007         * sysvipc/msgsnd.c (msgsnd): Likewise.
13008         * sysvipc/semget.c (semget): Likewise.
13009         * sysvipc/semop.c (semop): Likewise.
13010         * sysvipc/shmat.c (shmat): Likewise.
13011         * sysvipc/shmctl.c (shmctl): Likewise.
13012         * sysvipc/shmdt.c (shmdt): Likewise.
13013         * sysvipc/shmget.c (shmget): Likewise.
13014         * termios/cfmakeraw.c (cfmakeraw): Likewise.
13015         * termios/speed.c (cfgetospeed): Likewise.
13016         (cfgetispeed): Likewise.
13017         (cfsetospeed): Likewise.
13018         (cfsetispeed): Likewise.
13019         * termios/tcflow.c (tcflow): Likewise.
13020         * termios/tcflush.c (tcflush): Likewise.
13021         * termios/tcgetattr.c (__tcgetattr): Likewise.
13022         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
13023         * termios/tcgetsid.c (tcgetsid): Likewise.
13024         * termios/tcsendbrk.c (tcsendbreak): Likewise.
13025         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
13026         * time/adjtime.c (__adjtime): Likewise.
13027         * time/dysize.c (dysize): Likewise.
13028         * time/ftime.c (ftime): Likewise.
13029         * time/getitimer.c (__getitimer): Likewise.
13030         * time/gettimeofday.c (__gettimeofday): Likewise.
13031         * time/gmtime.c (__gmtime_r): Likewise.
13032         (gmtime): Likewise.
13033         * time/localtime.c (__localtime_r): Likewise.
13034         (localtime): Likewise.
13035         * time/offtime.c (__offtime): Likewise.
13036         * time/settimeofday.c (__settimeofday): Likewise.
13037         * time/stime.c (stime): Likewise.
13038         * time/strftime_l.c (tm_diff): Likewise.
13039         (iso_week_days): Likewise.
13040         * time/strptime.c (strptime): Likewise.
13041         * time/time.c (time): Likewise.
13042         * time/timespec_get.c (timespec_get): Likewise.
13043         * time/tzset.c (tzset_internal): Likewise.
13044         (compute_change): Likewise.
13045         (__tz_compute): Likewise.
13046         * wcsmbs/btowc.c (__btowc): Likewise.
13047         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
13048         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
13049         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
13050         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
13051         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
13052         * wcsmbs/wcscat.c (__wcscat): Likewise.
13053         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13054         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
13055         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
13056         * wcsmbs/wcscspn.c (wcscspn): Likewise.
13057         * wcsmbs/wcsdup.c (wcsdup): Likewise.
13058         * wcsmbs/wcslen.c (__wcslen): Likewise.
13059         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
13060         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
13061         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
13062         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
13063         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13064         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
13065         * wcsmbs/wcsspn.c (wcsspn): Likewise.
13066         * wcsmbs/wcsstr.c (wcsstr): Likewise.
13067         * wcsmbs/wcstok.c (wcstok): Likewise.
13068         * wcsmbs/wctob.c (wctob): Likewise.
13069         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
13070         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13071         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
13072         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
13073         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
13074         * wcsmbs/wmemset.c (__wmemset): Likewise.
13075         * wctype/wcfuncs.c (__towlower): Likewise.
13076         (__towupper): Likewise.
13078         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
13079         (lll_unlock_elision): Add adapt_count parameter.
13081 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
13083         * sysdeps/nptl/configure.ac: Do not give errors based on the
13084         results of top-level configure tests.
13085         * sysdeps/nptl/configure: Regenerated.
13087         * configure.ac (libc_cv_Bgroup): Remove configure test.
13088         * configure: Regenerated.
13089         * config.make.in (have-Bgroup): Remove variable.
13091         * configure.ac (sizeof_long_double): Remove configure test.
13092         * configure: Regenerated.
13093         * config.make.in (sizeof-long-double): Remove variable.
13095         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
13096         * configure: Regenerated.
13097         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
13098         variable.
13099         (exceptions): Likewise.
13100         * sysdeps/arm/configure: Regenerated.
13101         * config.make.in (exceptions): Remove variable.
13102         * Makeconfig (uses-callbacks): Use -fexceptions instead of
13103         $(exceptions).
13104         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
13105         (CFLAGS-vdprintf_chk.c): Likewise.
13106         (CFLAGS-printf_chk.c): Likewise.
13107         (CFLAGS-fprintf_chk.c): Likewise.
13108         (CFLAGS-vprintf_chk.c): Likewise.
13109         (CFLAGS-vfprintf_chk.c): Likewise.
13110         (CFLAGS-gets_chk.c): Likewise.
13111         (CFLAGS-fgets_chk.c): Likewise.
13112         (CFLAGS-fgets_u_chk.c): Likewise.
13113         (CFLAGS-fread_chk.c): Likewise.
13114         (CFLAGS-fread_u_chk.c): Likewise.
13115         (CFLAGS-wprintf_chk.c): Likewise.
13116         (CFLAGS-fwprintf_chk.c): Likewise.
13117         (CFLAGS-vwprintf_chk.c): Likewise.
13118         (CFLAGS-vfwprintf_chk.c): Likewise.
13119         (CFLAGS-fgetws_chk.c): Likewise.
13120         (CFLAGS-fgetws_u_chk.c): Likewise.
13121         * libio/Makefile (CFLAGS-fileops.c): Likewise.
13122         (CFLAGS-fputc.c): Likewise.
13123         (CFLAGS-fputwc.c): Likewise.
13124         (CFLAGS-freopen64.c): Likewise.
13125         (CFLAGS-freopen.c): Likewise.
13126         (CFLAGS-fseek.c): Likewise.
13127         (CFLAGS-fseeko64.c): Likewise.
13128         (CFLAGS-fseeko.c): Likewise.
13129         (CFLAGS-ftello64.c): Likewise.
13130         (CFLAGS-ftello.c): Likewise.
13131         (CFLAGS-fwide.c): Likewise.
13132         (CFLAGS-genops.c): Likewise.
13133         (CFLAGS-getc.c): Likewise.
13134         (CFLAGS-getchar.c): Likewise.
13135         (CFLAGS-getwc.c): Likewise.
13136         (CFLAGS-getwchar.c): Likewise.
13137         (CFLAGS-iofclose.c): Likewise.
13138         (CFLAGS-iofflush.c): Likewise.
13139         (CFLAGS-iofgetpos64.c): Likewise.
13140         (CFLAGS-iofgetpos.c): Likewise.
13141         (CFLAGS-iofgets.c): Likewise.
13142         (CFLAGS-iofgetws.c): Likewise.
13143         (CFLAGS-iofputs.c): Likewise.
13144         (CFLAGS-iofputws.c): Likewise.
13145         (CFLAGS-iofread.c): Likewise.
13146         (CFLAGS-iofsetpos64.c): Likewise.
13147         (CFLAGS-iofsetpos.c): Likewise.
13148         (CFLAGS-ioftell.c): Likewise.
13149         (CFLAGS-iofwrite.c): Likewise.
13150         (CFLAGS-iogetdelim.c): Likewise.
13151         (CFLAGS-iogetline.c): Likewise.
13152         (CFLAGS-iogets.c): Likewise.
13153         (CFLAGS-iogetwline.c): Likewise.
13154         (CFLAGS-ioputs.c): Likewise.
13155         (CFLAGS-ioseekoff.c): Likewise.
13156         (CFLAGS-ioseekpos.c): Likewise.
13157         (CFLAGS-iosetbuffer.c): Likewise.
13158         (CFLAGS-iosetvbuf.c): Likewise.
13159         (CFLAGS-ioungetc.c): Likewise.
13160         (CFLAGS-ioungetwc.c): Likewise.
13161         (CFLAGS-oldfileops.c): Likewise.
13162         (CFLAGS-oldiofclose.c): Likewise.
13163         (CFLAGS-oldiofgetpos64.c): Likewise.
13164         (CFLAGS-oldiofgetpos.c): Likewise.
13165         (CFLAGS-oldiofsetpos64.c): Likewise.
13166         (CFLAGS-oldiofsetpos.c): Likewise.
13167         (CFLAGS-peekc.c): Likewise.
13168         (CFLAGS-putc.c): Likewise.
13169         (CFLAGS-putchar.c): Likewise.
13170         (CFLAGS-putwc.c): Likewise.
13171         (CFLAGS-putwchar.c): Likewise.
13172         (CFLAGS-rewind.c): Likewise.
13173         (CFLAGS-wfileops.c): Likewise.
13174         (CFLAGS-wgenops.c): Likewise.
13175         (CFLAGS-oldiofopen.c): Likewise.
13176         (CFLAGS-iofopen.c): Likewise.
13177         (CFLAGS-iofopen64.c): Likewise.
13178         (CFLAGS-oldtmpfile.c): Likewise.
13179         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
13180         (CFLAGS-fprintf.c): Likewise.
13181         (CFLAGS-printf.c): Likewise.
13182         (CFLAGS-vfwprintf.c): Likewise.
13183         (CFLAGS-vfscanf.c): Likewise.
13184         (CFLAGS-vfwscanf.c): Likewise.
13185         (CFLAGS-fscanf.c): Likewise.
13186         (CFLAGS-scanf.c): Likewise.
13187         (CFLAGS-isoc99_vfscanf.c): Likewise.
13188         (CFLAGS-isoc99_vscanf.c): Likewise.
13189         (CFLAGS-isoc99_fscanf.c): Likewise.
13190         (CFLAGS-isoc99_scanf.c): Likewise.
13191         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
13192         (CFLAGS-isoc99_fwscanf.c): Likewise.
13193         (CFLAGS-isoc99_vwscanf.c): Likewise.
13194         (CFLAGS-isoc99_vfwscanf.c): Likewise.
13196         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
13197         after mkstemp64.
13198         * login/tst-utmp.c (do_prepare): Likewise.
13199         * rt/tst-aio.c (do_prepare): Likewise.
13200         * rt/tst-aio64.c (do_prepare): Likewise.
13202 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13204         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13205         (__lll_lock_elision): Remove adapt_count decrement...
13206         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13207         (__lll_trylock_elision): Likewise.
13208         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
13209         (__lll_unlock_elision): ... to here. And utilize
13210         new adapt_count parameter.
13211         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
13212         (__lll_unlock_elision): Update to include adapt_count
13213         parameter.
13214         (lll_unlock_elision): Pass pointer to adapt_count
13215         variable.
13217 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13219         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
13220         Add elision adapt_count parameter to list of arguments.
13221         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
13222         (lll_unlock_elision): Update with new parameter list
13223         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
13224         (lll_unlock_elision): Likewise.
13225         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
13226         (lll_unlock_elision): Likewise.
13228 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13230         [BZ #19122]
13231         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
13232         attribute_hidden.
13234         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
13235         attribute_hidden.
13236         [IS_IN (rtld)] (__strdup): Likewise.
13237         [IS_IN (rtld)] (__strerror_r): Likewise.
13238         [IS_IN (rtld)] (__strsep_g): Likewise.
13239         [IS_IN (rtld)] (memchr): Likewise.
13240         [IS_IN (rtld)] (memcmp): Likewise.
13241         [IS_IN (rtld)] (memcpy): Likewise.
13242         [IS_IN (rtld)] (memmove): Likewise.
13243         [IS_IN (rtld)] (memset): Likewise.
13244         [IS_IN (rtld)] (rawmemchr): Likewise.
13245         [IS_IN (rtld)] (stpcpy): Likewise.
13246         [IS_IN (rtld)] (strchr): Likewise.
13247         [IS_IN (rtld)] (strcmp): Likewise.
13248         [IS_IN (rtld)] (strlen): Likewise.
13249         [IS_IN (rtld)] (strnlen): Likewise.
13250         [IS_IN (rtld)] (strsep): Likewise.
13252         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
13253         attribute_hidden.
13254         [IS_IN (rtld)] (__strtoul_internal): Likewise.
13256         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
13257         attribute_hidden.
13258         [IS_IN (rtld)] (__libc_sigaction): Likewise.
13260         * include/setjmp.h (__longjmp): Add attribute_hidden.
13261         [IS_IN (rtld)] (__sigsetjmp): Likewise.
13263         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
13264         Add attribute_hidden.
13266         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
13267         [IS_IN (rtld)] (__open): Likewise.
13268         [IS_IN (rtld)] (__fcntl): Likewise.
13270         * include/dirent.h (__opendirat): Add attribute_hidden.
13271         (__getdents): Likewise.
13272         (__getdents64): Likewise.
13273         (__alloc_dir): Likewise.
13274         [IS_IN (rtld)] (__closedir): Likewise.
13275         [IS_IN (rtld)] (__fdopendir): Likewise.
13276         [IS_IN (rtld)] (__readdir): Likewise.
13277         [IS_IN (rtld)] (__readdir64): Likewise.
13278         [IS_IN (rtld)] (__rewinddir): Likewise.
13280         * include/dlfcn.h (_dl_catch_error): Moved to ...
13281         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
13282         attribute_hidden.
13284         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
13285         (_itoa_word): Likewise.
13287         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
13288         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
13289         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
13290         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
13291         (_dl_higher_prime_number): Likewise.
13292         (_dl_debug_printf_c): Likewise.
13293         (_dl_signal_cerror): Likewise.
13294         (_dl_receive_error): Likewise.
13295         (_dl_reloc_bad_type): Likewise.
13296         (_dl_resolve_conflicts): Likewise.
13297         (_dl_check_all_versions): Likewise.
13298         (_dl_check_map_versions): Likewise.
13299         (_dl_sort_fini): Likewise.
13300         (_dl_debug_initialize): Likewise.
13301         (_dl_init_paths): Likewise.
13302         (_dl_show_auxv): Likewise.
13303         (_dl_next_ld_env_entry): Likewise.
13304         (_dl_important_hwcaps): Likewise.
13305         (_dl_load_cache_lookup): Likewise.
13306         (_dl_update_slotinfo): Likewise.
13307         (_dl_show_scope): Likewise.
13309         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
13310         attribute_hidden.
13311         (_wordcopy_fwd_dest_aligned): Likewise.
13312         (_wordcopy_bwd_aligned): Likewise.
13313         (_wordcopy_bwd_dest_aligned): Likewise.
13315         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13316         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
13317         Likewise.
13318         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
13319         Likewise.
13320         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
13322 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13324         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
13325         GCC 5 requirement.
13327 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
13329         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
13330         test.
13331         * sysdeps/i386/configure: Regenerated.
13332         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
13333         code unconditional.
13335         * configure.ac (libc_cv_asm_previous_directive): Remove configure
13336         test.
13337         (libc_cv_asm_popsection_directive): Likewise.
13338         * configure: Regenerated.
13339         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
13340         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
13341         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
13342         (__make_section_unallocated): Make definition unconditional.
13343         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
13344         Remove conditional definition.
13345         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
13346         (__make_section_unallocated): Likewise.
13348         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
13349         * configure: Regenerated.
13350         * config.make.in (static-libgcc): Remove variable.
13351         * Makerules (build-shlib-helper): Use -static-libgcc instead of
13352         $(static-libgcc).
13353         (build-module-helper): Likewise.
13355         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
13356         * configure: Regenerated.
13358 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13360         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
13361         (struct char_buffer): New type.
13362         (char_buffer_start, char_buffer_size, char_buffer_error)
13363         (char_buffer_rewind, char_buffer_add): New functions.
13364         (ADDW): Remove macro, replaced by the char_buffer_add function.
13365         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
13366         of extend_alloca.  Make control flow more explicit.
13368 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13370         [BZ #19137]
13371         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
13372         Add -fomit-frame-pointer.
13373         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
13375 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13377         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
13378         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
13379         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
13380         only if !__GNUC_PREREQ (5,0).
13381         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
13382         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
13383         (INTERNAL_SYSCALL_NCS): Likewise.
13384         (LOADREGS_0): New macro for GCC 5.
13385         (ASMARGS_0): Likewise.
13386         (LOADREGS_1): Likewise.
13387         (ASMARGS_1): Likewise.
13388         (LOADREGS_2): Likewise.
13389         (ASMARGS_2): Likewise.
13390         (LOADREGS_3): Likewise.
13391         (ASMARGS_3): Likewise.
13392         (LOADREGS_4): Likewise.
13393         (ASMARGS_4): Likewise.
13394         (LOADREGS_5): Likewise.
13395         (ASMARGS_5): Likewise.
13396         (LOADREGS_6): Likewise.
13397         (ASMARGS_6): Likewise.
13399 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13401         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
13402         -fomit-frame-pointer.
13403         (CFLAGS-mmap64.c): Likewise.
13404         (CFLAGS-semtimedop.c): Likewise.
13405         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
13406         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
13407         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13408         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13410 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13412         [BZ #18928]
13413         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
13414         _dl_pointer_guard member.
13415         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
13416         initializer.
13417         (security_init): Always set up pointer guard.
13418         (process_envvars): Do not process LD_POINTER_GUARD.
13420 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
13422         [BZ #19134]
13423         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
13424         (.LC2): Likewise.
13425         (.LC3): Likewise.
13426         (__lround): Do not add 0.5 to integer or out-of-range arguments.
13428 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13430         [BZ #19129]
13431         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
13432         r0 and r1.
13434 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
13436         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
13438 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
13440         * include/stap-probe.h: Fix macro definition formatting.
13442 2015-10-14  Florian Weimer  <fweimer@redhat.com>
13444         [BZ #19074]
13445         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
13446         load and store num_ifs.
13448 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13450         [BZ #18822]
13451         * sysdeps/unix/sysv/linux/sched_getaffinity.c
13452         (__sched_getaffinity_new): Add libc_hidden_proto and
13453         libc_hidden_def.
13455 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13457         [BZ #19007]
13458         * scripts/localplt.awk: Also allow GOT references.
13459         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
13460         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
13461         with "+ REL R_386_GLOB_DAT".
13462         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
13463         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
13465 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13467         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
13468         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13469         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
13470         Likewise.
13471         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
13472         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
13473         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
13474         INTERNAL_SYSCALLINTERNAL_SYSCALL and
13475         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13476         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
13477         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13478         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
13479         Likewise.
13480         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13482 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13484         [BZ #19125]
13485         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
13486         <math_private.h> and <stdint.h>.
13487         (__llround): Avoid conversions to and from long long int, and
13488         subtractions, where those might raise spurious exceptions.
13489         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
13490         <math_private.h> and <stdint.h>.
13491         (__llroundf): Avoid conversions to and from long long int, and
13492         subtractions, where those might raise spurious exceptions.
13494 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13496         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
13497         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13498         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13499         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
13500         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13501         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13502         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
13503         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
13504         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
13505         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13506         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13507         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13508         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
13509         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13510         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13511         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
13512         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
13513         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13514         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
13515         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
13516         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
13517         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
13518         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
13519         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
13520         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
13521         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
13522         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
13523         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13524         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13525         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
13526         (__xstat64_conv): Likewise.
13527         (__xstat32_conv): Likewise.
13529 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13531         * sysdeps/unix/sysv/linux/sysdep.h: New file.
13532         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
13533         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
13534         <sysdeps/unix/sysv/linux/sysdep.h>.
13535         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
13536         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
13537         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
13538         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13539         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
13540         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
13541         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
13542         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
13543         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
13544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13546         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13547         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13548         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13549         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13550         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13551         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
13552         (sysdep-dl-routines): Add sysdep.
13553         [$(subdir) == nptl] (libpthread-routines): Likewise.
13554         [$(subdir) == rt] (librt-routines): Likewise.
13555         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
13556         PIC when branching to SYSCALL_ERROR_LABEL.
13557         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
13558         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
13559         <sysdeps/unix/sysv/linux/sysdep.h>.
13560         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
13561         (SYSCALL_ERROR_ERRNO): Removed.
13562         (SYSCALL_ERROR_HANDLER): Changed to empty.
13563         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
13564         (__syscall_error): New prototype.
13565         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
13566         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
13568 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13570         [BZ #19124]
13571         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
13572         (_dl_runtime_resolve_avx512): Make it a hidden alias of
13573         _dl_runtime_resolve_avx.
13574         (_dl_runtime_profile_avx512): Make it a hidden alias of
13575         _dl_runtime_profile_avx.
13577 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13579         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
13580         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
13581         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
13582         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
13584         [BZ #16422]
13585         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
13586         New configure test.
13587         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
13588         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
13589         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
13590         <math_private.h> and <stdint.h>.
13591         (__llrint): Avoid conversions to long long int where those might
13592         raise spurious exceptions.
13593         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
13594         <math_private.h> and <stdint.h>.
13595         (__llrintf): Avoid conversions to long long int where those might
13596         raise spurious exceptions.
13598 2015-10-12  Andreas Schwab  <schwab@suse.de>
13600         [BZ #18969]
13601         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
13602         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
13603         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
13604         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
13605         $(gen-locales).
13606         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
13607         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
13608         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
13609         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
13610         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
13611         $(gen-locales).
13612         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
13613         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
13614         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
13615         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
13616         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
13617         ($(objpfx)tst-ftell-active-handler.out)
13618         ($(objpfx)tst-ftell-append.out)
13619         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
13620         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
13621         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
13622         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
13623         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
13624         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
13625         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
13626         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
13627         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
13628         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
13629         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
13630         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
13631         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
13632         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
13633         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
13634         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
13635         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
13636         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
13637         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
13638         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
13639         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
13640         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
13641         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
13642         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
13643         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
13644         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
13645         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
13646         $(gen-locales).
13647         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
13648         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
13649         $(gen-locales).
13650         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
13651         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
13652         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
13653         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
13654         $(gen-locales).
13655         * libio/tst_wprintf2.c (main): Use explicit locale.
13656         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
13658 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13660         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
13661         __msg_sig_post.
13662         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
13664 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
13666         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13667         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13669         * sysdeps/arm/libm-test-ulps: Regenerated.
13671         [BZ #15470]
13672         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
13674         [BZ #16399]
13675         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
13676         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
13677         and <fix-fp-int-convert-overflow.h>.
13678         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
13679         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13680         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
13681         and <fix-fp-int-convert-overflow.h>.
13682         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
13683         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13684         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
13685         <fix-fp-int-convert-overflow.h>.
13686         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
13687         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13688         * sysdeps/ieee754/dbl-64/s_lround.c: Include
13689         <fix-fp-int-convert-overflow.h>.
13690         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
13691         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13692         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
13693         and <fix-fp-int-convert-overflow.h>.
13694         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
13695         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13696         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
13697         <limits.h> and <fix-fp-int-convert-overflow.h>.
13698         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
13699         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13700         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
13701         and <fix-fp-int-convert-overflow.h>.
13702         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
13703         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13704         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
13705         and <fix-fp-int-convert-overflow.h>.
13706         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
13707         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13708         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
13710 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
13712         [BZ #18589]
13713         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
13714         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
13715         $(gen-locales).
13717 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13718             Phil Blundell <pb@pbcl.net>
13720         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
13721         * nptl/tst-cancel26.c: New file.
13722         * nptl/tst-cancel27.c: Likewise.
13724 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
13726         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
13727         __ILP32__ isn't defined.
13728         (lrint): Likewise.
13729         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
13730         (lrintf): Likewise.
13731         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
13732         (lrintl): Likewise.
13733         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
13734         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
13735         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
13737 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13739         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
13740         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
13742         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
13743         file.
13744         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
13745         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
13747 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
13749         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
13750         configure test.
13751         * sysdeps/i386/configure: Regenerated.
13752         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
13753         configure test.
13754         * sysdeps/x86_64/configure: Regenerated.
13755         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
13756         Make code unconditional.
13758         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
13759         test.
13760         * sysdeps/i386/configure: Regenerated.
13761         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
13762         test.
13763         * sysdeps/x86_64/configure: Regenerated.
13764         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
13765         Make code unconditional.
13766         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
13767         Likewise.
13768         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
13769         Likewise.
13770         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13771         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
13772         code unconditional.
13773         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13774         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
13775         code unconditional.
13776         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13777         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
13778         code unconditional.
13779         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
13780         code unconditional.
13781         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13782         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
13783         code unconditional.
13784         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13785         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
13786         code unconditional.
13787         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13788         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
13789         code unconditional.
13790         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13791         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
13792         code unconditional.
13793         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13794         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
13796         [BZ #19095]
13797         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
13798         mantissa to long int before shifting left.
13800 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
13802         [BZ #19094]
13803         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
13804         <limits.h>.
13805         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13806         when result overflows but exception would not result from cast.
13807         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
13808         <limits.h>.
13809         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13810         when result overflows but exception would not result from cast.
13811         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
13812         <limits.h>.
13813         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13814         when result overflows but exception would not result from cast.
13815         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
13816         <limits.h>.
13817         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13818         when result overflows but exception would not result from cast.
13819         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
13820         <limits.h>.
13821         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13822         when result overflows but exception would not result from cast.
13823         * math/libm-test.inc (lrint_test_data): Add more tests.
13824         (llrint_test_data): Likewise.
13826 2015-10-08  Roland McGrath  <roland@hack.frob.com>
13828         [BZ #18872]
13829         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
13830         Move out from under [$(run-built-tests) = yes] conditional.
13831         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
13832         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
13834 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
13836         [BZ #18589]
13837         * string/Makefile (tests): Add bug-strcoll2.
13838         (LOCALES): Add cs_CZ.UTF-8.
13839         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
13841         [BZ #18589]
13842         * string/bug-strcoll2.c: New file.
13843         * locale/categories.def: Revert commit
13844         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
13845         * locale/langinfo.h: Likewise.
13846         * locale/localeinfo.h: Likewise.
13847         * locale/C-collate.c: Likewise.
13848         * locale/programs/ld-collate.c (collate_output): Likewise.
13849         * string/strcoll_l.c (STRDIFF): Likewise.
13850         (STRCOLL): Likewise.
13851         * wcsmbs/wcscoll_l.c: Likewise.
13853 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
13855         * math/libm-test.inc (lround_test_data): Do not expect the absence
13856         of "inexact" for some tests with non-integer arguments.
13857         (llround_test_data): Likewise.
13859         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
13860         test.
13861         (libc_cv_cc_sse2avx): Likewise.
13862         * sysdeps/i386/configure: Regenerated.
13863         * sysdeps/i386/i686/multiarch/Makefile
13864         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
13865         [$(subdir) = math].
13866         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
13867         code unconditional.
13868         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
13869         Likewise.
13870         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
13871         Likewise.
13872         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
13873         Likewise.
13874         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
13875         test.
13876         (libc_cv_cc_sse2avx): Likewise.
13877         * sysdeps/x86_64/configure: Regenerated.
13878         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
13879         unconditional.
13880         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
13881         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
13882         unconditional.
13883         (_dl_runtime_profile)
13884         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
13885         conditional code.
13886         * sysdeps/x86_64/fpu/multiarch/Makefile
13887         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
13888         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
13889         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13890         * sysdeps/x86_64/fpu/multiarch/e_exp.c
13891         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13892         * sysdeps/x86_64/fpu/multiarch/e_log.c
13893         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13894         * sysdeps/x86_64/fpu/multiarch/s_atan.c
13895         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13896         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
13897         Likewise.
13898         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
13899         Likewise.
13900         * sysdeps/x86_64/fpu/multiarch/s_sin.c
13901         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13902         * sysdeps/x86_64/fpu/multiarch/s_tan.c
13903         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13904         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
13905         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
13906         (HAVE_SSE2AVX_SUPPORT): Likewise.
13908 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
13910         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
13911         instead of #pragma optimize.
13913 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
13915         [BZ #17195]
13916         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
13917         as is similarly done in systrim and _int_free already.
13919 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13921         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
13923 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13925         [BZ #19088]
13926         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
13927         <limits.h>.
13928         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13929         overflows but exception would not result from cast.
13930         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
13931         and <limits.h>.
13932         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13933         overflows but exception would not result from cast.
13934         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
13935         <limits.h>.
13936         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13937         overflows but exception would not result from cast.
13938         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
13939         <limits.h>.
13940         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
13941         overflows but exception would not result from cast.
13942         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
13943         <limits.h>.
13944         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13945         overflows but exception would not result from cast.
13946         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
13947         <limits.h>.
13948         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
13949         overflows but exception would not result from cast.
13950         * math/libm-test.inc (lround_test_data): Add more tests.
13951         (llround_test_data): Likewise.
13953 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
13955         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
13956         (CFLAGS-ialloc.c): Ditto.
13957         (CFLAGS-scheck.c): Ditto.
13959 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
13961         [BZ #19086]
13962         * manual/filesys.texi (Storage Allocation): Fix argument order for
13963         posix_fallocate64.
13965 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13967         [BZ #19085]
13968         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
13969         exponent below 48 inside case for non-overflowing exponent.
13970         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
13972 2015-10-07  Florian Weimer  <fweimer@redhat.com>
13974         * iconvdata/cp737.h (from_idx): Add const.
13975         * iconvdata/cp775.h (from_idx): Likewise.
13977 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13979         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
13980         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
13981         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
13983         [BZ #19079]
13984         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
13985         file, conditioned on [!_LP64].
13986         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
13987         [!_LP64] (__lround): Do not define as function or alias.
13988         [!_LP64] (lround): Likewise.
13989         [!_LP64] (__lroundl): Likewise.
13990         [!_LP64] (lroundl): Likewise.
13991         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
13992         macro.
13993         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
13994         Likewise.
13996 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
13998         * math/libm-test.inc (lrint_test_data): Add more tests.
13999         (llrint_test_data): Likewise.
14000         (lround_test_data): Likewise.
14001         (llround_test_data): Likewise.
14003         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
14004         (llrint_test_data): Add tests used for lrint.
14006         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
14007         test.
14008         * sysdeps/i386/configure: Regenerated.
14009         * sysdeps/i386/i686/multiarch/Makefile
14010         [$(config-cflags-sse4) = yes]: Make code unconditional.
14011         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
14012         Likewise.
14013         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
14014         Likewise.
14015         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
14016         test.
14017         * sysdeps/x86_64/configure: Regenerated.
14018         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
14019         Make code unconditional.
14020         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
14021         Likewise.
14022         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
14023         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
14025         * scripts/rpm2dynsym.sh: Remove file.
14027 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14029         * configure.ac (libc_cv_cxx_thread_local): Define.
14030         * configure: Regenerate.
14031         * config.make.in (have-cxx-thread_local): Define.
14032         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
14033         (LDLIBS-tst-thread_local1): Define.
14034         (tests): Add tst-thread_local1.
14035         [have-cxx-thread_local != yes] (tests-unsupported): Add
14036         tst-thread_local1.
14037         * nptl/tst-thread_local1.cc: New file.
14039 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
14041         [BZ #19078]
14042         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
14043         (u_thres): Likewise.
14044         (__expl): Determine whether to call __kernel_standard_l based on
14045         value of result, not argument.
14047         * math/libm-test.inc (scalb_test_data): Add more expectations for
14048         the "inexact" exception.
14050         [BZ #19077]
14051         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
14052         0.0L for argument 1.0L.
14054         [BZ #19076]
14055         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
14056         constant 0.0L when computing infinite result.
14058 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14060         [BZ #10432]
14061         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
14062         malloc_usable_size.
14064 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14066         [BZ #19018]
14067         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14068         Mangle function pointer before storing it.
14069         (__call_tls_dtors): Demangle function pointer before calling it.
14071 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14073         [BZ #19012]
14074         * iconv/gconv_db.c (gen_steps): Check for additional errors.
14075         Clean up on failure.
14077 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
14079         [BZ #19071]
14080         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
14081         long int variable to store possibly incremented high part of
14082         mantissa.
14083         * math/libm-test.inc (lround_test_data): Add tests used for
14084         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
14085         for tests requiring 64-bit long.  Do not condition tests on
14086         [TEST_FLOAT] unnecessarily.
14087         (llround_test_data): Add tests used for lround.  Add another
14088         expectation for the "inexact" exception.  Do not condition tests
14089         on [TEST_FLOAT] unnecessarily.
14091         [BZ #887]
14092         [BZ #19049]
14093         [BZ #19050]
14094         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
14095         * sysdeps/ieee754/dbl-64/e_log10.c: Include
14096         <fix-int-fp-convert-zero.h>.
14097         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14098         * sysdeps/ieee754/dbl-64/e_log2.c: Include
14099         <fix-int-fp-convert-zero.h>.
14100         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14101         * sysdeps/ieee754/dbl-64/s_erf.c: Include
14102         <fix-int-fp-convert-zero.h>.
14103         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14104         * sysdeps/ieee754/dbl-64/s_logb.c: Include
14105         <fix-int-fp-convert-zero.h>.
14106         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14107         * sysdeps/ieee754/flt-32/e_log10f.c: Include
14108         <fix-int-fp-convert-zero.h>.
14109         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14110         * sysdeps/ieee754/flt-32/e_log2f.c: Include
14111         <fix-int-fp-convert-zero.h>.
14112         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14113         * sysdeps/ieee754/flt-32/s_erff.c: Include
14114         <fix-int-fp-convert-zero.h>.
14115         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14116         * sysdeps/ieee754/flt-32/s_logbf.c: Include
14117         <fix-int-fp-convert-zero.h>.
14118         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14119         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
14120         <fix-int-fp-convert-zero.h>.
14121         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14122         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
14123         <fix-int-fp-convert-zero.h>.
14124         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14125         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
14126         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
14127         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
14128         file.
14129         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
14131 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
14133         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14135 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
14137         [BZ #19059]
14138         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
14139         overflowing computation.
14140         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14141         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14142         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14143         Likewise.
14144         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14145         Likewise.
14146         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
14147         Likewise.
14148         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14149         Likewise.
14150         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14151         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14152         Likewise.
14153         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14154         Likewise.
14155         * math/libm-test.inc (nexttoward_test_data): Add more tests.
14157         * nss/rewrite_field.c (__nss_rewrite_field): Use
14158         internal_function.
14159         * nss/valid_field.c (__nss_valid_field): Likewise.
14160         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
14162 2015-10-02  Florian Weimer  <fweimer@redhat.com>
14164         [BZ #18724]
14165         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
14166         (__nss_invalid_field_characters, __nss_valid_field)
14167         (__nss_valid_list_field, __nss_rewrite_field): Declare.
14168         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
14169         tst-field.c: New file.
14170         * nss/Makefile (routines): Add valid_field, rewrite_field.
14171         (tests-static): Define unconditionally.
14172         (tests): Include tests-static.
14173         [build-static-nss] (tests-static): Use append.
14174         [build-static-nss] (tests): Remove modification.
14175         * nss/getent.c (print_group): Call putgrent.  Report error.
14176         (print_gshadow): Call putsgent.  Report error.
14177         (print_passwd): Call putpwent.  Report error.
14178         (print_shadow): Call putspent.  Report error.
14179         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
14180         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
14181         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
14182         name, password, directory, shell fields for valid syntax.  Rewrite
14183         GECOS field to match syntax.
14184         * pwd/Makefile (tests): Add tst-putpwent.
14185         * pwd/tst-putpwent.c: New file.
14186         * grp/putgrent.c (putgrent): Convert to ISO function definition.
14187         Check grName, grpasswd, gr_mem fields for valid syntax.
14188         Change loop variable i to size_t.
14189         * grp/Makefile (tests): Add tst-putgrent.
14190         * grp/tst-putgrent.c: New file.
14191         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
14192         valid syntax.
14193         * shadow/Makefile (tests): Add tst-putspent.
14194         * shadow/tst-putspent.c: New file.
14195         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
14196         sg_mem fields for valid syntax.
14197         * gshadow/Makefile (tests): Add tst-putsgent.
14198         * gshadow/tst-putsgent.c: New file.
14200 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14202         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
14203         assembly instructions.
14205 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14207         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
14208         prefix from operands.
14210 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
14212         [BZ #16347]
14213         [BZ #19046]
14214         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
14215         <libc-internal.h>.
14216         (MAXLGM): Do not use diagnostic control macros.
14217         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
14218         threshold for ldbl-128ibm.
14219         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
14220         instead of multiplying by log then subtracting.
14221         * math/auto-libm-test-in: Add more tests of lgamma.
14222         * math/auto-libm-test-out: Regenerated.
14224         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
14225         (TYPE_HEX_DIG): Likewise.
14226         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
14227         precisions when printing floating-point numbers.
14228         (check_float_internal): Likewise.
14230 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
14232         [BZ #16620]
14233         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
14234         of log (10) rounded downward to 48 bits.
14235         (log10_low): Use corresponding low part of log (10).
14237         [BZ #19032]
14238         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
14239         compute result as (x - x) / (x - x) not as 0 / 0.
14240         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14241         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
14243         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14244         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
14245         and expm1.
14246         * math/auto-libm-test-out: Regenerated.
14247         * math/libm-test.inc (acos_test_data): Add more tests.
14248         (asin_test_data): Likewise.
14249         (asinh_test_data): Likewise.
14250         (atan_test_data): Likewise.
14251         (atanh_test_data): Likewise.
14252         (atan2_test_data): Likewise.
14253         (cbrt_test_data): Likewise.
14254         (ceil_test_data): Likewise.
14255         (copysign_test_data): Likewise.
14256         (cos_test_data): Likewise.
14257         (cosh_test_data): Likewise.
14258         (erf_test_data): Likewise.
14259         (erfc_test_data): Likewise.
14260         (exp_test_data): Likewise.
14261         (exp10_test_data): Likewise.
14262         (exp2_test_data): Likewise.
14263         (expm1_test_data): Likewise.
14264         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14266 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
14268         [BZ #19006]
14269         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
14270         to ...
14271         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
14272         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
14273         to ...
14274         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
14275         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
14276         to ...
14277         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
14278         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
14279         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
14280         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
14281         to ...
14282         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
14283         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
14284         Moved to ...
14285         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
14286         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
14287         Moved to ...
14288         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
14289         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
14290         to ...
14291         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
14292         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
14293         Moved to ...
14294         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
14295         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
14296         to ...
14297         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
14298         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
14299         Removed.
14300         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
14301         Likewise.
14302         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
14303         Likewise.
14304         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
14305         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
14306         Likewise.
14307         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
14308         Likewise.
14309         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
14310         Likewise.
14311         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
14312         Likewise.
14313         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
14314         Likewise.
14315         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
14316         Likewise.
14317         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
14318         Likewise.
14319         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
14320         Likewise.
14321         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
14322         Likewise.
14323         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
14324         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
14325         Likewise.
14326         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
14327         Likewise.
14328         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14329         Likewise.
14330         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14331         Likewise.
14332         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
14333         Likewise.
14334         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
14335         Replace ../i486/pthread_cond_timedwait.S with
14336         ../pthread_cond_timedwait.S.
14338 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
14340         * math/libm-test.inc (acos_test_data): Refine expectations for
14341         errno and "inexact" exceptions.
14342         (acosh_test_data): Likewise.
14343         (asin_test_data): Likewise.
14344         (asinh_test_data): Likewise.
14345         (atan_test_data): Likewise.
14346         (atanh_test_data): Likewise.
14347         (atan2_test_data): Likewise.
14348         (cbrt_test_data): Likewise.
14349         (ceil_test_data): Likewise.
14350         (copysign_test_data): Likewise.
14351         (cosh_test_data): Likewise.
14352         (erf_test_data): Likewise.
14353         (erfc_test_data): Likewise.
14354         (exp_test_data): Likewise.
14355         (exp10_test_data): Likewise.
14356         (exp2_test_data): Likewise.
14357         (expm1_test_data): Likewise.
14358         (fabs_test_data): Likewise.
14359         (floor_test_data): Likewise.
14360         (fma_test_data): Likewise.
14361         (fmax_test_data): Likewise.
14362         (fmin_test_data): Likewise.
14363         (fmod_test_data): Likewise.
14364         (fpclassify_test_data): Likewise.
14365         (frexp_test_data): Likewise.
14366         (hypot_test_data): Likewise.
14367         (ilogb_test_data): Likewise.
14368         (isgreater_test_data): Likewise.
14369         (isgreaterequal_test_data): Likewise.
14370         (isinf_test_data): Likewise.
14371         (isless_test_data): Likewise.
14372         (islessequal_test_data): Likewise.
14373         (islessgreater_test_data): Likewise.
14374         (isnan_test_data): Likewise.
14375         (isnormal_test_data): Likewise.
14376         (issignaling_test_data): Likewise.
14377         (isunordered_test_data): Likewise.
14378         (j0_test_data): Likewise.
14379         (j1_test_data): Likewise.
14380         (jn_test_data): Likewise.
14381         (lgamma_test_data): Likewise.
14382         (lrint_test_data): Likewise.
14383         (llrint_test_data): Likewise.
14384         (log_test_data): Likewise.
14385         (log10_test_data): Likewise.
14386         (log1p_test_data): Likewise.
14387         (log2_test_data): Likewise.
14388         (logb_test_data): Likewise.
14389         (lround_test_data): Likewise.
14390         (llround_test_data): Likewise.
14391         (modf_test_data): Likewise.
14392         (nearbyint_test_data): Likewise.
14393         (nextafter_test_data): Likewise.
14394         (nexttoward_test_data): Likewise.
14395         (pow_test_data): Likewise.
14396         (remainder_test_data): Likewise.
14397         (remquo_test_data): Likewise.
14398         (rint_test_data): Likewise.
14399         (round_test_data): Likewise.
14400         (signbit_test_data): Likewise.
14401         (sinh_test_data): Likewise.
14402         (sqrt_test_data): Likewise.
14403         (tanh_test_data): Likewise.
14404         (tgamma_test_data): Likewise.
14405         (trunc_test_data): Likewise.
14406         (y0_test_data): Likewise.
14407         (y1_test_data): Likewise.
14408         (yn_test_data): Likewise.
14409         (significand_test_data): Likewise.
14411 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
14413         * manual/filesys.texi (Storage Allocation): Document that
14414         posix_fallocate emulation fails when fd is open with O_WRONLY.
14416 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
14418         [BZ #19016]
14419         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
14420         allow more cases with X^2 + Y^2 >= 0.5.
14421         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
14422         normal element in sum instead of special-casing based on values of
14423         arguments.
14424         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
14425         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
14426         -1 as normal element in sum instead of special-casing based on
14427         values of arguments.
14428         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
14429         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
14430         (__x2y2m1): Update comment.
14431         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
14432         as normal element in sum instead of special-casing based on values
14433         of arguments.
14434         * math/s_clog.c (__clog): Handle more cases using log1p without
14435         hypot.
14436         * math/s_clog10.c (__clog10): Likewise.
14437         * math/s_clog10f.c (__clog10f): Likewise.
14438         * math/s_clog10l.c (__clog10l): Likewise.
14439         * math/s_clogf.c (__clogf): Likewise.
14440         * math/s_clogl.c (__clogl): Likewise.
14441         * math/auto-libm-test-in: Add more tests of clog and clog10.
14442         * math/auto-libm-test-out: Regenerated.
14443         * sysdeps/i386/fpu/libm-test-ulps: Update.
14444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14446 2015-09-28  Martin Sebor  <msebor@redhat.com>
14448         [BZ #18969]
14449         * string/Makefile (LOCALES): Define.
14450         (gen-locales.mk): Include.
14451         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
14452         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
14453         * string/tst-strxfrm2.c (do_test): Print the name of the locale
14454         on setlocale failure.
14456 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
14458         [BZ #18985]
14459         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
14460         (__strftime_internal): Likewise.
14461         * time/tst-strftime.c (do_bz18985): New test.
14462         (do_test): Call it.
14464 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
14466         [BZ #18956]
14467         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
14468         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
14469         extracting high part.
14470         * math/auto-libm-test-in: Add another test of pow.
14471         * math/auto-libm-test-out: Regenerated.
14472         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14474 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14476         [BZ #18825]
14477         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
14478         New macro.
14479         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
14480         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14481         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
14482         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
14483         DBL_NARROW_EVAL, reloading the PIC register as needed.
14484         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
14485         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
14486         FLT_NARROW_EVAL.  Use separate return path for case when first
14487         argument is NaN.
14488         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
14489         DEFINE_LDBL_MIN.
14490         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
14491         PIC register.
14492         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
14493         math_check_force_underflow_nonneg.
14494         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
14495         underflow for subnormal result.
14496         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14497         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
14498         math_check_force_underflow_nonneg.
14499         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
14500         math_check_force_underflow.
14501         * sysdeps/x86_64/fpu/x86_64-math-asm.h
14502         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
14503         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
14504         DEFINE_LDBL_MIN.
14505         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
14506         * math/auto-libm-test-in: Add more tests of pow.
14507         * math/auto-libm-test-out: Regenerated.
14509 2015-09-25  Florian Weimer  <fweimer@redhat.com>
14511         * nss/bug17079.c (init_test_items): Add diagnostic for
14512         inconsistent entries.
14513         (test_buffer_size): Skip inconsistent entries.
14515 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14517         [BZ #13304]
14518         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
14519         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
14520         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
14522         [BZ #13304]
14523         * sysdeps/microblaze/s_fma.c: New file.
14524         * sysdeps/microblaze/s_fmaf.c: Likewise.
14525         * sysdeps/microblaze/sfp-machine.h: Likewise.
14527 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
14529         [BZ #17250]
14530         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
14531         member.
14533 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14535         [BZ #18803]
14536         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
14537         (MO): New macro.
14538         (__ieee754_hypot) [PIC]: Load PIC register.
14539         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
14540         DBL_NARROW_EVAL.
14541         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
14542         math_check_force_underflow_nonneg in case where result might be
14543         tiny.
14544         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14545         Likewise.
14546         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14547         Likewise.
14548         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14549         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14550         * math/auto-libm-test-in: Add more tests of hypot.
14551         * math/auto-libm-test-out: Regenerated.
14553 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
14555         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
14557 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14559         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
14560         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
14561         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14562         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14563         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
14564         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14565         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14567         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
14568         LOAD_PIC_REG.
14570         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
14571         (FLT_CHECK_FORCE_UFLOW): Likewise.
14572         (DBL_CHECK_FORCE_UFLOW): Likewise.
14573         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
14574         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
14575         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
14576         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14577         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14578         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14579         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14580         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14581         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
14582         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14583         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
14584         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
14585         (flt_min): Replace with use of DEFINE_FLT_MIN.
14586         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
14587         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
14588         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14589         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
14590         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
14591         (flt_min): Replace with use of DEFINE_FLT_MIN.
14592         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
14593         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
14594         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14595         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
14596         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
14597         (flt_min): Replace with use of DEFINE_FLT_MIN.
14598         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
14599         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
14600         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14601         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14602         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
14603         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14604         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14605         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
14606         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14607         (__atan): Use DBL_CHECK_FORCE_UFLOW.
14608         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
14609         (flt_min): Replace with use of DEFINE_FLT_MIN.
14610         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
14611         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
14612         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14613         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
14614         main computation.
14615         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
14616         (flt_min): Replace with use of DEFINE_FLT_MIN.
14617         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
14618         main computation.
14619         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
14620         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14621         (MO): New macro.
14622         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
14623         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
14624         (flt_min): Replace with use of DEFINE_FLT_MIN.
14625         (MO): New macro.
14626         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
14627         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
14628         (__log1pl): Use MO.
14630         [BZ #19003]
14631         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
14632         $(config-cflags-nofma).
14634 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14636         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14638 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
14640         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
14641         (TWO127): Likewise.
14643         * sysdeps/generic/math_private.h (fabs_tg): New macro.
14644         (min_of_type): Likewise.
14645         (math_check_force_underflow): Likewise.
14646         (math_check_force_underflow_nonneg): Likewise.
14647         (math_check_force_underflow_complex): Likewise.
14648         * math/e_exp2l.c (__ieee754_exp2l): Use
14649         math_check_force_underflow_nonneg.
14650         * math/k_casinh.c (__kernel_casinh): Likewise.
14651         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14652         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14653         * math/s_catan.c (__catan): Use
14654         math_check_force_underflow_complex.
14655         * math/s_catanf.c (__catanf): Likewise.
14656         * math/s_catanh.c (__catanh): Likewise.
14657         * math/s_catanhf.c (__catanhf): Likewise.
14658         * math/s_catanhl.c (__catanhl): Likewise.
14659         * math/s_catanl.c (__catanl): Likewise.
14660         * math/s_ccosh.c (__ccosh): Likewise.
14661         * math/s_ccoshf.c (__ccoshf): Likewise.
14662         * math/s_ccoshl.c (__ccoshl): Likewise.
14663         * math/s_cexp.c (__cexp): Likewise.
14664         * math/s_cexpf.c (__cexpf): Likewise.
14665         * math/s_cexpl.c (__cexpl): Likewise.
14666         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
14667         * math/s_clog10.c (__clog10): Likewise.
14668         * math/s_clog10f.c (__clog10f): Likewise.
14669         * math/s_clog10l.c (__clog10l): Likewise.
14670         * math/s_clogf.c (__clogf): Likewise.
14671         * math/s_clogl.c (__clogl): Likewise.
14672         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
14673         * math/s_csinf.c (__csinf): Likewise.
14674         * math/s_csinh.c (__csinh): Likewise.
14675         * math/s_csinhf.c (__csinhf): Likewise.
14676         * math/s_csinhl.c (__csinhl): Likewise.
14677         * math/s_csinl.c (__csinl): Likewise.
14678         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
14679         * math/s_csqrtf.c (__csqrtf): Likewise.
14680         * math/s_csqrtl.c (__csqrtl): Likewise.
14681         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
14682         * math/s_ctanf.c (__ctanf): Likewise.
14683         * math/s_ctanh.c (__ctanh): Likewise.
14684         * math/s_ctanhf.c (__ctanhf): Likewise.
14685         * math/s_ctanhl.c (__ctanhl): Likewise.
14686         * math/s_ctanl.c (__ctanl): Likewise.
14687         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
14688         instead of volatile.
14689         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
14690         math_check_force_underflow.
14691         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14692         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
14693         volatile when forcing underflow.
14694         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14695         math_check_force_underflow_nonneg.
14696         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
14697         Likewise.
14698         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
14699         math_check_force_underflow.
14700         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14701         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14702         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14703         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
14704         math_check_force_underflow_nonneg.
14705         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
14706         math_check_force_underflow.
14707         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
14708         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
14709         instead of volatile.
14710         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
14711         math_check_force_underflow.
14712         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
14713         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14714         math_check_force_underflow_nonneg.
14715         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
14716         math_check_force_underflow.
14717         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14718         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14719         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
14720         math_check_force_underflow_nonneg.
14721         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14722         Likewise.
14723         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
14724         math_check_force_underflow.
14725         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14726         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
14727         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
14728         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
14729         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14730         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
14731         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
14732         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
14733         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14734         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
14735         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14736         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
14737         Likewise.
14738         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
14739         math_check_force_underflow_nonneg.
14740         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14741         Likewise.
14742         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
14743         math_check_force_underflow.
14744         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14745         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
14746         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14747         Likewise.
14748         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
14749         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
14750         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
14751         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
14752         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
14753         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
14754         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
14755         instead of volatile.
14756         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
14757         math_check_force_underflow.
14758         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
14759         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
14760         math_check_force_underflow.
14761         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
14762         Likewise.
14763         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14764         Use math_check_force_underflow_nonneg.
14765         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
14766         math_check_force_underflow.
14767         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
14768         Likewise.
14769         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14770         Likewise.
14771         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14772         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14773         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14774         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14775         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
14776         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14777         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14778         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
14779         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
14780         math_check_force_underflow_nonneg.
14781         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
14782         math_check_force_underflow.
14783         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14784         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
14785         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
14786         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
14787         math_check_force_underflow_nonneg.
14788         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
14789         math_check_force_underflow.
14790         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
14791         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
14792         instead of volatile.
14793         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
14794         math_check_force_underflow.
14796         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
14797         * stdlib/strtod_l.c: Include <math_private.h>.
14798         (overflow_value): Use math_narrow_eval.
14799         (underflow_value): Likewise.
14800         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14801         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14802         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14803         (__ieee754_gamma_r): Likewise.
14804         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
14805         Likewise.
14806         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
14807         Likewise.
14808         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
14809         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
14810         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
14811         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
14812         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14813         (__ieee754_gammaf_r): Likewise.
14814         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14815         Likewise.
14816         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
14817         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
14818         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
14819         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
14820         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
14821         volatile.
14822         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
14823         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
14824         math_narrow_eval.
14825         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
14826         Likewise.
14827         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14828         Likewise.
14829         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
14830         Likewise.
14831         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
14832         volatile.
14833         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
14834         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
14835         math_narrow_eval.
14836         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14837         Likewise.
14838         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14839         Likewise.
14841 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
14843         * nptl/Versions: Remove ignored symbols.
14845 2015-09-22  Florian Weimer  <fweimer@redhat.com>
14847         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
14848         * nss/Makefile (tests): Update.
14850 2015-09-22  Florian Weimer  <fweimer@redhat.com>
14852         * nss/bug18287.c: New file.
14853         * nss/Makefile (tests): Add bug18287.
14855 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14857         * mach/Versions (__mach_host_self_): Add symbol.
14859 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14861         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
14862         vm_page_size.
14864 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14866         Really fix sysdeps/i386/fpu/s_scalbn.S build
14868         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
14869         (libc: GLIBC_2_22): Remove unused version set.
14871 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
14873         * config.make.in (enable-timezone-tools): New variable.
14874         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
14875         (enable_timezone_tools): Export to generated files.
14876         * configure: Regenerate.
14877         * INSTALL: Regenerate.
14878         * manual/install.texi (--disable-timezone-tools): Document new flag.
14879         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
14880         ifeq ($(enable-timezone-tools),yes) check.
14882 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14884         * timezone/Makefile: Revert previous change.
14886         [BZ #18980]
14887         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
14888         (DEFINE_DBL_MIN): Likewise.
14889         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14890         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14891         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14892         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14893         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
14894         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14895         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14896         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
14897         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
14898         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14899         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14900         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
14901         (flt_min): Replace with use of DEFINE_FLT_MIN.
14902         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14903         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
14904         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14905         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14906         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
14907         (flt_min): Replace with use of DEFINE_FLT_MIN.
14908         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14909         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
14910         (flt_min): Replace with use of DEFINE_FLT_MIN.
14911         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14912         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
14913         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
14914         (__ieee754_hypot): Use DBL_NARROW_EVAL.
14915         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
14916         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
14917         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
14918         (__ieee754_pow): Use DBL_NARROW_EVAL.
14919         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
14920         (__ieee754_powf): Use FLT_NARROW_EVAL.
14921         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
14922         (__ieee754_expf_sse2): Convert double-precision result to single
14923         precision.
14924         * sysdeps/i386/fpu/libm-test-ulps: Update.
14926 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14928         * timezone/Makefile: Ignore unused variable errors due to private.h
14929         (time_t_min) and (time_t_max).
14930         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
14931         Likewise.
14933 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14935         [BZ #18981]
14936         * sysdeps/i386/fpu/i386-math-asm.h: New file.
14937         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
14938         (__ieee754_scalb): Use DBL_NARROW_EVAL.
14939         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
14940         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
14941         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
14942         (__scalbn): Use DBL_NARROW_EVAL.
14943         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
14944         (__scalbnf): Use FLT_NARROW_EVAL.
14946 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14948         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
14949         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
14950         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
14951         * stdio-common/printf_fp.c (___printf_fp):
14952         Use signbit to get the sign. Use isinf macro to allow inlining.
14953         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
14954         * stdio-common/printf_size.c (__printf_size): Likewise.
14956 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
14958         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
14960 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14962         [BZ #18980]
14963         * sysdeps/generic/math_private.h: Include <float.h>.
14964         (math_narrow_eval): New macro.
14965         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14966         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
14967         math_narrow_eval on overflowing return value.
14968         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
14969         Likewise.
14970         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14971         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
14972         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
14973         Likewise.
14974         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
14976 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14978         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
14979         * math/Makefile: Remove isinf_ns.c.
14980         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
14981         * math/multc3.c (__multc3): Likewise.
14982         * math/s_casin.c (__casin): Likewise.
14983         * math/s_casinf.c (__casinf): Likewise.
14984         * math/s_casinl.c (__casinl): Likewise.
14985         * math/s_cproj.c (__cproj): Likewise.
14986         * math/s_cprojf.c (__cprojf): Likewise.
14987         * math/s_cprojl.c (__cprofl): Likewise.
14988         * math/s_ctan.c (__ctan): Likewise.
14989         * math/s_ctanf.c (__ctanf): Likewise.
14990         * math/s_ctanh.c (__ctanh): Likewise.
14991         * math/s_ctanhf.c (__ctanhf): Likewise.
14992         * math/s_ctanhl.c (__ctanhl): Likewise.
14993         * math/s_ctanl.c (__ctanl): Likewise.
14994         * math/w_fmod.c (__fmod): Likewise.
14995         * math/w_fmodf.c (__fmodf): Likewise.
14996         * math/w_fmodl.c (_fmodl): Likewise.
14997         * math/w_remainder.c (__remainder): Likewise.
14998         * math/w_remainderf.c (__remainderf): Likewise.
14999         * math/w_remainderl.c (__remainderl): Likewise.
15000         * math/w_scalb.c (__scalb): Likewise.
15001         * math/w_scalbf.c (__scalbf): Likewise.
15002         * math/w_scalbl.c (__scalbl): Likewise.
15003         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
15004         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
15005         with isinf.
15006         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
15007         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
15008         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
15009         __isinf_nsf with isinf.
15010         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
15011         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
15012         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
15013         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
15014         with isinf.
15015         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
15016         __isinf_nsl with isinf.
15017         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
15018         with isinf.
15019         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
15020         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
15021         __isinf_nsl with isinf.
15022         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
15023         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
15024         with isinf.
15026 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15028         * resolv/base64.c (rcsid): Remove unused static.
15029         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
15030         static.  (tqpi1): Likewise.
15031         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
15032         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
15033         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
15034         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
15035         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
15036         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
15037         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
15038         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
15039         Likewise.
15041 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
15043         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
15044         <nptl/pthreadP.h>.
15045         (_longjmp_unwind): Use __libc_ptf_call.
15046         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
15048 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
15050         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
15051         * sysdeps/arm/__longjmp.S: Likewise.
15053 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15055         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
15056         Use __builtin_signbit.
15057         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
15058         Use __builtin_signbitf.
15059         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
15060         Use __builtin_signbitl.
15061         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15062         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
15064 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15066         [BZ #15367]
15067         [BZ #17441]
15069         * math/Makefile: Build test-snan.c with -fsignaling-nans.
15070         * math/math.h (fpclassify): Use __builtin_fpclassify when
15071         available.  (signbit): Use __builtin_signbit(f/l).
15072         (isfinite): Use__builtin_isfinite.  (isnormal): Use
15073         __builtin_isnormal.  (isnan): Use __builtin_isnan.
15074         (isinf): Use __builtin_isinf_sign.
15076 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15078         * benchtests/Makefile: Add bench-math-inlines, link with libm.
15079         * benchtests/bench-math-inlines.c: New benchmark.
15080         * benchtests/bench-util.h: New file.
15081         * benchtests/bench-util.c: New file.
15082         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
15084 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
15086         * elf/tst-dlmopen1.c: Define TEST_SO.
15087         (do_test): Use TEST_SO.
15089         * elf/dl-load.c: Include libc-internal.h.
15090         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
15092 2015-09-18  Vincent Bernat  <vincent@bernat.im>
15094         [BZ #17887]
15095         * time/strptime_l.c (__strptime_internal): Make %z accept
15096         [+-]HH:MM time zones.
15098 2015-09-18  Vincent Bernat  <vincent@bernat.im>
15100         [BZ #17886]
15101         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
15102         valid time zone.
15104 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
15106         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
15107         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
15108         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15109         (__ASSUME_FDATASYNC): Delete.
15111 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15113         * conform/linknamespace.pl: Require weak undefined symbols to be
15114         in the standard namespace.
15115         (%strong_syms): Rename to %seen_syms.
15116         (%strong_seen): Rename to %seen_where.
15118 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
15120         [BZ #18970]
15121         * misc/error.c (error): Replace pthread_setcancelstate with
15122         __pthread_setcancelstate.
15123         (error_at_line): Likewise.
15124         * posix/wordexp.c (parse_comm): Likewise.
15125         * stdlib/fmtmsg.c (fmtmsg): Likewise.
15126         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
15127         (__pthread_setcancelstate): This.
15128         (pthread_setcancelstate): Add an alias.
15129         * nptl/nptl-init.c (pthread_functions): Replace
15130         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
15131         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
15132         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
15133         hidden_proto.
15134         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
15135         it with hidden_def.
15136         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
15137         (pthread_setcancelstate): Renamed to ...
15138         (__pthread_setcancelstate): This.
15139         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
15140         __libc_ptf_call with __pthread_setcancelstate.
15142 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15143             Andreas Schwab  <schwab@suse.de>
15145         [BZ #17118]
15146         * math/s_ctan.c (__ctan): Determine sign of zero real part of
15147         result when imaginary part of argument is infinite using sine and
15148         cosine.
15149         * math/s_ctanf.c (__ctanf): Likewise.
15150         * math/s_ctanl.c (__ctanl): Likewise.
15151         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
15152         of result when real part of argument is infinite using sine and
15153         cosine.
15154         * math/s_ctanhf.c (__ctanhf): Likewise.
15155         * math/s_ctanhl.c (__ctanhl): Likewise.
15156         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
15157         (ctanh_test_data): Add more tests of ctanh.
15159 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15161         [BZ #15384]
15162         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
15163         bit-mask as in subtraction.
15164         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
15165         Likewise.
15166         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
15167         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
15168         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
15170         [BZ #18951]
15171         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
15172         underflow exception for small results.
15173         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
15174         Likewise.
15175         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
15176         Likewise.
15177         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15178         Likewise.
15179         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15180         Likewise.
15181         * math/auto-libm-test-in: Add more tests of tgamma.
15182         * math/auto-libm-test-out: Regenerated.
15184 2015-09-17  Andreas Schwab  <schwab@suse.de>
15186         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
15188 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
15190         [BZ #18977]
15191         * math/bits/mathcalls.h
15192         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
15193         not declare.
15194         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
15195         Likewise.
15196         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
15197         Likewise.
15198         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
15199         Likewise.
15200         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
15201         Likewise.
15202         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
15203         Likewise.
15204         * conform/data/math.h-data
15205         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
15206         function.
15207         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
15208         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
15209         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
15210         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
15211         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
15212         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
15213         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
15214         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
15215         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
15216         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
15217         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
15219         [BZ #6803]
15220         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
15221         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
15222         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
15223         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
15224         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
15225         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
15226         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
15227         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
15228         [NO_LONG_DOUBLE] (scalbnl): Likewise.
15229         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
15230         Likewise.
15231         [NO_LONG_DOUBLE] (scalbnl): Likewise.
15232         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
15233         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
15234         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
15235         long_double_symbol calls.
15236         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
15237         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
15238         strong alias of __ldexpl.
15239         (scalbnl): Define using long_double_symbol.
15240         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
15241         Remove alias.
15242         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
15243         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
15244         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
15245         (scalbln_test_data): Add more errno expectations.
15247 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
15249         Cache the host port like we cache the task port.  This way we do not
15250         need to call the kernel just to get the port.  Furthermore, we no
15251         longer increase the reference count on every invocation of
15252         `mach_host_self'.
15254         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
15255         Protect declarations against the macro expansion.
15256         * mach/mach_init.c (__mach_host_self_): New variable.
15257         (mach_init): Initialize `__mach_host_self_'.
15258         * mach/mach_init.h (__mach_host_self_): New declaration.
15259         (__mach_host_self, mach_host_self): New macros.
15260         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
15261         Release reference.
15263 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
15265         [BZ #4404]
15266         * po/de.po: Update from Translation Project.
15268         [BZ #16415]
15269         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
15270         (__expm1l): Remove code to handle positive infinity and overflow.
15271         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
15272         variable.
15273         (__expm1l): Remove code to handle positive infinity and overflow.
15275 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
15276             Paul Pluzhnikov  <ppluzhnikov@google.com>
15278         [BZ #18872]
15279         * stdio-common/Makefile (tst-printf-bz18872): New test.
15280         (tst-printf-bz18872-mem.out): Likewise.
15281         * stdio-common/tst-printf-bz18872.sh: Generate new test.
15282         * stdio-common/vfprintf.c: Fix memory leaks.
15284 2015-09-16  Andreas Schwab  <schwab@suse.de>
15286         [BZ #17244]
15287         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
15288         Remove extra va_start/va_end calls.
15290         [BZ #17243]
15291         * posix/execl.c (execl): Add missing va_end.
15292         * posix/execle.c (execle): Likewise.
15293         * posix/execlp.c (execlp): Likewise.
15295 2015-09-15  Roland McGrath  <roland@hack.frob.com>
15297         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
15298         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
15300 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
15302         [BZ #18967]
15303         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
15304         undefine around includes of <bits/mathcalls.h>.
15305         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
15306         not declare function.
15307         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
15308         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
15309         (scalb): Likewise.
15310         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
15311         not define macro.
15312         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
15313         variable.
15314         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15315         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15316         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15318         [BZ #18857]
15319         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
15320         return non-finite argument without doing ordered comparisons on
15321         it.
15323         [BZ #16296]
15324         * math/fenv.h (fegetround): Use __attribute_pure__.
15325         * include/fenv.h (__fegetround): Likewise.
15327         [BZ #18595]
15328         * math/s_ctan.c (__ctan): Force underflow exception for results
15329         whose real or imaginary part has small absolute value.
15330         * math/s_ctanf.c (__ctanf): Likewise.
15331         * math/s_ctanh.c (__ctanh): Likewise.
15332         * math/s_ctanhf.c (__ctanhf): Likewise.
15333         * math/s_ctanhl.c (__ctanhl): Likewise.
15334         * math/s_ctanl.c (__ctanl): Likewise.
15335         * math/auto-libm-test-in: Do not allow missing underflow for ctan
15336         and ctanh.  Add more tests of ctan and ctanh.
15338         [BZ #15918]
15339         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
15340         handling of cases where one argument is an infinity.
15342         [BZ #18875]
15343         [BZ #18966]
15344         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
15345         (MO): New macro.
15346         (__ieee754_exp10): For small results, force underflow exception
15347         and remove excess range and precision from return value.
15348         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
15349         (MO): New macro.
15350         (__ieee754_exp10f): For small results, force underflow exception
15351         and remove excess range and precision from return value.
15352         * math/auto-libm-test-in: Add more tests of exp10.
15353         * math/auto-libm-test-out: Regenerated.
15355 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
15357         [BZ #18875]
15358         [BZ #18961]
15359         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
15360         (MO): New macro.
15361         (__ieee754_exp): For small results, force underflow exception and
15362         remove excess range and precision from return value.
15363         (__exp_finite): Likewise.
15364         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
15365         (MO): New macro.
15366         (__ieee754_expf): For small results, force underflow exception and
15367         remove excess range and precision from return value.
15368         (__expf_finite): Likewise.
15369         * math/auto-libm-test-in: Add more tests of exp.
15370         * math/auto-libm-test-out: Regenerated.
15372         [BZ #16521]
15373         [BZ #18875]
15374         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
15375         small results.
15376         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
15377         (MO): New macro.
15378         (__ieee754_exp2): For small results, force underflow exception and
15379         remove excess range and precision from return value.
15380         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
15381         (MO): New macro.
15382         (__ieee754_exp2f): For small results, force underflow exception
15383         and remove excess range and precision from return value.
15384         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
15385         (MO): New macro.
15386         (__ieee754_exp2l): Force underflow exception for small results.
15387         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15388         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15389         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
15390         (MO): New macro.
15391         (__ieee754_exp2l): Force underflow exception for small results.
15392         * math/auto-libm-test-in: Add more tests or exp2.
15393         * math/auto-libm-test-out: Regenerated.
15395 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
15397         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
15399         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
15400         /dev/null.
15402 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15404         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15405         io fs process)): Drop spurious backslash.
15407 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
15409         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
15410         Use sysinfo system call instead of parsing /proc/meminfo.
15411         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
15412         Likewise.
15414 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
15416         [BZ #16985]
15417         * programs/localedef.c (main): Display argv[remaining] when
15418         output_path is NULL.
15420 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15422         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15423         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
15424         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
15425         tanh.
15426         * math/auto-libm-test-out: Regenerated.
15427         * sysdeps/i386/fpu/libm-test-ulps: Update.
15428         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15429         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15432 2015-09-11  Roland McGrath  <roland@hack.frob.com>
15434         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
15435         Use 'override' keyword to freeze the value here, preventing
15436         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
15438 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15440         [BZ #14912]
15441         * sysdeps/aarch64/bits/atomic.h: Move to ...
15442         * sysdeps/aarch64/atomic-machine.h: ...here.
15443         (_AARCH64_BITS_ATOMIC_H): Rename macro to
15444         _AARCH64_ATOMIC_MACHINE_H.
15445         * sysdeps/alpha/bits/atomic.h: Move to ...
15446         * sysdeps/alpha/atomic-machine.h: ...here.
15447         * sysdeps/arm/bits/atomic.h: Move to ...
15448         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
15449         * bits/atomic.h: Move to ...
15450         * sysdeps/generic/atomic-machine.h: ...here.
15451         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15452         * sysdeps/i386/bits/atomic.h: Move to ...
15453         * sysdeps/i386/atomic-machine.h: ...here.
15454         * sysdeps/ia64/bits/atomic.h: Move to ...
15455         * sysdeps/ia64/atomic-machine.h: ...here.
15456         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
15457         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
15458         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15459         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
15460         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
15461         * sysdeps/microblaze/bits/atomic.h: Move to ...
15462         * sysdeps/microblaze/atomic-machine.h: ...here.
15463         * sysdeps/mips/bits/atomic.h: Move to ...
15464         * sysdeps/mips/atomic-machine.h: ...here.
15465         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
15466         * sysdeps/powerpc/bits/atomic.h: Move to ...
15467         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
15468         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
15469         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
15470         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
15471         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
15472         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
15473         <atomic-machine.h> instead of <bits/atomic.h>.
15474         * sysdeps/s390/bits/atomic.h: Move to ...
15475         * sysdeps/s390/atomic-machine.h: ...here.
15476         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
15477         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
15478         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15479         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
15480         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
15481         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
15482         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
15483         * sysdeps/tile/bits/atomic.h: Move to ...
15484         * sysdeps/tile/atomic-machine.h: ...here.
15485         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
15486         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
15487         <sysdeps/tile/atomic-machine.h> instead of
15488         <sysdeps/tile/bits/atomic.h>.
15489         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15490         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
15491         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
15492         <sysdeps/tile/atomic-machine.h> instead of
15493         <sysdeps/tile/bits/atomic.h>.
15494         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15495         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
15496         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
15497         <sysdeps/arm/atomic-machine.h> instead of
15498         <sysdeps/arm/bits/atomic.h>.
15499         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
15500         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
15501         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15502         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
15503         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
15504         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15505         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
15506         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
15507         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
15508         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
15509         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
15510         * sysdeps/x86_64/bits/atomic.h: Move to ...
15511         * sysdeps/x86_64/atomic-machine.h: ...here.
15512         * include/atomic.h: Include <atomic-machine.h> instead of
15513         <bits/atomic.h>.
15515         * sysdeps/mips/mips32/libm-test-ulps: Update.
15516         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15518         [BZ #18952]
15519         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
15520         not convert non-integer negative arguments to int to determine the
15521         value of signgam.
15522         * math/auto-libm-test-in: Add more tests of lgamma.
15523         * math/auto-libm-test-out: Regenerated.
15525         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
15526         cosh, csqrt, erfc, expm1 and lgamma.
15527         * math/auto-libm-test-out: Regenerated.
15528         * sysdeps/i386/fpu/libm-test-ulps: Update.
15529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15531 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
15533         [BZ #2542]
15534         [BZ #2543]
15535         [BZ #2558]
15536         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
15537         __lgamma_neg for arguments from -28.0 to -2.0.
15538         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
15539         __lgamma_negf for arguments from -15.0 to -2.0.
15540         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15541         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
15542         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
15543         Call __lgamma_negl for arguments from -33.0 to -2.0.
15544         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
15545         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
15546         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15547         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
15548         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
15549         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
15550         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
15551         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
15552         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
15553         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
15554         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
15555         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
15556         (__lgamma_neg): Likewise.
15557         (__lgamma_negl): Likewise.
15558         (__lgamma_product): Likewise.
15559         (__lgamma_productl): Likewise.
15560         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
15561         * math/auto-libm-test-in: Add more tests of lgamma.
15562         * math/auto-libm-test-out: Regenerated.
15563         * sysdeps/i386/fpu/libm-test-ulps: Update.
15564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15566 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
15568         [BZ #18675]
15569         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
15571 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
15573         [BZ #14912]
15574         * bits/libc-lock.h: Move to ...
15575         * sysdeps/generic/libc-lock.h: ...here.
15576         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15577         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
15578         * sysdeps/mach/hurd/libc-lock.h: ...here.
15579         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15580         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
15581         * sysdeps/mach/bits/libc-lock.h: Move to ...
15582         * sysdeps/mach/libc-lock.h: ...here.
15583         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15584         * sysdeps/nptl/bits/libc-lock.h: Move to ...
15585         * sysdeps/nptl/libc-lock.h: ...here.
15586         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15587         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
15588         * sysdeps/nptl/libc-lockP.h: ...here.
15589         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
15590         * crypt/crypt_util.c: Include <libc-lock.h> instead of
15591         <bits/libc-lock.h>.
15592         * dirent/scandir-tail.c: Likewise.
15593         * dlfcn/dlerror.c: Likewise.
15594         * elf/dl-close.c: Likewise.
15595         * elf/dl-iteratephdr.c: Likewise.
15596         * elf/dl-lookup.c: Likewise.
15597         * elf/dl-open.c: Likewise.
15598         * elf/dl-support.c: Likewise.
15599         * elf/dl-writev.h: Likewise.
15600         * elf/rtld.c: Likewise.
15601         * grp/fgetgrent.c: Likewise.
15602         * gshadow/fgetsgent.c: Likewise.
15603         * gshadow/sgetsgent.c: Likewise.
15604         * iconv/gconv_conf.c: Likewise.
15605         * iconv/gconv_db.c: Likewise.
15606         * iconv/gconv_dl.c: Likewise.
15607         * iconv/gconv_int.h: Likewise.
15608         * iconv/gconv_trans.c: Likewise.
15609         * include/link.h: Likewise.
15610         * inet/getnameinfo.c: Likewise.
15611         * inet/getnetgrent.c: Likewise.
15612         * inet/getnetgrent_r.c: Likewise.
15613         * intl/bindtextdom.c: Likewise.
15614         * intl/dcigettext.c: Likewise.
15615         * intl/finddomain.c: Likewise.
15616         * intl/gettextP.h: Likewise.
15617         * intl/loadmsgcat.c: Likewise.
15618         * intl/localealias.c: Likewise.
15619         * intl/textdomain.c: Likewise.
15620         * libidn/idn-stub.c: Likewise.
15621         * libio/libioP.h: Likewise.
15622         * locale/duplocale.c: Likewise.
15623         * locale/freelocale.c: Likewise.
15624         * locale/newlocale.c: Likewise.
15625         * locale/setlocale.c: Likewise.
15626         * login/getutent_r.c: Likewise.
15627         * login/getutid_r.c: Likewise.
15628         * login/getutline_r.c: Likewise.
15629         * login/utmp-private.h: Likewise.
15630         * login/utmpname.c: Likewise.
15631         * malloc/mtrace.c: Likewise.
15632         * misc/efgcvt.c: Likewise.
15633         * misc/error.c: Likewise.
15634         * misc/fstab.c: Likewise.
15635         * misc/getpass.c: Likewise.
15636         * misc/mntent.c: Likewise.
15637         * misc/syslog.c: Likewise.
15638         * nis/nis_call.c: Likewise.
15639         * nis/nis_callback.c: Likewise.
15640         * nis/nss-default.c: Likewise.
15641         * nis/nss_compat/compat-grp.c: Likewise.
15642         * nis/nss_compat/compat-initgroups.c: Likewise.
15643         * nis/nss_compat/compat-pwd.c: Likewise.
15644         * nis/nss_compat/compat-spwd.c: Likewise.
15645         * nis/nss_nis/nis-alias.c: Likewise.
15646         * nis/nss_nis/nis-ethers.c: Likewise.
15647         * nis/nss_nis/nis-grp.c: Likewise.
15648         * nis/nss_nis/nis-hosts.c: Likewise.
15649         * nis/nss_nis/nis-network.c: Likewise.
15650         * nis/nss_nis/nis-proto.c: Likewise.
15651         * nis/nss_nis/nis-pwd.c: Likewise.
15652         * nis/nss_nis/nis-rpc.c: Likewise.
15653         * nis/nss_nis/nis-service.c: Likewise.
15654         * nis/nss_nis/nis-spwd.c: Likewise.
15655         * nis/nss_nisplus/nisplus-alias.c: Likewise.
15656         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
15657         * nis/nss_nisplus/nisplus-grp.c: Likewise.
15658         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
15659         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
15660         * nis/nss_nisplus/nisplus-network.c: Likewise.
15661         * nis/nss_nisplus/nisplus-proto.c: Likewise.
15662         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
15663         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
15664         * nis/nss_nisplus/nisplus-service.c: Likewise.
15665         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
15666         * nis/ypclnt.c: Likewise.
15667         * nptl/libc_pthread_init.c: Likewise.
15668         * nss/getXXbyYY.c: Likewise.
15669         * nss/getXXent.c: Likewise.
15670         * nss/getXXent_r.c: Likewise.
15671         * nss/nss_db/db-XXX.c: Likewise.
15672         * nss/nss_db/db-netgrp.c: Likewise.
15673         * nss/nss_db/nss_db.h: Likewise.
15674         * nss/nss_files/files-XXX.c: Likewise.
15675         * nss/nss_files/files-alias.c: Likewise.
15676         * nss/nsswitch.c: Likewise.
15677         * posix/regex_internal.h: Likewise.
15678         * posix/wordexp.c: Likewise.
15679         * pwd/fgetpwent.c: Likewise.
15680         * resolv/res_hconf.c: Likewise.
15681         * resolv/res_libc.c: Likewise.
15682         * shadow/fgetspent.c: Likewise.
15683         * shadow/lckpwdf.c: Likewise.
15684         * shadow/sgetspent.c: Likewise.
15685         * socket/opensock.c: Likewise.
15686         * stdio-common/reg-modifier.c: Likewise.
15687         * stdio-common/reg-printf.c: Likewise.
15688         * stdio-common/reg-type.c: Likewise.
15689         * stdio-common/vfprintf.c: Likewise.
15690         * stdio-common/vfscanf.c: Likewise.
15691         * stdlib/abort.c: Likewise.
15692         * stdlib/cxa_atexit.c: Likewise.
15693         * stdlib/fmtmsg.c: Likewise.
15694         * stdlib/random.c: Likewise.
15695         * stdlib/setenv.c: Likewise.
15696         * string/strsignal.c: Likewise.
15697         * sunrpc/auth_none.c: Likewise.
15698         * sunrpc/bindrsvprt.c: Likewise.
15699         * sunrpc/create_xid.c: Likewise.
15700         * sunrpc/key_call.c: Likewise.
15701         * sunrpc/rpc_thread.c: Likewise.
15702         * sysdeps/arm/backtrace.c: Likewise.
15703         * sysdeps/generic/ldsodefs.h: Likewise.
15704         * sysdeps/generic/stdio-lock.h: Likewise.
15705         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
15706         * sysdeps/i386/backtrace.c: Likewise.
15707         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15708         * sysdeps/m68k/backtrace.c: Likewise.
15709         * sysdeps/mach/hurd/cthreads.c: Likewise.
15710         * sysdeps/mach/hurd/dirstream.h: Likewise.
15711         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
15712         * sysdeps/nptl/malloc-machine.h: Likewise.
15713         * sysdeps/nptl/stdio-lock.h: Likewise.
15714         * sysdeps/posix/dirstream.h: Likewise.
15715         * sysdeps/posix/getaddrinfo.c: Likewise.
15716         * sysdeps/posix/system.c: Likewise.
15717         * sysdeps/pthread/aio_suspend.c: Likewise.
15718         * sysdeps/s390/s390-32/backtrace.c: Likewise.
15719         * sysdeps/s390/s390-64/backtrace.c: Likewise.
15720         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15721         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15722         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
15723         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
15724         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
15725         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
15726         * sysdeps/unix/sysv/linux/system.c: Likewise.
15727         * sysdeps/x86_64/backtrace.c: Likewise.
15728         * time/alt_digit.c: Likewise.
15729         * time/era.c: Likewise.
15730         * time/tzset.c: Likewise.
15731         * wcsmbs/wcsmbsload.c: Likewise.
15732         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
15733         instead of <bits/libc-lock.h> in comment.
15735 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
15737         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
15738         Only use .set mips2 if the current ISA is below mips2.
15739         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
15740         Likewise.
15741         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
15742         mips32r2 if the current ISA is below mips32r2.
15743         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
15744         (TLS_IE): Updated to use the TLD_RDHWR macro.
15745         (TLS_LE): Likewise.
15746         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
15747         __ASSEMBLER__ condition.
15749 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15751         Fix parallel build of before-compile targets.
15753         * sysdeps/mach/Makefile ($(patsubst
15754         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
15755         mach-before-compile target.
15756         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15757         io fs process)): Move rule to dedicated hurd-before-compile target.
15759 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15761         Fix rules generating headers in hurd/ and mach/ when initial make call
15762         has subdir= explicitly set.
15764         * sysdeps/mach/Makefile ($(patsubst
15765         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
15766         calling $(MAKE).
15767         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15768         io fs process)): Force subdir to hurd when calling $(MAKE).
15769         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
15770         subdir to mach when calling $(MAKE).
15772 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
15774         Check sysheaders when looking for Mach and Hurd headers
15776         * sysdeps/mach/configure.ac: Add sysheaders check.
15777         * sysdeps/mach/configure: Regenerate.
15778         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
15779         * sysdeps/mach/hurd/configure: Regenerate.
15781 2015-09-04  Roland McGrath  <roland@hack.frob.com>
15783         [BZ #18921]
15784         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
15785         Fix inverted sense of test of 'o_directory_works' value.
15786         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
15787         Bernhard Voelker <mail@bernhard-voelker.de>.
15789 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
15791         [BZ #14912]
15792         * bits/linkmap.h: Move to ...
15793         * sysdeps/generic/linkmap.h: ...here.
15794         * sysdeps/aarch64/bits/linkmap.h: Move to ...
15795         * sysdeps/aarch64/linkmap.h: ...here.
15796         * sysdeps/arm/bits/linkmap.h: Move to ...
15797         * sysdeps/arm/linkmap.h: ...here.
15798         * sysdeps/hppa/bits/linkmap.h: Move to ...
15799         * sysdeps/hppa/linkmap.h: ...here.
15800         * sysdeps/ia64/bits/linkmap.h: Move to ...
15801         * sysdeps/ia64/linkmap.h: ...here.
15802         * sysdeps/mips/bits/linkmap.h: Move to ...
15803         * sysdeps/mips/linkmap.h: ...here.
15804         * sysdeps/s390/bits/linkmap.h: Move to ...
15805         * sysdeps/s390/linkmap.h: ...here.
15806         * sysdeps/sh/bits/linkmap.h: Move to ...
15807         * sysdeps/sh/linkmap.h: ...here.
15808         * sysdeps/x86/bits/linkmap.h: Move to ...
15809         * sysdeps/x86/linkmap.h: ...here.
15810         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
15812 2015-09-04  Andreas Schwab  <schwab@suse.de>
15814         [BZ #18635]
15815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
15816         (__makecontext): Terminate FDE before return label.
15817         (__novec_makecontext): Likewise.
15819 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15821         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
15822         first member of struct sv in syscall macro.
15824 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
15826         [BZ #14912]
15827         * bits/stdio-lock.h: Move to ...
15828         * sysdeps/generic/stdio-lock.h: ...here.
15829         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
15830         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
15831         * sysdeps/nptl/stdio-lock.h: ...here.
15832         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
15833         * include/libio.h: Include <stdio-lock.h> instead of
15834         <bits/stdio-lock.h>.
15835         * sysdeps/nptl/fork.c: Likewise.
15836         * sysdeps/pthread/flockfile.c: Likewise.
15837         * sysdeps/pthread/ftrylockfile.c: Likewise.
15838         * sysdeps/pthread/funlockfile.c: Likewise.
15840         [BZ #14912]
15841         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
15842         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
15843         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
15844         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
15845         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
15846         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
15847         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
15849 2015-09-03  Roland McGrath  <roland@hack.frob.com>
15851         * elf/Makefile (test-xfail-tst-protected1a): New variable.
15852         (test-xfail-tst-protected1b): New variable.
15854 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
15856         [BZ #14912]
15857         * bits/libc-tsd.h: Move to ...
15858         * sysdeps/generic/libc-tsd.h: ...here.
15859         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
15860         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
15861         * sysdeps/mach/hurd/libc-tsd.h: ...here.
15862         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
15863         * include/ctype.h: Include <libc-tsd.h> instead of
15864         <bits/libc-tsd.h>.
15865         * include/rpc/rpc.h: Likewise.
15866         * locale/localeinfo.h: Likewise.
15867         * sunrpc/rpc_thread.c: Likewise.
15868         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
15869         * sysdeps/nptl/malloc-machine.h: Likewise.
15871         * Makefile (headers): Remove bits/libc-lock.h.
15872         * libio/Makefile (headers): Remove bits/stdio-lock.h.
15874         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
15875         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
15876         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
15877         <bits/stdio-lock.h>.
15878         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
15879         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
15881 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
15883         [BZ #18757]
15884         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
15885         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
15886         BZ #18757.
15888 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
15890         * malloc/mtrace.pl: Filter out NULL entries.
15892 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
15894         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
15895         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
15896         macro.
15898         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
15899         (TCP_CC_INFO): Likewise.
15900         (TCP_SAVE_SYN): Likewise.
15901         (TCP_SAVED_SYN): Likewise.
15903 2015-08-31  Brett Neumeier <brett@neumeier.us>
15905         [BZ #18870]
15906         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
15908 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
15910         [BZ #18873]
15911         Fix broken overflow check in posix_fallocate
15912         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
15913         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
15914         Fix parenthesization typo.
15916 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
15918         [BZ #18887]
15919         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
15920         tst-mntent-blank-passno.
15921         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
15922         * misc/tst-mntent-blank-corrupt.c: New test.
15923         * misc/tst-mntent-blank-passno.c: New test ripped from ...
15924         * misc/tst-mntent.c (do_test): ... here.
15926 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
15928         [BZ #4404]
15929         * po/de.po: Fix SIGALRM typo.
15931 2015-08-28  James Perkins  <james@loowit.net>
15933         * time/tst-strptime2.c (tests): Replace short list of test
15934         strings for strptime %z specifier with code which exhaustively
15935         tests every combination of sign and 0 to 5 digits. Tests for
15936         rejection of invalid strings.
15938 2015-08-28  James Perkins  <james@loowit.net>
15940         [BZ #16141]
15941         * time/strptime_l.c (__strptime_internal): Fix %z minutes
15942         calculation, removing incorrect decimal time rounding, so that
15943         all minute values result in a valid seconds value.
15944         * time/strptime_l.c (__strptime_internal): Extend %z time zone
15945         offset range limits to UTC-99:59 through UTC+99:59 to parse
15946         current and historical use cases.
15947         * time/tst-strptime2.c (tests): Modify and add tests for the
15948         strptime %z input field descriptor, specifically conversion of
15949         minutes to seconds and validating an offset range of -9959 to
15950         +9959.
15952 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15953             Dmitry V. Levin  <ldv@altlinux.org>
15955         [BZ #18877]
15956         * posix/Makefile (tests): Add tst-mmap-offset.
15957         * posix/tst-mmap.c: New file.
15958         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
15959         offset calculation for negative values.
15961 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15963         * sysdeps/i386/init-arch.h: New file.
15964         * sysdeps/i386/i586/init-arch.h: Likewise.
15965         * sysdeps/i386/i686/init-arch.h: Likewise.
15966         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
15967         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
15968         * sysdeps/x86/cpu-features.h (bit_I586): New.
15969         (bit_I686): Likewise.
15970         (bit_CX8): Likewise.
15971         (bit_CMOV): Likewise.
15972         (index_CX8): Likewise.
15973         (index_CMOV): Likewise.
15974         (index_I586): Likewise.
15975         (index_I686): Likewise.
15976         (reg_CX8): Likewise.
15977         (reg_CMOV): Likewise.
15978         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
15979         available at compile-time.
15980         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
15981         available at compile-time.
15982         * sysdeps/x86/init-arch.h (USE_I586): New macro.
15983         (USE_I686): Likewise.
15985 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15987         * sysdeps/i386/bcopy.S: New file.
15988         * sysdeps/i386/bzero.S: Likewise.
15989         * sysdeps/i386/memcpy.S: Likewise.
15990         * sysdeps/i386/memmove.S: Likewise.
15991         * sysdeps/i386/mempcpy.S: Likewise.
15992         * sysdeps/i386/memset.S: Likewise.
15993         * sysdeps/i386/bzero.c: Removed.
15994         * sysdeps/i386/memset.c: Likewise.
15995         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
15996         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
15997         * sysdeps/i386/i586/memset_chk.S: Likewise.
15998         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
15999         * sysdeps/i386/memcpy_chk.S: Here.
16000         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
16001         * sysdeps/i386/memmove_chk.S: Here.
16002         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
16003         * sysdeps/i386/mempcpy_chk.S: Likewise.
16004         * sysdeps/i386/i686/memset_chk.S: Moved to ...
16005         * sysdeps/i386/memset_chk.S: Likewise.
16007 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
16009         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
16010         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
16011         file, move DIAG_POP_NEEDS_COMMENT to end of file.
16012         * soft-fp/fmadf4.c: Ditto.
16013         * soft-fp/fmatf4.c: Ditto.
16015 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16017         * sysdeps/i386/i586/Implies: Removed.
16018         * sysdeps/i386/i686/Implies: Likewise.
16020 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16022         * sysdeps/i386/i486/strlen.S: Moved to ...
16023         * sysdeps/i386/strlen.S: Here.
16025 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16027         * sysdeps/i386/i486/strcat.S: Moved to ...
16028         * sysdeps/i386/strcat.S: Here.
16030 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16032         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
16033         * sysdeps/i386/pthread_spin_trylock.S: Here.
16034         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
16035         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
16037 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16039         * sysdeps/i386/i486/string-inlines.c: Moved to ...
16040         * sysdeps/i386/string-inlines.c: Here.
16042 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16044         * sysdeps/i386/i486/htonl.S: Moved ...
16045         * sysdeps/i386/htonl.S: here.
16047 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16049         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
16050         * sysdeps/i386/bits/atomic.h: Here.
16052 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16054         * sysdeps/i386/i486/Versions: Removed.
16056 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
16058         [BZ #2898]
16059         * misc/mktemp.c: Add mkdtemp to the link_warning message.
16060         Based on patch by Aurelien Jarno.
16062 2015-08-26  Stan Shebs  <stanshebs@google.com>
16064         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
16065         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16067 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16069         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
16070         * sysdeps/powerpc/dl-procinfo.c:
16071         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
16072         feature so it shows when LD_SHOW_AUXV=1.
16074 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16076         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16077         (__arch_compare_and_exchange_val_32_acq): Remove and use common
16078         definition.  ISA 2.07B no longer requires full sync.
16080 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
16082         [BZ #18863]
16083         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
16084         (si_call_addr): Define.
16085         (si_syscall): Define.
16086         (si_arch): Define.
16088 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
16090         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
16091         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
16092         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
16093         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
16094         (__memset_zero_constant_len_parameter): New.
16095         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
16096         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
16097         (__memset_zero_constant_len_parameter): Don't define if
16098         __memset_chk or USE_AS_BZERO are defined.
16100         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
16101         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
16102         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
16104         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
16105         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
16106         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
16107         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
16108         comments.
16109         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
16110         -mno-mmx for $(all-rtld-routines).
16111         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
16112         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
16113         i386.
16115 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
16117         * sysdeps/generic/unwind.h
16118         (_Unwind_Word): Use __mode__(__unwind_word__)
16119         instead of __mode__(__word__).
16120         (_Unwind_Sword): Likewise.
16122         * sysdeps/s390/s390-64/utf8-utf16-z9.c
16123         (MAX_NEEDED_INPUT): New define.
16124         (MAX_NEEDED_OUTPUT): New define.
16126         * NEWS: New item for IBM z13 string optimizations.
16128         * sysdeps/s390/multiarch/memrchr-c.c: New File.
16129         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
16130         * sysdeps/s390/multiarch/memrchr.c: Likewise.
16131         * sysdeps/s390/multiarch/Makefile
16132         (sysdep_routines): Add memrchr functions.
16133         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16134         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
16136         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
16137         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
16138         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
16139         * sysdeps/s390/multiarch/Makefile
16140         (sysdep_routines): Add wmemcmp functions.
16141         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16142         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
16143         * benchtests/bench-wmemcmp.c: New File.
16144         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
16146         * sysdeps/s390/multiarch/wmemset-c.c: New File.
16147         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
16148         * sysdeps/s390/multiarch/wmemset.c: Likewise.
16149         * sysdeps/s390/multiarch/Makefile
16150         (sysdep_routines): Add wmemset functions.
16151         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16152         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
16153         * wcsmbs/wmemset.c: Use WMEMSET if defined.
16154         * string/test-memset.c: Add wmemset support.
16155         * wcsmbs/test-wmemset.c: New File.
16156         * wcsmbs/Makefile (strop-tests): Add wmemset.
16157         * benchtests/bench-memset.c: Add wmemset support.
16158         * benchtests/bench-wmemset.c: New File.
16159         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
16161         * sysdeps/s390/multiarch/memccpy-c.c: New File.
16162         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
16163         * sysdeps/s390/multiarch/memccpy.c: Likewise.
16164         * sysdeps/s390/multiarch/Makefile
16165         (sysdep_routines): Add memccpy functions.
16166         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16167         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
16168         * string/memccpy.c: Use MEMCCPY if defined.
16170         * sysdeps/s390/multiarch/memchr-vx.S: New File.
16171         * sysdeps/s390/multiarch/memchr.c: Likewise.
16172         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
16173         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
16174         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
16175         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
16176         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
16177         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
16178         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
16179         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
16180         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
16181         and rawmemchr functions.
16182         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16183         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
16184         and wmemchr.
16185         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
16186         * string/test-memchr.c: Add wmemchr support.
16187         * wcsmbs/test-wmemchr.c: New File.
16188         * wcsmbs/Makefile (strop-tests): Add wmemchr.
16189         * benchtests/bench-memchr.c: Add wmemchr support.
16190         * benchtests/bench-wmemchr.c: New File.
16191         * benchtests/Makefile (wcsmbs-bench): wmemchr.
16193         * sysdeps/s390/multiarch/strcspn-c.c: New File.
16194         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
16195         * sysdeps/s390/multiarch/strcspn.c: Likewise.
16196         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
16197         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
16198         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
16199         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
16200         wcscspn functions.
16201         * sysdeps/s390/multiarch/ifunc-impl-list.c
16202         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
16203         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
16204         * string/test-strcspn.c: Add wcscspn support.
16205         * wcsmbs/test-wcscspn.c: New File.
16206         * wcsmbs/Makefile (strop-tests): Add wcscspn.
16207         * benchtests/bench-strcspn.c: Add wcscspn support.
16208         * benchtests/bench-wcscspn.c: New File.
16209         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
16211         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
16212         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
16213         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
16214         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
16215         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
16216         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
16217         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
16218         wcspbrk functions.
16219         * sysdeps/s390/multiarch/ifunc-impl-list.c
16220         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
16221         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
16222         * string/test-strpbrk.c: Add wcspbrk support.
16223         * wcsmbs/test-wcspbrk.c: New File.
16224         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
16225         * benchtests/bench-strpbrk.c: Add wcspbrk support.
16226         * benchtests/bench-wcspbrk.c: New File.
16227         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
16229         * sysdeps/s390/multiarch/strspn-c.c: New File.
16230         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
16231         * sysdeps/s390/multiarch/strspn.c: Likewise.
16232         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
16233         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
16234         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
16235         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
16236         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
16237         wcsspn functions.
16238         * sysdeps/s390/multiarch/ifunc-impl-list.c
16239         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
16240         * string/test-strspn.c: Add wcsspn support.
16241         * wcsmbs/test-wcsspn.c: New File.
16242         * wcsmbs/Makefile (strop-tests): Add wcsspn.
16243         * benchtests/bench-strspn.c: Add wcsspn support.
16244         * benchtests/bench-wcsspn.c: New File.
16245         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
16247         * sysdeps/s390/multiarch/strrchr-c.c: New File.
16248         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
16249         * sysdeps/s390/multiarch/strrchr.c: Likewise.
16250         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
16251         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
16252         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
16253         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
16254         wcsrchr functions.
16255         * sysdeps/s390/multiarch/ifunc-impl-list.c
16256         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
16257         * benchtests/bench-wcsrchr.c: New File.
16258         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
16260         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
16261         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
16262         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
16263         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
16264         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
16265         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
16266         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
16267         wcschrnul functions.
16268         * sysdeps/s390/multiarch/ifunc-impl-list.c
16269         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
16270         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
16271         * string/test-strchr.c: Add wcschrnul support.
16272         * wcsmbs/test-wcschrnul.c: New File.
16273         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
16274         * benchtests/bench-strchr.c: Add wcschrnul support.
16275         * benchtests/bench-wcschrnul.c: New File.
16276         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
16278         * sysdeps/s390/multiarch/strchr-c.c: New File.
16279         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
16280         * sysdeps/s390/multiarch/strchr.c: Likewise.
16281         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
16282         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
16283         * sysdeps/s390/multiarch/wcschr.c: Likewise.
16284         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
16285         wcschr functions.
16286         * sysdeps/s390/multiarch/ifunc-impl-list.c
16287         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
16288         * string/strchr.c (STRCHR): Define and use macro.
16289         * benchtests/bench-wcschr.c: New File.
16290         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
16292         * sysdeps/s390/multiarch/strncmp-c.c: New File.
16293         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
16294         * sysdeps/s390/multiarch/strncmp.c: Likewise.
16295         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
16296         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
16297         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
16298         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
16299         wcsncmp functions.
16300         * sysdeps/s390/multiarch/ifunc-impl-list.c
16301         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
16302         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
16303         * benchtests/bench-strncmp.c: Add wcsncmp support.
16304         * benchtests/bench-wcsncmp.c: New File.
16305         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
16307         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
16308         * sysdeps/s390/multiarch/strcmp.c: Likewise.
16309         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
16310         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
16311         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
16312         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
16313         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
16314         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
16315         wcscmp functions.
16316         * sysdeps/s390/multiarch/ifunc-impl-list.c
16317         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
16318         * string/strcmp.c (STRCMP): Define and use macro.
16319         * benchtests/bench-wcscmp.c: New File.
16320         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
16321         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
16322         instead of _HAVE_STRING_ARCH_memchr.
16324         * sysdeps/s390/multiarch/strncat-c.c: New File.
16325         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
16326         * sysdeps/s390/multiarch/strncat.c: Likewise.
16327         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
16328         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
16329         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
16330         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
16331         wcsncat functions.
16332         * sysdeps/s390/multiarch/ifunc-impl-list.c
16333         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
16334         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
16335         * string/test-strncat.c: Add wcsncat support.
16336         * wcsmbs/test-wcsncat.c: New File.
16337         * wcsmbs/Makefile (strop-tests): Add wcsncat.
16338         * benchtests/bench-strncat.c: Add wcsncat support.
16339         * benchtests/bench-wcsncat.c: New File.
16340         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
16342         * sysdeps/s390/multiarch/strcat-c.c: New File.
16343         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
16344         * sysdeps/s390/multiarch/strcat.c: Likewise.
16345         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
16346         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
16347         * sysdeps/s390/multiarch/wcscat.c: Likewise.
16348         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
16349         wcscat functions.
16350         * sysdeps/s390/multiarch/ifunc-impl-list.c
16351         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
16352         * string/strcat.c (STRCAT): Define and use macro.
16353         * wcsmbs/wcscat.c: Use WCSCAT if defined.
16354         * string/test-strcat.c: Add wcscat support.
16355         * wcsmbs/test-wcscat.c: New File.
16356         * wcsmbs/Makefile (strop-tests): Add wcscat.
16357         * benchtests/bench-strcat.c: Add wcscat support.
16358         * benchtests/bench-wcscat.c: New File.
16359         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
16361         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
16362         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
16363         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
16364         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
16365         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
16366         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
16367         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
16368         wcpncpy functions.
16369         * sysdeps/s390/multiarch/ifunc-impl-list.c
16370         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
16371         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
16372         * string/test-stpncpy.c: Add wcpncpy support.
16373         * wcsmbs/test-wcpncpy.c: New File.
16374         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
16375         * benchtests/bench-stpncpy.c: Add wcpncpy support.
16376         * benchtests/bench-wcpncpy.c: New File.
16377         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
16379         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
16380         * sysdeps/s390/multiarch/strncpy.c: Likewise.
16381         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
16382         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
16383         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
16384         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
16385         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
16386         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
16387         wcsncpy functions.
16388         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
16389         * sysdeps/s390/multiarch/ifunc-impl-list.c
16390         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
16391         * string/test-strncpy.c: Add wcsncpy support.
16392         * wcsmbs/test-wcsncpy.c: New File.
16393         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
16394         * benchtests/bench-strncpy.c: Add wcsncpy support.
16395         * benchtests/bench-wcsncpy.c: New File.
16396         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
16398         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
16399         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
16400         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
16401         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
16402         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
16403         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
16404         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
16405         wcpcpy functions.
16406         * string/stpcpy.c: Use STPCPY if defined.
16407         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
16408         * sysdeps/s390/multiarch/ifunc-impl-list.c
16409         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
16410         * string/test-stpcpy.c: Add wcpcpy support.
16411         * wcsmbs/test-wcpcpy.c: New File.
16412         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
16413         * benchtests/bench-stpcpy.c: Add wcpcpy support.
16414         * benchtests/bench-wcpcpy.c: New File.
16415         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
16417         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
16418         * sysdeps/s390/multiarch/strcpy.c: Likewise.
16419         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
16420         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
16421         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
16422         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
16423         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
16424         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
16425         wcscpy functions.
16426         * sysdeps/s390/multiarch/ifunc-impl-list.c
16427         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
16428         * benchtests/bench-wcscpy.c: New File.
16429         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
16431         * sysdeps/s390/multiarch/strnlen-c.c: New File.
16432         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
16433         * sysdeps/s390/multiarch/strnlen.c: Likewise.
16434         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
16435         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
16436         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
16437         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
16438         wcsnlen functions.
16439         * sysdeps/s390/multiarch/ifunc-impl-list.c
16440         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
16441         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
16442         * string/test-strnlen.c: Add wcsnlen support.
16443         * wcsmbs/test-wcsnlen.c: New File.
16444         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
16445         * benchtests/bench-strnlen.c: Add wcsnlen support.
16446         * benchtests/bench-wcsnlen.c: New File.
16447         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
16449         * sysdeps/s390/multiarch/Makefile: New File.
16450         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
16451         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
16452         * sysdeps/s390/multiarch/strlen.c: Likewise.
16453         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
16454         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
16455         * sysdeps/s390/multiarch/wcslen.c: Likewise.
16456         * string/strlen.c (STRLEN): Define and use macro.
16457         * sysdeps/s390/multiarch/ifunc-impl-list.c
16458         (IFUNC_VX_IMPL): New macro function.
16459         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
16460         * benchtests/Makefile (wcsmbs-bench): New variable.
16461         (string-bench-all): Added wcsmbs-bench.
16462         * benchtests/bench-wcslen.c: New File.
16464         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
16465         s390_vx_libc_ifunc2): New macro function.
16467         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
16468         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
16469         assembler support.
16470         * sysdeps/s390/configure: Regenerated.
16472         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
16473         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
16475         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
16476         * sysdeps/s390/dl-procinfo.h: Add vector capability.
16477         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
16479         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
16480         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
16481         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
16482         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
16483         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
16484         (memcmp, bcmp): Use __memcmp_default as alias source.
16485         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
16486         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
16487         Rename to __memcmp_default.
16488         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
16489         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
16490         (memcpy): Use __memcpy_default as alias source.
16491         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
16492         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
16493         Rename to __memcpy_default.
16494         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
16495         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
16496         (memset): Use __memset_default as alias source.
16497         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
16498         * sysdeps/s390/s390-32/memset.S (__memset_g5):
16499         Rename to __memset_default.
16500         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
16501         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
16502         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
16503         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
16504         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
16505         (memcmp, bcmp): Use __memcmp_default as alias source.
16506         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
16507         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
16508         Rename to __memcmp_default.
16509         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
16510         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
16511         (memcpy): Use __memcpy_default as alias source.
16512         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
16513         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
16514         Rename to __memcpy_default.
16515         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
16516         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
16517         (memset): Use __memset_default as alias source.
16518         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
16519         * sysdeps/s390/s390-64/memset.S (__memset_z900):
16520         Rename to __memset_default.
16521         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
16522         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
16524         [BZ #18610]
16525         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
16526         __ieee_instruction_pointer to __unused.
16527         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
16528         __ieee_instruction_pointer.
16529         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
16530         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
16531         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16532         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16533         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
16534         Mark dxc-field as reserved.
16536 2015-08-25  Roland McGrath  <roland@hack.frob.com>
16538         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
16539         if the weak reference is not null.
16541 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16543         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
16545         [BZ #11214]
16546         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
16548 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16550         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
16551         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
16552         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
16553         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
16554         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
16555         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
16556         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
16557         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
16558         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
16559         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
16560         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
16561         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
16562         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
16563         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
16564         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
16565         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
16566         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
16567         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
16569 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16571         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
16572         register other than r0 for tabort, it has special meaning.
16573         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
16574         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
16575         transaction before starting syscall.
16577 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16579         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
16581 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16583         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
16585         * sysdeps/x86_64/rtld-memcmp.c: Removed.
16586         * sysdeps/x86_64/rtld-memset.S: Likewise.
16587         * sysdeps/x86_64/rtld-strchr.S: Likewise.
16588         * sysdeps/x86_64/rtld-strlen.S: Likewise.
16589         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
16590         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16592         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
16594 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
16596         * debug/strcpy_chk.c: Improve performance.
16597         * debug/stpcpy_chk.c: Likewise.
16598         * sysdeps/x86_64/strcpy_chk.S: Remove.
16599         * sysdeps/x86_64/stpcpy_chk.S: Remove.
16601         [BZ #18240]
16602         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
16604 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16606         [BZ #15128]
16607         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
16608         ifuncmain8.
16609         (modules-names): Add ifuncmod8.
16610         ($(objpfx)ifuncmain8): New rule.
16611         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
16612         <cpuid.h>.
16613         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
16614         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
16615         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
16616         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
16617         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
16618         * sysdeps/x86_64/dl-trampoline.h: Likewise.
16619         * sysdeps/x86_64/ifuncmain8.c: New file.
16620         * sysdeps/x86_64/ifuncmod8.c: Likewise.
16621         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
16622         Removed.
16623         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
16624         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
16625         Change rtld_savespace_sse to __glibc_unused2.
16626         (RTLD_CHECK_FOREIGN_CALL): Removed.
16627         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
16628         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
16629         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
16631 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16633         * sysdeps/aarch64/bzero.S (__bzero): Remove.
16635 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16637         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
16638         Unconditionally set __fpcr to avoid uninialized warning.
16639         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
16641 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16643         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
16644         is corrupt.
16646         * malloc/arena.c (arena_get2): Drop unused argument.
16647         (arena_lock): Adjust.
16648         (arena_get_retry): Likewise.
16650 2015-08-24  Andreas Schwab  <schwab@suse.de>
16652         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
16653         Don't define.
16654         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16655         (__ASSUME_IPC64): Don't undef.
16656         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
16657         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16658         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16659         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
16660         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
16661         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
16662         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
16663         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
16664         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
16665         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
16666         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
16667         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
16668         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
16669         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
16670         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
16671         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
16672         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
16673         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
16674         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
16675         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
16676         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
16678 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
16680         * manual/Makefile (install): Only build manual when perl is available.
16682 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16684         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
16685         '#undef memcpy' by '#undef memchr'.
16687 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16689         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
16690         memchr not point to the internal __GI_memchr implementation.
16692 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
16694         * timezone/Makefile (CFLAGS-zdump.c): Remove
16695         -Wno-strict-prototypes.
16696         (CFLAGS-zic.c): Likewise.
16697         (CFLAGS-ialloc.c): Likewise.
16698         (CFLAGS-scheck.c): Likewise.
16700         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
16701         -Wno-error=undef.
16703 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16705         * i386/i686/multiarch/strcasestr-c.c: Removed.
16706         * x86_64/multiarch/strcasestr.c: Likewise.
16707         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16708         Remove strcasestr.
16710 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
16712         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
16714         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
16715         variables for high and low parts before possibly modifying them.
16717 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16719         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
16720         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
16721         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
16722         of "multiarch/init-arch.h".
16723         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
16724         * sysdeps/x86/init-arch.h: This.
16726 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16728         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
16729         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
16731 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
16733         [BZ #17787]
16734         * manual/macros.texi: Add twoexp macro.
16735         * manual/filesys.texi: Fix exponents.
16736         * manual/llio.texi: Likewise.
16737         * manual/stdio.texi: Likewise.
16739 2015-08-20  Florian Weimer  <fweimer@redhat.com>
16741         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
16742         incorrect use.
16744 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
16746         [BZ #18370]
16747         * math/s_csqrt.c (__csqrt): Force underflow exception for results
16748         whose real or imaginary part has small absolute value.
16749         * math/s_csqrtf.c (__csqrtf): Likewise.
16750         * math/s_csqrtl.c (__csqrtl): Likewise.
16751         * math/auto-libm-test-in: Add more tests of csqrt.
16752         * math/auto-libm-test-out: Regenerated.
16753         * sysdeps/i386/fpu/libm-test-ulps: Update.
16755 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16757         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
16758         __ppc_set_ppr_very_low): New functions.
16759         * manual/platform.texi: Add documentation about
16760         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
16762 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
16764         * string/stpncpy.c (stpncpy): Improve performance using
16765         __strnlen/memcpy/memset.
16767 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16769         [BZ #18796]
16770         * scripts/test-installation.pl: Don't add -lmvec to build options if
16771         libmvec wasn't built.
16773 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
16775         [BZ #14341]
16776         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
16777         case when there is a gap between DT_REL and DT_JMPREL sections.
16778         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
16779         (LDFLAGS-tst-split-dynreloc): New.
16780         (tst-split-dynreloc-ENV): Likewise.
16781         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
16782         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
16784 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16786         [BZ #18822]
16787         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
16788         attribute_hidden.
16789         (__xstat64_conv): Likewise.
16790         (__xstat32_conv): Likewise.
16792 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16794         [BZ #18822]
16795         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
16796         Don't load %ebx when calling __setcontext.  Call __setcontext
16797         with HIDDEN_JUMPTARGET.
16798         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
16799         libc_hidden_def.
16801 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16803         * sysdeps/i386/i686/Makefile
16804         [$(subdir) == string] (sysdep_routines): Moved to ...
16805         * sysdeps/i386/Makefile: Here.
16806         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
16807         * sysdeps/i386/cacheinfo.c: Here.
16808         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
16809         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
16810         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
16811         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
16813 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16815         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
16816         __i586__ is defined.
16817         (HAS_I686): Defined to 1 if __i686__ is defined.
16819 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
16821         * elf/Makefile [$(have-z-execstack) = yes]
16822         (CPPFLAGS-tst-execstack.c): New variable.
16824         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
16825         conditional to [defined UTMPX || _HAVE_UT_TYPE].
16826         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
16827         UTMPX || _HAVE_UT_TV].
16828         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
16829         UTMPX || _HAVE_UT_TV - 0].
16831 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
16833         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
16834         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
16835         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
16837 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16839         * sysdeps/powerpc/dl-procinfo.c:
16840         (_dl_powerpc_cap_flags): Added missing strings for some
16841         hwcap features.
16842         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
16844 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
16846         Port the 0x7efe...feff pattern to GCC 6.
16847         See Steve Ellcey's bug report in:
16848         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
16849         * string/memrchr.c (MEMRCHR):
16850         * string/rawmemchr.c (RAWMEMCHR):
16851         * string/strchr.c (strchr):
16852         * string/strchrnul.c (STRCHRNUL):
16853         Rewrite code to avoid issues with signed shift overflow.
16855 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
16857         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
16858         whether cpuid is available only if HAS_CPUID is 0.
16859         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
16860         (HAS_I586): Likewise.
16861         (HAS_I686): Likewise.
16863 2015-08-18  Zack Weinberg  <zackw@panix.com>
16865         * misc/Versions (libc): Add GLIBC_2.23.
16867 2015-08-18  Alan Modra  <amodra@gmail.com>
16869         [BZ #18421]
16870         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
16871         .Lp__global.
16872         (_start): Load %dp via .Lp__global.
16873         [!SHARED]: Use .section .rodata.
16875 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16877         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
16878         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
16880 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16882         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
16883         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
16885 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16887         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
16888         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
16890 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16892         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
16893         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
16895 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16897         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
16898         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
16900 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16902         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
16903         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
16905 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16907         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
16909 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16911         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
16912         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
16913         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16914         (__ASSUME_LWS_CAS): Delete.
16916 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16918         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
16919         * sysdeps/hppa/configure: Regenerated.
16920         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
16921         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
16922         * sysdeps/hppa/nptl/tls.h: Likewise.
16924 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
16926         [BZ #18823]
16927         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
16928         for scaling up small arguments.
16929         * math/s_csqrtf.c (__csqrtf): Likewise.
16930         * math/s_csqrtl.c (__csqrtl): Likewise.
16931         * math/auto-libm-test-in: Add more tests of csqrt.
16932         * math/auto-libm-test-out: Regenerated.
16934 2015-08-17  Andreas Schwab  <schwab@suse.de>
16936         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
16937         version set GLIBC_2.19.
16939 2015-08-16  Zack Weinberg  <zackw@panix.com>
16941         [BZ #18681]
16942         * misc/regexp.h: This interface is no longer supported.
16943         Remove all contents, leaving only an #error directive.
16944         * misc/regexp.c (loc1, loc2, locs, step, advance):
16945         Demote to compatibility symbols.
16947 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
16949         [BZ #18084]
16950         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
16951         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
16952         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
16953         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
16954         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
16955         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
16956         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
16957         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
16958         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
16960 2015-08-15  Zack Weinberg  <zackw@panix.com>
16962         [BZ #18795]
16963         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
16964         buffer length is known to be too large, not if it's known to be
16965         small enough.
16966         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
16967         overflow at runtime, involving a length parameter, twice: once
16968         with a compile-time constant length parameter, once without.
16970 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
16972         [BZ #18824]
16973         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
16974         scaling x * y up instead of down.
16975         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16976         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16977         * math/auto-libm-test-in: Add more tests of fma.
16978         * math/auto-libm-test-out: Regenerated.
16980 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
16982         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16984 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16986         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
16987         unnecessary movq.
16988         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
16989         Likewise.
16991 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
16993         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16994         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
16995         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
16996         and tgamma.
16997         * math/auto-libm-test-out: Regenerated.
16998         * sysdeps/i386/fpu/libm-test-ulps: Update.
16999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17001         [BZ #16520]
17002         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
17003         (__tanh): Force underflow exception for arguments with small
17004         absolute value.
17005         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
17006         (__tanhf): Force underflow exception for arguments with small
17007         absolute value.
17008         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
17009         (__tanhl): Force underflow exception for arguments with small
17010         absolute value.
17011         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
17012         (__tanhl): Force underflow exception for arguments with small
17013         absolute value.
17014         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
17015         (__tanhl): Force underflow exception for arguments with small
17016         absolute value.
17017         * math/auto-libm-test-in: Add more tests of tanh.
17018         * math/auto-libm-test-out: Regenerated.
17019         * sysdeps/i386/fpu/libm-test-ulps: Update.
17021 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17023         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
17024         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
17026 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17028         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
17029         <cpuid.h>.
17031 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17033         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
17034         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
17036 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17038         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
17039         Remove $(objpfx)init-arch.o.
17040         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
17041         init-arch.
17042         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
17043         (INIT_ARCH_EXT): Defined as empty.
17044         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
17045         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
17046         __init_cpu_features call.  Replace HAS_XXX with
17047         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17048         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
17049         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
17050         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
17051         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
17052         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
17053         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
17054         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
17055         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
17056         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
17057         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
17058         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
17059         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
17060         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
17061         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
17062         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
17063         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
17064         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
17065         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
17066         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
17067         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
17068         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
17069         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
17070         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
17071         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
17072         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
17073         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
17074         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
17075         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
17076         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
17077         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
17078         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
17079         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
17080         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
17081         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
17082         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
17084 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17086         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
17087         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17088         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
17089         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
17090         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
17091         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
17092         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
17093         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
17094         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
17095         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
17096         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
17097         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
17098         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17099         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17100         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17101         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17102         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17103         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17104         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17105         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17106         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17107         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17108         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17109         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17110         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17111         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17112         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17113         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17114         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17115         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17116         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17117         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17118         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17119         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17120         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17121         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17122         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17123         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17124         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17125         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17126         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17127         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17128         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17130 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17132         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
17133         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17134         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17135         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17136         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17137         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
17138         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17139         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
17140         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17141         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17142         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17143         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
17144         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
17145         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
17146         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
17147         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
17148         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
17149         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
17150         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
17151         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
17152         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
17153         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
17154         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
17155         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17156         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17157         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
17158         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
17159         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
17160         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17161         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17162         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17163         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17164         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17165         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17166         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17167         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17168         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17169         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17170         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17171         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17172         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17173         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17174         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17176 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17178         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
17179         (dl_platform_init): Call init_cpu_features.
17180         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
17181         * sysdeps/i386/i686/cacheinfo.c
17182         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
17183         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
17184         * sysdeps/i386/i686/multiarch/Versions: Removed.
17185         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
17186         Removed.
17187         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
17188         * sysdeps/unix/sysv/linux/x86/Makefile
17189         (libpthread-sysdep_routines): Remove init-arch.
17190         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
17191         <sysdeps/x86_64/dl-procinfo.c> instead of
17192         sysdeps/generic/dl-procinfo.c>.
17193         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
17194         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
17195         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
17196         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
17197         [$(subdir) == elf] (tests-static): Add
17198         tst-get-cpu-features-static.
17199         * sysdeps/x86/Versions: New file.
17200         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
17201         * sysdeps/x86/cpu-features.c: Likewise.
17202         * sysdeps/x86/cpu-features.h: Likewise.
17203         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
17204         * sysdeps/x86/libc-start.c: Likewise.
17205         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
17206         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
17207         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
17208         * sysdeps/x86_64/dl-procinfo.c: Likewise.
17209         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
17210         Assume USE_MULTIARCH is defined and don't check it.
17211         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
17212         (is_amd): Likewise.
17213         (max_cpuid): Likewise.
17214         (intel_check_word): Likewise.
17215         (__cache_sysconf): Don't call __init_cpu_features.
17216         (__x86_preferred_memory_instruction): Removed.
17217         (init_cacheinfo): Don't call __init_cpu_features. Replace
17218         __cpu_features with GLRO(dl_x86_cpu_features).
17219         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
17220         (dl_platform_init): Call init_cpu_features.
17221         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
17222         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
17223         * sysdeps/x86_64/multiarch/Versions: Removed.
17224         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
17225         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
17226         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
17227         Removed.
17228         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
17230 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17232         [BZ #18820]
17233         * libio/Makefile (test-fmemopen-mem): New test.
17234         * libio/test-fmemopen.c (do_bz18820): New test.
17235         * libio/fmemopen.c (__fmemopen): Fix memory leak.
17236         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
17238 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17240         [BZ #16734]
17241         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
17242         (FREE_BUF): Delete.
17243         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
17244         * libio/genops.c (_IO_setb): Use malloc and free directly.
17245         (_IO_default_doallocate, _IO_default_finish): Likewise.
17246         ( _IO_unbuffer_all): Likewise.
17247         ( libc_freeres_fn): Likewise.
17248         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17249         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
17250         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
17251         (_IO_wdefault_doallocate): Likewise.
17253 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17255         [BZ #18086]
17256         * sysdeps/posix/nice.c (nice): Restore old errno.
17257         * posix/tst-nice.c (do_test): Add test for BZ #18086.
17259 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
17261         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
17263 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17265         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
17266         __bcopy and add a weak_alias to bcopy.
17267         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
17268         for static build.
17270         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
17271         cleanup macro usage.
17272         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
17273         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
17274         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
17275         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
17276         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
17277         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
17278         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
17279         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
17280         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17281         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
17282         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17283         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
17284         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17285         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
17286         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17287         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
17288         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
17289         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
17290         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
17292         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
17293         libc_hidden_def.
17294         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
17296         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
17297         (sysdep_routines): Add strstr-ppc64.
17298         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
17300 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
17302         [BZ #18778]
17303         * elf/Makefile (tests): Add Add tst-nodelete2.
17304         (modules-names): Add tst-nodelete2mod.
17305         (tst-nodelete2mod.so-no-z-defs): New.
17306         ($(objpfx)tst-nodelete2): Likewise.
17307         ($(objpfx)tst-nodelete2.out): Likewise.
17308         (LDFLAGS-tst-nodelete2): Likewise.
17309         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
17310         out of loop through all loaded libraries.
17311         * elf/tst-nodelete2.c: New file.
17312         * elf/tst-nodelete2mod.c: Likewise.
17313         * elf/tst-znodelete-zlib.cc: Delete.
17315 2015-08-11  Andreas Schwab  <schwab@suse.de>
17317         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
17318         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
17319         (__openat64_nocancel): Likewise.
17321 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
17323         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
17324         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
17325         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
17326         * math/auto-libm-test-out: Regenerated.
17327         * sysdeps/i386/fpu/libm-test-ulps: Update.
17328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17330 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
17332         [BZ #18790]
17333         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
17334         threshold for returning +/- 1.
17335         * math/auto-libm-test-in: Add more tests of tanh.
17336         * math/auto-libm-test-out: Regenerated.
17337         * sysdeps/i386/fpu/libm-test-ulps: Update.
17339 2015-08-10  Andreas Schwab  <schwab@suse.de>
17341         [BZ #18781]
17342         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
17343         MORE_OFLAGS to oflag.
17344         * io/test-lfs.c (do_test): Test openat64.
17346 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
17348         [BZ #18789]
17349         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
17350         smaller threshold for returning the argument.
17351         * math/auto-libm-test-in: Add more tests of sinh.
17352         * math/auto-libm-test-out: Regenerated.
17353         * sysdeps/i386/fpu/libm-test-ulps: Update.
17355 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
17357         [BZ #18674]
17358         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
17359         break.
17361 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
17363         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
17364         (generated): Don't add $(addprefix z.,$(tzfiles)).
17366 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17368         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
17369         * scripts/sysd-rules.awk: Likewise.
17371 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17373         * iconvdata/tst-tables.sh: Change echo -n to printf.
17374         * nss/db-Makefile: Likewise.
17375         * posix/tst-getconf.sh: Likewise.
17376         * stdio-common/tst-unbputc.sh: Likewise.
17378 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17380         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
17381         MADV_*_PAGES defines behind this feature check.
17383 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
17385         [BZ #18480]
17386         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
17387         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
17388         Define.
17389         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
17390         LOAD_REGS_5, LOAD_REGS_6): Update.
17391         (INTERNAL_SYSCALL): Update using new LOAD defines.
17392         (INTERNAL_SYSCALL_NCS): Likewise.
17393         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
17395 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17397         [BZ #16734]
17398         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
17400 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17402         [BZ #17905]
17403         * catgets/Makefile (tst-catgets-mem): New test.
17404         * catgets/catgets.c (catopen): Don't use unbounded alloca.
17405         * catgets/open_catalog.c (__open_catalog): Likewise.
17406         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
17408 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
17410         [BZ #18787]
17411         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
17412         clobber registers.
17413         (atomic_compare_and_exchange_val_acq): Use register asms to assign
17414         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
17415         Cast return to __typeof (oldval).
17417 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
17419         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
17420         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
17421         and delete sys/syscall.h include.
17423 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
17425         [BZ #16517]
17426         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
17427         (tan): Force underflow exception for arguments with small absolute
17428         value.
17429         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
17430         (__kernel_tanf): Force underflow exception for arguments with
17431         small absolute value.
17432         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
17433         (__kernel_tanl): Force underflow exception for arguments with
17434         small absolute value.
17435         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
17436         (__kernel_tanl): Force underflow exception for arguments with
17437         small absolute value.
17438         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
17439         (__kernel_tanl): Force underflow exception for arguments with
17440         small absolute value.
17441         * math/auto-libm-test-in: Add more tests of tan.
17442         * math/auto-libm-test-out: Regenerated.
17444 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17446         Fix sysdeps/i386/fpu/s_scalbn.S build
17448         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
17450 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
17452         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17454 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17456         Fix gcrt0.o compilation
17458         When static-start-installed-name is different from
17459         start-installed-name, we must not use the shared objects.
17461         * csu/Makefile
17462         (extra-objs): Add gmon-start.o when building shared library and
17463         $(static-start-installed-name) is different from
17464         $(start-installed-name).
17465         $(objpfx)g$(static-start-installed-name): When building shared
17466         library and $(static-start-installed-name) is different from
17467         $(static-start-installed-name), revert to non-shared rule,
17468         i.e. using $(objpfx)% and gmon-start.o.
17470 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
17472         [BZ #16519]
17473         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
17474         (__ieee754_sinh): Force underflow exception for arguments with
17475         small absolute value.
17476         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
17477         (__ieee754_sinhf): Force underflow exception for arguments with
17478         small absolute value.
17479         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
17480         (__ieee754_sinhl): Force underflow exception for arguments with
17481         small absolute value.
17482         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
17483         (__ieee754_sinhl): Force underflow exception for arguments with
17484         small absolute value.
17485         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
17486         (__ieee754_sinhl): Force underflow exception for arguments with
17487         small absolute value.
17488         * math/auto-libm-test-in: Add more tests of sinh.
17489         * math/auto-libm-test-out: Regenerated.
17490         * sysdeps/i386/fpu/libm-test-ulps: Update.
17492 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17494         * libio/oldfileops.c: Include unistd.h.
17496 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
17498         * stdlib/isomac.c: Include ctype.h.
17500 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
17502         * dirent/tst-seekdir.c (main): Converted to ...
17503         (do_test): ... this.
17504         (TEST_FUNCTION): New macro.
17505         Include test-skeleton.c.
17506         * elf/tst-dlmodcount.c (main): Converted to ...
17507         (do_test): ... this.
17508         (TEST_FUNCTION): New macro.
17509         Include test-skeleton.c.
17510         * elf/tst-order-main.c (main): Converted to ...
17511         (do_test): ... this.
17512         (TEST_FUNCTION): New macro.
17513         Include test-skeleton.c.
17514         * elf/tst-pie2.c (main): Converted to ...
17515         (do_test): ... this.
17516         (TEST_FUNCTION): New macro.
17517         Include test-skeleton.c.
17518         * inet/tst-ether_aton.c (main): Converted to ...
17519         (do_test): ... this.
17520         (TEST_FUNCTION): New macro.
17521         Include test-skeleton.c.
17522         * misc/tst-mntent.c (main): Converted to ...
17523         (do_test): ... this.
17524         (TEST_FUNCTION): New macro.
17525         Include test-skeleton.c.
17526         * misc/tst-tsearch.c (main): Converted to ...
17527         (do_test): ... this.
17528         (TEST_FUNCTION): New macro.
17529         Include test-skeleton.c.
17530         * posix/tst-regexloc.c (main): Converted to ...
17531         (do_test): ... this.
17532         (TEST_FUNCTION): New macro.
17533         Include test-skeleton.c.
17534         * resolv/tst-aton.c (main): Converted to ...
17535         (do_test): ... this.
17536         (TEST_FUNCTION): New macro.
17537         Include test-skeleton.c.
17538         * stdio-common/test-fwrite.c (main): Converted to ...
17539         (do_test): ... this.
17540         (TEST_FUNCTION): New macro.
17541         Include test-skeleton.c.
17542         * stdio-common/tst-ferror.c (main): Converted to ...
17543         (do_test): ... this.
17544         (TEST_FUNCTION): New macro.
17545         Include test-skeleton.c.
17546         * stdio-common/tst-printf.c (main): Converted to ...
17547         (do_test): ... this.
17548         (TEST_FUNCTION): New macro.
17549         Include test-skeleton.c.
17550         * stdio-common/tst-printfsz.c (main): Converted to ...
17551         (do_test): ... this.
17552         (TEST_FUNCTION): New macro.
17553         Include test-skeleton.c.
17554         * stdlib/tst-strtod.c (main): Converted to ...
17555         (do_test): ... this.
17556         (TEST_FUNCTION): New macro.
17557         Include test-skeleton.c.
17558         * string/tst-strlen.c (main): Converted to ...
17559         (do_test): ... this.
17560         (TEST_FUNCTION): New macro.
17561         Include test-skeleton.c.
17562         * string/tst-svc.c (main): Converted to ...
17563         (do_test): ... this.
17564         (TEST_FUNCTION): New macro.
17565         Include test-skeleton.c.
17566         * time/tst-strptime.c (main): Converted to ...
17567         (do_test): ... this.
17568         (TEST_FUNCTION): New macro.
17569         Include test-skeleton.c.
17570         * timezone/tst-timezone.c (main): Converted to ...
17571         (do_test): ... this.
17572         (TEST_FUNCTION): New macro.
17573         Include test-skeleton.c.
17575 2015-08-05  Zack Weinberg  <zackw@panix.com>
17577         * misc/regexp.h: Update comments.
17579 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
17581         [BZ #18635]
17582         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
17583         before return label.
17585 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17587         [BZ #18661]
17588         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
17589         when calling __errno_location.
17590         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
17591         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
17593 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17595         [BZ #18661]
17596         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
17597         (__lll_timedwait_tid): Align stack to 16 bytes when calling
17598         __gettimeofday.
17600 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17602         [BZ #18661]
17603         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17604         (__start_context): Don't use pop to restore %rdi so that stack
17605         is aligned to 16 bytes when calling __setcontext.
17607 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17609         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
17610         only for libc.
17611         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17613 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17615         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
17616         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
17617         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
17619 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17621         * string/memccpy.c (memccpy):
17622         Improve performance by using memchr/memcpy/__mempcpy.
17624 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17626         * string/strncpy.c (strncpy):
17627         Improve performance by using __strnlen/memcpy.
17629 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17631         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17632         Optimize to avoid an unnecessary FPCR read.
17634 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17636         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
17637         Optimize to reduce FPCR/FPSR accesses.
17639 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17641         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
17642         dead->data[category] != NULL.
17644 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
17646         [BZ #18647]
17647         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
17648         and |x| close to 1, use absolute value of x when computing log.
17649         * math/auto-libm-test-in: Add more tests of pow.
17650         * math/auto-libm-test-out: Regenerated.
17652 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17654         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
17655         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
17656         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
17658 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
17660         [BZ #18525]
17661         * locales/km_KH: Remove timezone definition.
17662         * locales/lo_LA: Likewise.
17663         * locales/my_MM: Likewise.
17664         * locales/nan_TW@latin: Likewise.
17665         * locales/th_TH: Likewise.
17666         * locales/uk_UA: Likewise.
17668 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
17670         [BZ #18265]
17671         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
17672         (wcsncat): Likewise.
17673         (wcscmp): Likewise.
17674         (wcsncmp): Likewise.
17676 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17678         * test-skeleton.c (usage): New function.
17679         (main): Call usage when opt is '?'.
17681 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17683         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
17684         before first use.
17686 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17688         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
17689         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
17690         in there too.
17692 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
17694         * version.h (RELEASE): Set to "development".
17695         (VERSION): Set to "2.22.90"
17697         * version.h (RELEASE): Set to "stable".
17698         (VERSION): Set to "2.22"
17699         * include/features.h (__GLIBC_MINOR__): Set to 22.
17701 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
17703         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
17704         Restructure macro to avoid "value computed is not used" warning.
17705         (atomic_compare_and_exchange_val_acq): Likewise.
17707 2015-08-04  Andreas Schwab  <schwab@suse.de>
17709         [BZ #18635]
17710         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
17711         ret.
17712         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
17714 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
17716         * po/pl.po: Updated translation.
17717         * po/uk.po: Likewise.
17718         * po/fi.po: Likewise.
17719         * po/ko.po: Likewise.
17720         * po/ru.po: Likewise.
17721         * po/vi.po: Likewise.
17723 2015-07-31  Zack Weinberg  <zackw@panix.com>
17725         [BZ #18681]
17726         * regexp.h: Add unconditional #warning stating that this header
17727         will be removed soon.  Revise banner comment to match.
17728         (compile): Consistently use ERROR instead of RETURN to report
17729         errors (partial fix for bz#18681).
17730         * regexp.c: Don't include regexp.h. Remove some unnecessary
17731         declarations.
17733 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
17735         * po/libc.pot: Regenerated.
17737 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17739         [BZ #18740]
17740         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
17741         float-vlen4-arch-ext-cflags): Removed.
17742         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
17743         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
17745 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17747         [BZ #14113]
17748         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
17749         aligned to __aligned__.
17750         (pthread_cond_t, pthread_rwlock_t): Likewise.
17752 2015-07-30  Torvald Riegel  <triegel@redhat.com>
17754         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
17756 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17758         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
17759         (struct sigaction): Change sa_flags from a long to an int, and add
17760         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
17762 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17764         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
17765         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
17766         sysdeps/generic/sysdep.h include.
17767         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
17768         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
17769         sysdeps/hppa/sysdep.h.
17770         (ENTRY, PSEUDO): Undefine before defining.
17772 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17774         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
17775         from scratch to use INTERNAL_SYSCALL.
17777 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
17779         [BZ #18078]
17780         * scripts/check-localplt.awk: Support alternate relocations.
17781         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
17782         sections.
17783         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
17784         malloc entries with + REL R_386_GLOB_DAT.
17785         * sysdeps/x86_64/localplt.data: New file.
17787 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
17789         [BZ #18731]
17790         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
17791         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17792         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17794 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17796         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
17798 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17800         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
17801         directly in terms of __sync_fetch_and_add and delete (int) cast.
17803 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17805         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
17806         the -D_ASM_IA64_CURRENT_H flag.
17808 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17810         [BZ #18641]
17811         * pwd/pwd.h (putpwent): Delete __nonnull markings.
17813 2015-07-27  Andreas Schwab  <schwab@suse.de>
17815         * conform/conformtest.pl (checknamespace): Filter out string
17816         literals while tokenizing.
17818 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
17820         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17821         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
17822         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17824 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
17826         * nptl/tst-join7mod.c: Add #include <string.h>.
17828 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
17830         * sysdeps/nios2/libm-test-ulps: Update.
17832 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
17834         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
17835         Fix order of arguments to the rt_sigprocmask syscall.
17836         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
17837         Likewise.
17839 2015-07-24  Roland McGrath  <roland@hack.frob.com>
17841         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
17843 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17845         [BZ #18457]
17846         * nptl/Makefile (tests): New test case tst-join7.
17847         (modules-names): New test case module tst-join7mod.
17848         * nptl/tst-join7.c: New file.
17849         * nptl/tst-join7mod.c: New file.
17850         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
17851         all translation units in libc.so, libpthread.so and rtld.
17853 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17855         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17857 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
17859         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
17860         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
17861         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
17862         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
17863         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
17864         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
17865         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
17866         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
17867         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
17868         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
17869         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
17870         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
17871         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
17872         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
17873         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
17874         implementation.
17876 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17878         [BZ #17711]
17879         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17880         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
17881         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17882         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17883         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
17884         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17886 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17888         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
17889         instead of just saying load lock in the comments.
17891 2015-07-23  Roland McGrath  <roland@hack.frob.com>
17893         * sysdeps/unix/Subdirs: Moved ...
17894         * sysdeps/posix/Subdirs: ... here.
17895         * login/pty.h (struct termios, struct winsize): Add forward decls.
17896         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
17897         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
17898         * sysdeps/arm/nacl/libc.abilist: Updated.
17899         * sysdeps/nacl/libutil.abilist: New file.
17901         * bits/signum.h: Update comments to mention 1003.1-2013 too.
17902         (SIGWINCH): New macro.
17904         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
17905         * sysdeps/arm/nacl/libc.abilist: Add it.
17907 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
17909         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
17911 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
17913         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17914         Swap __glibc_reserved0 and sa_flags order.
17916 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17918         [BZ #18657]
17919         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
17920         are pending TLS destructor calls.
17921         * include/link.h (struct link_map): Add concurrency note for
17922         L_TLS_DTOR_COUNT.
17923         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17924         Don't touch the link map flag.  Atomically increment
17925         l_tls_dtor_count.
17926         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
17927         Avoid taking the load lock and don't touch the link map flag.
17928         * stdlib/tst-tls-atexit-nodelete.c: New test case.
17929         * stdlib/Makefile (tests): Use it.
17930         * stdlib/tst-tls-atexit.c (do_test): dlopen
17931         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
17932         to allow tst-tls-atexit-nodelete test case to use it.
17934 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17936         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
17937         to bits/types.h.
17938         (msgqnum_t): New typedef.
17939         (msglen_t): Likewise.
17940         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
17941         and msg_qbytes type to msglen_t.
17943 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17945         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
17946         pad0 to __glibc_reserved0.
17947         (struct stat64): Likewise.
17949 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17951         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17952         Change sa_flags from a long to an int and add __glibc_reserved0 before
17953         it for padding.
17955 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17957         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
17958         anonymous by deleting "siginfo" name.
17960 2015-07-21  Roland McGrath  <roland@hack.frob.com>
17962         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
17963         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
17964         rather than __nacl_irt_filename.
17965         * sysdeps/nacl/xstat.c (__xstat): Likewise.
17967         * NEWS: New item for arm-nacl port.
17968         * sysdeps/arm/nacl/libc.abilist: New file.
17969         * sysdeps/nacl/ld.abilist: New file.
17970         * sysdeps/nacl/libBrokenLocale.abilist: New file.
17971         * sysdeps/nacl/libanl.abilist: New file.
17972         * sysdeps/nacl/libcrypt.abilist: New file.
17973         * sysdeps/nacl/libdl.abilist: New file.
17974         * sysdeps/nacl/libm.abilist: New file.
17975         * sysdeps/nacl/libpthread.abilist: New file.
17976         * sysdeps/nacl/libresolv.abilist: New file.
17977         * sysdeps/nacl/librt.abilist: New file.
17979 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
17981         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
17982         __startcontext to initialize the new context.
17983         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
17984         up CFI directive to forbid further backtracing.
17986 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
17988         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
17989         reference.
17990         * charmaps/ANSI_X3.4-1968: Likewise.
17991         * charmaps/BS_4730: Likewise.
17992         * charmaps/BS_VIEWDATA: Likewise.
17993         * charmaps/CP1250: Likewise.
17994         * charmaps/CP1251: Likewise.
17995         * charmaps/CP1252: Likewise.
17996         * charmaps/CP1253: Likewise.
17997         * charmaps/CP1254: Likewise.
17998         * charmaps/CP1255: Likewise.
17999         * charmaps/CP1256: Likewise.
18000         * charmaps/CSN_369103: Likewise.
18001         * charmaps/EBCDIC-DK-NO: Likewise.
18002         * charmaps/GB_1988-80: Likewise.
18003         * charmaps/GREEK-CCITT: Likewise.
18004         * charmaps/GREEK7: Likewise.
18005         * charmaps/INIS-8: Likewise.
18006         * charmaps/ISIRI-3342: Likewise.
18007         * charmaps/ISO_2033-1983: Likewise.
18008         * charmaps/ISO_5427-EXT: Likewise.
18009         * locales/POSIX: Likewise.
18010         * locales/ar_SA: Likewise.
18011         * locales/be_BY: Likewise.
18012         * locales/be_BY@latin: Likewise.
18013         * locales/ca_ES: Likewise.
18014         * locales/cs_CZ: Likewise.
18015         * locales/da_DK: Likewise.
18016         * locales/de_BE: Likewise.
18017         * locales/de_CH: Likewise.
18018         * locales/de_LU: Likewise.
18019         * locales/en_AU: Likewise.
18020         * locales/en_BW: Likewise.
18021         * locales/en_CA: Likewise.
18022         * locales/en_DK: Likewise.
18023         * locales/en_GB: Likewise.
18024         * locales/en_IE: Likewise.
18025         * locales/en_NZ: Likewise.
18026         * locales/en_ZA: Likewise.
18027         * locales/en_ZW: Likewise.
18028         * locales/es_AR: Likewise.
18029         * locales/es_BO: Likewise.
18030         * locales/es_CL: Likewise.
18031         * locales/es_CO: Likewise.
18032         * locales/es_DO: Likewise.
18033         * locales/es_EC: Likewise.
18034         * locales/es_ES: Likewise.
18035         * locales/es_HN: Likewise.
18036         * locales/es_MX: Likewise.
18037         * locales/es_PA: Likewise.
18038         * locales/es_PE: Likewise.
18039         * locales/es_PY: Likewise.
18040         * locales/es_SV: Likewise.
18041         * locales/es_US: Likewise.
18042         * locales/es_UY: Likewise.
18043         * locales/es_VE: Likewise.
18044         * locales/et_EE: Likewise.
18045         * locales/fa_IR: Likewise.
18046         * locales/fo_FO: Likewise.
18047         * locales/fr_CA: Likewise.
18048         * locales/fr_CH: Likewise.
18049         * locales/gv_GB: Likewise.
18050         * locales/he_IL: Likewise.
18051         * locales/hr_HR: Likewise.
18052         * locales/id_ID: Likewise.
18053         * locales/is_IS: Likewise.
18054         * locales/it_CH: Likewise.
18055         * locales/iw_IL: Likewise.
18056         * locales/kl_GL: Likewise.
18057         * locales/ko_KR: Likewise.
18058         * locales/kw_GB: Likewise.
18059         * locales/lg_UG: Likewise.
18060         * locales/lt_LT: Likewise.
18061         * locales/lv_LV: Likewise.
18062         * locales/mi_NZ: Likewise.
18063         * locales/nhn_MX: Likewise.
18064         * locales/nl_BE: Likewise.
18065         * locales/pl_PL: Likewise.
18066         * locales/sk_SK: Likewise.
18067         * locales/sl_SI: Likewise.
18068         * locales/sv_FI: Likewise.
18069         * locales/tl_PH: Likewise.
18070         * locales/tr_TR: Likewise.
18071         * locales/vi_VN: Likewise.
18073 2015-07-21  Khem Raj  <raj.khem@gmail.com>
18075         [BZ #17475]
18076         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
18077         of tu_IN and bh_IN.
18079 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
18081         [BZ #18694]
18082         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
18083         bits/wordsize.h.
18084         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
18086 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18088         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
18089         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
18090         (spawn_thread): New function.
18091         (load): Rename to reg_dtor_and_close.  Move dlopen to...
18092         (do_test): ... here.  Use IS_LOADED to test for its
18093         availability.
18095 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
18097         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18099 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
18101         [BZ #18696]
18102         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
18103         si_addr_bnd.
18104         (si_lower): New.
18105         (si_upper): Likewise.
18107 2015-07-16  David S. Miller  <davem@davemloft.net>
18109         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
18111 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18113         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
18114         buffer.
18115         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
18116         fail output information.
18118 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18120         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
18121         and strstr-ppc64..
18122         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18123         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
18124         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
18125         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
18126         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
18128 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
18130         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
18131         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18132         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
18133         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18135 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
18137         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
18138         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
18139         rtld_hidden_proto.
18140         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
18142 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18144         * tst-nodelete-opened.c (do_test): Add comment to clarify how
18145         the test can fail.
18147         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
18149         [BZ #18676]
18150         * elf/tst-nodelete-opened.c: New test case.
18151         * elf/tst-nodelete-opened-lib.c: New test case module.
18152         * elf/Makefile (tests, modules-names): Use them.
18153         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
18154         early.
18156 2015-07-15  David S. Miller  <davem@davemloft.net>
18158         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
18159         futex-intenal.h
18160         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
18161         * sysdeps/sparc/sparc64/Makefile: Likewise.
18162         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
18163         Remove space from macro define.
18164         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
18166 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
18168         [BZ #17475]
18169         * locale/iso-639.def: Update Bhili and Tulu language codes as
18170         per iso639-3.
18172 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
18174         * elf/tst-leaks1.c (main): Converted to ...
18175         (do_test): ... this.
18176         (TEST_FUNCTION): New macro.
18177         Include test-skeleton.c.
18178         * localedata/tst-langinfo.c (main): Converted to ...
18179         (do_test): ... this.
18180         (TEST_FUNCTION): New macro.
18181         Include test-skeleton.c.
18182         * math/test-fpucw.c (main): Converted to ...
18183         (do_test): ... this.
18184         (TEST_FUNCTION): New macro.
18185         Include test-skeleton.c.
18186         * math/test-tgmath.c (main): Converted to ...
18187         (do_test): ... this.
18188         (TEST_FUNCTION): New macro.
18189         Include test-skeleton.c.
18190         * math/test-tgmath2.c (main): Converted to ...
18191         (do_test): ... this.
18192         (TEST_FUNCTION): New macro.
18193         Include test-skeleton.c.
18194         * setjmp/tst-setjmp.c (main): Converted to ...
18195         (do_test): ... this.
18196         (TEST_FUNCTION): New macro.
18197         Include test-skeleton.c.
18198         * stdio-common/tst-sscanf.c (main): Converted to ...
18199         (do_test): ... this.
18200         (TEST_FUNCTION): New macro.
18201         Include test-skeleton.c.
18202         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
18203         (do_test): ... this.
18204         (TEST_FUNCTION): New macro.
18205         Include test-skeleton.c.
18207         * elf/tst-audit9.c (main): Converted to ...
18208         (do_test): ... this.
18209         (TEST_FUNCTION): New macro.
18210         Include test-skeleton.c.
18212 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
18214         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
18216 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18218         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
18219         New variable.
18221 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18223         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18225 2015-07-14  Roland McGrath  <roland@hack.frob.com>
18227         * sysdeps/generic/dl-fileid.h: New file.
18228         * sysdeps/posix/dl-fileid.h: New file.
18229         * sysdeps/nacl/dl-fileid.h: New file.
18230         * include/link.h: Include <dl-fileid.h>.
18231         (struct link_map): Replace l_dev and l_ino with l_file_id.
18232         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
18233         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
18234         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
18236 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18238         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
18240 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18242         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
18243         Add iff $CXX is set.
18244         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
18245         Likewise.
18246         (tst-nodelete-zmodiff): Likewise.
18247         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
18249 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18251         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
18253 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
18255         * sysdeps/aarch64/fpu/math_private.h
18256         (define math_opt_barrier): Add AArch64 version.
18257         (math_force_eval): Likewise.
18259 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
18261         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
18263 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
18265         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
18266         %ld with %jd and cast to intmax_t.
18267         (do_test_length_zero): Likewise.
18269 2015-07-10  Roland McGrath  <roland@hack.frob.com>
18271         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
18273 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
18275         * sysdeps/tile/libm-test-ulps: Regenerated.
18277         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
18278         Comment out the whole function, not just its body.
18280 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18282         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
18283         locks.
18285         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
18287 2015-07-10  Torvald Riegel  <triegel@redhat.com>
18289         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
18290         (sem_assume_only_signals_cause_futex_EINTR): Remove.
18292 2015-07-10  Torvald Riegel  <triegel@redhat.com>
18294         * sysdeps/nptl/futex-internal.h: New file.
18295         * sysdeps/nacl/futex-internal.h: New file.
18296         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
18297         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
18298         error checking.
18299         (setxid_unmark_thread): Likewise.
18300         (__nptl_setxid): Likewise.
18301         (__wait_lookup_done): Likewise.
18302         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
18303         * nptl/nptl-init.c (sighandler_setxid): Likewise.
18304         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
18305         * nptl/pthread_once.c (clear_once_control): Likewise.
18306         (__pthread_once_slow): Likewise.
18307         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
18308         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
18309         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
18310         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
18311         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
18312         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
18313         Likewise.
18314         (__pthread_rwlock_rdlock): Likewise.
18315         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18316         Likewise.
18317         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
18318         Likewise.
18319         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
18320         Likewise.
18321         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
18322         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
18323         Likewise.
18324         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
18325         __ASSUME_PRIVATE_FUTEX check.
18326         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
18327         Check that shared futexes are supported.
18328         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
18329         wrappers with error checking.
18330         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
18331         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
18332         * nptl/pthread_barrierattr_setpshared.c
18333         (pthread_barrierattr_setpshared): Check that shared futexes are
18334         supported.
18335         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
18336         Likewise.
18337         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
18338         Likewise.
18339         * nptl/sem_init.c (futex_private_if_supported): Remove.
18340         (__new_sem_init): Adapt and check that shared futexes are supported.
18341         * nptl/sem_open.c (sem_open): Likewise.
18342         * nptl/sem_post.c (futex_wake): Remove.
18343         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
18344         (do_futex_wait): Use futex wrappers with error checking.
18345         * nptl/sem_wait.c: Include lowlevellock.h.
18346         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
18347         Use futex_supports_pshared.
18348         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
18349         Use futex wrappers with error checking.
18350         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
18351         Likewise.
18352         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
18353         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
18354         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
18355         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
18356         (futex_wake): Likewise.
18357         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
18358         (do_futex_wait): Use futex wrappers with error checking.
18359         (__new_sem_wait_slow): Update EINTR handling.
18360         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
18362 2015-07-09  Martin Sebor  <msebor@redhat.com>
18364         [BZ #18435]
18365         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18366         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
18367         * nptl/Makefile (test-xfail-tst-once5): Define.
18369 2015-07-09  Roland McGrath  <roland@hack.frob.com>
18371         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
18372         * elf/dl-minimal.c: For readability, reorder some definitions and
18373         introduce more page breaks.  Include <stdio.h>.
18374         (__libc_fatal): New function.
18376         * include/unistd.h: Add rtld_hidden_proto for _exit.
18377         * posix/_exit.c: Add rtld_hidden_def.
18378         * sysdeps/mach/hurd/_exit.c: Likewise.
18379         * sysdeps/nacl/_exit.c: Likewise.
18380         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
18381         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
18383 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
18385         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
18386         bndmov encoding with zero displacement.
18388 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
18389             H.J. Lu  <hongjiu.lu@intel.com>
18391         [BZ #18134]
18392         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
18393         * sysdeps/i386/configure: Regenerated.
18394         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
18395         (_dl_runtime_profile): Save and restore Intel MPX return bound
18396         registers when calling _dl_call_pltexit.  Add
18397         PRESERVE_BND_REGS_PREFIX before return.
18398         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
18399         (LRV_BND1_OFFSET): Likewise.
18400         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
18401         lrv_bnd1.
18402         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
18403         typo in bndmov encoding.
18404         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
18405         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
18406         branch instructions to preserve bounds.
18408 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18411         [GLIBC_2.22]: Add fmemopen.
18413 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18415         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
18416         returns an error, also try to use host port from __mach_host_self for
18417         the __vm_wire call.
18418         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
18420 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18422         [BZ #18400]
18423         [BZ #18648]
18424         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
18425         Fix pr_uid and pr_gid members.
18426         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
18427         definition to elf_greg_t.
18429 2015-07-08  Roland McGrath  <roland@hack.frob.com>
18431         [BZ #18383]
18432         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
18433         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
18434         * sysdeps/arm/configure: Regenerated.
18435         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
18436         (test-xfail-tst-tlsalign-static): Variable removed.
18438         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
18439         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
18440         rather than explicit 'ln -s'.
18442         * resolv/rpc/netdb.h: New file.
18443         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
18445 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18447         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
18448         length buffers.
18449         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
18450         test-skeleton.c.
18452         [BZ #6544]
18453         [BZ #11216]
18454         [BZ #12836]
18455         [BZ #13151]
18456         [BZ #13152]
18457         [BZ #14292]
18458         * include/stdio.h (fmemopen): Remove hidden prototype.
18459         (__fmemopen): Add new hidden prototype.
18460         * libio/Makefile: Add oldfmemopen object.
18461         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
18462         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
18463         compliance.
18464         * libio/oldfmemopen.c: New file: old fmemopen implementation for
18465         symbol compatibility.
18466         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
18467         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
18468         fmemopen.
18469         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
18470         on append and read mode.
18471         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
18472         fmemopen.
18473         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
18474         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
18475         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
18476         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
18477         Likewise.
18478         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18479         [GLIBC_2.22]: Likewise.
18480         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
18481         Likewise.
18482         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
18483         Likewise.
18484         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18485         [GLIBC_2.22]: Likewise.
18486         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18487         [GLIBC_2.22]: Likewise.
18488         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18489         [GLIBC_2.22]: Likewise.
18490         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18491         [GLIBC_2.22]: Likewise.
18492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18493         [GLIBC_2.22]: Likewise.
18494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18495         [GLIBC_2.22]: Likewise.
18496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18497         [GLIBC_2.22]: Likewise.
18498         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
18499         Likewise.
18500         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
18501         Likewise.
18502         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
18503         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18504         [GLIBC_2.22]: Likewise.
18505         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18506         [GLIBC_2.22]: Likewise.
18507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18508         [GLIBC_2.22]: Likewise.
18509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18510         [GLIBC_2.22]: Likewise.
18511         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
18512         Likewise.
18513         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
18514         Likewise.
18515         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
18516         Likewise.
18517         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
18518         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
18520 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18522         [BZ #18643]
18523         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
18524         IPV6_PATHMTU, and IPV6_DONTFRAG.
18526 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
18528         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
18529         and _IO_UNBUFFERED.
18530         * libio/oldfileops.c: Likewise.
18531         * libio/wfileops.c: Likewise.
18533 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18535         * nscd/selinux.c: Delete selinux/flask.h include.
18537 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18539         [BZ #18641]
18540         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
18541         (putpwent): Likewise.
18542         (getpwnam): Likewise.
18543         (getpwent_r): Likewise.
18544         (getpwuid_r): Likewise.
18545         (getpwnam_r): Likewise.
18546         (fgetpwent_r): Likewise.
18548 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18550         [BZ #18557]
18551         * inet/rcmd.c (__validuser2_sa): Check user first to
18552         short-circuit host check.
18554 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
18555             Mikhail Ilin  <m.ilin@samsung.com>
18557         [BZ #17833]
18558         * elf/Makefile (tests): Add tst-nodelete.
18559         (modules-names): Add tst-nodelete-uniquemod.
18560         (tst-nodelete-uniquemod.so-no-z-defs): New.
18561         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
18562         (tst-nodelete-zmod.so-no-z-defs): Likewise.
18563         ($(objpfx)tst-nodelete): Likewise.
18564         ($(objpfx)tst-nodelete.out): Likewise.
18565         (LDFLAGS-tst-nodelete): Likewise.
18566         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
18567         * elf/dl-close.c (_dl_close_worker): Add a parameter to
18568         implement forced object deletion.
18569         (_dl_close): Pass false to _dl_close_worker.
18570         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
18571         * elf/tst-nodelete.cc: New file.
18572         * elf/tst-nodeletelib.cc: Likewise.
18573         * elf/tst-znodeletelib.cc: Likewise.
18574         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
18576 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18578         [BZ #18508]
18579         * stdlib/Makefile ($(objpfx)tst-makecontext3):
18580         Depend on $(libdl).
18581         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
18582         is not called infinitely times.
18583         (backtrace_helper): New function.
18584         (trace_arg): New struct.
18585         (st1): Enlarge stack size.
18586         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18587         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
18588         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18589         Likewise.
18591 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18593         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18595 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18597         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
18598         Include sys/types.h instead of bits/types.h.
18599         Remove inclusion of bits/wordsize.h.
18601 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18603         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
18604         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
18605         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
18606         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
18607         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
18608         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
18610 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18612         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
18613         link-defines.sym.
18614         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
18615         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
18616         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
18617         and LR_SIZE.
18618         * sysdeps/i386/link-defines.sym: New file.
18620 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18622         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
18623         (modules-names): Add tst-auditmod3a tst-auditmod3b.
18624         ($(objpfx)tst-audit3): New rule.
18625         ($(objpfx)tst-audit3.out): Likewise.
18626         * sysdeps/i386/tst-audit3.c: New file.
18627         * sysdeps/i386/tst-audit3.h: Likewise.
18628         * sysdeps/i386/tst-auditmod3a.c: Likewise.
18629         * sysdeps/i386/tst-auditmod3b.c: Likewise.
18631 2015-07-07  Torvald Riegel  <triegel@redhat.com>
18633         [BZ #18633]
18634         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
18635         pointer in C code.
18636         (__strcat_c): Likewise.
18637         (__strcat_g): Likewise.
18639 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
18641         [BZ #18592]
18642         * misc/sbrk.c: Set errno to ENOMEM on overflow.
18644 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18646         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
18647         New function.  (__ieee754_sqrtf): New function.
18648         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
18649         New function.
18650         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
18651         New function.
18653 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18655         * sysdeps/ieee754/support.c: Remove unused file.
18657 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18659         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
18660         registers instead of d ones so the layout is kernel abi compatible.
18661         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
18662         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
18663         Likewise.
18665 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18667         * sysdeps/aarch64/libm-test-ulps: Regenerated.
18669 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
18671         [BZ #18619]
18672         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
18673         and return argument in case of subnormal argument.
18675 2015-07-01  Martin Sebor  <msebor@redhat.com>
18677         [BZ #18435]
18678         * nptl/Makefile: Add tst-once5.cc.
18679         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18680         Remove macro redefinitions.
18681         * nptl/tst-once5.cc: New test.
18683 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
18685         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18687         * sysdeps/arm/libm-test-ulps: Regenerated.
18689         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18690         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18692 2015-06-30  Torvald Riegel  <triegel@redhat.com>
18694         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
18695         lll_lock_wait_private and lll_futex_wake probes.
18697         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
18698         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
18699         Likewise.
18700         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
18701         atomic_spin_nop.
18702         * sysdeps/x86_64/bits/atomic.h: Likewise.
18703         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
18704         to atomic_spin_nop and move ...
18705         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
18706         ... here and ...
18707         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
18708         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
18709         atomic_spin_nop instead of BUSY_WAIT_NOP.
18710         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
18711         Likewise.
18712         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
18713         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
18714         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
18715         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
18716         instead of atomic_delay.
18718 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
18720         [BZ #18613]
18721         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
18722         X_ADJ not X when adjusting exponent.
18723         (__ieee754_gamma_r): Do intermediate computations in
18724         round-to-nearest then adjust overflowing and underflowing results
18725         as needed.
18726         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
18727         of X_ADJ not X when adjusting exponent.
18728         (__ieee754_gammaf_r): Do intermediate computations in
18729         round-to-nearest then adjust overflowing and underflowing results
18730         as needed.
18731         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
18732         log of X_ADJ not X when adjusting exponent.
18733         (__ieee754_gammal_r): Do intermediate computations in
18734         round-to-nearest then adjust overflowing and underflowing results
18735         as needed.  Use 1.0L not 1.0f as numerator of division.
18736         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
18737         log of X_ADJ not X when adjusting exponent.
18738         (__ieee754_gammal_r): Do intermediate computations in
18739         round-to-nearest then adjust overflowing and underflowing results
18740         as needed.  Use 1.0L not 1.0f as numerator of division.
18741         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
18742         of X_ADJ not X when adjusting exponent.
18743         (__ieee754_gammal_r): Do intermediate computations in
18744         round-to-nearest then adjust overflowing and underflowing results
18745         as needed.  Use 1.0L not 1.0f as numerator of division.
18746         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
18747         to auto-libm-test-in.
18748         (tgamma_test): Use ALL_RM_TEST.
18749         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
18750         tests of tgamma with spurious-overflow.
18751         * math/auto-libm-test-out: Regenerated.
18752         * math/gen-libm-have-vector-test.sh: Do not check for START.
18753         * sysdeps/i386/fpu/libm-test-ulps: Update.
18754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18756         [BZ #18612]
18757         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
18758         arguments, just return 0.5 times the argument, with underflow
18759         forced as needed.
18760         * math/auto-libm-test-in: Add more tests of j1.
18761         * math/auto-libm-test-out: Regenerated.
18763         [BZ #16559]
18764         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
18765         (__ieee754_j1): Force underflow exception for small results.
18766         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18767         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
18768         (__ieee754_j1f): Force underflow exception for small results.
18769         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18770         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18771         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18772         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
18773         (__ieee754_j1l): Force underflow exception for small results.
18774         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18775         * math/auto-libm-test-in: Add more tests of j1 and jn.
18776         * math/auto-libm-test-out: Regenerated.
18778         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
18779         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
18780         (PF_MPLS): Likewise.
18781         (AF_IB): Likewise.
18782         (AF_MPLS): Likewise.
18783         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
18784         value and macro.
18785         (MS_RMT_MASK): Include MS_LAZYTIME.
18787 2015-06-26  Mel Gorman  <mgorman@suse.de>
18789         [BZ #18502]
18790         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
18791         already minimal.
18793 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
18795         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
18796         (DT_MIPS_NUM): Update.
18797         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
18798         DT_MIPS_RLD_MAP_REL.
18800 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
18802         [BZ #16559]
18803         [BZ #18602]
18804         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
18805         round-to-nearest internally then recompute results that
18806         underflowed to zero in the original rounding mode.
18807         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18808         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18809         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18810         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18811         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
18812         * sysdeps/i386/fpu/libm-test-ulps: Update.
18813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18815 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
18817         * NEWS: Fixed description of link with vector math library.
18819 2015-06-25  Andreas Schwab  <schwab@suse.de>
18821         [BZ #18549]
18822         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
18823         * libio/test-fmemopen.c (do_test): Add test for it.
18825 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
18827         [BZ #17841]
18828         * Makeconfig (no-pie-ldflag): New.
18829         (+link): Set to $(+link-pie) if default to PIE.
18830         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
18831         * config.make.in (build-pie-default): New.
18832         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
18833         is default.  AC_SUBST.
18834         * configure: Regenerated.
18835         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
18837 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18839         * nptl/descr.h (struct pthread): Change type of field setxid_futex
18840         to 'unsigned int'.
18842         * resolv/gai_misc.h (struct waitlist): Change type of field
18843         counterp to 'volatile unsigned int *'.
18844         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
18845         FUTEXADDR and OLDVAL.
18846         * resolv/getaddrinfo_a.c (getaddrinfo_a):
18847         Give local variable TOTAL type 'volatile unsigned int'.
18848         (struct async_waitlist): Change type of field counter to 'unsigned int'.
18849         * resolv/gai_suspend.c (gai_suspend):
18850         Give local variable CNTR type 'unsigned int'.
18852         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
18853         counterp to 'volatile unsigned int *'.
18854         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
18855         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
18856         (aio_suspend): Give local variable CNTR type 'unsigned int'.
18857         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
18858         Give local variable TOTAL type 'volatile unsigned int'.
18859         (struct async_waitlist): Change type of field counter to 'unsigned int'.
18861 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
18863         [BZ #18383]
18864         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
18865         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
18866         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
18867         comment for i386/x86-64.
18868         (test-xfail-tst-tlsalign-extern-static): Removed.
18870 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18872         * math/test-double.h: New file.
18873         * math/test-float.h: Likewise.
18874         * math/test-ldouble.h: Likewise.
18875         * math/test-math-inline.h: Likewise.
18876         * math/test-math-no-inline.h: Likewise.
18877         * math/test-math-scalar.h: Likewise.
18878         * math/test-math-vector.h: Likewise.
18879         * math/test-vec-loop.h: Remove file.  Contents moved into
18880         test-math-vector.h.
18881         * math/libm-test.inc (MATHCONST): Do not document macro.
18882         * math/test-double.c: Include test-double.h, test-math-no-inline.h
18883         and test-math-scalar.h.
18884         (FUNC): Remove macro.
18885         (FUNC_TEST): Likewise.
18886         (FLOAT): Likewise.
18887         (MATHCONST): Likewise.
18888         (PRINTF_EXPR): Likewise.
18889         (PRINTF_XEXPR): Likewise.
18890         (PRINTF_NEXPR): Likewise.
18891         (TEST_DOUBLE): Likewise.
18892         (TEST_MATHVEC): Likewise.
18893         (__NO_MATH_INLINES): Likewise.
18894         * math/test-float.c: Include test-float.h, test-math-no-inline.h
18895         and test-math-scalar.h.
18896         (FUNC): Remove macro.
18897         (FUNC_TEST): Likewise.
18898         (FLOAT): Likewise.
18899         (MATHCONST): Likewise.
18900         (PRINTF_EXPR): Likewise.
18901         (PRINTF_XEXPR): Likewise.
18902         (PRINTF_NEXPR): Likewise.
18903         (TEST_FLOAT): Likewise.
18904         (TEST_MATHVEC): Likewise.
18905         (__NO_MATH_INLINES): Likewise.
18906         * math/test-idouble.c: Include test-double.h, test-math-inline.h
18907         and test-math-scalar.h.
18908         (FUNC): Remove macro.
18909         (FUNC_TEST): Likewise.
18910         (FLOAT): Likewise.
18911         (MATHCONST): Likewise.
18912         (PRINTF_EXPR): Likewise.
18913         (PRINTF_XEXPR): Likewise.
18914         (PRINTF_NEXPR): Likewise.
18915         (TEST_DOUBLE): Likewise.
18916         (TEST_MATHVEC): Likewise.
18917         (TEST_INLINE): Likewise.
18918         (__NO_MATH_INLINES): Likewise.
18919         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
18920         test-math-scalar.h.
18921         (FUNC): Remove macro.
18922         (FUNC_TEST): Likewise.
18923         (FLOAT): Likewise.
18924         (MATHCONST): Likewise.
18925         (PRINTF_EXPR): Likewise.
18926         (PRINTF_XEXPR): Likewise.
18927         (PRINTF_NEXPR): Likewise.
18928         (TEST_FLOAT): Likewise.
18929         (TEST_MATHVEC): Likewise.
18930         (TEST_INLINE): Likewise.
18931         (__NO_MATH_INLINES): Likewise.
18932         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
18933         and test-math-scalar.h.
18934         (FUNC): Remove macro.
18935         (FUNC_TEST): Likewise.
18936         (FLOAT): Likewise.
18937         (MATHCONST): Likewise.
18938         (PRINTF_EXPR): Likewise.
18939         (PRINTF_XEXPR): Likewise.
18940         (PRINTF_NEXPR): Likewise.
18941         (TEST_LDOUBLE): Likewise.
18942         (TEST_MATHVEC): Likewise.
18943         (TEST_INLINE): Likewise.
18944         (__NO_MATH_INLINES): Likewise.
18945         * math/test-ldouble.c: Include test-ldouble.h,
18946         test-math-no-inline.h and test-math-scalar.h.
18947         (FUNC): Remove macro.
18948         (FUNC_TEST): Likewise.
18949         (FLOAT): Likewise.
18950         (MATHCONST): Likewise.
18951         (PRINTF_EXPR): Likewise.
18952         (PRINTF_XEXPR): Likewise.
18953         (PRINTF_NEXPR): Likewise.
18954         (TEST_LDOUBLE): Likewise.
18955         (TEST_MATHVEC): Likewise.
18956         (__NO_MATH_INLINES): Likewise.
18957         * math/test-double-vlen2.h: Include test-double.h,
18958         test-math-no-inline.h and test-math-vector.h.
18959         (FLOAT): Remove macro.
18960         (FUNC): Likewise.
18961         (MATHCONST): Likewise.
18962         (PRINTF_EXPR): Likewise.
18963         (PRINTF_XEXPR): Likewise.
18964         (PRINTF_NEXPR): Likewise.
18965         (TEST_DOUBLE): Likewise.
18966         (TEST_MATHVEC): Likewise.
18967         (__NO_MATH_INLINES): Likewise.
18968         (CNCT): Likewise.
18969         (CONCAT): Likewise.
18970         (WRAPPER_NAME): Likewise.
18971         (WRAPPER_DECL): Likewise.
18972         (WRAPPER_DECL_ff): Likewise.
18973         (WRAPPER_DECL_fFF): Likewise.
18974         (VECTOR_WRAPPER): Likewise.
18975         (VECTOR_WRAPPER_ff): Likewise.
18976         (VECTOR_WRAPPER_fFF): Likewise.
18977         (VEC_LEN): New macro.
18978         * math/test-double-vlen4.h: Include test-double.h,
18979         test-math-no-inline.h and test-math-vector.h.
18980         (FLOAT): Remove macro.
18981         (FUNC): Likewise.
18982         (MATHCONST): Likewise.
18983         (PRINTF_EXPR): Likewise.
18984         (PRINTF_XEXPR): Likewise.
18985         (PRINTF_NEXPR): Likewise.
18986         (TEST_DOUBLE): Likewise.
18987         (TEST_MATHVEC): Likewise.
18988         (__NO_MATH_INLINES): Likewise.
18989         (CNCT): Likewise.
18990         (CONCAT): Likewise.
18991         (WRAPPER_NAME): Likewise.
18992         (WRAPPER_DECL): Likewise.
18993         (WRAPPER_DECL_ff): Likewise.
18994         (WRAPPER_DECL_fFF): Likewise.
18995         (VECTOR_WRAPPER): Likewise.
18996         (VECTOR_WRAPPER_ff): Likewise.
18997         (VECTOR_WRAPPER_fFF): Likewise.
18998         (VEC_LEN): New macro.
18999         * math/test-double-vlen8.h: Include test-double.h,
19000         test-math-no-inline.h and test-math-vector.h.
19001         (FLOAT): Remove macro.
19002         (FUNC): Likewise.
19003         (MATHCONST): Likewise.
19004         (PRINTF_EXPR): Likewise.
19005         (PRINTF_XEXPR): Likewise.
19006         (PRINTF_NEXPR): Likewise.
19007         (TEST_DOUBLE): Likewise.
19008         (TEST_MATHVEC): Likewise.
19009         (__NO_MATH_INLINES): Likewise.
19010         (CNCT): Likewise.
19011         (CONCAT): Likewise.
19012         (WRAPPER_NAME): Likewise.
19013         (WRAPPER_DECL): Likewise.
19014         (WRAPPER_DECL_ff): Likewise.
19015         (WRAPPER_DECL_fFF): Likewise.
19016         (VECTOR_WRAPPER): Likewise.
19017         (VECTOR_WRAPPER_ff): Likewise.
19018         (VECTOR_WRAPPER_fFF): Likewise.
19019         (VEC_LEN): New macro.
19020         * math/test-float-vlen4.h: Include test-float.h,
19021         test-math-no-inline.h and test-math-vector.h.
19022         (FLOAT): Remove macro.
19023         (FUNC): Likewise.
19024         (MATHCONST): Likewise.
19025         (PRINTF_EXPR): Likewise.
19026         (PRINTF_XEXPR): Likewise.
19027         (PRINTF_NEXPR): Likewise.
19028         (TEST_FLOAT): Likewise.
19029         (TEST_MATHVEC): Likewise.
19030         (__NO_MATH_INLINES): Likewise.
19031         (CNCT): Likewise.
19032         (CONCAT): Likewise.
19033         (WRAPPER_NAME): Likewise.
19034         (WRAPPER_DECL): Likewise.
19035         (WRAPPER_DECL_ff): Likewise.
19036         (WRAPPER_DECL_fFF): Likewise.
19037         (VECTOR_WRAPPER): Likewise.
19038         (VECTOR_WRAPPER_ff): Likewise.
19039         (VECTOR_WRAPPER_fFF): Likewise.
19040         (VEC_LEN): New macro.
19041         * math/test-float-vlen8.h: Include test-float.h,
19042         test-math-no-inline.h and test-math-vector.h.
19043         (FLOAT): Remove macro.
19044         (FUNC): Likewise.
19045         (MATHCONST): Likewise.
19046         (PRINTF_EXPR): Likewise.
19047         (PRINTF_XEXPR): Likewise.
19048         (PRINTF_NEXPR): Likewise.
19049         (TEST_FLOAT): Likewise.
19050         (TEST_MATHVEC): Likewise.
19051         (__NO_MATH_INLINES): Likewise.
19052         (CNCT): Likewise.
19053         (CONCAT): Likewise.
19054         (WRAPPER_NAME): Likewise.
19055         (WRAPPER_DECL): Likewise.
19056         (WRAPPER_DECL_ff): Likewise.
19057         (WRAPPER_DECL_fFF): Likewise.
19058         (VECTOR_WRAPPER): Likewise.
19059         (VECTOR_WRAPPER_ff): Likewise.
19060         (VECTOR_WRAPPER_fFF): Likewise.
19061         (VEC_LEN): New macro.
19062         * math/test-float-vlen16.h: Include test-float.h,
19063         test-math-no-inline.h and test-math-vector.h.
19064         (FLOAT): Remove macro.
19065         (FUNC): Likewise.
19066         (MATHCONST): Likewise.
19067         (PRINTF_EXPR): Likewise.
19068         (PRINTF_XEXPR): Likewise.
19069         (PRINTF_NEXPR): Likewise.
19070         (TEST_FLOAT): Likewise.
19071         (TEST_MATHVEC): Likewise.
19072         (__NO_MATH_INLINES): Likewise.
19073         (CNCT): Likewise.
19074         (CONCAT): Likewise.
19075         (WRAPPER_NAME): Likewise.
19076         (WRAPPER_DECL): Likewise.
19077         (WRAPPER_DECL_ff): Likewise.
19078         (WRAPPER_DECL_fFF): Likewise.
19079         (VECTOR_WRAPPER): Likewise.
19080         (VECTOR_WRAPPER_ff): Likewise.
19081         (VECTOR_WRAPPER_fFF): Likewise.
19082         (VEC_LEN): New macro.
19083         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
19084         test-vec-loop.h.
19085         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19086         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19087         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19088         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19089         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19090         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19091         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19093 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19095         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
19096         (__getlogin_r): ... this.
19098 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19100         [BZ #18594]
19101         * math/s_ccosh.c (__ccosh): Compare with least normal value
19102         instead of comparing class with FP_SUBNORMAL.
19103         * math/s_ccoshf.c (__ccoshf): Likewise.
19104         * math/s_ccoshl.c (__ccoshl): Likewise.
19105         * math/s_cexp.c (__cexp): Likewise.
19106         * math/s_cexpf.c (__cexpf): Likewise.
19107         * math/s_cexpl.c (__cexpl): Likewise.
19108         * math/s_csin.c (__csin): Likewise.
19109         * math/s_csinf.c (__csinf): Likewise.
19110         * math/s_csinh.c (__csinh): Likewise.
19111         * math/s_csinhf.c (__csinhf): Likewise.
19112         * math/s_csinhl.c (__csinhl): Likewise.
19113         * math/s_csinl.c (__csinl): Likewise.
19114         * math/s_ctan.c (__ctan): Likewise.
19115         * math/s_ctanf.c (__ctanf): Likewise.
19116         * math/s_ctanh.c (__ctanh): Likewise.
19117         * math/s_ctanhf.c (__ctanhf): Likewise.
19118         * math/s_ctanhl.c (__ctanhl): Likewise.
19119         * math/s_ctanl.c (__ctanl): Likewise.
19120         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
19121         csin, csinh, ctan and ctanh.
19122         * math/auto-libm-test-out: Regenerated.
19123         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
19124         * sysdeps/i386/fpu/libm-test-ulps: Update.
19125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19127 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19129         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
19130         return value is wrong, print the expected value too.
19132 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
19134         [BZ #18585]
19135         * elf/readlib.c (is_gdb_python_file): New.
19136         (process_file): Don't issue errors on filenames with -gdb.py
19137         suffix.
19139 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19141         * math/auto-libm-test-in: Add more tests of csin and csinh.
19142         * math/auto-libm-test-out: Regenerated.
19143         * math/libm-test.inc (csin_test_data): Remove tests moved to
19144         auto-libm-test-in.
19145         (csinh_test_data): Likewise.
19147         [BZ #18593]
19148         * math/s_csin.c (__csin): Negate before rather than after possibly
19149         overflowing multiplication.
19150         * math/s_csinf.c (__csinf): Likewise.
19151         * math/s_csinh.c (__csinh): Likewise.
19152         * math/s_csinhf.c (__csinhf): Likewise.
19153         * math/s_csinhl.c (__csinhl): Likewise.
19154         * math/s_csinl.c (__csinl): Likewise.
19155         * math/auto-libm-test-in: Add some tests of csin and csinh.
19156         * math/auto-libm-test-out: Regenerated.
19157         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
19158         (csinh_test_data): Likewise.
19159         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19161         [BZ #18586]
19162         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
19163         underflow exception for small results.
19165 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
19167         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
19168         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
19169         variable and included header.
19170         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
19171         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
19172         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
19173         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
19174         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
19175         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19176         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19177         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
19178         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
19179         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
19180         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
19181         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
19182         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
19183         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
19184         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
19185         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
19187 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19189         [BZ #16526]
19190         [BZ #16538]
19191         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
19192         (__sin): Force underflow exception for arguments with small
19193         absolute value.
19194         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
19195         (__kernel_sinf): Force underflow exception for arguments with
19196         small absolute value.
19197         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
19198         (__kernel_sincosl): Force underflow exception for arguments with
19199         small absolute value.
19200         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
19201         (__kernel_sinl): Force underflow exception for arguments with
19202         small absolute value.
19203         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
19204         (__kernel_sincosl): Force underflow exception for arguments with
19205         small absolute value.
19206         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
19207         (__kernel_sinl): Force underflow exception for arguments with
19208         small absolute value.
19209         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
19210         (__kernel_sinl): Force underflow exception for arguments with
19211         small absolute value.
19212         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
19213         (__kernel_sinf): Force underflow exception for arguments with
19214         small absolute value.
19215         * math/auto-libm-test-in: Add more tests of sin and sincos.
19216         * math/auto-libm-test-out: Regenerated.
19218         [BZ #18245]
19219         [BZ #18583]
19220         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
19221         (__kernel_standard_l): Use feholdexcept and fesetenv around
19222         conversion to double instead of special-casing overflow and
19223         underflow.
19224         * math/libm-test.inc (fmod_test_data): Add more tests.
19225         (remainder_test_data): Likewise.
19226         (sqrt_test_data): Likewise.
19228 2015-06-23  Torvald Riegel  <triegel@redhat.com>
19230         [BZ #17403]
19231         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
19232         atomic_read_barrier, atomic_write_barrier): Define.
19233         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
19234         atomic_read_barrier, atomic_write_barrier): Define.
19236 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19238         * math/Makefile [$(PERL) != no]
19239         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
19240         dependency on libm-test.stmp below the inclusion of Rules.
19242 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
19244         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
19245         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
19246         and included header.
19247         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
19248         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
19249         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
19250         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
19251         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
19252         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
19253         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
19254         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
19255         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
19256         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
19257         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
19258         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
19259         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
19260         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
19261         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
19262         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
19263         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
19264         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
19265         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
19267 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19269         [BZ #18371]
19270         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
19271         intermediate but not final result might underflow.
19272         * math/s_csqrtf.c (__csqrtf): Likewise.
19273         * math/s_csqrtl.c (__csqrtl): Likewise.
19274         * math/auto-libm-test-in: Add more tests of csqrt.
19275         * math/auto-libm-test-out: Regenerated.
19276         * sysdeps/i386/fpu/libm-test-ulps: Update.
19278         [BZ #18219]
19279         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
19280         threshold on absolute value of exponent for which scaling is used.
19281         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
19282         * math/auto-libm-test-in: Add more tests of exp2.
19283         * math/auto-libm-test-out: Regenerated.
19285 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
19287         [BZ #17977]
19288         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
19289         when initializing interface list, based on the bug analysis
19290         and the patch proposed by Eric Newton.
19291         * resolv/tst-res_hconf_reorder.c: New test.
19292         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
19293         tst-res_hconf_reorder.
19294         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
19295         and $(shared-thread-library).
19296         (tst-res_hconf_reorder-ENV): New variable.
19298         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
19299         in comment.
19301 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
19303         [BZ #16353]
19304         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
19305         (__expm1): Force underflow exception for arguments with small
19306         absolute value.
19307         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
19308         (__expm1f): Force underflow exception for arguments with small
19309         absolute value.
19310         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
19311         (__expm1): Force underflow exception for arguments with small
19312         absolute value.
19313         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
19314         (__expm1f): Force underflow exception for arguments with small
19315         absolute value.
19316         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19317         Check for small arguments before calling __expm1.
19318         * math/auto-libm-test-in: Do not mark underflow exceptions as
19319         possibly missing for bug 16353.
19320         * math/auto-libm-test-out: Regenerated.
19322 2015-06-22  Andreas Schwab  <schwab@suse.de>
19324         [BZ #18513]
19325         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
19326         PTR queries.
19328 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
19330         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
19332         * string/strcoll_l.c: Remove unused struct element idxnow.
19334 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
19336         [BZ #18569]
19337         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
19338         underflow and return argument in case of subnormal argument.
19339         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19340         Likewise.
19341         * math/auto-libm-test-in: Add more tests of expm1.
19342         * math/auto-libm-test-out: Regenerated.
19344         [BZ #16361]
19345         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19346         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19347         tiny results.
19348         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19349         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19350         tiny results.
19351         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
19352         mark underflow exceptions as possibly missing for bug 16361.
19353         * math/auto-libm-test-out: Regenerated.
19355 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
19357         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
19358         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
19359         Remove variable.
19360         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19361         (test-xfail-XOPEN2K8/utmpx.h/conform).
19363         * conform/conformtest.pl ($xerrors): New variable.
19364         (note_error): New function.
19365         (compiletest): New argument $xfail.  Use not_error.
19366         (runtest): Likewise.
19367         (top level): Handle xfail- lines.  Update calls to compiletest and
19368         runtest.  Handle xfail- and optional- in headers listed with
19369         allow-header.
19370         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
19371         (O_EXEC): Likewise.
19372         (O_SEARCH): Likewise.
19373         * conform/data/stropts.h-data (ioctl): Likewise.
19374         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
19375         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
19376         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
19377         (msghdr.msg_controllen): Likewise.
19378         (cmsghdr.cmsg_len): Likewise.
19379         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
19380         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
19381         variable.
19382         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19383         (test-xfail-XPG4/stropts.h/conform): Likewise.
19384         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19385         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19386         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19387         (test-xfail-UNIX98/stropts.h/conform): Likewise.
19388         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19389         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19390         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19391         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19392         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19393         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19394         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19395         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19396         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19397         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19398         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19399         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19400         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19401         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19402         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19404 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19406         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
19407         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
19408         definitions for proper unfolding of __MATHDECL_VEC.
19410 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19412         * benchtests/bench-strcoll.c:
19413         Include string.h.
19414         (main): Remove unused variable res.
19416 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19418         * timezone/Makefile (%/UTC %/Universal):
19419         Generate test-result files for UTC and Universal.
19421 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19423         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19425 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
19427         [BZ #16350]
19428         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
19429         for arguments with small absolute value.
19430         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
19431         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
19432         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
19433         (__asinh): Force underflow exception for arguments with small
19434         absolute value.
19435         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
19436         (__asinhf): Force underflow exception for arguments with small
19437         absolute value.
19438         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
19439         (__asinhl): Force underflow exception for arguments with small
19440         absolute value.
19441         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
19442         (__asinhl): Force underflow exception for arguments with small
19443         absolute value.
19444         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
19445         (__asinhl): Force underflow exception for arguments with small
19446         absolute value.
19447         * math/auto-libm-test-in: Do not mark underflow exceptions as
19448         possibly missing for bug 16350.
19449         * math/auto-libm-test-out: Regenerated.
19451         * include/bits/ipc.h: Remove file.
19452         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
19453         variable.
19454         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19455         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19456         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19457         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19458         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19459         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19460         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19461         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19462         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19464         * math/auto-libm-test-in: Remove spurious underflow allowance for
19465         tests of cexp.
19466         * math/auto-libm-test-out: Regenerated.
19468         [BZ #18558]
19469         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
19470         unconditional definition.
19471         (MCAST_BLOCK_SOURCE): Likewise.
19472         (MCAST_UNBLOCK_SOURCE): Likewise.
19473         (MCAST_LEAVE_GROUP): Likewise.
19474         (MCAST_JOIN_SOURCE_GROUP): Likewise.
19475         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19476         (MCAST_MSFILTER): Likewise.
19477         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
19478         Remove variable.
19479         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19480         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19481         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19482         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19483         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19485 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
19487         * NEWS: Mention addition of x86_64 vector sincosf.
19488         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
19489         * math/test-float-vlen4.h: Likewise.
19490         * math/test-float-vlen8.h: Likewise.
19491         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19492         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
19493         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19494         * sysdeps/x86_64/fpu/Versions: New versions added.
19495         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19496         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19497         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19498         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
19499         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
19500         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
19501         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
19502         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
19503         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
19504         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
19505         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
19506         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
19507         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
19508         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
19509         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
19510         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
19511         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
19512         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19513         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19514         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19515         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19516         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19517         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19518         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19520         * NEWS: Mention addition of x86_64 vector sincos.
19521         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
19522         * math/math.h (__MATHDECL_VEC): New macro.
19523         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
19524         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
19525         declaration under condition.
19526         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
19527         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
19528         TEST_VEC_LOOP change.
19529         * math/test-double-vlen4.h: Likewise.
19530         * math/test-double-vlen8.h: Likewise.
19531         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
19532         * math/test-float-vlen4.h: Likewise.
19533         * math/test-float-vlen8.h: Likewise.
19534         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19535         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
19536         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19537         * sysdeps/x86_64/fpu/Versions: New versions added.
19538         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19539         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19540         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19541         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
19542         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
19543         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
19544         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
19545         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
19546         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
19547         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
19548         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
19549         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
19550         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
19551         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
19552         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
19553         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
19554         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
19555         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19556         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19557         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19558         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19559         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19560         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19561         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19563         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19564         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19565         redirections for powf.
19566         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19567         * sysdeps/x86_64/fpu/Versions: New versions added.
19568         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19569         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19570         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19571         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
19572         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
19573         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
19574         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
19575         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
19576         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
19577         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
19578         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
19579         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
19580         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
19581         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
19582         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
19583         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
19584         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
19585         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19586         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19587         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19588         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19589         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19590         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19591         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19592         * math/test-float-vlen16.h: Fixed 2 argument macro.
19593         * math/test-float-vlen4.h: Likewise.
19594         * math/test-float-vlen8.h: Likewise.
19595         * NEWS: Mention addition of x86_64 vector powf.
19597 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
19599         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19600         and redefine.
19601         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19602         and redefine.
19603         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
19604         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19605         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19607         [BZ #18553]
19608         * resource/getpriority.c (getpriority): Rename to __getpriority
19609         and define as weak alias of __getpriority.
19610         * resource/setpriority.c (setpriority): Rename to __setpriority
19611         and define as weak alias of __setpriority.
19612         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
19613         __getpriority and define as weak alias of __getpriority.
19614         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
19615         __setpriority and define as weak alias of __setpriority.
19616         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
19617         strong name.
19618         (setpriority): Use __setpriority as strong name.
19619         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
19620         __getpriority and define as weak alias of __getpriority.
19621         * include/sys/resource.h (__getpriority): Declare.  Use
19622         libc_hidden_proto.
19623         (__setpriority): Likewise.
19624         (getpriority): Don't use libc_hidden_proto.
19625         (setpriority): Likewise.
19626         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
19627         getpriority.  Call __setpriority instead of setpriority.
19628         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
19629         Remove variable.
19631         [BZ #18547]
19632         * misc/getttyent.c (getttynam): Rename to __getttynam and define
19633         as weak alias of __getttynam.  Use prototype function definition.
19634         Call __setttyent, __getttyent and __endttyent instead of
19635         setttyent, getttyent and endttyent.
19636         (getttyent): Rename to __getttyent and define as weak alias of
19637         __getttyent.  Call __setttyent instead of setttyent.  Call
19638         __fgets_unlocked instead of fgets_unlocked.
19639         (setttyent): Rename to __setttyent and define as weak alias of
19640         __setttyent.
19641         (endttyent): Rename to __endttyent and define as weak alias of
19642         __endttyent.
19643         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
19644         (__setttyent): Likewise.
19645         (__endttyent): Likewise.
19646         (getttyent): Don't use libc_hidden_proto.
19647         (setttyent): Likewise.
19648         (endttyent): Likewise.
19649         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
19650         __endttyent instead of setttyent, getttyent and endttyent.
19651         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
19652         Remove variable.
19654         [BZ #18546]
19655         * socket/recv.c (__recv): Use libc_hidden_def.
19656         * socket/socket.c (__socket): Likewise.
19657         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
19658         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
19659         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
19660         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
19661         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
19662         libc_hidden_def.
19663         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
19664         libc_hidden_weak.
19665         * include/sys/socket.h (__socket): Do not use attribute_hidden.
19666         Use libc_hidden_proto.
19667         (__recv): Likewise.
19668         * socket/Versions (libc): Export __recv and __socket at version
19669         GLIBC_PRIVATE.
19670         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
19671         instead of recv.
19672         (init_mq_netlink): Call __socket instead of socket.
19673         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
19674         Remove variable.
19676         [BZ #18545]
19677         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
19678         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
19679         hidden_weak.
19680         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
19681         define as alias of __mq_timedsend.  Use hidden_weak.
19682         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
19683         __mq_timedsend as strong name.
19684         (mq_timedreceive): Use __mq_timedreceive as strong name.
19685         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
19686         (__mq_timedreceive): Likewise.
19687         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
19688         __mq_timedreceive instead of mq_timedreceive.
19689         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
19690         instead of mq_timedsend.
19691         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
19692         Remove variable.
19694         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
19695         hidden_def and hidden_weak instead of libc_hidden_def and
19696         libc_hidden_weak.
19697         (top level): Refer to hidden_def in comment.
19698         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
19699         macro.  Use it instead of libc_hidden_def.
19700         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
19701         specify __GI_* name explicitly.
19702         (mq_timedreceive): Likewise.
19703         (mq_setattr): Likewise.
19705         [BZ #18544]
19706         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
19707         __pthread_barrier_init and define as weak alias of
19708         __pthread_barrier_init.
19709         * sysdeps/sparc/nptl/pthread_barrier_init.c
19710         (pthread_barrier_init): Likewise.
19711         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
19712         __pthread_barrier_wait and define as weak alias of
19713         __pthread_barrier_wait.
19714         * sysdeps/sparc/nptl/pthread_barrier_wait.c
19715         (pthread_barrier_wait): Likewise.
19716         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
19717         (pthread_barrier_wait): Likewise.
19718         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
19719         (pthread_barrier_wait): Likewise.
19720         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
19721         (pthread_barrier_wait): Likewise.
19722         * nptl/Versions (libpthread): Export __pthread_barrier_init and
19723         __pthread_barrier_wait at version GLIBC_PRIVATE.
19724         * include/pthread.h (__pthread_barrier_init): Declare.
19725         (__pthread_barrier_wait): Likewise.
19726         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
19727         Call __pthread_barrier_wait instead of pthread_barrier_wait.
19728         (helper_thread): Likewise.
19729         (init_mq_netlink): Call __pthread_barrier_init instead of
19730         pthread_barrier_init.
19732         [BZ #18542]
19733         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
19734         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
19735         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
19736         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
19737         vswscanf.
19738         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
19739         Remove variable.
19741         [BZ #18540]
19742         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
19743         strong alias of _IO_fflush.  Use libc_hidden_def.
19744         * libio/iofflush_u.c (fflush_unlocked): Rename to
19745         __fflush_unlocked and define as weak alias of __fflush_unlocked.
19746         Use libc_hidden_weak.
19747         * include/stdio.h (__fflush_unlocked): Declare.  Use
19748         libc_hidden_proto.
19749         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
19750         fflush_unlocked.
19751         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
19752         Remove variable.
19754         [BZ #18539]
19755         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
19756         define as weak alias of __addseverity.
19757         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
19758         Remove variable.
19759         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
19760         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
19761         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
19763         [BZ #18536]
19764         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
19765         (__tfind): Likewise.
19766         (__tdelete): Likewise.
19767         (__twalk): Likewise.
19768         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
19769         __twalk to GLIBC_PRIVATE.
19770         * include/search.h (__tsearch): Use libc_hidden_proto.
19771         (__tfind): Likewise.
19772         (__tdelete): Likewise.
19773         (__twalk): Likewise.
19774         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
19775         Call __tdelete instead of tdelete.
19776         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
19777         tfind.  Call __tsearch instead of tsearch.
19778         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
19779         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
19780         Remove variable.
19781         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
19783         [BZ #18534]
19784         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
19785         (dprintf): Define as a weak alias of __dprintf, not a strong
19786         alias.
19787         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
19788         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
19789         dprintf.
19790         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
19791         Remove variable.
19792         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
19793         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
19795         [BZ #18533]
19796         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
19797         not a strong alias.
19798         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
19799         Remove variable.
19801         [BZ #18532]
19802         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
19803         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
19804         (in6addr_loopback): Rename to __in6addr_loopback and define as
19805         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
19806         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
19807         libc_hidden_proto.
19808         (__in6addr_any): Likewise.
19809         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
19810         in6addr_any.
19811         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
19812         variable.
19813         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
19815 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
19817         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
19818         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
19819         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19820         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19821         redirections for pow.
19822         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19823         * sysdeps/x86_64/fpu/Versions: New versions added.
19824         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19825         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19826         build of SSE, AVX2 and AVX512 IFUNC versions.
19827         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
19828         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
19829         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
19830         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
19831         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
19832         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
19833         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
19834         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
19835         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
19836         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
19837         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
19838         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
19839         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
19840         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
19841         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19842         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19843         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19844         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19845         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19846         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19847         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19848         * NEWS: Mention addition of x86_64 vector pow.
19850         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19851         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19852         redirections for expf.
19853         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19854         * sysdeps/x86_64/fpu/Versions: New versions added.
19855         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19856         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19857         build of SSE, AVX2 and AVX512 IFUNC versions.
19858         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
19859         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
19860         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
19861         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
19862         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
19863         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
19864         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
19865         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
19866         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
19867         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
19868         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
19869         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
19870         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
19871         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19872         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19873         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19874         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19875         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19876         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19877         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19878         * NEWS: Mention addition of x86_64 vector expf.
19880         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
19881         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
19882         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19883         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19884         redirections for exp.
19885         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19886         * sysdeps/x86_64/fpu/Versions: New versions added.
19887         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19888         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19889         build of SSE, AVX2 and AVX512 IFUNC versions.
19890         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
19891         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
19892         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
19893         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
19894         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
19895         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
19896         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
19897         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
19898         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
19899         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
19900         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
19901         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
19902         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
19903         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19904         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19905         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19906         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19907         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19908         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19909         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19910         * NEWS: Mention addition of x86_64 vector exp.
19912         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19913         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19914         redirections for logf.
19915         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19916         * sysdeps/x86_64/fpu/Versions: New versions added.
19917         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19918         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19919         build of SSE, AVX2 and AVX512 IFUNC versions.
19920         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
19921         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
19922         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
19923         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
19924         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
19925         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
19926         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
19927         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
19928         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
19929         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
19930         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
19931         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
19932         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
19933         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19934         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19935         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19936         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19937         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19938         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19939         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19940         * NEWS: Mention addition of x86_64 vector logf.
19942         * bits/libm-simd-decl-stubs.h: Added stubs for log.
19943         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
19944         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19945         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19946         redirections for log.
19947         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19948         * sysdeps/x86_64/fpu/Versions: New versions added.
19949         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19950         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19951         build of SSE, AVX2 and AVX512 IFUNC versions.
19952         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
19953         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
19954         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
19955         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
19956         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
19957         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
19958         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
19959         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
19960         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
19961         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
19962         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
19963         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
19964         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
19965         test.
19966         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19967         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19968         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19969         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19970         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19971         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19972         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19973         * NEWS: Mention addition of x86_64 vector log.
19975 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19977         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
19978         cfi_adjust_cfa_offset argument.
19979         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
19980         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
19982         [BZ #18034]
19983         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
19984         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
19985         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
19986         ordering using ldar.
19987         (_dl_tlsdesc_dynamic): Likewise.
19988         (_dl_tlsdesc_return_lazy): Likewise.
19989         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
19990         relaxed atomics instead of volatile and synchronize with release store.
19991         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
19992         volatile.
19993         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19995 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
19997         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19998         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
19999         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20000         * sysdeps/x86_64/fpu/Versions: New versions added.
20001         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20002         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20003         build of SSE, AVX2 and AVX512 IFUNC versions.
20004         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
20005         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
20006         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
20007         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
20008         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
20009         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
20010         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
20011         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
20012         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
20013         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
20014         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
20015         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
20016         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
20017         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20018         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20019         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20020         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20021         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20022         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20023         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20024         * NEWS: Mention addition of x86_64 vector sinf.
20026 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
20028         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
20029         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
20030         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
20031         Remove variable.
20032         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
20033         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
20035 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
20037         [BZ #18530]
20038         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
20039         strong alias of _IO_fputs.  Use libc_hidden_def.
20040         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
20041         and define as weak alias of __fputs_unlocked.  Use
20042         libc_hidden_weak.
20043         * include/stdio.h (__fputs_unlocked): Declare.  Use
20044         libc_hidden_proto.
20045         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
20046         fputs_unlocked.
20048         [BZ #18529]
20049         * resolv/netdb.h [__USE_POSIX]: Change condition to
20050         [__USE_XOPEN2K].
20051         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
20052         not expect.
20053         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
20054         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
20055         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
20056         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
20057         [XPG4 || UNIX98] (AI_ALL): Likewise.
20058         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
20059         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
20060         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
20061         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
20062         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
20063         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
20064         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
20065         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
20066         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
20067         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
20068         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
20069         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
20070         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
20071         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
20072         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
20073         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
20074         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
20075         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
20076         [XPG4 || UNIX98] (gai_strerror): Likewise.
20077         [XPG4 || UNIX98] (getaddrinfo): Likewise.
20078         [XPG4 || UNIX98] (getnameinfo): Likewise.
20080         [BZ #18528]
20081         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
20082         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
20083         __USE_XOPEN2K8].
20084         (getgrent): Likewise.
20085         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
20086         expect.
20087         [XPG3 || POSIX2008] (endgrent): Likewise.
20088         [XPG3] (setgrent): Likewise.
20089         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
20090         variable.
20091         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
20093         [BZ #18527]
20094         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
20095         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
20096         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
20097         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
20098         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
20099         * include/unistd.h (__getlogin_r): Declare.  Use
20100         libc_hidden_proto.
20101         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
20102         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
20103         variable.
20104         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
20105         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
20106         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
20108 2015-06-12  Martin Sebor  <msebor@redhat.com>
20110         [BZ #18512]
20111         * Makerules (check-install-supported): New target.
20112         (install): Add check-install-supported as a dependency.
20113         * manual/install.texi (Installing the C Library): Document
20114         that overriding prefix and exec_prefix is not supported.
20115         Mention DESTDIR.
20116         * INSTALL: Regenerate from the above.
20118 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
20120         [BZ #18519]
20121         * posix/Versions (libc): Export __libc_pread at version
20122         GLIBC_PRIVATE.
20123         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
20124         instead of pread.
20125         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
20126         variable.
20128         [BZ #18522]
20129         * misc/efgcvt_r.c
20130         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
20131         (cvt_symbol): Use weak_alias instead of strong_alias.
20132         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
20133         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
20134         Remove variable.
20135         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
20136         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
20138         [BZ #18520]
20139         * inet/herrno.c (h_errno): Rename to __h_errno.
20140         (__libc_h_errno): Define as alias of __h_errno not h_errno.
20141         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
20142         to __h_errno instead of h_errno.
20143         * nptl/herrno.c (h_errno): Rename to __h_errno.
20144         (__h_errno_location): Refer to __h_errno not h_errno.
20145         * resolv/Versions (h_errno): Rename to __h_errno.
20146         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
20147         Remove variable.
20148         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
20150 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
20152         * configure.ac: More strict check for AVX512 assembler support.
20153         * configure: Regenerated.
20155         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
20156         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
20157         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20158         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
20159         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20160         * sysdeps/x86_64/fpu/Versions: New versions added.
20161         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20162         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20163         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20164         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
20165         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
20166         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
20167         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
20168         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
20169         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
20170         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
20171         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
20172         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
20173         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
20174         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
20175         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
20176         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
20177         test.
20178         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20179         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20180         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20181         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20182         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20183         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20184         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20185         * NEWS: Mention addition of x86_64 vector sin.
20187 2015-06-11  Florian Weimer  <fweimer@redhat.com>
20189         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
20190         comment.
20192 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
20194         [BZ #18479]
20195         * nptl/pt-interp.c: New file.
20196         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
20197         Add pt-interp.
20198         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
20199         $(common-objpfx)runtime-linker.h.
20201 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
20203         * Makeconfig (+interp): Remove unused variable.
20204         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
20205         only.  Depend on $(common-objpfx)runtime-linker.h instead of
20206         $(elf-objpfx)runtime-linker.h.
20207         ($(elf-objpfx)runtime-linker.h): Rename to
20208         $(common-objpfx)runtime-linker.h and move ...
20209         * Makerules [$(build-shared) = yes]: ... here.
20210         * elf/interp.c: Include <runtime-linker.h> instead of
20211         <elf/runtime-linker.h>.
20213 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20215         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
20216         (__gettimeofday_syscall): Remove vsyscall fallback.
20217         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
20218         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
20219         Add syscall fallback function.
20220         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
20221         if vDSO is not present.
20222         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
20223         fallback function.
20224         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
20225         present.
20226         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
20227         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20229 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
20231         [BZ #18497]
20232         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
20233         of wcscmp.
20234         (wcscmp): Define as weak alias of WCSCMP.
20235         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
20236         wcscoll.
20237         (USE_HIDDEN_DEF): Define.
20238         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
20239         __wcscoll.  Don't use libc_hidden_weak.
20240         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
20241         wcscmp.
20242         * sysdeps/i386/i686/multiarch/wcscmp-c.c
20243         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
20244         __GI_wcscmp.
20245         (weak_alias): Undefine and redefine.
20246         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
20247         __wcscmp and define as weak alias of __wcscmp.
20248         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
20249         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
20250         (__wcscoll): Likewise.
20251         (wcscmp): Don't use libc_hidden_proto.
20252         (wcscoll): Likewise.
20253         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
20254         wcscoll.
20255         * posix/regexec.c (check_node_accept_bytes): Likewise.
20256         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
20257         variable.
20258         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
20259         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
20261         [BZ #18507]
20262         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
20263         __fstatvfs and define as weak alias of __fstatvfs.  Use
20264         libc_hidden_weak.
20265         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
20266         and define as weak alias of __statvfs.  Use libc_hidden_weak.
20267         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
20268         Define as alias of __fstatvfs, not fstatvfs.
20269         (fstatvfs64): Likewise.
20270         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
20271         Define as alias of __statvfs, not statvfs.
20272         (statvfs64): Likewise.
20273         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
20274         Remove variable.
20276 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20279         (HAVE_GETCPU_VSYSCALL): Define.
20280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20281         (HAVE_GETCPU_VSYSCALL): Likewise.
20282         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
20283         * sysdeps/unix/sysv/linux/sched_getcpu.c
20284         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
20285         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
20286         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
20287         prototype.
20288         * sysdeps/unix/sysv/linux/x86_64/init-first.c
20289         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
20290         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
20291         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
20292         Define.
20293         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
20294         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20295         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
20296         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20298 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
20300         * sysdeps/x86_64/fpu/Makefile: New file.
20301         * sysdeps/x86_64/fpu/Versions: New file.
20302         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
20303         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
20304         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
20305         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
20306         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
20307         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
20308         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
20309         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
20310         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
20311         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
20312         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
20313         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
20314         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
20315         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20316         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20317         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
20318         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
20319         * sysdeps/x86_64/configure.ac: Options for libmvec build.
20320         * sysdeps/x86_64/configure: Regenerated.
20321         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
20322         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
20323         * manual/install.texi (Configuring and compiling): Document
20324         --disable-mathvec.
20325         * INSTALL: Regenerated.
20326         * NEWS: Mention addition of libmvec and x86_64 vector cos.
20328         * math/Makefile: Added rules for vector tests.
20329         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
20330         declaration under condition.
20331         * math/test-double-vlen2.h: New file.
20332         * math/test-double-vlen4.h: New file.
20333         * math/test-double-vlen8.h: New file.
20334         * math/test-vec-loop.h: Added initialization macro.
20335         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
20336         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
20337         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
20338         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
20339         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
20340         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
20341         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
20342         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
20343         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
20344         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
20345         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
20347         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20348         * sysdeps/x86_64/fpu/Versions: New versions added.
20349         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
20350         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
20351         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
20352         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
20353         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
20354         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
20355         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
20356         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
20357         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
20358         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
20359         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
20360         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
20361         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
20362         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20363         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20364         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20365         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
20366         * NEWS: Mention addition of x86_64 vector cosf.
20368         * math/Makefile: Added CFLAGS for new tests.
20369         * math/test-float-vlen16.h: New file.
20370         * math/test-float-vlen4.h: New file.
20371         * math/test-float-vlen8.h: New file.
20372         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
20373         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
20374         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20375         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
20376         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
20377         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
20378         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
20379         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
20380         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
20381         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
20382         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
20384 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
20386         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
20387         * locale/programs/ld-ctype.c: Likewise.
20389 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
20391         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
20392         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
20393         bit_ZMM16_31_state): New macro.
20394         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20395         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
20397 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
20399         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
20401 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
20403         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
20405 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
20407         [BZ #18498]
20408         * libio/memstream.c (open_memstream): Rename to __open_memstream
20409         and define as weak alias of __open_memstream.
20410         * include/stdio.h (__open_memstream): Declare.  Use
20411         libc_hidden_proto.
20412         (open_memstream): Don't use libc_hidden_proto.
20413         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
20414         open_memstream.
20415         * posix/getopt.c (_getopt_internal_r): Likewise.
20416         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
20417         variable.
20418         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
20419         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
20420         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
20422         [BZ #18496]
20423         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
20424         instead of wcrtomb.
20426         [BZ #18483]
20427         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
20428         [__USE_XOPEN2K8].  Remove redundant #endif.
20429         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
20430         Remove redundant #if.
20431         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
20432         Remove variable.
20433         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
20434         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
20436         [BZ #18495]
20437         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
20438         (__iswlower): Likewise.
20439         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
20440         (__iswlower): Likewise.
20441         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
20442         instead of towlower.
20443         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
20444         instead of iswlower.  Call __towupper instead of towupper.
20445         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
20446         instead of iswalnum.
20448 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20450         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
20451         errors to stderr.
20453 2015-06-05  Florian Weimer  <fweimer@redhat.com>
20455         [BZ #15661]
20456         [BZ #17322]
20457         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
20458         Check for overflow properly.  Check for O_APPEND.  Ignore large
20459         file system block sizes.  Add comments about problems.
20460         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
20461         * manual/filesys.texi (Storage Allocation): New node.
20463 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20465         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
20466         cancellable syscalls.
20467         (SYS_ify): Add guard to no redefine it.
20468         (INLINE_SYSCALL): Likewise.
20469         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
20470         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
20471         SYSCALL_CANCEL instead.
20472         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
20473         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
20474         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
20475         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
20476         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
20477         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
20478         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
20479         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
20480         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20481         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20482         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
20483         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
20484         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
20485         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
20486         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
20487         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
20488         Likewise.
20489         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
20490         (__libc_pread64): Likewise.
20491         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
20492         (__libc_preadv): Likewise.
20493         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
20494         (__libc_readv64): Likewise.
20495         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
20496         (__libc_pwrite): Likewise.
20497         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
20498         (__libc_pwrite64): Likewise.
20499         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
20500         (__libc_pwritev): Likewise.
20501         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
20502         (__libc_pwritev64): Likewise.
20503         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
20504         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
20505         (sync_file_range): Likewise.
20506         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
20507         Likewise.
20508         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
20509         Likewise.
20510         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
20511         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
20512         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
20513         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
20514         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
20515         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
20516         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20517         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
20518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
20519         Likewise.
20520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20521         (__libc_read64): Likewise.
20522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
20523         Likewise.
20524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
20525         Likewise.
20526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
20527         Likewise.
20528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
20529         Likewise.
20530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20531         (__libc_pread64): Likewise.
20532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
20533         Likewise.
20534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20535         (__libc_pwrite64): Likewise.
20536         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
20537         (sync_file_range): Likewise.
20538         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
20539         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
20540         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
20541         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
20542         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
20543         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
20544         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
20545         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
20546         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
20547         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
20548         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20549         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
20550         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
20551         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
20552         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
20553         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
20554         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
20555         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
20556         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
20557         Likewise.
20558         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
20559         Likewise.
20560         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
20561         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
20562         Likewise.
20563         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
20564         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
20565         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
20566         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
20567         Likewise.
20568         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
20569         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
20570         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
20571         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
20572         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
20574 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
20576         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
20577         Include dl-vdso.
20578         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
20579         Use VDSO routines for gettimeofday, clock_gettime if
20580         available.
20581         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
20582         Declare VDSO symbols.
20583         * sysdeps/unix/sysv/linux/arm/sysdep.h:
20584         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
20585         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20586         * sysdeps/unix/sysv/linux/arm/Versions: Add
20587         __vdso_clock_gettime.
20589 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20591         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
20592         be an inline implementation regardless of library is built within.
20593         (open_not_cancel_2): Likewise.
20594         (__read_nocancel): Likewise.
20595         (__write_nocancel): Likewise.
20596         (openat_not_cancel): Likewise.
20597         (openat_not_cancel_3): Likewise.
20598         (openat64_not_cancel): Likewise.
20599         (openat64_not_cancel_3): Likewise.
20600         (__close_nocancel): Likewise.
20601         (pause_not_cancel): Likewise.
20602         (nanosleep_not_cancel): Likewise.
20603         (sigsuspend_not_cancel): Likewise.
20605 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20607         [BZ #14958]
20608         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
20609         wake-up.
20610         (__pthread_rwlock_rdlock_slow): Likewise.
20611         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20612         Likewise.
20613         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
20614         Likewise.
20615         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
20616         * nptl/tst-rwlock16.c: New file.
20617         * nptl/Makefile (tests): Add new test.
20619 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20621         [BZ #18324]
20622         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
20623         missing wake-up of readers.
20624         * nptl/tst-rwlock15.c: New file.
20625         * nptl/Makefile (tests): Add new test.
20627 2015-06-03  Roland McGrath  <roland@hack.frob.com>
20629         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
20630         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
20631         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
20632         and __nacl_supply_interface_rtld.
20633         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
20634         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
20635         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
20636         Add __nacl_supply_interface_rtld.
20637         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
20639 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20641         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
20642         isfinite.
20643         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20644         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
20646 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20648         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
20649         __signbit* with standard C99 macros.
20650         * math/e_exp10l.c: Likewise.
20651         * math/e_exp2l.c: Likewise.
20652         * math/e_scalb.c: Likewise.
20653         * math/e_scalbf.c: Likewise.
20654         * math/e_scalbl.c: Likewise.
20655         * math/s_ldexp.c: Likewise.
20656         * math/s_ldexpf.c: Likewise.
20657         * math/s_ldexpl.c: Likewise.
20658         * math/w_atan2.c: Likewise.
20659         * math/w_atan2f.c: Likewise.
20660         * math/w_atan2l.c: Likewise.
20661         * math/w_cosh.c: Likewise.
20662         * math/w_coshf.c: Likewise.
20663         * math/w_coshl.c: Likewise.
20664         * math/w_exp10.c: Likewise.
20665         * math/w_exp10f.c: Likewise.
20666         * math/w_exp10l.c: Likewise.
20667         * math/w_exp2.c: Likewise.
20668         * math/w_exp2f.c: Likewise.
20669         * math/w_exp2l.c: Likewise.
20670         * math/w_fmod.c: Likewise.
20671         * math/w_fmodf.c: Likewise.
20672         * math/w_fmodl.c: Likewise.
20673         * math/w_hypot.c: Likewise.
20674         * math/w_hypotf.c: Likewise.
20675         * math/w_hypotl.c: Likewise.
20676         * math/w_jnl.c: Likewise.
20677         * math/w_lgamma.c: Likewise.
20678         * math/w_lgamma_r.c: Likewise.
20679         * math/w_lgammaf.c: Likewise.
20680         * math/w_lgammaf_r.c: Likewise.
20681         * math/w_lgammal.c: Likewise.
20682         * math/w_lgammal_r.c: Likewise.
20683         * math/w_pow.c: Likewise.
20684         * math/w_powf.c: Likewise.
20685         * math/w_powl.c: Likewise.
20686         * math/w_remainder.c: Likewise.
20687         * math/w_remainderf.c: Likewise.
20688         * math/w_remainderl.c: Likewise.
20689         * math/w_scalb.c: Likewise.
20690         * math/w_scalbf.c: Likewise.
20691         * math/w_scalbl.c: Likewise.
20692         * math/w_scalbln.c: Likewise.
20693         * math/w_scalblnf.c: Likewise.
20694         * math/w_scalblnl.c: Likewise.
20695         * math/w_sinh.c: Likewise.
20696         * math/w_sinhf.c: Likewise.
20697         * math/w_sinhl.c: Likewise.
20698         * math/w_tgamma.c: Likewise.
20699         * math/w_tgammaf.c: Likewise.
20700         * math/w_tgammal.c: Likewise.
20701         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20702         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
20703         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20704         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20705         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20706         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20707         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20708         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20709         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20710         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20711         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20712         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20713         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20714         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20715         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20716         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20717         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20718         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
20719         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20720         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20721         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20722         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20723         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20724         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20725         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20726         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20727         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
20728         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20729         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20730         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20731         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
20732         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
20733         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
20734         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
20735         * stdio-common/printf_fp.c: Likewise.
20736         * stdio-common/printf_fphex.c: Likewise.
20737         * stdio-common/printf_size.c: Likewise.
20739 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
20741         [BZ #18470]
20742         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
20743         strnlen.
20744         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
20745         Remove variable.
20746         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
20747         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
20748         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
20749         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
20750         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
20751         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
20752         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
20753         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
20754         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
20755         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
20757         [BZ #18468]
20758         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
20759         weak alias of __wmemchr.  Use libc_hidden_weak.
20760         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
20761         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
20762         instead of wmemchr.
20764 2015-06-02  Roland McGrath  <roland@hack.frob.com>
20766         [BZ #18383]
20767         * elf/tst-tlsalign-extern.c: New file.
20768         * elf/tst-tlsalign-extern-static.c: New file.
20769         * elf/tst-tlsalign-vars.c: New file.
20770         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
20771         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
20772         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
20773         ($(objpfx)tst-tlsalign-extern-static): Likewise.
20774         (test-xfail-tst-tlsalign-extern-static): New variable.
20776 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
20778         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
20779         Use variable name _sc_err instead of err.
20780         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
20781         instead of ret.
20782         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
20783         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
20784         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
20785         (INLINE_SYSCALL): Likewise.
20787         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
20788         * include/string.h (__strnlen): Use libc_hidden_proto.
20789         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
20790         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
20791         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
20792         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
20793         (libc_hidden_def): Undefine and redefine.
20794         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
20795         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
20796         __GI_strnlen.
20797         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
20798         libc_hidden_def.
20799         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
20801         [BZ #18469]
20802         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
20803         weak alias of __towlower.  Use libc_hidden_weak.
20804         (towupper): Rename to __towupper and define as weak alias of
20805         __towupper.  Use libc_hidden_weak.
20806         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
20807         (__towupper): Likewise.
20808         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
20809         __towlower instead of towlower.
20811 2015-06-02  Roland McGrath  <roland@hack.frob.com>
20813         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
20814         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
20816 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20818         * sysdeps/aarch64/libm-test-ulps: Update.
20820 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20822         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
20823         Define.
20824         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20825         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
20826         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
20827         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20828         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
20829         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
20830         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
20832 2015-06-01  Martin Sebor  <msebor@redhat.com>
20834         [BZ #18116]
20835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20836         (__setcontext): Use extended four-operand version of mtsf whenever
20837         possible.
20838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20839         (__novec_swapcontext): Likewise.
20841 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20843         * benchtests/scripts/compare_bench.py: New file.
20844         * benchtests/scripts/import_bench.py (mean): New function.
20845         (split_list): Likewise.
20846         (do_for_all_timings): Likewise.
20847         (compress_timings): Likewise.
20849         * benchtests/scripts/import_bench.py: New file.
20850         * benchtests/scripts/validate_benchout.py: Import import_bench
20851         instead of jsonschema.
20852         (validate_bench): Remove function.
20853         (main): Use import_bench.
20855 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
20857         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
20858         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
20860 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20862         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20864 2015-05-28  Roland McGrath  <roland@hack.frob.com>
20866         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
20867         set THREAD_SELF->tid to a magic value and futex-wake it.
20868         Pass its address to the thread_exit system call.
20869         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
20870         bit is clear.
20871         * sysdeps/nacl/lowlevellock.h: New file.
20872         * sysdeps/nacl/lll_timedwait_tid.c: New file.
20874         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
20875         Add TIMEOUT to current time, don't subtract it.
20877 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
20879         [BZ #2981]
20880         [BZ #18422]
20881         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
20882         ($(objpfx)tst-audit2.out): Also depend on
20883         $(objpfx)tst-auditmod9b.so.
20884         * elf/tst-audit2.c: Include <dlfcn.h>.
20885         (calloc_called): New.
20886         (calloc): Allow to be called more than once.
20887         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
20889 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
20891         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
20892         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
20894 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
20896         * stdlib/monetary.h: Fix comment.
20898 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
20900         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
20901         Avoid using variables in #defines that might cause shadowing.
20902         (INTERNAL_VSYSCALL_CALL): Likewise.
20904 2015-05-26  Roland McGrath  <roland@hack.frob.com>
20906         * sysdeps/nacl/lll_timedlock_wait.c: New file.
20908         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
20909         * nptl/lll_timedlock_wait.c: ... to this new file.
20910         * nptl/Makefile (libpthread-routines): Add it.
20911         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
20912         * nptl/lll_timedwait_tid.c: ... to this new file.
20913         * nptl/Makefile (libpthread-routines): Add it.
20914         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
20915         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
20916         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
20917         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
20918         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
20919         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
20920         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
20921         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
20922         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
20923         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
20925 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20927         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
20928         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20929         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
20930         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
20931         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
20932         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20933         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20934         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20935         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20936         * sysdeps/unix/sysv/linux/tile/sysdep.h
20937         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20938         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
20939         using vDSO syscall macro.
20941 2015-05-26  Andriy Rysin  <arysin@gmail.com>
20943         [BZ #17293]
20944         * uk_UA: Fix sorting order for Ukrainian locale
20946 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
20948         * stdlib/monetary.h: Fix comment.
20950 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20952         [BZ #18234]
20953         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
20954         st_mtim and st_ctim members.
20955         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
20956         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
20957         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
20958         (struct stat64): Likewise.
20959         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
20960         (struct stat64): Likewise.
20961         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
20962         (struct stat64): Likewise.
20964 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20966         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
20967         Define and include sysdep-vdso.h.
20968         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
20969         Likewise.
20970         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
20971         Likewise.
20972         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
20973         Define with VDSO_SYMBOL and use PTR_MANGLE.
20974         (__vdso_clock_gettime): Likewise.
20975         (__vdso_clock_getres): Likewise.
20976         (_libc_vdso_platform_setup): Likewise.
20977         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
20978         Likewise.
20979         (_libc_vdso_platform_setup): Likewise.
20980         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
20981         Likewise.
20982         (__vdso_clock_gettime): Likewise.
20983         (__vdso_clock_getres): Likewise.
20984         (__vdso_get_tbfreq): Likewise.
20985         (__vdso_getcpu): Likewise.
20986         (__vdso_time): Likewise.
20987         (__vdso_sigtramp_rt64): Likewise.
20988         (__vdso_signtramp32): Likewise.
20989         (__vdso_sigtramp_rt32): Likewise.
20990         (_libc_vdso_platform_setup): Likewise.
20991         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
20992         Likewise.
20993         (__vdso_clock_gettime): Likewise.
20994         (__vdso_clock_getres): Likewise.
20995         (_libc_vdso_platform_setup): Likewise.
20996         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
20997         Likewise.
20998         (__vdso_clock_gettime): Likewise.
20999         (_libc_vdso_platform_setup): Likewise.
21000         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
21001         Likewise.
21002         (__vdso_getcpu): Likewise.
21003         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
21004         Use VDSO_SYMBOL macro to define.
21005         (__vdso_clock_gettime): Likewise.
21006         (__vdso_clock_getres): Likewise.
21007         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
21008         Likewise.
21009         (__vdso_clock_gettime): Likewise.
21010         (__vdso_clock_getres): Likewise.
21011         (__vdso_get_tbfreq): Likewise.
21012         (__vdso_getcpu): Likewise.
21013         (__vdso_time): Likewise.
21014         (__vdso_sigtramp_rt64): Likewise.
21015         (__vdso_signtramp32): Likewise.
21016         (__vdso_sigtramp_rt32): Likewise.
21017         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
21018         Likewise.
21019         (__vdso_clock_gettime): Likewise.
21020         (__vdso_clock_getres): Likewise.
21021         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
21022         Likewise.
21023         (__vdso_clock_gettime): Likewise.
21024         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
21025         Likewise.
21026         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
21027         macro.
21028         (INTERNAL_VSYSCALL): Likewise.
21029         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
21030         Remove macro.
21031         (INTERNAL_VSYSCALL): Likewise.
21032         (INTERNAL_VSYSCALL_NCS): Likewise.
21033         (INTERNAL_VSYSCALL_CALL): New macro.
21034         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
21035         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
21036         Likewise.
21037         (INTERNAL_VSYSCALL): Likewise.
21038         (INTERNAL_VSYSCALL_NCS): Likewise.
21039         (INTERNAL_VSYSCALL_CALL): New macro.
21040         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
21041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21042         (INLINE_VSYSCALL): Remove macro.
21043         (INTERNAL_VSYSCALL): Remove macro.
21044         (INTERNAL_VSYSCALL_NCS): Remove macro.
21045         (INTERNAL_VSYSCALL_CALL): New macro.
21046         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
21047         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
21048         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
21049         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
21050         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
21051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21052         (INLINE_VSYSCALL): Remove macro.
21053         (INTERNAL_VSYSCALL): Likewise.
21054         (INTERNAL_VSYSCALL_NCS): Likewise.
21055         (INTERNAL_VSYSCALL_CALL): New macro.
21056         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
21057         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
21058         PTR_DEMANGLE on vDSO pointer.
21059         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
21060         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
21061         macro.
21062         (INTERNAL_SYSCALL): Likewise.
21063         (INTERNAL_VSYSCALL_NCS): Remove macro.
21064         (INTERNAL_VSYSCALL_CALL): New macro.
21065         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
21066         Remove macro.
21067         (INTERNAL_VSYSCALL): Likewise.
21068         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
21069         sysdep-vdso.h instead of libc-vdso.h.
21070         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
21071         definition.
21072         (INLINE_VSYSCALL): Likewise.
21073         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
21074         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
21075         definition.
21076         (INLINE_VSYSCALL): Likewise.
21077         (INTERNAL_VSYSCALL): Likewise.
21078         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21079         * sysdeps/unix/sysv/linux/timespec_get.c
21080         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21081         (timespec_get): Use ANSI prototype.
21082         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
21083         and definition for Linux.
21085 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
21087         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
21088         * include/libc-symbols.h: libmvec_hidden_* macro series added.
21090 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
21092         [BZ #2981]
21093         [BZ #18410]
21094         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
21095         for missing DT_PLTRELSZ.
21097 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
21099         Remove obsolete aliases that broke 'locale -a'
21100         [BZ #18412]
21101         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
21102         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
21103         breaking some applications that use 'locale -a' output.
21104         Change the encoding of this file from Latin-1 to ASCII to avoid
21105         other potential problems with people grepping this file.
21107 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21109         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
21110         -fasynchronous-unwind-tables.
21111         (CFLAGS-sendto.c): Likewise.
21112         (CFLAGS-sendmsg.c): Likewise.
21113         (CFLAGS-connect.c): Likewise.
21114         (CFLAGS-recvmsg.c): Likewise.
21115         (CFLAGS-recvfrom.c): Likewise.
21116         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
21117         (SOCKETCALL): New macro: non-cancellable socketcall.
21118         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
21119         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
21120         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
21121         * sysdeps/unix/sysv/linux/accept.c: New file.
21122         * sysdeps/unix/sysv/linux/bind.c: Likewise.
21123         * sysdeps/unix/sysv/linux/connect.c: Likewise.
21124         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
21125         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
21126         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
21127         * sysdeps/unix/sysv/linux/listen.c: Likewise.
21128         * sysdeps/unix/sysv/linux/recv.c: Likewise.
21129         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
21130         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
21131         * sysdeps/unix/sysv/linux/send.c: Likewise.
21132         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
21133         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
21134         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
21135         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
21136         * sysdeps/unix/sysv/linux/socket.c: Likewise.
21137         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
21138         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
21139         prototype.
21140         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
21141         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21142         instead of __internal_xxx function.
21143         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
21144         prototype.
21145         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
21146         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21147         instead of __internal_xxx function.
21148         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
21149         prototype.
21150         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
21151         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21152         instead of __internal_xxx function.
21153         * sysdeps/unix/sysv/linux/accept.S: Remove file.
21154         * sysdeps/unix/sysv/linux/bind.S: Likewise.
21155         * sysdeps/unix/sysv/linux/connect.S: Likewise.
21156         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
21157         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
21158         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
21159         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
21160         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
21161         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
21162         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
21163         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
21164         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21165         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
21166         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
21167         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
21168         * sysdeps/unix/sysv/linux/listen.S: Likewise.
21169         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
21170         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
21171         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
21172         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
21173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
21174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
21175         * sysdeps/unix/sysv/linux/recv.S: Likewise.
21176         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
21177         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
21178         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
21179         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21180         * sysdeps/unix/sysv/linux/send.S: Likewise.
21181         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
21182         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
21183         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
21184         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
21185         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
21186         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
21187         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
21188         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
21189         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
21190         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
21191         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
21192         socketcall is implemented in GLIBC.
21194 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
21196         * soft-fp/fmadf4.c: Include <libc-internal.h>.
21197         (__fma): Ignore uninitialized warnings around packing.
21198         * soft-fp/fmasf4.c: Include <libc-internal.h>.
21199         (__fmaf): Ignore uninitialized warnings around packing.
21200         * soft-fp/fmatf4.c: Include <libc-internal.h>.
21201         (__fmal): Ignore uninitialized warnings around packing.
21203         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
21204         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21205         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
21206         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21208         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
21209         switch statement into default case.
21210         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
21212         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
21213         a conditional in forcing "inexact".
21214         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21215         Likewise.
21217 2015-05-22  Roland McGrath  <roland@hack.frob.com>
21219         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21220         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
21221         for each INTERNAL_SYSCALL use.
21223 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
21225         [BZ #438]
21226         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
21227         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
21228         variable.
21230         [BZ #18444]
21231         * string/basename.c (basename): Rename to __basename and define as
21232         weak alias of __basename.  Use libc_hidden_weak.
21233         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
21234         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
21235         __basename instead of basename.
21236         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
21237         Remove variable.
21238         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
21240 2015-05-18  Florian Weimer  <fweimer@redhat.com>
21242         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
21243         (_IO_JUMPS_FILE_plus): New.
21244         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
21245         _IO_CAST_FIELD_ACCESS.
21246         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
21247         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
21248         * libio/freopen.c (freopen): Likewise.
21249         * libio/freopen64.c (freopen64): Likewise.
21250         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
21251         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
21252         * libio/iofwide.c (_IO_fwide): Likewise.
21253         * libio/memstream.c (open_memstream): Likewise.
21254         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21255         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
21256         * libio/oldiopopen.c (_IO_old_popen): Likewise.
21258 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
21260         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
21261         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
21262         NADJ.
21263         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
21264         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
21265         NADJ.
21266         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
21267         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
21268         NADJ.
21270         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
21271         (p == 4) case.
21273         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
21274         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
21275         Remove variable.
21276         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
21277         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
21278         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
21280 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21282         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
21283         Adjust jump table label generation macros.
21285 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21287         * stdio-common/vfprintf.c (vfprintf): Move local variables
21288         args_malloced, specs, specs_malloced, and the code after
21289         do_positional to the printf_positional function.
21290         (printf_positional): New function.
21292 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21294         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
21295         function.
21296         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
21297         STEP4_TABLE, process_arg): Move macro definitions
21298         out of the vfprintf function.  (Cosmetic change only.)
21300 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
21302         * benchtests/Makefile (stdio-common-bench): Define.
21303         (benchset): Add stdio-common-bench.
21304         * sprintf-inputs: New file.
21305         * sprintf-source.c: New file.
21307 2015-05-21  Andreas Schwab  <schwab@suse.de>
21309         [BZ #13028]
21310         [BZ #17053]
21311         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
21312         of struct __res_state.
21313         * resolv/res_send.c (__libc_res_nsend): Likewise.
21314         (get_nsaddr): New function.
21315         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
21316         statp directly.
21318 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
21320         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
21321         -D_POSIX_C_SOURCE=199506L.
21323         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
21325         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
21326         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
21327         Do not mention otherwise.
21328         [POSIX] (_XOPEN_VERSION): Do not expect.
21329         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
21330         [POSIX] (_POSIX2_C_BIND): Likewise.
21331         [POSIX] (_POSIX2_VERSION): Likewise.
21332         [POSIX] (_XOPEN_XPG2): Likewise.
21333         [POSIX] (_XOPEN_XPG3): Likewise.
21334         [POSIX] (_XOPEN_XPG4): Likewise.
21335         [POSIX] (_XOPEN_UNIX): Likewise.
21336         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
21337         [POSIX] (_POSIX_BARRIERS): Likewise.
21338         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
21339         [POSIX] (_POSIX_CPUTIME): Likewise.
21340         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
21341         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
21342         [POSIX] (_POSIX_SHELL): Likewise.
21343         [POSIX] (_POSIX_SPAWN): Likewise.
21344         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
21345         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
21346         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
21347         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
21348         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
21349         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
21350         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
21351         [POSIX] (_XBS5_LP64_OFF64): Likewise.
21352         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
21353         [POSIX] (_POSIX_TIMEOUTS): Likewise.
21354         [POSIX] (_POSIX2_PBS): Likewise.
21355         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
21356         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
21357         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
21358         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
21359         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
21360         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
21361         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
21362         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
21363         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
21364         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
21365         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
21366         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
21367         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
21368         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
21369         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
21370         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
21371         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
21372         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
21373         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
21374         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
21375         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
21376         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
21377         [POSIX] (_SC_2_C_BIND): Likewise.
21378         [POSIX] (_SC_2_C_VERSION): Likewise.
21379         [POSIX] (_SC_2_PBS): Likewise.
21380         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
21381         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
21382         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
21383         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
21384         [POSIX] (_SC_2_PBS_TRACK): Likewise.
21385         [POSIX] (_SC_ATEXIT_MAX): Likewise.
21386         [POSIX] (_SC_BARRIERS): Likewise.
21387         [POSIX] (_SC_BASE): Likewise.
21388         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
21389         [POSIX] (_SC_DEVICE_IO): Likewise.
21390         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
21391         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
21392         [POSIX] (_SC_FD_MGMT): Likewise.
21393         [POSIX] (_SC_FIFO): Likewise.
21394         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
21395         [POSIX] (_SC_FILE_LOCKING): Likewise.
21396         [POSIX] (_SC_FILE_SYSTEM): Likewise.
21397         [POSIX] (_SC_IOV_MAX): Likewise.
21398         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
21399         [POSIX] (_SC_NETWORKING): Likewise.
21400         [POSIX] (_SC_PAGE_SIZE): Likewise.
21401         [POSIX] (_SC_PASS_MAX): Likewise.
21402         [POSIX] (_SC_PIPE): Likewise.
21403         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
21404         [POSIX] (_SC_REGEXP): Likewise.
21405         [POSIX] (_SC_SHELL): Likewise.
21406         [POSIX] (_SC_SIGNALS): Likewise.
21407         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
21408         [POSIX] (_SC_SPIN_LOCKS): Likewise.
21409         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
21410         [POSIX] (_SC_USER_GROUPS): Likewise.
21411         [POSIX] (_SC_USER_GROUPS_R): Likewise.
21412         [POSIX] (_SC_STREAMS): Likewise.
21413         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
21414         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
21415         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
21416         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
21417         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
21418         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
21419         [POSIX] (_PC_FILESIZEBITS): Likewise.
21420         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
21421         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
21422         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
21423         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
21424         [POSIX] (uid_t): Likewise.
21425         [POSIX] (gid_t): Likewise.
21426         [POSIX] (off_t): Likewise.
21427         [POSIX] (pid_t): Likewise.
21428         [POSIX] (cuserid): Allow.
21429         (_SC_2_CHAR_TERM): Require constant.
21430         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
21431         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
21432         variable.
21434 2015-05-20  Roland McGrath  <roland@hack.frob.com>
21436         * sysdeps/nacl/pthread-pids.h: New file.
21437         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
21438         (create_thread): Use __nacl_get_tid to initialize PD->tid.
21440         * nptl/pthread-pids.h: New file.
21441         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
21442         * nptl/nptl-init.c: Include <pthread-pids.h>.
21443         (__pthread_initialize_minimal_internal):
21444         Call __pthread_initialize_pids instead of set_tid_address syscall.
21446         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
21447         * sysdeps/posix/usleep.c: ... here.
21449 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21451         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
21452         call_pselect6 object.
21453         [$(subdir) = io]: Remove call_sync_file_range object.
21454         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
21455         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
21456         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
21457         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
21459 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
21461         * math/s_cproj.c: Add include "math_private.h".
21462         * math/s_cprojf.c: Likewise.
21463         * math/s_cprojl.c: Likewise.
21465 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
21467         [BZ #18244]
21468         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
21469         high mantissa bit when testing whether P is a NaN.
21470         * math/libm-test.inc (remainder_test_data): Add more tests.
21471         (remquo_test_data): Likewise.
21473         [BZ #18049]
21474         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
21475         below -32, return the argument, with underflow if subnormal.
21476         * math/auto-libm-test-in: Add more tests of atanh.
21477         * math/auto-libm-test-out: Regenerated.
21479 2015-05-19  Roland McGrath  <roland@hack.frob.com>
21481         [BZ #18434]
21482         * nptl/tst-sem15.c: New file.
21483         * nptl/Makefile (tests): Add it.
21484         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
21485         s/<</>>/ to fix typo in EOVERFLOW check.
21486         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
21488 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21490         * manual/strings.texi (envz_remove): Fix typo in safety
21491         annotations.
21493 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
21494             Steve Ellcey  <sellcey@imgtec.com>
21496         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
21497         in order to avoid strict alias warnings.
21498         (iruserok_af): Ditto for ra.
21500 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
21502         [BZ #17581]
21503         * malloc/hooks.c
21504         (magicbyte): Convert to a function and avoid returning 0x01.
21505         (mem2mem_check): Avoid using a length byte equal to the magic byte.
21506         (mem2chunk_check): Fix unsigned comparisons to zero.
21507         Hoist defs of sz and magic.
21509 2015-05-19  Richard Henderson  <rth@redhat.com>
21511         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
21513         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21515 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21517         [BZ #16159]
21518         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
21519         * malloc/arena.c (arena_lock): Check if arena is corrupt.
21520         (reused_arena): Find a non-corrupt arena.
21521         (heap_trim): Pass arena to unlink.
21522         * malloc/hooks.c (malloc_check_get_size): Pass arena to
21523         malloc_printerr.
21524         (top_check): Likewise.
21525         (free_check): Likewise.
21526         (realloc_check): Likewise.
21527         * malloc/malloc.c (malloc_printerr): Add arena argument.
21528         (unlink): Likewise.
21529         (munmap_chunk): Adjust.
21530         (ARENA_CORRUPTION_BIT): New macro.
21531         (arena_is_corrupt): Likewise.
21532         (set_arena_corrupt): Likewise.
21533         (sysmalloc): Use mmap if there are no usable arenas.
21534         (_int_malloc): Likewise.
21535         (__libc_malloc): Don't fail if arena_get returns NULL.
21536         (_mid_memalign): Likewise.
21537         (__libc_calloc): Likewise.
21538         (__libc_realloc): Adjust for additional argument to
21539         malloc_printerr.
21540         (_int_free): Likewise.
21541         (malloc_consolidate): Likewise.
21542         (_int_realloc): Likewise.
21543         (_int_memalign): Don't touch corrupt arenas.
21544         * malloc/tst-malloc-backtrace.c: New test case.
21546         * Makefile (summarize-tests): Fix return value on success.
21548         * manual/string.texi (Envz Functions): Add envz_remove.
21550 2015-05-18  Roland McGrath  <roland@hack.frob.com>
21552         * sysdeps/posix/opendir.c: Include <stdbool.h>.
21553         (invalid_name): New function, broken out of ...
21554         (__opendirat): ... here.  Call it.
21555         (need_isdir_precheck): New function, broken out of ...
21556         (__opendirat): ... here.  Call it.
21557         Use __fxstatat64, not __xstatat64.
21558         (opendir_oflags): New function, broken out of ...
21559         (__opendirat): ... here.  Call it.
21560         (opendir_tail): New function, broken out of ...
21561         (__opendirat): ... here.  Call it.
21562         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
21563         opendir_tail, rather than punting to __opendirat.
21564         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
21566 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21568         * .gitignore: Ignore generated *.pyc.
21570 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
21572         * include/stdio.h: Define __need_wint_t.
21573         * test-skeleton.c: Avoid `for' loop initial declaration.
21574         * nptl/tst-initializers1.c: Use test-skeleton.c.
21576 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21578         [BZ #18418]
21579         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
21581 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21583         [BZ #16352]
21584         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
21585         (__ieee754_atanh): Force underflow exception for results with
21586         small absolute value.
21587         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
21588         (__ieee754_atanhf): Force underflow exception for results with
21589         small absolute value.
21590         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
21591         (__ieee754_atanh): Force underflow exception for results with
21592         small absolute value.
21593         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
21594         (__ieee754_atanhf): Force underflow exception for results with
21595         small absolute value.
21596         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
21597         (__ieee754_atanhl): Force underflow exception for results with
21598         small absolute value.
21599         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
21600         (__ieee754_atanhl): Force underflow exception for results with
21601         small absolute value.
21602         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
21603         (__ieee754_atanhl): Force underflow exception for results with
21604         small absolute value.
21605         * math/auto-libm-test-in: Do not allow missing underflow
21606         exceptions from atanh.
21607         * math/auto-libm-test-out: Regenerated.
21609         [BZ #18221]
21610         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
21611         2**-28 as threshold for returning x or +/- 1/x.
21612         * math/auto-libm-test-in: Add more tests of tan.
21613         * math/auto-libm-test-out: Regenerated.
21615         [BZ #18220]
21616         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21617         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
21618         * math/auto-libm-test-in: Add another test of lgamma.
21619         * math/auto-libm-test-out: Regenerated.
21621 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
21623         * stdio-common/printf_fp.c (___printf_fp): Use abs.
21624         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
21625         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
21626         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
21627         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
21628         (ADD2A): Use fabs.  (SUB2A): Use fabs.
21629         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
21630         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
21631         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
21632         (log1): Use fabs.  (my_log2): Use fabs.
21633         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
21634         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
21635         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
21636         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
21637         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
21638         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
21639         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
21640         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
21641         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
21642         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
21643         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
21645 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21647         [BZ #18217]
21648         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
21649         as threshold for returning 1 - x.
21650         * math/auto-libm-test-in: Add more tests of erfc.
21651         * math/auto-libm-test-out: Regenerated.
21653 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
21655         [BZ #18196]
21656         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
21657         threshold for large arguments.
21658         * math/auto-libm-test-in: Add another test of atan.
21659         * math/auto-libm-test-out: Regenerated.
21661         [BZ #16339]
21662         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
21663         (__log1p): Force underflow exception for results with small
21664         absolute value.
21665         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
21666         (__log1pf): Force underflow exception for results with small
21667         absolute value.
21668         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
21669         (__log1p): Force underflow exception for results with small
21670         absolute value.
21671         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
21672         (__log1pf): Force underflow exception for results with small
21673         absolute value.
21674         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
21675         (__log1pl): Force underflow exception for results with small
21676         absolute value.
21677         * math/auto-libm-test-in: Do not allow missing underflow
21678         exceptions from log1p.
21679         * math/auto-libm-test-out: Regenerated.
21681 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
21682             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21684         [BZ #16704]
21685         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
21687 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
21689         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
21690         (libmvec): New variable.
21691         * configure.ac: Added option for mathvec build.
21692         * configure: Regenerated.
21693         * mathvec/Depend: New file.
21694         * mathvec/Makefile: New file.
21695         * shlib-versions: Added libmvec.
21696         * math/Makefile: Added rule for libm.so installation.
21698         * bits/math-vector.h: New file.
21699         * bits/libm-simd-decl-stubs.h: New header.
21700         * math/Makefile (headers): Added new header
21701         libm-simd-decl-stubs.h.
21702         * math/math.h (__MATHCALL_VEC): New macro.
21704         * math/gen-libm-have-vector-test.sh: Script generates series of macros
21705         for conditions in testing functions.
21706         * math/Makefile: Added call of libm-have-vector-test.sh.
21707         * math/libm-test.inc (HAVE_VECTOR): New macros.
21709         * math/libm-test.inc: START refactored.
21710         * math/test-double.c (TEST_MATHVEC): Add define.
21711         * math/test-float.c: Likewise.
21712         * math/test-idouble.c: Likewise.
21713         * math/test-ifloat.c: Likewise.
21714         * math/test-ildoubl.c: Likewise.
21715         * math/test-ldouble.c: Likewise.
21716         * sysdeps/generic/math-tests-arch.h
21717         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
21718         architecture check.
21720         * math/test-double.c (FUNC_TEST): New macro.
21721         * math/test-float.c: Likewise.
21722         * math/test-idouble.c: Likewise.
21723         * math/test-ifloat.c: Likewise.
21724         * math/test-ildoubl.c: Likewise.
21725         * math/test-ldouble.c: Likewise.
21726         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
21728 2015-05-13  Roland McGrath  <roland@hack.frob.com>
21730         * sysdeps/nacl/fdopendir.c: New file.
21732         * dirent/scandir-tail.c: New file.
21733         * dirent/scandir64-tail.c: New file.
21734         * dirent/Makefile (routines): Add them.
21735         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
21736         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
21737         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
21738         [!SCANDIR] (SCANDIR_TAIL): New macro.
21739         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
21740         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
21741         (SCANDIRAT): Macro removed.
21742         (SCANDIR_TAIL): New macro.
21743         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
21744         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
21745         (SCANDIRAT): Just call __opendirat and __scandir_tail.
21746         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
21747         (READDIR): Macro removed.
21748         (SCANDIR_TAIL): New macro.
21749         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
21750         (SCANDIR_TAIL): New macro.
21752         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
21753         * dirent/scandir-cancel.c: ... to this new file.
21754         * dirent/Makefile (routines): Add it.
21755         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
21756         * sysdeps/unix/sysv/linux/i386/scandir64.c
21757         (SKIP_SCANDIR_CANCEL): Macro removed.
21758         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
21760         * dirent/tst-scandir.c: New file.
21761         * dirent/tst-scandir64.c: New file.
21762         * dirent/Makefile (tests): Add them.
21764 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
21766         [BZ #18409]
21767         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
21769 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21771         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
21772         list.
21774 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
21776         * benchtests/bench-strcoll.c: New benchmark.
21777         * benchtests/Makefile: Generate locales and run benchmark.
21778         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
21779         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
21780         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
21781         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
21782         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
21783         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
21784         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
21785         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
21786         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
21787         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
21788         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
21789         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
21790         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
21791         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
21792         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
21793         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
21794         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
21795         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
21796         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
21797         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
21798         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
21799         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
21800         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
21801         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
21803 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
21805         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
21806         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21808 2015-05-12  Roland McGrath  <roland@hack.frob.com>
21810         * posix/uname-values.h: New file.
21811         * posix/uname.c: Include that instead of <config-name.h>.
21812         * sysdeps/nacl/uname-values.h: New file.
21813         * sysdeps/arm/nacl/uname-values.h: New file.
21815 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
21817         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
21818         splitting into fields.
21820 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
21822         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
21823         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
21824         * locale/localeinfo.h: Add enum collation_encoding_type.
21825         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
21826         * programs/ld-collate.c (collate_output): Add encoding type info.
21827         * string/strcoll_l.c (STRDIFF): New function.
21828         * (STRCOLL): Use STRDIFF to skip over equal prefix.
21829         * wcsmbs/wcscoll_l.c: Define STRDIFF.
21831 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
21833         [BZ #18397]
21834         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
21835         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
21836         <fpu_control.h> instead of <math/fpu_control.c>.
21837         * sysdeps/mips/mips32/fpu/Makefile: New file.
21839 2015-05-11  Andreas Schwab  <schwab@suse.de>
21841         [BZ #18007]
21842         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
21843         nss_endgrent.
21844         (_nss_compat_endgrent): Call nss_endgrent.
21845         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
21846         nss_endpwent.
21847         (_nss_compat_endpwent): Call nss_endpwent.
21848         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
21849         needent, call nss_setspent only if non-zero.
21850         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
21851         (internal_endspent): Don't call nss_endspent.
21852         (_nss_compat_endspent): Call nss_endspent.
21853         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
21854         Remove.  All uses removed.
21855         (internal_setent): Remove parameter stayopen, add parameter
21856         stream.  Use it instead of global variable.
21857         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
21858         (internal_endent, internal_getent): Add parameter stream.  Use it
21859         instead of global variable.
21860         (CONCAT(_nss_files_end,ENTNAME))
21861         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
21862         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
21863         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
21864         uses removed.
21865         (internal_setent, internal_endent): Add parameter stream.  Use it
21866         instead of global variable.
21867         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
21868         stream.
21869         (get_next_alias): Add parameter stream.
21870         (_nss_files_getaliasent_r): Pass global stream.
21871         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
21872         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
21873         (_nss_files_gethostbyname4_r): Pass local stream to
21874         internal_setent, internal_getent and internal_endent.  Remove
21875         locking.
21877 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21879         * tst-strfmon1.c (tests): Update expected currency symbol.
21881 2015-05-08  Roland McGrath  <roland@hack.frob.com>
21883         * sysdeps/nacl/gethostname.c: New file.
21885 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
21887         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
21888         and sinh.
21889         * math/auto-libm-test-out: Regenerated.
21890         * sysdeps/i386/fpu/libm-test-ulps: Update.
21891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21893 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
21895         [BZ #18125]
21896         * stdlib/tst-setcontext3.c: New file.
21897         * stdlib/tst-setcontext3.sh: New file.
21898         * stdlib/Makefile (tests): Add tst-setcontext3.
21899         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
21900         to verify test program created output file.
21901         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
21902         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
21903         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
21904         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
21906 2015-05-06  Roland McGrath  <roland@hack.frob.com>
21908         [BZ #18383]
21909         * elf/tst-tlsalign.c: New file.
21910         * elf/tst-tlsalign-static.c: New file.
21911         * elf/tst-tlsalign-lib.c: New file.
21912         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
21913         (tests-static): Add tst-tlsalign-static.
21914         (modules-names): Add tst-tlsalign-lib.
21915         (test-xfail-tst-tlsalign): New variable.
21916         (test-xfail-tst-tlsalign-static): New variable.
21918         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
21919         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
21921 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
21923         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
21924         csqrt, erfc, sin and sincos.
21925         * math/auto-libm-test-out: Regenerated.
21926         * sysdeps/i386/fpu/libm-test-ulps: Update.
21927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21929 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21931         * sysdeps/aarch64/libm-test-ulps: Update.
21933 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
21935         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
21936         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
21937         * math/auto-libm-test-out: Regenerated.
21938         * sysdeps/i386/fpu/libm-test-ulps: Update.
21939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21941 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
21943         [BZ #18265]
21944         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
21945         (wcsncpy): Likewise.
21947 2015-05-05  Florian Weimer  <fweimer@redhat.com>
21949         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
21950         Assume __ASSUME_FALLOCATE is always true.
21951         * sysdeps/unix/sysv/linux/posix_fallocate64.c
21952         (__posix_fallocate64_l64): Likweise.
21953         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
21954         (posix_fallocate): Likewise.
21955         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
21956         (__posix_fallocate64_l64): Likewise.
21957         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21958         [!__ASSUME_FALLOCATE]: Add comment.
21960 2015-05-05  Florian Weimer  <fweimer@redhat.com>
21962         * sysdeps/unix/sysv/linux/i386/Makefile
21963         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
21964         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
21965         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
21966         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21967         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21968         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
21969         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
21971 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
21973         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
21974         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
21975         tgamma.
21976         * math/auto-libm-test-out: Regenerated.
21977         * sysdeps/i386/fpu/libm-test-ulps: Update.
21978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21980 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
21982         * math/auto-libm-test-in: Add more tests of tgamma.
21983         * math/auto-libm-test-out: Regenerated.
21984         * sysdeps/i386/fpu/libm-test-ulps: Update.
21985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21987         * math/auto-libm-test-in: Add more tests of tanh.
21988         * math/auto-libm-test-out: Regenerated.
21989         * sysdeps/i386/fpu/libm-test-ulps: Update.
21990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21992         * math/auto-libm-test-in: Add more tests of tan.
21993         * math/auto-libm-test-out: Regenerated.
21994         * sysdeps/i386/fpu/libm-test-ulps: Update.
21995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21997         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
21998         * math/auto-libm-test-out: Regenerated.
21999         * sysdeps/i386/fpu/libm-test-ulps: Update.
22000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22002         * math/auto-libm-test-in: Add another test of pow.
22003         * math/auto-libm-test-out: Regenerated.
22004         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22006         * math/auto-libm-test-in: Add more tests of lgamma.
22007         * math/auto-libm-test-out: Regenerated.
22008         * sysdeps/i386/fpu/libm-test-ulps: Update.
22009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22011         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
22012         log1p.
22013         * math/auto-libm-test-out: Regenerated.
22014         * sysdeps/i386/fpu/libm-test-ulps: Update.
22015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22017 2015-05-01  Mark Wielaard  <mjw@redhat.com>
22019         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
22020         Elf64_Chdr structs and ELFCOMPRESS constants.
22022 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
22024         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
22025         expm1.
22026         * math/auto-libm-test-out: Regenerated.
22027         * sysdeps/i386/fpu/libm-test-ulps: Update.
22028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22030         * math/auto-libm-test-in: Add more tests of erf and erfc.
22031         * math/auto-libm-test-out: Regenerated.
22032         * sysdeps/i386/fpu/libm-test-ulps: Update.
22033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22035 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22037         * config.h.in (HAVE_AARCH64_BE): Add.
22039 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
22041         * math/auto-libm-test-in: Add more tests of csqrt.
22042         * math/auto-libm-test-out: Regenerated.
22043         * sysdeps/i386/fpu/libm-test-ulps: Update.
22044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22046         * math/auto-libm-test-in: Add more tests of cosh and sinh.
22047         * math/auto-libm-test-out: Regenerated.
22048         * sysdeps/i386/fpu/libm-test-ulps: Update.
22049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22051         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
22053 2015-04-29  Roland McGrath  <roland@hack.frob.com>
22055         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
22056         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
22058         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
22059         (euidaccess, eaccess): Define as weak aliases.
22061         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
22062         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
22063         but __suseconds_t is often 'long int' so some sources assume that
22064         type is being used (e.g. they use %ld to print tv_usec).
22066 2015-04-29  Florian Weimer  <fweimer@redhat.com>
22068         [BZ #18007]
22069         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
22070         (CVE-2014-8121)
22071         * nss/tst-nss-getpwent.c: New file.
22072         * nss/Makefile (tests): Add new test.
22074 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
22076         [BZ #18346]
22077         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
22078         exponents less than 48 as cases where high part of mantissa needs
22079         examining to determine whether argument is integral.
22080         * math/libm-test.inc (round_test_data): Add more tests.
22082 2015-04-28  Mark Wielaard  <mjw@redhat.com>
22084         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
22086 2015-04-27  David S. Miller  <davem@davemloft.net>
22088         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
22089         __tls_get_addr.
22090         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
22092 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
22094         [BZ#18333]
22095         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
22097 2015-04-27  Florian Weimer  <fweimer@redhat.com>
22099         [BZ#18333]
22100         * time/tzset.c (parse_tzname): Return error on memory allocation
22101         failure.
22102         * test-skeleton.c (struct temp_name_list): Change type of name
22103         member to non-const.
22104         (add_temp_file): Create a copy of the file name.
22105         (delete_temp_files): Deallocate memory.
22106         (create_temp_file): Add comment.
22108 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22110         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
22111         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
22113 2015-04-24  Roland McGrath  <roland@hack.frob.com>
22115         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
22116         * sysdeps/arm/configure: Regenerated.
22118 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22120         [BZ #17715]
22121         * time/tzfile.c (__tzfile_read): Check for large values of
22122         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
22123         * time/tzset.c (__tzstring_len): New function, based on the old
22124         __tzstring function.
22125         (__tzstring): Call __tzstring_len.
22126         (parse_tzname): New helper function extracted from
22127         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
22128         the input string.
22129         (parse_offset): New helper function extracted from
22130         __tzset_parse_tz.  Replace switch with fallthrough with
22131         initialization before sscanf.
22132         (parse_rule): Likewise.
22133         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
22134         new-style function definition.
22135         * timezone/Makefile (tests): Add tst-tzset.
22136         (tst-tzset.out): Dependencies on time zone files.
22137         (tst-tzset-ENV): Set TZDIR.
22138         (testdata/XT%): Copy crafted time zone files.
22139         * timezone/README: Mention crafted time zone files.
22140         * timezone/testdata/XT1, timezone/testdata/XT2,
22141         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
22142         files.
22143         * timezone/tst-tzset.c: New test.
22145 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22147         * Makeconfig (+gccwarn): Remove -Winline.
22149 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22151         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
22153 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22155         * NEWS: Mention sysconf() cache information support for s390.
22156         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
22158 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
22160         * math/k_casinh.c (__kernel_casinh): Use __copysign.
22161         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
22162         (__nearbyint): Likewise.
22163         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
22164         (copysignl): Likewise.
22166 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
22168         [BZ #18287]
22169         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
22170         based on padding.  (CVE-2015-1781)
22172 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22174         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
22175         libc-vdso.h.
22176         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
22177         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
22178         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
22179         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
22180         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
22181         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
22182         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
22183         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22184         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22185         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
22186         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22187         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22188         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
22189         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
22190         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
22191         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
22192         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
22193         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
22194         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
22195         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
22196         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
22197         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
22198         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
22200 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
22202         * stdlib/setenv.c (__add_to_environ):
22203         Dump core quickly if setenv (..., NULL, ...) is called.
22204         This time, do it the right way, and pacify GCC with a pragma.
22206 2015-04-17  Roland McGrath  <roland@hack.frob.com>
22208         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
22209         IMAP->l_prev cannot be null, and #if out the code for the contrary
22210         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
22211         believe that NS (&_dl_ns[NSID]) could point outside the array.
22213         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
22214         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
22215         before using NSID as an index.
22217 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
22219         [BZ #17825]
22220         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
22221         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
22222         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22224 2015-04-17  Roland McGrath  <roland@hack.frob.com>
22226         Add preliminary port to Google Native Client on ARM.
22227         * abi-tags (.*-.*-nacl.*): New entry.
22228         * sysdeps/arm/nacl: New directory.
22229         * sysdeps/nacl: New directory.
22231 2015-04-16  David S. Miller  <davem@davemloft.net>
22233         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
22234         lowlevellock-futex.h
22236 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
22238         * sysdeps/tile/configure.ac: New file.
22239         * sysdeps/tile/configure: Regenerated.
22241 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22243         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
22244         conditionals for weak_alias and libc_hidden_weak.
22245         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
22246         libc_hidden_weak and weak_alias.
22247         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
22248         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
22249         and weak_alias for static one.
22251 2015-04-15  David S. Miller  <davem@davemloft.net>
22253         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22255 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22257         [BZ #18206]
22258         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
22259           Use signed comparision instead of substraction to avoid
22260           overflow bug.
22261         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
22262           Take the sign of ret.
22263         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
22264           Do not expect precise return values. Only the sign matters.
22265         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
22266         * wcsmbs/test-wcsncmp.c: New File.
22267         * string/test-strncmp.c: Add wcsncmp support.
22269 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22271         [BZ #6792]
22272         * math/w_log1p.c: New file.
22273         * math/w_log1pf.c: Likewise.
22274         * math/w_log1pl.c: Likewise.
22275         * math/Makefile (libm-calls): Add w_log1p.
22276         * math/s_log1pl.c (log1pl): Remove weak_alias.
22277         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
22278         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
22279         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
22280         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
22281         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
22282         [NO_LONG_DOUBLE] (log1pl): Likewise.
22283         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
22284         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
22285         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
22286         (log1p): Remove long_double_symbol.
22287         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
22288         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
22289         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
22290         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
22291         remove weak_alias for corresponding log1p function.
22292         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
22293         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
22294         * sysdeps/ia64/fpu/w_log1p.c: New file.
22295         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
22296         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
22297         * math/libm-test.inc (log1p_test_data): Add errno expectations.
22299 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
22301         [BZ #18247]
22302         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
22303         decimal exponent by 1.
22304         * stdlib/tst-strtod-round-data: Add more tests.
22305         * stdlib/tst-strtod-round.c (tests): Regenerated.
22307 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
22309         * math/auto-libm-test-in: Add more tests of clog and clog10.
22310         * math/auto-libm-test-out: Regenerated.
22311         * sysdeps/i386/fpu/libm-test-ulps: Update.
22312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22314 2015-04-09  Roland McGrath  <roland@hack.frob.com>
22316         * Makeconfig (module-cppflags): Exclude all .v.i files.
22317         (skip-module-cppflags): Variable removed.
22319         * configure.ac (libc_config_ok): Initialize before reading
22320         preconfigure scripts, not after.
22321         * configure: Regenerated.
22323         * test-skeleton.c (TIMEOUT): Move #define to top level.
22324         (main): Grok environment variable TEST_DIRECT.  If set, print
22325         test expectation details into that file and then behave as if
22326         given --direct.
22328 2015-04-09  Florian Weimer  <fweimer@redhat.com>
22330         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
22331         warning on 32-bit.
22333 2015-04-08  David S. Miller  <davem@davemloft.net>
22335         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22337 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22339         * math/auto-libm-test-in: Add more tests of atanh.
22340         * math/auto-libm-test-out: Regenerated.
22341         * sysdeps/i386/fpu/libm-test-ulps: Update.
22342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22344         * math/auto-libm-test-in: Add more tests of atan.
22345         * math/auto-libm-test-out: Regenerated.
22346         * sysdeps/i386/fpu/libm-test-ulps: Update.
22347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22349 2015-04-08  Florian Weimer  <fweimer@redhat.com>
22351         * elf/pldd.c (main): Rewrite to use struct
22352         scratch_buffer instead of extend_alloca.
22353         * elf/pldd-xx.c (find_maps): Likewise.
22354         * grp/initgroups.c: Include <scratch_buffer.h> instead of
22355         <alloca.h>.
22356         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
22357         scratch_buffer instead of extend_alloca.
22358         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
22359         grp/compat-initgroups.c.
22360         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
22361         Rewrite to use struct scratch_buffer instead of extend_alloca.
22362         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
22363         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22365 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22367         * math/auto-libm-test-in: Add more tests of cbrt.
22368         * math/auto-libm-test-out: Regenerated.
22369         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22371         * math/auto-libm-test-in: Add more tests of cabs.
22372         * math/auto-libm-test-out: Regenerated.
22373         * sysdeps/i386/fpu/libm-test-ulps: Update.
22374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22376         [BZ #18210]
22377         [BZ #18211]
22378         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
22379         (__ieee754_atan2): Set FE_TONEAREST mode for internal
22380         computations.
22381         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
22382         clog10.
22383         * math/auto-libm-test-out: Regenerated.
22384         * sysdeps/i386/fpu/libm-test-ulps: Update.
22385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22387         [BZ #18197]
22388         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
22389         (atan): Set FE_TONEAREST mode for internal computations.
22390         * math/auto-libm-test-in: Add more tests of atan.
22391         * math/auto-libm-test-out: Regenerated.
22393 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
22395         [BZ #17930]
22396         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
22398 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22400         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
22402 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22404         * include/scratch_buffer.h: New file.
22405         * malloc/scratch_buffer_grow.c: Likewise.
22406         * malloc/scratch_buffer_grow_preserve.c: Likewise.
22407         * malloc/scratch_buffer_set_array_size.c: Likewise.
22408         * malloc/tst-scratch_buffer.c: Likewise.
22409         * malloc/Makefile (routines): Add scratch_buffer_grow.
22410         (tests): Add test case.
22411         * malloc/Versions (GLIBC_PRIVATE): Export
22412         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
22413         __libc_scratch_buffer_set_array_size.
22415 2015-04-06  Richard Henderson  <rth@redhat.com>
22417         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
22418         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22420         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
22421         unsigned int before printing.
22423 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22425         [BZ #17596]
22426         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
22427         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22429 2015-04-02  Florian Weimer  <fweimer@redhat.com>
22431         * include/libc-internal.h (libc_max_align_t): Define.
22433 2015-04-02  Andreas Schwab  <schwab@suse.de>
22435         [BZ #16850]
22436         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
22438 2015-04-02  Mel Gorman  <mgorman@suse.de>
22440         [BZ #17195]
22441         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
22442         as well as the main arena.
22444 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22446         [BZ #18185]
22447         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
22448         sharing L2 cache to 2 for Silvermont/Knights Landing.
22450 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22452         [BZ #17711]
22453         * config.make.in (have-protected-data): New.
22454         * configure.ac: Check linker support for protected data symbol.
22455         * configure: Regenerated.
22456         * elf/Makefile (modules-names): Add tst-protected1moda and
22457         tst-protected1modb if $(have-protected-data) is yes.
22458         (tests): Add tst-protected1a and tst-protected1b if
22459         $(have-protected-data) is yes.
22460         ($(objpfx)tst-protected1a): New.
22461         ($(objpfx)tst-protected1b): Likewise.
22462         (tst-protected1modb.so-no-z-defs): Likewise.
22463         * elf/tst-protected1a.c: New file.
22464         * elf/tst-protected1b.c: Likewise.
22465         * elf/tst-protected1mod.h: Likewise.
22466         * elf/tst-protected1moda.c: Likewise.
22467         * elf/tst-protected1modb.c: Likewise.
22469 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22471         [BZ #17711]
22472         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
22473         indicates it is called from do_lookup_x on relocation against
22474         protected data, skip the data definion in the executable from
22475         copy reloc.
22476         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
22477         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
22478         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
22479         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
22480         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
22481         otherwise to 0.
22482         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22483         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
22484         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
22485         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22486         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
22487         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
22489 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
22491         * sysdeps/nptl/pthread.h: Remove duplicate definition of
22492         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
22494 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
22496         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
22497         THREAD_SETMEM_NC.
22498         * sysdeps/x86_64/nptl/tls.h: Ditto.
22500 2015-03-27  Roland McGrath  <roland@hack.frob.com>
22502         * dlfcn/tststatic.c (main): Converted to ...
22503         (do_test): ... this.
22504         (TEST_FUNCTION): New macro.
22505         Include test-skeleton.c.
22507 2015-03-26  Alan Modra  <amodra@gmail.com>
22509         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
22510         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
22511         zero for undefined weak.
22512         (elf_machine_plt_conflict): Similarly.
22514 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22516         * math/auto-libm-test-in: Add more tests of acosh, asinh and
22517         atanh.
22518         * math/auto-libm-test-out: Regenerated.
22519         * sysdeps/i386/fpu/libm-test-ulps: Update.
22520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22522         * math/auto-libm-test-in: Add another test of asin.
22523         * math/auto-libm-test-out: Regenerated.
22524         * sysdeps/i386/fpu/libm-test-ulps: Update.
22525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22527         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
22528         Remove macro.
22529         (LLL_EBX_REG): Likewise.
22530         (LLL_ENTER_KERNEL): Likewise.
22532         * math/auto-libm-test-in: Add more tests of asin.
22533         * math/auto-libm-test-out: Regenerated.
22534         * sysdeps/i386/fpu/libm-test-ulps: Update.
22535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22537         [BZ #18138]
22538         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
22539         libc_do_syscall_args): New structure.
22540         (INTERNAL_SYSCALL_MAIN_0): New macro.
22541         (INTERNAL_SYSCALL_MAIN_1): Likewise.
22542         (INTERNAL_SYSCALL_MAIN_2): Likewise.
22543         (INTERNAL_SYSCALL_MAIN_3): Likewise.
22544         (INTERNAL_SYSCALL_MAIN_4): Likewise.
22545         (INTERNAL_SYSCALL_MAIN_5): Likewise.
22546         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
22547         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
22548         Replace conditional definitions by conditional definitions of ....
22549         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
22550         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
22551         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
22552         (libpthread-sysdep_routines): Add libc-do-syscall.
22553         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
22554         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
22555         to __NR_futex not 240.
22557 2015-03-25  Alan Modra  <amodra@gmail.com>
22559         * NEWS: Advertise TLS optimization.
22560         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
22561         (DT_PPC_NUM): Increment.
22562         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
22563         (CHECK_STATIC_TLS): Use here.
22564         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
22565         TLS descriptors.
22566         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22567         * sysdeps/powerpc/dl-tls.c: New file.
22568         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
22569         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
22570         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
22571         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
22572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
22573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
22574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
22576 2015-03-25  Alan Modra  <amodra@gmail.com>
22578         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
22579         for overlapping .opd entries" to "support...".
22580         * sysdeps/powerpc/powerpc64/configure: Regenerate
22582 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22584         * math/auto-libm-test-in: Add more tests of acos.
22585         * math/auto-libm-test-out: Regenerated.
22586         * sysdeps/i386/fpu/libm-test-ulps: Update.
22587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22589         * math/auto-libm-test-in: Add more tests of expm1.
22590         * math/auto-libm-test-out: Regenerated.
22591         * sysdeps/i386/fpu/libm-test-ulps: Update.
22592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22594 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
22596         * math/auto-libm-test-in: Add more tests of cosh and sinh.
22597         * math/auto-libm-test-out: Regenerated.
22598         * sysdeps/i386/fpu/libm-test-ulps: Update.
22599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22601         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22604         * math/auto-libm-test-in: Add more tests of log2.
22605         * math/auto-libm-test-out: Regenerated.
22606         * sysdeps/i386/fpu/libm-test-ulps: Update.
22607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22609 2015-03-23  Roland McGrath  <roland@hack.frob.com>
22611         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
22612         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
22613         _IO_IS_APPENDING bit in READ_WRITE instead.
22615 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22617         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
22618         (__determine_cpumask_size): Replace extend_alloca with a
22619         variable-length array.  Do not treat res == 0 as an error.
22621 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22623         [BZ #18100]
22624         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
22625         and integer overflow.
22626         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
22627         (main): Add integer overflow tests.
22628         * manual/pattern.texi (Calling Wordexp): Document additional use
22629         for WRDE_SYNTAX.
22631 2015-03-23  Alan Modra  <amodra@gmail.com>
22633         * config.h.in: Remove HAVE_ASM_PPC_REL16.
22634         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
22635         and false branch of conditional.
22636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22637         Likewise.
22639 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
22641         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
22642         libc-modules.h
22643         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
22644         unused declaration of _hurd_intr_rpc_msg_in_trap.
22645         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
22646         defined instead of whether it is non-zero.
22647         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
22648         input constraint instead of both input and output constraint.  Use ecx
22649         clobber instead of %ecx.
22650         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
22651         mutex_unlock): Use a statement expression instead of an expression list.
22652         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
22653         type to vm_size_t instead of vm_address_t.
22654         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
22655         defined instead of whether it is non-zero.
22656         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
22657         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
22658         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
22659         comparisons with mapaddr.
22660         * nscd/nscd-client.h: Include <time.h>.
22661         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
22662         9th parameter to __vm_region instead of int.
22663         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
22664         * scripts/check-local-headers.sh (exclude): Add device/,
22665         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
22666         cthreads.h.
22668 2015-03-19  Roland McGrath  <roland@hack.frob.com>
22670         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
22671         to account for alignment padding.
22672         * sysdeps/arm/memmove.S: Likewise.
22674 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
22676         * sysdeps/unix/sysv/linux/generic/README: New file.
22678 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
22680         [BZ #18138]
22681         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
22682         (futex_abstimed_wait)
22683         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
22684         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
22685         of lll_futex_timed_wait.
22687 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
22689         [BZ #17542]
22690         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
22692 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
22694         [BZ #17090]
22695         [BZ #17620]
22696         [BZ #17621]
22697         [BZ #17628]
22698         * NEWS: Update.
22699         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
22700         entries with Static TLS too.  Skip entries past the end of the
22701         allocated DTV, from Alan Modra.
22702         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
22703         Static TLS DTV entry set up from...
22704         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
22705         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
22706         * nptl/allocatestack.c (init_one_static_tls): ... and here...
22707         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
22708         for Static TLS.
22709         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
22710         that the slot we find is associated with the given map before
22711         using its generation count.
22712         * nptl_db/db_info.c: Include ldsodefs.h.
22713         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
22714         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
22715         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
22716         (link_map::l_tls_offset): New struct field.
22717         (dtv_t::counter): Likewise.
22718         (rtld_global): New struct.
22719         (_rtld_global): New rtld variable.
22720         (dl_tls_dtv_slotinfo_list): New rtld global field.
22721         (dtv_slotinfo_list): New struct.
22722         (dtv_slotinfo): Likewise.
22723         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
22724         (td_lookup): Rename to...
22725         (td_mod_lookup): ... this.  Use new mod parameter instead of
22726         LIBPTHREAD_SO.
22727         * nptl_db/td_thr_tlsbase.c: Include link.h.
22728         (dtv_slotinfo_list, dtv_slotinfo): New functions.
22729         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
22730         addresses even if the DTV is out of date or missing them.
22731         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
22732         index zero-length arrays.
22733         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
22734         (td_lookup): Make it a macro implemented in terms of...
22735         (td_mod_lookup): ... this declaration.
22736         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
22737         (DB_MAIN_VARIABLE): Likewise.
22739 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22741         [BZ #18134]
22742         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
22744 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
22746         * stdlib/setenv.c (__add_to_environ): Revert previous change.
22748 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
22750         [BZ #18128]
22751         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
22752         (atomic_add, atomic_increment_and_test)
22753         (atomic_decrement_and_test): Fix 64-bit arithmetic.
22755 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
22757         * stdlib/setenv.c (__add_to_environ):
22758         Dump core quickly if setenv (..., NULL, ...) is called.
22760 2015-03-13  Roland McGrath  <roland@hack.frob.com>
22762         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
22763         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
22764         all the necessary asm magic in one place.
22765         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
22766         using those.
22768 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
22770         [BZ #14906]
22771         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
22772         traced file mtime. Use consistent log message.
22773         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
22774         (register_traced_file): Call install_watches. Always set mtime.
22775         (invalidate_cache): Iterate over all trace files. Call install_watches.
22776         (inotify_check_files): Don't inline. Handle watching parent
22777         directories and configuration file movement in and out.
22778         (handle_inotify_events): New function.
22779         (main_loop_poll): Call handle_inotify_events.
22780         (main_loop_epoll): Likewise.
22781         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
22782         (struct traced_file): Use array of inotify fds. Add parent directory,
22783         and basename.
22784         (struct database_dyn): Remove unused file_mtime.
22785         (init_traced_file): New inline function.
22786         (define_traced_file): New macro.
22787         * nss/nss_db/db-init.c: Use define_traced_file.
22788         (_nss_db_init): Use init_traced_file.
22789         * nss/nss_files/files-init.c: Use define_traced_file.
22790         (_nss_files_init): Use init_traced_file.
22792 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
22794         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
22795         [_LIBC]: Do not include <stdlib.h>.
22796         [!_LIBC] (abort): Remove declaration.
22797         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
22798         _FP_STATIC_ASSERT instead of conditionally calling abort.
22799         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
22800         (_FP_EXTEND_CNAN): Likewise.
22801         (FP_TRUNC): Likewise.
22802         (__FP_CLZ): Likewise.
22803         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
22805 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
22807         * manual/string.texi (XPG basename): Fix prototype.
22809 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22811         [BZ #18080]
22812         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
22813         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
22814         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
22815         (__setcontext): Likewise.
22816         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
22817         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
22818         Call rt_sigprocmask syscall one time to set new signal mask
22819         and retrieve the current signal mask instead of two calls.
22820         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
22821         (__swapcontext): Likewise.
22822         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
22823         * stdlib/tst-setcontext2.c: New file.
22825 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22827         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22829 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
22831         [BZ #18093]
22832         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
22833         the wrong size.
22835 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
22837         [BZ #18043]
22838         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
22840 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22842         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
22843         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
22844         Remove define.
22845         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
22846         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
22847         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
22848         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
22849         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
22850         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
22851         define.
22852         * nptl_db/td_symbol_list.c (td_lookup): Remove
22853         HAVE_ASM_GLOBAL_DOT_NAME code.
22854         * sysdeps/powerpc/powerpc64/configure.ac: Remove
22855         HAVE_ASM_GLOBAL_DOT_NAME check.
22856         * sysdeps/powerpc/powerpc64/configure: Regenerate.
22857         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
22858         (DOT_LABEL): Remove define.
22859         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
22860         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
22861         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
22862         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
22863         (__TLS_GET_ADDR): Likewise.
22864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
22865         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
22867 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
22869         [BZ #18111]
22870         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
22871         (_FPU_SETCW): Initialize cw from fpsr before storing.
22872         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
22873         (fesetexceptflag): Rewrite using fpu_control.h.
22874         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
22876 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
22878         [BZ #18110]
22879         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
22880         asms.
22881         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
22883 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
22885         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
22886         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
22887         abort.
22888         (_FP_FMA): Likewise.
22889         (_FP_DIV): Likewise.
22891 2015-03-10  Roland McGrath  <roland@hack.frob.com>
22893         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
22894         with 0 in that case.
22895         * Makefile (summarize-tests): New canned sequence, factored out of
22896         commands for targets tests and xtests.  Display summary lines that
22897         don't start with PASS: or XFAIL: rather than ones that do start with
22898         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
22899         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
22900         do start with ERROR: or FAIL:.
22901         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
22902         (except for [$(build-shared) = yes]).
22903         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
22904         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
22905         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
22906         * nptl/Makefile: Revert 2015-03-04 changes.
22907         [$(CXX) empty] (tests-unsupported): New variable.
22908         * debug/Makefile: Likewise.
22910         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
22911         gnulib file.  Replace __attribute with __attribute__ throughout.
22913 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
22915         * sysdeps/hppa/fpu/libm-test-ulps: Update.
22917 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22919         [BZ #18104]
22920         * math/auto-libm-test-in: Add another test of pow.
22921         * math/auto-libm-test-out: Regenerated.
22923 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22925         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
22926         $(config-cflags-nofma).
22928 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22930         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
22931         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
22932         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
22933         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
22934         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
22935         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
22936         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
22937         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
22938         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
22939         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
22940         Add comment on closing #endif.
22942 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22944         * posix/wordexp.c (CHAR_IN_SET): New macro.
22945         (parse_param): Use it.
22947 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22949         * sysdeps/powerpc/fpu/libm-test-ulps: update.
22951 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22953         [BZ #18043]
22954         * posix/wordexp.c (parse_param): Fix buffer overflow.
22955         * posix/wordexp-test.c (test_case): Add test case.
22957 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22959         [BZ #18042]
22960         * posix/wordexp.c (parse_backtick): Fix off-by-one.
22961         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
22963 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22965         [BZ #18043]
22966         * posix/wordexp-test.c (test_case): Add test for BZ #18043
22967         (do_bz18043): Delete.
22968         (at_page_end): New.
22969         (testit): Refactor to have words at the edge of unreadable page.
22971 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22973         [BZ #16734]
22974         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
22975         Cleanup read-only streams as well.
22976         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
22978 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22980         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
22981         <bits/libc-lockP.h>
22983 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
22985         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
22986         on [__KERNEL__].
22987         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
22988         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
22989         * soft-fp/op-common.h (_FP_DECL): Likewise.
22991 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
22993         * elf/ifuncdep2.c (global): Replace
22994         __attribute__((visibility("protected"))) with
22995         asm (".protected global").
22996         * elf/ifuncmod1.c (global): Likewise.
22997         * elf/ifuncmod5.c (global): Likewise.
22999 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
23001         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
23002         <asm/sfp-machine.h> instead of <sfp-machine.h>.
23004 2015-03-06  Roland McGrath  <roland@hack.frob.com>
23006         * manual/install.texi (Configuring and compiling):
23007         Document test-wrapper-env-only.
23008         * INSTALL: Regenerated.
23010 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23012         [BZ #18043]
23013         * posix/wordexp.c (parse_param): Fix buffer overflow.
23014         * posix/wordexp-test.c (do_bz18043): Add test case.
23016 2015-03-06  Vincent Bernat  <vincent@bernat.im>
23018         * time/tst-strptime2.c (do_test): Ensure failing tests are
23019         reported correctly.
23020         * time/tst-strptime3.c (do_test): Likewise.
23022 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
23024         Fix aio_error thread-safety.
23025         * sysdeps/pthread/aio_error.c: New file
23026         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
23027         synchronization.
23029 2015-03-06  Florian Weimer  <fweimer@redhat.com>
23031         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
23032         (group_number, vfprintf): Use it.
23033         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
23034         (JUMP, REF): Use it.
23035         (WORK_BUFFER_SIZE): New enum constant.
23036         (process_arg, vfprintf): Use it.
23038 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
23040         * manual/errno.texi (Error Messages): Complete example function
23041         by adding missing #define.
23042         (program_invocation_name): Add statement indicating GNU
23043         extension and reference which header file declares the variable.
23044         (program_invocation_short_name): Likewise.
23046 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
23048         * manual/errno.texi (Error Messages): Delete strerror ISO C89
23049         compatibility note.
23051 2015-03-05  Roland McGrath  <roland@hack.frob.com>
23053         * Makeconfig (test-wrapper-env-only): New variable.
23054         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
23055         then use that with $(test-wrapper-env-only) rather than using
23056         $(test-wrapper-env) $(run-program-env) $($*-ENV).
23058 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
23060         [BZ #18082]
23061         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
23062         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
23063         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
23064         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
23065         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
23066         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
23067         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
23068         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
23069         Likewise.
23070         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
23071         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
23072         Likewise.
23073         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
23074         Likewise.
23075         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
23076         Likewise.
23077         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
23078         Likewise.
23079         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
23080         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
23081         Likewise.
23082         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
23083         Likewise.
23084         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
23085         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
23087 2015-03-04  Roland McGrath  <roland@hack.frob.com>
23089         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
23090         (ETH_ALEN): New macro.
23091         (struct ether_addr): Use it for length of ether_addr_octet.
23093         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
23094         (setdb): Don't call __nss_configure_lookup for "rpc".
23095         (do_test): Don't call test_rpc.
23096         (output_rpcent, test_rpc): Functions moved ...
23097         * sunrpc/test-rpcent.c: ... to this new file.
23098         * sunrpc/Makefile (tests): Add it.
23100         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
23101         __xpg_sigpause.
23102         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
23103         * nptl/tst-signal6.c: Likewise.
23104         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
23105         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
23107         * configure.ac (libc_cv_cxx_link_ok): New check.
23108         Reset CXX to empty if it fails to link.
23109         * configure: Regenerated.
23110         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
23111         bug-atexit3-lib only if $(CXX) is nonempty.
23112         * nptl/Makefile (tests): Likewise for tst-cancel24.
23113         (tests, tests-static): Likewise for tst-cancel24-static.
23114         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
23115         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
23116         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
23117         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
23119 2015-03-04  Andreas Schwab  <schwab@suse.de>
23121         [BZ #17631]
23122         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
23123         for non-GCC compilers.
23124         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23125         Likewise.
23127 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23129         [BZ #17776]
23130         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
23131         integer before bitwise and assembly operations.
23132         (feclearexcept): Likewise.
23133         * math/test-fenvinline.c: New file.
23134         * math/Makefile: Add test-fenvinline test.
23136 2015-03-03  Alan Modra  <amodra@gmail.com>
23138         [BZ #16512]
23139         * scripts/localplt.awk: Strip off symbol version.
23140         * NEWS: Mention bug fix.
23142 2015-03-02  Roland McGrath  <roland@hack.frob.com>
23144         * sysdeps/pthread/timer_routines.c
23145         (timer_free_list, thread_free_list, thread_active_list): Make static.
23147 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
23149         [BZ #17779]
23150         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23151         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23152         Undefine.
23153         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23154         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23155         Likewise.
23156         * sysdeps/unix/sysv/linux/sh/kernel-features.h
23157         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23158         Likewise.
23160 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
23162         [BZ #18036]
23163         * posix/fnmatch_loop.c (END): Detect invalid pattern.
23164         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
23166 2015-03-02  Andreas Schwab  <schwab@suse.de>
23168         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
23169         variable name.
23171 2015-03-02  Florian Weimer  <fweimer@redhat.com>
23173         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
23174         Return error status.
23176 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
23178         [BZ #15969]
23179         * locale/findlocale.c (_nl_find_locale): Introduce const
23180         version of loc_name and drop unsafe type casts.
23182 2015-02-27  Roland McGrath  <roland@hack.frob.com>
23184         * dlfcn/tststatic2.c (main): Converted to ...
23185         (do_test): ... this.
23186         (TEST_FUNCTION): New macro.
23187         Include test-skeleton.c.
23189 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
23191         [BZ #17711]
23192         * elf/Makefile (tests): Add vismain only if PIE is enabled.
23193         (tests-pie): Add vismain.
23194         (CFLAGS-vismain.c): New.
23195         * elf/vismain.c: Add comments for PIE requirement.
23197 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
23199         [BZ #18046]
23200         [BZ #18047]
23201         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
23202         0x1p-56L as threshold for just returning the argument.
23203         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
23204         0x1p-32L as threshold for just returning the argument.
23205         * math/auto-libm-test-in: Add more tests of atanh.
23206         * math/auto-libm-test-out: Regenerated.
23207         * sysdeps/i386/fpu/libm-test-ulps: Update.
23208         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
23210 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
23212         * string/bcopy.c (bcopy): Call memmove for performance.
23214 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
23216         * string/bzero.c (__bzero): Call memset for performance.
23218 2015-02-27  John David Anglin  <dave.anglin@bell.net>
23220         [BZ #18068]
23221         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
23222         to 00100000.
23224 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
23226         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
23228 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
23230         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
23231         (__kernel_standard): Use CSTR macro when setting exc.name.
23232         * sysdeps/ieee754/Makefile [$(subdir) = math]
23233         (CFLAGS-k_standard.c): Remove variable.
23235         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
23236         setting p and q from "else if" to "else".
23237         (qzero): Likewise.
23238         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
23239         (qone): Likewise.
23240         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
23241         (qzerof): Likewise.
23242         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
23243         (qonef): Likewise.
23244         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
23245         (qzero): Likewise.
23246         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
23247         (qone): Likewise.
23249         [BZ #18038]
23250         [BZ #18039]
23251         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
23252         return pi/2 for arguments below 0x1p-113L.
23253         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
23254         return pi/2 for arguments below 0x1p-106L.
23255         * math/auto-libm-test-in: Add more tests of acos.
23256         * math/auto-libm-test-out: Regenerated.
23258         [BZ #16351]
23259         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
23260         (MO): New macro.
23261         (__ieee754_asin): Force underflow exception for results with small
23262         absolute value.
23263         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
23264         (MO): New macro.
23265         (__ieee754_asinf): Force underflow exception for results with
23266         small absolute value.
23267         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
23268         (__ieee754_asin): Force underflow exception for results with small
23269         absolute value.
23270         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
23271         (__ieee754_asinf): Force underflow exception for results with
23272         small absolute value.
23273         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
23274         (__ieee754_asinl): Force underflow exception for results with
23275         small absolute value.
23276         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
23277         (__ieee754_asinl): Force underflow exception for results with
23278         small absolute value.
23279         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
23280         (__ieee754_asinl): Force underflow exception for results with
23281         small absolute value.
23282         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
23283         Include <math.h>.
23284         * math/auto-libm-test-in: Do not mark underflow exceptions as
23285         possibly missing for bug 16351.
23286         * math/auto-libm-test-out: Regenerated.
23288         [BZ #18030]
23289         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
23290         of power of 2 down when low part has opposite sign.
23291         * math/libm-test.inc (logb_test_data): Add more tests.
23293 2015-02-26  Andreas Schwab  <schwab@suse.de>
23295         [BZ #18032]
23296         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
23297         over collating symbol inside a bracket expression.  Minor cleanup.
23298         * posix/tst-fnmatch3.c (do_test): Add test case.
23300 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
23302         [BZ #18029]
23303         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
23304         Adjust exponent of power of 2 down when low part has opposite
23305         sign.
23306         * math/libm-test.inc (ilogb_test_data): Add more tests.
23308 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
23310         [BZ #15969]
23311         * locale/findlocale.c (_nl_find_locale): Fix constness error in
23312         the previous change.
23314         [BZ #15969]
23315         * locale/findlocale.c (_nl_find_locale): Retry archive search
23316         after alias expansion.
23318 2015-02-25  Roland McGrath  <roland@hack.frob.com>
23320         * iconv/tst-iconv3.c (main): Converted to ...
23321         (do_test): ... this.
23322         (TEST_FUNCTION): New macro.
23323         Include test-skeleton.c.
23325         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
23326         (convert): Make function static.
23327         (test_unalign): Likewise.  Add const to argument pointee types.
23328         (main): Replace with static function do_test.
23329         Print "Succeeded." only if RET is zero.
23330         (TEST_FUNCTION): New macro.
23331         Include test-skeleton.c.
23333         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
23334         returns a null pointer.
23336 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23338         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
23339         to __memcpy_ppc only for static builds.
23341 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
23343         [BZ #18020]
23344         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
23345         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
23346         * math/auto-libm-test-in: Add more tests of asinh.
23347         * math/auto-libm-test-out: Regenerated.
23348         * sysdeps/i386/fpu/libm-test-ulps: Update.
23349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23351 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
23353         [BZ #15850]
23354         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
23355         and ip6_mtuinfo definitions here.
23356         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
23357         in this define too.  Update comment.
23359 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
23361         * elf/sprof.c (load_shobj): Tweak error message to match others.
23363 2015-02-24  Kevin Easton  <kevin@guarana.org>
23365         [BZ #16145] (partial fix)
23366         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
23367         to reduce lock contention.
23369 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
23371         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
23372         (struct timex): Update time comment.
23373         (ADJ_SETOFFSET): Define.
23375 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23377         [BZ #18019]
23378         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23379         2**56 not 2**28 as threshold for log (2x) formula.
23380         * math/auto-libm-test-in: Add more tests of acosh.
23381         * math/auto-libm-test-out: Regenerated.
23382         * sysdeps/i386/fpu/libm-test-ulps: Update.
23383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23385 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23387         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
23388         parenthesis around the buf assignment.
23389         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
23391 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23393         [BZ #16783]
23394         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
23395         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
23396         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
23397         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23398         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23399         * math/libm-test.inc (scalb_test_data): Add more tests.
23401 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
23403         [BZ #17916]
23404         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
23405         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
23407 2015-02-24  Eric Rannaud  <e@nanocritical.com>
23409         [BZ #17523]
23410         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
23411         * io/bits/fcntl2.h (open): Use it.
23412         (openat): Likewise.
23413         * io/open.c (__libc_open): Likewise.
23414         * io/open64.c (__libc_open64): Likewise.
23415         * io/open64_2.c (__open64_2): Likewise.
23416         * io/open_2.c (__open_2): Likewise.
23417         * io/openat.c (__openat): Likewise.
23418         * io/openat64.c (__openat64): Likewise.
23419         * io/openat64_2.c (__openat64_2): Likewise.
23420         * io/openat_2.c (__openat_2): Likewise.
23421         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
23422         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
23423         * sysdeps/posix/open64.c (__libc_open64): Likewise.
23424         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23425         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
23426         (__open_nocancel): Likewise.
23427         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
23428         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
23429         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
23431 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23433         [BZ #14841]
23434         * resolv/gethnamaddr.c (getanswer): Skip logging if
23435         RES_USE_DNSSEC is set.
23436         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23438 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23440         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
23442 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
23444         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
23445         201304L, for Unicode 7.
23447 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
23449         [BZ #17836]
23450         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
23451         shared library.  Add gmon-start.os otherwise.
23452         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
23453         $(objpfx)gmon-start.os if builing shared library.
23454         ($(objpfx)g$(static-start-installed-name)): Likewise.
23456 2015-02-23  Andreas Schwab  <schwab@suse.de>
23458         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
23460 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23462         [BZ #17269]
23463         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
23464         (enlarge_userbuf): Likewise.
23466 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
23468         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
23469         * math/atest-exp.c (TIMEOUT): Adjust to 200.
23470         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
23471         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
23473 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
23475         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
23476         expression inside statement expression.
23478 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
23480         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
23481         <sysdeps/nptl/lowlevellock.h> and remove macros and
23482         functions that are now defined there.
23483         (SYS_futex): Remove.
23484         (lll_compare_and_swap): Remove.
23485         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
23487 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
23489         [BZ #17999]
23490         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
23491         instead of scandirat.
23492         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
23493         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
23494         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
23495         __scandirat.
23496         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
23497         (__scandirat): Declare.  Use libc_hidden_proto.
23498         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
23499         Remove variable.
23500         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
23502 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23504         [BZ #15319]
23505         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
23506         (MO): New macro.
23507         (__ieee754_atan2): For results with small absolute value, force
23508         underflow exception and remove excess range and precision from
23509         return value.
23510         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
23511         (MO): New macro.
23512         (__ieee754_atan2f): For results with small absolute value, force
23513         underflow exception and remove excess range and precision from
23514         return value.
23515         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
23516         (MO): New macro.
23517         (__atan): For results with small absolute value, force underflow
23518         exception and remove excess range and precision from return value.
23519         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
23520         (MO): New macro.
23521         (__atanf): For results with small absolute value, force underflow
23522         exception and remove excess range and precision from return value.
23523         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
23524         <math.h>.
23525         (__ieee754_atan2): Force underflow exception for results with
23526         small absolute value.
23527         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
23528         <math_private.h>.
23529         (atan): Force underflow exception for results with small absolute
23530         value.
23531         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
23532         (__atanf): Force underflow exception for results with small
23533         absolute value.
23534         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
23535         <math.h>.
23536         (__atanl): Force underflow exception for results with small
23537         absolute value.
23538         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
23539         (__atanl): Force underflow exception for results with small
23540         absolute value.
23541         * sysdeps/x86/fpu/bits/mathinline.h
23542         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
23543         (__ieee754_atan2): Only define inline for long double.
23544         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
23545         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
23546         * math/auto-libm-test-in: Do not mark underflow exceptions as
23547         possibly missing for bug 15319.  Add more tests of atan2.
23548         * math/auto-libm-test-out: Regenerated.
23549         * math/libm-test.inc (casin_test_data): Do not mark underflow
23550         exceptions as possibly missing for bug 15319.
23551         (casinh_test_data): Likewise.
23552         * sysdeps/i386/fpu/libm-test-ulps: Update.
23554 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
23556         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
23557         * sysdeps/mips/bits/endian.h: Fix comments.
23559 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23561         [BZ #17996]
23562         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
23563         (hdestroy_r): Likewise.
23564         (hsearch_r): Likewise.
23565         (__hcreate_r): Declare and use libc_hidden_proto.
23566         (__hdestroy_r): Likewise.
23567         (__hsearch_r): Likewise.
23568         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
23569         (hcreate): Call __hcreate_r instead of hcreate_r.
23570         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
23571         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
23572         as weak alias of __hcreate_r.
23573         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
23574         __hdestroy_r.
23575         (hsearch_r): Rename to __hsearch_r and define as weak alias of
23576         __hsearch_r.
23577         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
23578         Remove variable.
23579         (test-xfail-XPG4/search.h/linknamespace): Likewise.
23580         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
23581         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
23582         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
23584 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23586         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
23587         arena_lock into a single arena_get.
23589 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
23591         * dl-reloc.c: Inlucde libc-internal.h.
23592         (_dl_try_allocate_static_tls): Call ALIGN_UP.
23593         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
23594         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
23595         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
23596         (grow_heap): Likewise.
23597         * malloc/malloc.c: Include libc-internal.h.
23598         (do_check_malloc): Call powerof2.
23599         (sysmalloc): Use pagesize. Call ALIGN_UP.
23600         (systrim): Use pagesize.
23601         (mremap_chunk): Use pagesize. Call ALIGN_UP.
23602         (__libc_valloc): Use pagesize.
23603         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
23605 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23607         [BZ #17991]
23608         * include/sys/resource.h (__getrlimit64): Declare.  Use
23609         libc_hidden_proto.
23610         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
23611         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
23612         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
23613         getrlimit64.
23614         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
23615         __getrlimit64.
23616         [!getrlimit64] (getrlimit64): Define as weak alias of
23617         __getrlimit64.  Use libc_hidden_weak.
23618         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
23619         using __getrlimit64 not __new_getrlimit64.
23620         (__GI_getrlimit64): Likewise.
23621         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
23622         Likewise.
23623         (__GI_getrlimit64): Likewise.
23624         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
23625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
23626         (getrlimit): Add __getrlimit64 alias.
23627         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
23628         Likewise.
23629         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
23630         Remove variable.
23631         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
23632         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
23634 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
23636         * libio/fileops.c: Add missing sys/mman.h
23637         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
23639 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23641         * manual/math.texi (Errors in Math Functions): Clarify goals
23642         regarding inexact and underflow exceptions.
23644 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23646         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
23647         * sysdeps/mips/memset.S: Ditto.
23649 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23651         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
23653 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23655         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
23656         (__v1longjmp): Remove versioned symbol.
23657         (__v1siglongjmp): Remove alias and versioned symbol.
23658         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
23659         (__v2siglongjmp): Likewise.
23661 2015-02-16  Torvald Riegel  <triegel@redhat.com>
23663         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
23665 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
23667         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
23669 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
23671         [BZ #17987]
23672         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
23673         zero result does not depend on the sign resulting from
23674         subtraction.
23675         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23676         Likewise.
23677         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
23678         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
23679         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23680         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
23681         * math/libm-test.inc (remquo_test_data): Add more tests.
23683 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
23685         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
23686         Problem reported by J William Piggott.
23688 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
23690         [BZ #17978]
23691         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
23692         products 4 * y and 2 * y where those would overflow.
23693         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23694         Likewise.
23695         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
23696         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
23697         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23698         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
23699         * math/libm-test.inc (remquo_test_data): Add more tests.
23701         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
23703         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
23704         [defined _COMPILING_NEWLIB].
23705         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
23706         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
23708         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
23709         [!defined __mips_isa_rev || __mips_isa_rev < 6].
23711 2015-02-16  Torvald Riegel  <triegel@redhat.com>
23713         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
23714         acquired.
23716 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
23718         [BZ #17792]
23719         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
23720         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
23721         HOST_STACK_END_ADDR): Likewise.
23723 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
23725         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
23726         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
23727         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
23729 2015-02-13  Roland McGrath  <roland@hack.frob.com>
23731         * sysdeps/generic/c++-types.data: New file.
23732         * sysdeps/generic/ld.abilist: New file.
23733         * sysdeps/generic/libBrokenLocale.abilist: New file.
23734         * sysdeps/generic/libanl.abilist: New file.
23735         * sysdeps/generic/libc.abilist: New file.
23736         * sysdeps/generic/libcrypt.abilist: New file.
23737         * sysdeps/generic/libdl.abilist: New file.
23738         * sysdeps/generic/libm.abilist: New file.
23739         * sysdeps/generic/libpthread.abilist: New file.
23740         * sysdeps/generic/libresolv.abilist: New file.
23741         * sysdeps/generic/librt.abilist: New file.
23743 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
23745         [BZ #17569]
23746         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23747         Compute absolute value of x as modified by fmod, not original
23748         value of x.
23749         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
23750         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
23751         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
23752         RUN_TEST_ffI_f1_mod8.
23753         (remquo_test_data): Add more tests.
23755 2015-02-13  Roland McGrath  <roland@hack.frob.com>
23757         * sysdeps/init_array/pt-crti.S: New file.
23759 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
23761         [BZ #17967]
23762         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
23763         __builtin_fmaf instead of relying on contraction of a * b + c.
23765 2015-02-12  J William Piggott  <elseifthen@gmx.com>
23767         [BZ #17969]
23768         * manual/time.texi: correct the zoneinfo path in the TZ Variable
23769         node.
23771 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
23773         [BZ #17964]
23774         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
23775         __builtin_fma instead of relying on contraction of a * b + c.
23777 2015-02-12  Roland McGrath  <roland@hack.frob.com>
23779         * Makeconfig (ASFLAGS): Add -Werror=undef.
23780         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
23781         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
23782         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
23784         * Makeconfig (after-link): New variable.
23785         (+link-pie, +link-pie-tests): Use it.
23786         (+link-static, +link-static-tests): Likewise.
23787         (+link, +link-tests): Likewise.
23788         * Makerules (build-module, build-module-asneeded): Likewise.
23789         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
23790         Likewise.
23791         * elf/Makefile ($(objpfx)ld.so): Likewise.
23793 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
23795         [BZ #17965]
23796         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
23797         both struct timeval and struct timespec.
23799 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
23801         [BZ #16560]
23802         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23803         and redefine.
23804         (__ieee754_exp2l): Do not multiply small fractional parts by
23805         M_LN2l.
23806         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
23807         small argument.
23808         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23809         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
23810         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
23811         * math/auto-libm-test-in: Add more tests of exp2.
23812         * math/auto-libm-test-out: Regenerated.
23814 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23816         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
23817         unaligned path.
23819 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23821         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
23822         little endian.
23824 2015-02-12  Andreas Schwab  <schwab@suse.de>
23826         [BZ #15790]
23827         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
23828         Filter out elision flags from value returned in kind.
23829         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
23830         * nptl/tst-pthread-mutexattr.c: New file.
23832 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23834         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
23835         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
23836         into gnu-gnu, and update comment to refer to abi-tags.
23838 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
23840         [BZ #15467]
23841         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
23842         (__sincos): Set errno to EDOM for infinite argument.
23843         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
23844         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
23845         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
23846         (__sincosl): Set errno to EDOM for infinite argument.
23847         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
23848         (__sincosl): Set errno to EDOM for infinite argument.
23849         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
23850         (__sincosl): Set errno to EDOM for infinite argument.
23851         * math/libm-test.inc (sincos_test_data): Test errno setting.
23853 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
23855         * string/strxfrm_l.c: Remove #define STRCMP.
23856         * string/strcoll_l.c: Remove #define STRLEN.
23857         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
23858         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
23860 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
23862         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
23863         * sysdeps/mips/mips32/sfp-machine.h: ... here.
23864         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
23865         * sysdeps/mips/mips64/Makefile: ... here.
23866         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
23867         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
23868         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
23869         * sysdeps/mips/mips64/sfp-machine.h: ... here.
23870         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
23871         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
23872         * sysdeps/mips/mips64/n64/Implies: Likewise.
23874 2015-02-10  Roland McGrath  <roland@hack.frob.com>
23876         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
23877         <sys/time.h>, <string.h>, and <errno.h>.
23878         (dest_offset, dest_address, value, zero): Remove unused variables.
23879         (ldouble): Remove typedef.
23880         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
23881         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
23882         1).  Fix code style.
23883         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
23884         (check): Function removed.
23885         (CHECK): New macro.
23886         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
23887         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
23888         Don't call set_sigaction_FP and remove_sigaction_FP here.
23889         (ldouble_test): Just use 'long double' as macro argument, no need for
23890         the 'ldouble' typedef.
23891         (do_test): Set up SIGFPE handler at start, using plain signal rather
23892         than sigaction.  Fix code style.
23894 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
23896         [BZ #17949]
23897         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
23898         jump label.
23900 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23902         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
23903         * sysdeps/powerpc/powerpc32/configure: Regenerated.
23905         * sysdeps/powerpc/configure.ac: Remove file.
23906         * sysdeps/powerpc/configure: Likewise.
23908         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23909         [sysdep_routines]: Remove wordcopy-power6 object.
23910         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
23911         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
23912         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
23913         (__memmove_ppc32): Likewise.
23914         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
23915         file.
23916         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
23917         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
23918         Remove preprocessor.
23920         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23921         [sysdep_routines]: Remove wide chars objects.
23922         [wcsmbs]: New rule for wide char objects.
23924         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23925         Remove wordcopy-power6 obejct.
23926         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
23927         Use local call for wordcopy and memcpy symbols.
23928         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
23929         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
23930         implementation for loader.
23931         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
23933         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23934         Remove wordcopy-power7 object.
23935         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
23936         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
23937         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
23938         (_wordcopy_fwd_dest_aligned): Likewise.
23939         (_wordcopy_bwd_aligned): Likewise.
23940         (_wordcopy_bwd_dest_aligned): Likewise.
23942         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
23943         Rewrite to call __memmove_ppc instead of include default
23944         implementation.
23946         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23947         Remove wide chars objects.
23948         [wcsmbs]: New rule for wide char objects.
23950 2015-02-09  Andreas Schwab  <schwab@suse.de>
23952         [BZ #17912]
23953         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23954         in terms of __O_DIRECTORY.
23956 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23958         * time/getdate.c: Include <stdbool.h>.
23959         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
23960         call PTR_MANGLE.
23961         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
23962         PTR_DEMANGLE.
23964 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
23966         Add ersatz _Static_assert on older C hosts
23967         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
23968         pre-C11 C platform that is not known to support _Static_assert.
23970 2015-02-07  Richard Braun  <rbraun@sceen.net>
23972         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
23973         sigstate.
23974         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
23976 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23978         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
23979         priority against unexistent AIO_PRIO_DELTA_MAX.
23980         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
23981         instead of int.
23982         * misc/fchflags.c (fchflags): Likewise.
23983         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
23984         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
23985         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
23986         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
23987         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
23988         Declare macros.
23989         [__USE_MISC] (chflags, fchflags): Declare functions.
23990         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
23991         EINVAL when nfds is greater than FD_SETSIZE.
23992         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
23993         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
23994         45.
23995         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
23996         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
23997         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
23998         MACH_RCV_TIMED_OUT.
23999         * hurd/hurd/signal.h (_hurd_self_sigstate,
24000         _hurd_critical_section_lock, _hurd_critical_section_unlock):
24001         Explicit casts from void *.
24002         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
24003         * abi-tags: Rename gnu-gnu os into gnu.
24005         [BZ #4719]
24006         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
24007         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
24008         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
24009         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
24010         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
24011         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
24013         [BZ #17944]
24014         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
24015         duplicates ADDR->sun_path with sockaddr LEN limitation.
24016         * sysdeps/mach/hurd/connect.c: Include <string.h>
24017         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
24018         * sysdeps/mach/hurd/sendmsg.c: Likewise.
24019         * sysdeps/mach/hurd/sendto.c: Likewise.
24020         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
24021         implementing it by hand.
24023 2015-02-06  Roland McGrath  <roland@hack.frob.com>
24025         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
24026         Use sfi_breg on ldr.
24027         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
24028         Likewise.
24030         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
24031         it's defined.
24032         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
24033         Test SIGSETXID only if it's defined.
24035         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
24037         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
24038         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
24040         * nptl/tst-align2.c: Moved ...
24041         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
24042         * nptl/Makefile (tests): Remove tst-align2.
24043         * sysdeps/unix/sysv/linux/Makefile
24044         [$(subdir) = nptl] (tests): Add tst-align-clone.
24045         * nptl/tst-getpid1.c: Moved ...
24046         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
24047         * nptl/tst-getpid2.c: Moved ...
24048         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
24049         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
24050         * sysdeps/unix/sysv/linux/Makefile
24051         [$(subdir) = nptl] (tests): ... here.
24052         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
24053         * sysdeps/unix/sysv/linux/Makefile
24054         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
24056         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
24057         Drop trailing \n from perror argument.  Use return rather than exit.
24059         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
24060         on [SA_SIGINFO].
24061         * nptl/tst-cancel21.c (do_test): Likewise.
24062         * debug/tst-backtrace6.c: Include <signal.h> first thing.
24063         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
24064         [!SA_SIGINFO]: Make it a stub test.
24066         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
24067         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
24069         * posix/tst-getlogin.c: Move to ...
24070         * login/tst-getlogin.c: ... here.
24071         * posix/Makefile (tests): Move tst-getlogin to ...
24072         * login/Makefile (tests): ... here.
24074         * libio/tst-atime.c (do_test): Move local variables SV and E
24075         inside [ST_NOATIME] conditional.
24077         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
24079         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
24081         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
24082         (wait_code): New function replaces macro.
24083         Call nanosleep rather than syscall.
24085         * nptl/pt-system.c: Rewritten.  Put everything under
24086         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24087         Use IFUNC to redirect when possible.
24089         * nptl/pt-longjmp.c: Rewritten.  Put everything under
24090         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24091         Use IFUNC to redirect when possible.
24093         * nptl/pt-fork.c: Rewritten.  Put everything under
24094         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24095         Use IFUNC to redirect when possible.
24096         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
24098         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
24099         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
24100         unconditionally nowadays.  This included the only reference to
24101         __vdso_clock_gettime that appears outside libc proper.
24102         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
24103         Remove version set (containing only __vdso_clock_gettime).
24104         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
24105         Add attribute_hidden.
24106         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
24107         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
24108         libc_hidden_data_def.
24109         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24110         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24112         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
24113         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
24114         setrpcent, and getrpcport to ...
24115         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
24116         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
24117         getrpcbynumber_r, and getrpcent_r to ...
24118         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
24119         * inet/getrpcbyname.c: Moved ...
24120         * sunrpc/getrpcbyname.c: ... here.
24121         * inet/getrpcbyname_r.c: Moved ...
24122         * sunrpc/getrpcbyname_r.c: ... here.
24123         * inet/getrpcbynumber.c: Moved ...
24124         * sunrpc/getrpcbynumber.c: ... here.
24125         * inet/getrpcbynumber_r.c: Moved ...
24126         * sunrpc/getrpcbynumber_r.c: ... here.
24127         * inet/getrpcent.c: Moved ...
24128         * sunrpc/getrpcent.c: ... here.
24129         * inet/getrpcent_r.c: Moved ...
24130         * sunrpc/getrpcent_r.c: ... here.
24131         * inet/Makefile (routines): Move those to ...
24132         * sunrpc/Makefile (routines): ... here.
24133         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
24134         the $(subdirs) list.
24135         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
24136         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
24137         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
24138         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
24140         * elf/Makefile (routines): Include $(all-dl-routines), not just
24141         $(dl-routines).
24142         (rtld-routines): Likewise.  Use = rather than :=.
24143         * sysdeps/aarch64/Makefile [$(subdir) = elf]
24144         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
24145         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
24146         * sysdeps/arm/Makefile: Likewise.
24147         * sysdeps/i386/Makefile: Likewise.
24148         * sysdeps/x86_64/Makefile: Likewise.
24149         * sysdeps/hppa/Makefile [$(subdir) = elf]
24150         (sysdep_routines, sysdep-rtld-routines): Don't add
24151         $(sysdep-dl-routines) to these.
24152         * sysdeps/ia64/Makefile: Likewise.
24153         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
24154         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
24155         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
24156         Don't add dl-static to these; sysdep-dl-routines alone is enough.
24157         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
24158         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
24159         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
24160         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
24161         * sysdeps/powerpc/Makefile [$(subdir) = elf]
24162         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
24163         these; sysdep-dl-routines alone is enough.
24165 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
24167         [BZ #17932]
24168         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
24169         where multiplication results in zero and third argument is finite
24170         and nonzero.
24171         * math/auto-libm-test-in: Add more tests of fma.
24172         * math/auto-libm-test-out: Regenerated.
24174         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
24175         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
24176         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
24177         (_FP_CMP_EQ): Likewise.
24178         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
24180         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
24181         extra argument CHECK_NAN.  Redefine as wrapper around
24182         _FP_EXTEND_CNAN.
24184 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
24186         * version.h (RELEASE): Set to "stable".
24187         (VERSION): Set to "2.21"
24188         * include/features.h (__GLIBC_MINOR__): Set to 21.
24190         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
24192 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24193             Paul Eggert  <eggert@cs.ucla.edu>
24195         [BZ #16618]
24196         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
24197         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
24198         size in bytes. Store needed elements in wpmax. Use needed size
24199         in bytes for extend_alloca.
24201 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
24203         * manual/install.texi: Latest tested versions are GCC 4.9.2,
24204         binutls 2.25, and texinfo 5.2.
24205         * INSTALL: Regenerate.
24206         * sysdeps/nios2/configure: Regenerate.
24207         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
24208         * manual/contrib.texi: Update.
24209         * po/be.po: Update.
24210         * po/bg.po: Update.
24211         * po/ca.po: Update.
24212         * po/cs.po: Update.
24213         * po/da.po: Update.
24214         * po/de.po: Update.
24215         * po/el.po: Update.
24216         * po/eo.po: Update.
24217         * po/es.po: Update.
24218         * po/fi.po: Update.
24219         * po/fr.po: Update.
24220         * po/gl.po: Update.
24221         * po/hr.po: Update.
24222         * po/hu.po: Update.
24223         * po/ia.po: Update.
24224         * po/id.po: Update.
24225         * po/it.po: Update.
24226         * po/ja.po: Update.
24227         * po/ko.po: Update.
24228         * po/lt.po: Update.
24229         * po/nb.po: Update.
24230         * po/nl.po: Update.
24231         * po/pl.po: Update.
24232         * po/pt_BR.po: Update.
24233         * po/ru.po: Update.
24234         * po/rw.po: Update.
24235         * po/sk.po: Update.
24236         * po/sl.po: Update.
24237         * po/sv.po: Update.
24238         * po/tr.po: Update.
24239         * po/uk.po: Update.
24240         * po/vi.po: Update.
24241         * po/zh_CN.po: Update.
24242         * po/zh_TW.po: Update.
24244         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
24245         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
24246         * sysdeps/hppa/dl-irel.h: Remove #warning.
24247         * sysdeps/hppa/entry.h: Provide prototype for
24248         __canonicalize_funcptr_for_compare and cast argument.
24249         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
24250         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
24251         * sysdeps/hppa/sotruss-lib.c: New file.
24252         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
24253         (atomic_compare_and_exchange_val_acq): Use __typeof__.
24254         (atomic_compare_and_exchange_bool_acq): Likewise.
24255         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
24256         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
24258         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
24259         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
24260         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
24262 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
24264         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
24265         called function in non-PIC case.
24267 2015-01-31  David S. Miller  <davem@davemloft.net>
24269         * sysdeps/sparc/sparc32/bits/atomic.h
24270         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
24271         unlock not after it.
24272         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
24273         volatile register usage warnings from the compiler.
24275         * sysdeps/sparc/nptl/sem_init.c: Delete.
24276         * sysdeps/sparc/nptl/sem_post.c: Delete.
24277         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
24278         * sysdeps/sparc/nptl/sem_wait.c: Delete.
24279         * sysdeps/sparc/sparc32/sem_init.c: New file.
24280         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
24281         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
24282         padding explicitly initialized.
24283         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
24284         padding for in-semaphore spinlock.
24285         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
24286         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
24287         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
24288         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
24289         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
24290         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
24291         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
24292         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
24293         version.
24294         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
24295         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
24297 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
24299         [BZ #17801]
24300         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24301         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
24302         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
24303         New.
24304         (index_AVX_Fast_Unaligned_Load): Likewise.
24305         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
24306         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
24307         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
24308         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
24309         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
24310         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
24311         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
24312         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
24313         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
24315 2015-01-29  Andreas Schwab  <schwab@suse.de>
24317         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
24319 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
24321         [BZ #17892]
24322         * nscd/nscd_stat.c (send_stats): Initialize DATA.
24324 2015-01-28  Martin Sebor  <msebor@redhat.com>
24326         * math/README.libm-test: Clarify. Add "How to read the test output."
24328 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
24330         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
24331         Define to 0.
24333 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
24335         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
24336         (__HAVE_64B_ATOMICS): Define to 0.
24338 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24340         [BZ #17885]
24341         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
24342         value to set as new flag.
24344         [BZ #16576]
24345         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
24346         and use _ARCH_PPCSQ instead.
24347         (__ieee754_sqrt): Likewise.
24348         (__ieee754_sqrtf): Likewise.
24349         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
24350         _ARCH_PPCSQ is defined.
24351         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
24352         fsqrt instruction.
24353         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
24354         _ARCH_PPCSQ is defined.
24355         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
24356         fsqrts instruction.
24357         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
24359 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24361         * iconv/loop.c: Suppress array out of bound warning caused by GCC
24362         bug (GCC BZ #64739).
24364 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
24366         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
24367         Mark _retval as used.
24368         (lll_futex_wake_unlock): Likewise.
24369         (lll_futex_timed_wait_requeue_pi): Likewise.
24371         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
24372         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
24373         register variables.
24375         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
24376         libm_hidden_def.
24378         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
24379         (__bswap_64): Mark as __always_inline.
24381 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
24383         [BZ #15378]
24384         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
24385         when none of the search directories exist.
24387 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24389         [BZ #17869]
24390         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
24391         power8 in .machine directive.
24393         [BZ #17868]
24394         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
24395         set dependency from opd value.
24397 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24399         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24400         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
24401         architecture.
24403 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24405         [BZ #17870]
24406         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
24407         with uint64_t.
24408         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
24409         (uint64_t) 1.
24410         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
24411         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
24412         Replace 1UL with (uint64_t) 1.
24413         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
24414         int with uint64_t.
24416 2015-01-23  Roland McGrath  <roland@hack.frob.com>
24418         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
24419         (if_freenameindex): Likewise.
24421         * resource/getrlimit64.c: Add missing libc_hidden_def.
24423 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
24425         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
24426         __label__.
24427         (_FP_FMA): Likewise.
24428         (_FP_TO_INT_ROUND): Likewise.
24429         (_FP_FROM_INT): Likewise.
24431 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24433         [BZ #16418]
24434         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
24435         Make code racy and cancel safe.
24437 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
24439         * sysdeps/arm/unwind-resume.h: Fix copyright year.
24440         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
24441         attribution.
24443         * pwd/tst-getpw.c: Rewrite.
24445         [BZ #17702]
24446         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
24447         (modules-names): Add moddummy1 and moddummy2.
24448         ($(objpfx)tst-rec-dlopen): Define.
24449         * dlfcn/moddummy1.c: New file.
24450         * dlfcn/moddummy2.c: New file.
24451         * dlfcn/tst-rec-dlopen.c: New file.
24452         * elf/dl-cache.c (_dl_load_cache_lookup):
24453         Return char*. Copy result with alloca/strcpy/strdup.
24454         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
24455         returns char*. Free cached. If not saving realname
24456         free cached.
24457         * elf/dl-open.c (dl_open_worker): Do not assert that
24458         _r_debug->r_state is RT_CONSISTENT.
24459         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
24460         returns char*.
24462 2015-01-21  Torvald Riegel  <triegel@redhat.com>
24463             Carlos O'Donell  <carlos@redhat.com>
24465         [BZ #12674]
24466         * nptl/sem_waitcommon.c: New file.
24467         * nptl/sem_wait.c: Include sem_waitcommon.c.
24468         (__sem_wait_cleanup, do_futex_wait): Remove.
24469         (__new_sem_wait): Adapt.
24470         (__new_sem_trywait): New function.
24471         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
24472         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
24473         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
24474         (sem_timedwait): Adapt.
24475         * nptl/sem_post.c (__new_sem_post): Adapt.
24476         (futex_wake): New function.
24477         (__old_sem_post): Add release MO fence.
24478         * nptl/sem_open.c (sem_open): Adapt.
24479         * nptl/sem_init.c (__new_sem_init): Adapt.
24480         (futex_private_if_supported): New function.
24481         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
24482         (__old_sem_getvalue): Add using previous code.
24483         * sysdeps/nptl/internaltypes.h: Adapt.
24484         * nptl/tst-sem13.c (do_test): Adapt.
24485         * nptl/tst-sem11.c (main): Adapt.
24486         * nptl/sem_trywait.c: Remove.
24487         * nptl/DESIGN-sem.txt: Remove.
24488         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
24489         (gen-as-const-headers): Remove structsem.sym.
24490         * nptl/structsem.sym: Remove.
24491         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
24492         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
24493         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
24494         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
24495         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
24496         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
24497         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
24498         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
24499         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
24500         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
24501         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
24502         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
24503         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
24504         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
24505         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
24506         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
24507         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
24508         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
24509         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
24510         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
24511         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
24512         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
24514 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
24516         * INSTALL: Regenerated.
24518         * po/libc.pot: Regenerated.
24520 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
24521             Sandra Loosemore  <sandra@codesourcery.com>
24522             Andrew Jenner  <andrew@codesourcery.com>
24523             Joseph Myers  <joseph@codesourcery.com>
24524             Nathan Sidwell  <nathan@codesourcery.com>
24526         * NEWS: Mention new Nios II port.
24527         * sysdeps/nios2/Implies: New file.
24528         * sysdeps/nios2/Makefile: New file.
24529         * sysdeps/nios2/Subdirs: New file.
24530         * sysdeps/nios2/Versions: New file.
24531         * sysdeps/nios2/__longjmp.S: New file.
24532         * sysdeps/nios2/abort-instr.h: New file.
24533         * sysdeps/nios2/backtrace.c: New file.
24534         * sysdeps/nios2/bits/endian.h: New file.
24535         * sysdeps/nios2/bits/fenv.h: New file.
24536         * sysdeps/nios2/bits/link.h: New file.
24537         * sysdeps/nios2/bits/setjmp.h: New file.
24538         * sysdeps/nios2/bsd-_setjmp.S: New file.
24539         * sysdeps/nios2/bsd-setjmp.S: New file.
24540         * sysdeps/nios2/configure: New generated file.
24541         * sysdeps/nios2/configure.ac: New file.
24542         * sysdeps/nios2/crti.S: New file.
24543         * sysdeps/nios2/crtn.S: New file.
24544         * sysdeps/nios2/dl-init.c: New file.
24545         * sysdeps/nios2/dl-machine.h: New file.
24546         * sysdeps/nios2/dl-sysdep.h: New file.
24547         * sysdeps/nios2/dl-tls.h: New file.
24548         * sysdeps/nios2/dl-trampoline.S: New file.
24549         * sysdeps/nios2/gccframe.h: New file.
24550         * sysdeps/nios2/gmp-mparam.h: New file.
24551         * sysdeps/nios2/jmpbuf-offsets.h: New file.
24552         * sysdeps/nios2/jmpbuf-unwind.h: New file.
24553         * sysdeps/nios2/ldsodefs.h: New file.
24554         * sysdeps/nios2/libc-tls.c: New file.
24555         * sysdeps/nios2/libm-test-ulps: New file.
24556         * sysdeps/nios2/machine-gmon.h: New file.
24557         * sysdeps/nios2/math-tests.h: New file.
24558         * sysdeps/nios2/math_private.h: New file.
24559         * sysdeps/nios2/memusage.h: New file.
24560         * sysdeps/nios2/nptl/Makefile: New file.
24561         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
24562         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
24563         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
24564         * sysdeps/nios2/nptl/pthreaddef.h: New file.
24565         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
24566         * sysdeps/nios2/nptl/tls.h: New file.
24567         * sysdeps/nios2/preconfigure: New file.
24568         * sysdeps/nios2/s_fma.c: New file.
24569         * sysdeps/nios2/s_fmaf.c: New file.
24570         * sysdeps/nios2/setjmp.S: New file.
24571         * sysdeps/nios2/sfp-machine.h: New file.
24572         * sysdeps/nios2/sotruss-lib.c: New file.
24573         * sysdeps/nios2/stackguard-macros.h: New file.
24574         * sysdeps/nios2/stackinfo.h: New file.
24575         * sysdeps/nios2/start.S: New file.
24576         * sysdeps/nios2/sysdep.h: New file.
24577         * sysdeps/nios2/tls-macros.h: New file.
24578         * sysdeps/nios2/tst-audit.h: New file.
24579         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
24580         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
24581         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
24582         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
24583         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
24584         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
24585         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
24586         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
24587         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
24588         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
24589         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
24590         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
24591         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
24592         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
24593         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
24594         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
24595         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
24596         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
24597         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
24598         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
24599         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
24600         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
24601         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
24602         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
24603         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
24604         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
24605         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
24606         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
24607         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
24608         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
24609         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
24610         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
24611         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
24612         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
24613         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
24614         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
24615         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
24616         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
24617         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
24618         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
24619         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
24620         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
24621         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
24622         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
24624 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24626         [BZ #17844]
24627         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
24628         (getutent): Use weak_alias in non SHARED case
24629         and default_symbol_version in SHARED case.
24630         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
24631         (getutent_r, pututline): Likewise.
24632         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
24633         (getutid): Likewise.
24634         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
24635         (getutid_r): Likewise.
24636         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
24637         (getutline): Likewise.
24638         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
24639         (getutline_r): Likewise.
24640         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
24641         (updwtmp): Likewise.
24643 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24645         [BZ #17848]
24646         * sysdeps/s390/s390-32/memcmp.S
24647         (memcmp_g5): Rename to __memcmp_g5.
24648         * sysdeps/s390/s390-32/memcpy.S
24649         (memcpy_g5): Rename to __memcpy_g5.
24650         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24651         (memcpy_mvcle) Rename to __memcpy_mvcle.
24652         * sysdeps/s390/s390-32/memset.S
24653         (memset_g5): Rename to __memset_g5.
24654         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24655         (IFUNC_RESOLVE): Prefix ifunc-resolve function
24656         and use prefixed functions.
24657         * sysdeps/s390/s390-32/multiarch/memcmp.S
24658         (memcmp_z196): Rename to __memcmp_z196.
24659         (memcmp_z10): Rename to __memcmp_z10.
24660         (memcmp): Set alias to __memcmp_g5.
24661         (bcmp): Set alias to __memcmp_g5.
24662         * sysdeps/s390/s390-32/multiarch/memcpy.S
24663         (memcpy_z196): Rename to __memcpy_z196.
24664         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24665         (memcpy_z10): Rename to __memcpy_z10.
24666         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24667         (memcpy): Set alias to __memcpy_g5.
24668         * sysdeps/s390/s390-32/multiarch/memset.S
24669         (memset_z196): Rename to __memset_z196.
24670         Jump to __memset_mvcle instead of memset_mvcle.
24671         (memset_z10): Rename to __memset_z10.
24672         Jump to __memset_mvcle instead of memset_mvcle.
24673         (memset_mvcle) Rename to __memset_mvcle.
24674         (memset): Set alias to __memset_g5.
24675         * sysdeps/s390/s390-64/memcmp.S
24676         (memcmp_z900): Rename to __memcmp_z900.
24677         * sysdeps/s390/s390-64/memcpy.S
24678         (memcpy_z900): Rename to __memcpy_z900.
24679         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24680         (memcpy_mvcle) Rename to __memcpy_mvcle.
24681         * sysdeps/s390/s390-64/memset.S
24682         (memset_z900): Rename to __memset_z900.
24683         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
24684         (IFUNC_RESOLVE): Prefix ifunc-resolve function
24685         and use prefixed functions.
24686         * sysdeps/s390/s390-64/multiarch/memcmp.S
24687         (memcmp_z196): Rename to __memcmp_z196.
24688         (memcmp_z10): Rename to __memcmp_z10.
24689         (memcmp): Set alias to __memcmp_z900.
24690         (bcmp): Set alias to __memcmp_z900.
24691         * sysdeps/s390/s390-64/multiarch/memcpy.S
24692         (memcpy_z196): Rename to __memcpy_z196.
24693         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24694         (memcpy_z10): Rename to __memcpy_z10.
24695         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24696         (memcpy): Set alias to __memcpy_z900.
24697         * sysdeps/s390/s390-64/multiarch/memset.S
24698         (memset_z196): Rename to __memset_z196.
24699         Jump to __memset_mvcle instead of memset_mvcle.
24700         (memset_z10): Rename to __memset_z10.
24701         Jump to __memset_mvcle instead of memset_mvcle.
24702         (memset_mvcle) Rename to __memset_mvcle.
24703         (memset): Set alias to __memset_z900.
24705 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
24707         [BZ #17748]
24708         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
24709         __fesetenv instead of fesetenv.
24711 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24713         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
24714         macro.
24716 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24718         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
24719         regression on LE.
24721         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
24722         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
24723         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24724         strncmp-power8 object.
24725         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24726         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
24727         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
24728         * NEWS: Update.
24730 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24731             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24733         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
24734         trailing byte check.
24736 2015-01-13  David S. Miller  <davem@davemloft.net>
24738         * include/signal.h (__sigreturn): Guard with __USE_MISC.
24740 2015-01-13  Roland McGrath  <roland@hack.frob.com>
24742         * login/logout.c (logout): Use memset rather than bzero.
24743         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
24744         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
24745         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
24746         (_gethtbyaddr): Likewise.
24747         * locale/programs/simple-hash.c (bcopy): Macro removed.
24749 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24751         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24752         Add strcmp-power8 object.
24753         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24754         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
24755         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
24756         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
24757         __strcmp_power8 implementation.
24758         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
24759         * NEWS: Update.
24761         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24762         Add strncpy-power8 and stpncpy-power8 objects.
24763         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24764         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
24765         implementations.
24766         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
24767         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
24768         __stpncpy_power8 implementation.
24769         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
24770         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
24771         __strncpy_power8 implementation.
24772         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
24773         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
24774         * NEWS: Update.
24776         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
24777         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
24778         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
24780         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24781         strncat-power8 object.
24782         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
24783         __strcat_power8 implementation.
24784         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24785         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
24786         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
24787         optimized strcat for power8.
24789         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24790         strcpy-power8 and stpcpy-power8 objects.
24791         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24792         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
24793         implementations.
24794         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
24795         multiarch stpcpy implementation for POWER8.
24796         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
24797         multiarch strcpy implementation for POWER8.
24798         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
24799         __strcpy_power8 function.
24800         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
24801         stpcpy for POWER8.
24802         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
24803         strcpy for POWER8.
24804         * NEWS: Update.
24806 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
24808         [BZ #16009]
24809         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
24810         weights and rules. Use do_xfrm_cached if data fits in cache,
24811         do_xfrm otherwise.  Moved former main loop to...
24812         * (do_xfrm_cached): New function.
24813         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
24814         find_idx, find_position and stack_push.
24815         * (find_idx): New function.
24816         * (find_position): Likewise.
24817         * localedata/sort-test.sh: Added test run for do_xfrm.
24818         * localedata/xfrm-test.c (main): Added command line option
24819         -nocache to run the test with strings that are too large for
24820         the STRXFRM cache.
24822 2015-01-13  Torvald Riegel  <triegel@redhat.com>
24824         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
24825         variable to lll_futex_wake call, not the value itself.
24827 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
24829         [BZ #17803]
24830         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
24831         twom64.  Adjust value to 0x1p-64L.
24832         (__scalblnl): Only return standard underflowing result for K <=
24833         -64 not K <= -63; adjust exponent for underflowing result by 64
24834         not 63.
24835         * math/libm-test.inc (scalbn_test_data): Add more tests.
24836         (scalbln_test_data): Likewise.
24838         [BZ #17834]
24839         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
24840         0x1p63L.
24841         (__scalblnl): Get new exponent of adjusted subnormal value from ES
24842         not HX.
24843         * math/libm-test.inc (scalbn_test_data): Add more tests.
24844         (scalbln_test_data): Likewise.
24846 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24847             Stefani Seibold  <stefani@seibold.net>
24849         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
24850         (sysdep_routines): Add dl-vdso here, ...
24851         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
24852         (sysdep_routines): ... not here.
24853         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
24854         fallback when vDSO is not presented.
24855         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
24856         Define with libc_hidden_proto/libc_hidden_data_def definitions.
24857         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
24858         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
24859         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
24860         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
24861         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
24862         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
24863         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
24864         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
24865         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
24866         fallback configurable symbol when vDSO is not available.
24867         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
24868         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
24869         be able to redefine fallback symbol when vDSO is not available.
24870         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
24871         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
24873 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24875         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
24876         (TLS_INIT_TP): Add tm_capable initialization.
24877         (TLS_DEFINE_INIT_TP): Likewise.
24878         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
24879         TCB.
24880         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
24881         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
24882         calculation.
24883         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
24884         transactoion is lock elision is built and TCB tm_capable is set.
24885         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
24886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24887         (INTERNAL_SYSCALL_NCS): Likewise.
24888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24889         (INTERNAL_SYSCALL_NCS): Likewise.
24890         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
24892         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
24893         for powerpc.
24894         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24895         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
24896         and remove it for 32 bits case.
24897         [pthread_rwlock_t] (__rwelision): New field for lock elision.
24898         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
24899         initialization.
24900         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
24901         Disable lock elision with rdlocks if elision is not available.
24903         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
24904         (sysdep_routines): Add lock elision objects.
24905         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24906         [pthread_mutex_t] (__spins): Rework to add lock elision field.
24907         [pthread_mutex_t] (__elision): Add field.
24908         [__PTHREAD_SPINS]: Adjust to init lock elision field.
24909         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
24910         elision definitions for powerpc.
24911         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
24912         implementation of lock elision for powerpc.
24913         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
24914         implementation of timed lock elision for powerpc.
24915         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
24916         implementation of trylock with lock elision for powerpc.
24917         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
24918         implementaion of unlock for lock elision for powerpc.
24919         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
24920         automatic enable lock elision for mutexes.
24921         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
24922         transaction execution definitions for powerpc.
24923         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
24924         definitions.
24925         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
24926         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
24927         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
24928         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
24929         * NEWS: Update.
24931 2015-01-09  Roland McGrath  <roland@hack.frob.com>
24933         * sysdeps/posix/shm-directory.c: Use <> rather than ""
24934         for #include of <shm-directory.h>.
24936 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
24938         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
24939         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
24941 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
24943         [BZ #17791]
24944         * NEWS: Mention bug fix.
24945         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
24946         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
24947         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
24949 2015-01-09  Torvald Riegel <triegel@redhat.com>
24951         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
24953 2015-01-09  Torvald Riegel <triegel@redhat.com>
24955         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
24957 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24959         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
24960         pointer and cast to uintptr_t.
24962 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24964         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
24965         removed.
24966         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
24968 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24970         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
24971         of 0.
24973 2015-01-08  Roland McGrath  <roland@hack.frob.com>
24975         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
24976         <nptl/pthreadP.h> instead.
24977         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
24979         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
24980         already defined.
24981         [__SIGRTMIN] (init): Function removed.
24982         [__SIGRTMIN] (initialized): Variable removed.
24983         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
24984         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
24985         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
24986         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
24987         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
24988         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
24989         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
24990         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
24991         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
24992         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
24993         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
24994         * sysdeps/nptl/allocrtsig.c: New file.
24995         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
24996         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
24997         * sysdeps/generic/testrtsig.h: File removed.
24999         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
25000         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
25002         * nptl/nptl-init.c (pthread_functions): Conditionalize
25003         .ptr__nptl_setxid initialization on [SIGSETXID].
25005         * sysdeps/nptl/sys/procfs.h: New file.
25006         * nptl_db/Makefile (headers): Add it.
25007         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
25009         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
25010         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
25011         * nptl/pthread_attr_setaffinity.c: Include it.
25012         * nptl/pthread_setattr_default_np.c: Likewise.
25013         * nptl/check-cpuset.h: New file.
25015 2015-01-08  Richard Henderson  <rth@redhat.com>
25017         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
25018         (CFLAGS-tst-execstack-prog.c): Likewise.
25019         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
25021 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
25022             Sandra Loosemore  <sandra@codesourcery.com>
25023             Andrew Jenner  <andrew@codesourcery.com>
25024             Joseph Myers  <joseph@codesourcery.com>
25025             Nathan Sidwell  <nathan@codesourcery.com>
25027         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
25028         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
25029         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
25030         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
25031         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
25032         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
25033         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
25034         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
25035         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
25036         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
25037         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
25038         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
25039         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
25040         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
25041         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
25042         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
25043         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
25045 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25047         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
25048         timespec struct member in syscall macro.
25049         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
25050         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
25051         first timeval struct member in syscall macro.
25052         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
25054 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
25056         [BZ #17748]
25057         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
25058         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
25059         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
25060         __feupdateenv and define as weak alias of __feupdateenv.  Use
25061         libm_hidden_weak.
25062         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
25063         libm_hidden_def.
25064         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
25065         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
25066         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
25067         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
25068         libm_hidden_def.
25069         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
25070         __feupdateenv and define as weak alias of __feupdateenv.  Use
25071         libm_hidden_weak.
25072         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
25073         libm_hidden_def.
25074         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
25075         __feupdateenv and define as weak alias of __feupdateenv.  Use
25076         libm_hidden_weak.
25077         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
25078         libm_hidden_def.
25079         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25080         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
25081         (__feupdateenv): Likewise.
25082         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
25083         __feupdateenv and define as weak alias of __feupdateenv.  Use
25084         libm_hidden_weak.
25085         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25086         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
25087         libm_hidden_def.
25088         * sysdeps/tile/math_private.h (__feupdateenv): New inline
25089         function.
25090         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
25091         libm_hidden_def.
25092         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
25093         __feupdateenv instead of feupdateenv.
25094         (default_libc_feupdateenv_test): Likewise.
25095         (libc_feresetround_ctx): Likewise.
25097 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25099         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
25100         prototype.
25102 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
25104         * posix/regcomp.c (parse_bracket_exp): Initialize type to
25105         COLL_SYM in a couple of places to avoid uninitialized variable
25106         wanings on tilegx gcc 4.8.2.
25108 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
25110         * sysdeps/aarch64/strcpy.S: New file.
25111         * sysdeps/aarch64/stpcpy.S: New file.
25112         * NEWS: Updated.
25114 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
25116         * sysdeps/aarch64/strrchr.S: New file.
25117         * NEWS: Updated.
25119 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
25121         [BZ #17658]
25122         * stdlib/setenv.c: Fix memory leak when setting large,
25123         duplicate string.
25125 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
25127         [BZ #17273]
25128         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
25129         and tabs from buffer before parsing fstab entry.
25130         * misc/tst-mntent.c (main): Add test for mount entry with
25131         trailing spaces and tabs.
25133 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
25135         [BZ #17748]
25136         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
25137         * math/fesetround.c (fesetround): Rename to __fesetround and
25138         define as weak alias of __fesetround.  Use libm_hidden_weak.
25139         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
25140         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
25141         * sysdeps/arm/fesetround.c (fesetround): Likewise.
25142         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
25143         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
25144         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
25145         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
25146         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
25147         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
25148         __fesetround_inline.
25149         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
25150         __fesetround_inline instead of __fesetround.
25151         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
25152         __fesetround and define as weak alias of __fesetround.  Use
25153         libm_hidden_weak.  Call __fesetround_inline instead of
25154         __fesetround.
25155         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
25156         __fesetround and define as weak alias of __fesetround.  Use
25157         libm_hidden_weak.
25158         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
25159         Likewise.
25160         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
25161         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25162         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
25163         * sysdeps/tile/math_private.h (__fesetround): New inline function.
25164         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
25165         __fesetround and define as weak alias of __fesetround.  Use
25166         libm_hidden_weak.
25167         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
25168         __fesetround instead of fesetround.
25169         (default_libc_feholdexcept_setround): Likewise.
25170         (libc_feholdsetround_ctx): Likewise.
25171         (libc_feholdsetround_noex_ctx): Likewise.
25173         [BZ #17748]
25174         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
25175         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
25176         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
25177         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
25178         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25179         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
25180         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25181         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
25182         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25183         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25184         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25185         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25186         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25187         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25188         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
25189         libm_hidden_def.
25190         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
25191         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
25192         Likewise.
25193         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25194         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25195         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
25196         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25197         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
25198         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
25199         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
25200         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
25201         __fesetenv instead of fesetenv.
25202         (libc_feresetround_noex_ctx): Likewise.
25203         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
25204         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
25205         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
25206         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
25207         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
25208         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
25209         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25210         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
25211         (__feupdateenv): Likewise.
25212         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25213         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25214         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25215         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
25217 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
25219         [BZ #17806]
25220         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
25221         addresses have been freed.
25223 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
25225         * resolv/res_init.c (__res_vinit): Improve comments about nserv
25226         and nservall.
25228 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
25230         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
25231         Clean up check_pf allocation pattern. addresses
25233 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25235         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
25236         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
25237         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
25238         * nptl/pthread_exit.c (__pthread_exit): Likewise.
25239         * nptl/pthread_join.c (pthread_join): Likewise.
25240         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
25241         * sysdeps/posix/waitid.c (__waitid): Likewise.
25242         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
25243         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
25244         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
25245         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
25246         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
25247         Likewise.
25248         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
25249         (__libc_pread64): Likewise.
25250         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
25251         (__libc_pwrite): Likewise.
25252         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
25253         (__libc_pwrite64): Likewsie.
25254         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
25255         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
25256         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
25257         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
25258         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
25259         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
25260         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
25262         Likewise.
25263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25264         (__libc_pread64): Likewise.
25265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
25266         Likewise.
25267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25268         (__libc_pwrite64): Likewise.
25269         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
25270         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
25271         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
25272         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
25273         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
25274         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
25275         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
25276         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
25277         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
25278         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
25279         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
25280         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
25281         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
25282         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
25283         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25284         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
25285         Likewise.
25287 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
25289         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
25290         (CFLAGS-test-double.c): Likewise.
25291         (CFLAGS-test-ldouble.c): Likewise.
25292         (CPPFLAGS-test-ifloat.c): Likewise.
25293         (CPPFLAGS-test-idouble.c): Likewise.
25294         (CPPFLAGS-test-ildoubl.c): Likewise.
25295         (CFLAGS-test-test-fenv.c): Remove variable.
25296         (CFLAGS-test-misc.c): Likewise.
25298 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
25300         [BZ #17797]
25301         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
25302         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
25303         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
25304         CLOCKS_PER_SEC == 1000000.
25305         * time/clocktest.c (main): Replace %ld with %jd and cast to
25306         intmax_t.
25308 2015-01-05  Roland McGrath  <roland@hack.frob.com>
25310         * sysdeps/generic/unwind-resume.h: New file.
25311         * sysdeps/gnu/unwind-resume.c: Include it.
25312         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
25313         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
25314         argument list.
25315         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
25316         global rather than static.
25317         (_Unwind_Resume): Update user.
25318         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
25319         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
25320         rather than static.  Add __attribute__ ((cold)).
25321         (_Unwind_Resume, __gcc_personality_v0): Update callers.
25322         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
25323         * sysdeps/arm/arm-unwind-resume.S: New file.
25324         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
25325         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
25326         * sysdeps/arm/Makefile [$(subdir) = csu]
25327         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
25328         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
25329         Add rt-arm-unwind-resume.
25330         [$(subdir) = nptl]
25331         (libpthread-sysdep_routines, libpthread-shared-only-routines):
25332         Add pt-arm-unwind-resume.
25333         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
25334         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
25336 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25338         [BZ #17748]
25339         * include/fenv.h (__feholdexcept): Declare.  Use
25340         libm_hidden_proto.
25341         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
25342         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
25343         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25344         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
25345         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
25346         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
25347         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
25348         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25349         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
25350         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
25351         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25352         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
25353         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
25354         (feholdexcept): Likewise.
25355         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25356         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
25357         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25358         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25359         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
25360         __feholdexcept instead of feholdexcept.
25361         (default_libc_feholdexcept_setround): Likewise.
25363 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25365         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
25366         to avoid using stl/str to align destination.
25368 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25370         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
25372 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25374         [BZ #17796]
25375         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
25376         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
25377         Define as weak alias not strong alias.
25379 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25381         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
25382         bltzal with addiupc.
25383         (RTLD_START): Ditto.
25385 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
25387         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
25388         for __vdso_* functions in declarations.
25389         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
25390         definitions.
25391         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
25392         INTERNAL_VSYSCALL): Use struct return types to check for error.
25394         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
25395         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
25396         function with cast from llround().
25397         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
25398         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
25399         Define.
25401 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25403         [BZ #17793]
25404         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
25405         Define as weak alias not strong alias.
25407         [BZ #17635]
25408         * ctype/ctype-c99.c: New file.  isblank implementation moved from
25409         ...
25410         * ctype/ctype-extn.c: ... here.
25411         (__isblank_l): Move to ...
25412         * ctype/ctype-c99_l.c: ... here.  New file.
25413         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
25414         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
25415         Remove variable.
25416         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25417         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25418         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25419         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25420         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25422         [BZ #17777]
25423         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
25424         (posix_fadvise64): Define as weak alias not strong alias.
25425         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25426         (posix_fallocate64): Likewise.
25427         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
25428         Remove variable.
25429         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25430         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25431         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25432         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25433         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25435 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
25437         [BZ #16191]
25438         * NEWS: Mention bug fix.
25439         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
25440         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
25441         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
25442         (HOST_STACK_END_ADDR): Likewise.
25444 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25446         [BZ #17748]
25447         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
25448         * math/fegetround.c (fegetround): Rename to __fegetround and
25449         define as weak alias of __fegetround.  Use libm_hidden_weak.
25450         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
25451         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
25452         * sysdeps/arm/fegetround.c (fegetround): Likewise.
25453         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
25454         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
25455         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
25456         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
25457         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
25458         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
25459         Undefine after rather than before function definition; use
25460         parentheses around function name in definition.
25461         (__fegetround): Also undefine macro after function definition.
25462         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
25463         __fegetround and define as weak alias of __fegetround.  Use
25464         libm_hidden_weak.  Do not undefine as macro.
25465         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
25466         Likewise.
25467         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
25468         __fegetround and define as weak alias of __fegetround.  Use
25469         libm_hidden_weak.
25470         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25471         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
25472         * sysdeps/tile/math_private.h (__fegetround): New inline function.
25473         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
25474         __fegetround and define as weak alias of __fegetround.  Use
25475         libm_hidden_weak.
25476         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
25477         __fegetround instead of fegetround.
25479         [BZ #17782]
25480         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
25481         Condition macro definition on [__USE_MISC].
25483         [BZ #17781]
25484         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
25485         (struct sigaction): Change type of sa_flags field to int.
25487         [BZ #17780]
25488         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
25489         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
25490         __glibc_reserved0.
25492         * nptl/version.c (banner): Use single year in copyright notice.
25494         * NEWS: Update copyright dates.
25495         * catgets/gencat.c (print_version): Likewise.
25496         * csu/version.c (banner): Likewise.
25497         * debug/catchsegv.sh: Likewise.
25498         * debug/pcprofiledump.c (print_version): Likewise.
25499         * debug/xtrace.sh (do_version): Likewise.
25500         * elf/ldconfig.c (print_version): Likewise.
25501         * elf/ldd.bash.in: Likewise.
25502         * elf/pldd.c (print_version): Likewise.
25503         * elf/sotruss.sh: Likewise.
25504         * elf/sprof.c (print_version): Likewise.
25505         * iconv/iconv_prog.c (print_version): Likewise.
25506         * iconv/iconvconfig.c (print_version): Likewise.
25507         * locale/programs/locale.c (print_version): Likewise.
25508         * locale/programs/localedef.c (print_version): Likewise.
25509         * login/programs/pt_chown.c (print_version): Likewise.
25510         * malloc/memusage.sh (do_version): Likewise.
25511         * malloc/memusagestat.c (print_version): Likewise.
25512         * malloc/mtrace.pl: Likewise.
25513         * manual/libc.texinfo: Likewise.
25514         * nptl/version.c (banner): Likewise.
25515         * nscd/nscd.c (print_version): Likewise.
25516         * nss/getent.c (print_version): Likewise.
25517         * nss/makedb.c (print_version): Likewise.
25518         * posix/getconf.c (main): Likewise.
25519         * scripts/test-installation.pl: Likewise.
25520         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25522 2015-01-02  Will Newton  <will.newton@linaro.org>
25524         * sysdeps/arm/armv7/configure: Removed.
25525         * sysdeps/arm/armv7/configure.ac: Likewise.
25527 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25529         * All files with FSF copyright notices: Update copyright dates
25530         using scripts/update-copyrights.
25531         * intl/plural.c: Regenerated.
25532         * locale/programs/charmap-kw.h: Likewise.
25533         * locale/programs/locfile-kw.h: Likewise.
25535 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25537         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
25539 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25541         [BZ #17748]
25542         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
25543         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
25544         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25545         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25546         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25547         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
25548         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25549         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
25550         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25551         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25552         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25553         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25554         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25555         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25556         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
25557         libm_hidden_def.
25558         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
25559         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
25560         Likewise.
25561         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25562         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25563         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
25564         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25565         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
25566         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25567         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25568         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
25569         __fegetenv instead of fegetenv.
25570         (libc_feholdsetround_noex_ctx): Likewise.
25572 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
25574         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
25575         (Elf_MIPS_ABIFlags_v0): New structure.
25576         (EF_MIPS_FP64): Define.
25577         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
25578         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
25579         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
25580         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
25581         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
25582         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
25583         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
25584         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
25585         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
25586         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
25587         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
25588         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
25589         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
25590         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
25591         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
25592         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
25593         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
25594         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
25595         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
25596         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
25597         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
25598         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
25599         field.
25600         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
25601         EF_MIPS_FP64.
25602         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
25603         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
25604         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
25605         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
25606         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
25607         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
25608         * sysdeps/mips/tst-abi-interlink.c: Likewise.
25609         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
25610         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
25611         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
25612         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
25613         record the current FP ABI extension.
25614         (mips-mode-switch): Define to show if kernel headers support mode
25615         switching.
25616         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25617         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
25618         supported SYSV ABI version to 3.
25619         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
25620         feature.
25622 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25623             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25625         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
25626         path.
25627         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
25629 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25631         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
25632         __fegetround and redefine to call __fegetround.  Remove condition
25633         on [!__NO_MATH_INLINES].
25634         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
25635         function.
25636         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
25637         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25638         Remove macro.
25639         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
25640         instead of <fenv_libc.h>.
25641         (__llrintl): Call fegetround instead of __fegetround.
25642         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
25643         instead of <fenv_libc.h>.
25644         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25645         (__lrintl): Call fegetround instead of __fegetround.
25646         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
25647         instead of <fenv_libc.h>.
25648         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25649         (__rintl): Call fegetround instead of __fegetround.
25651 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25653         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
25654         arrays.
25656 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
25658         [BZ #17775]
25659         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
25660         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
25661         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
25663 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25665         * sysdeps/i386/tls-macros.h: Include <features.h>.
25666         (TLS_LE): Use non-PIC version for GCC >= 5.0.
25667         (TLS_IE): Likewise.
25668         (TLS_LD): Likewise.
25669         (TLS_GD): Likewise.
25670         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
25671         define for GCC >= 5.0.
25673 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
25675         * math/test-fenv.c (test_single_exception, set_single_exc,
25676         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
25677         feexcp_mask_test, feenable_test, fe_single_test): Add
25678         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
25679         case where they are not used.
25680         * math/libm-test.inc: Likewise.
25681         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
25682         unused in the absence of FP rounding/exception support.
25683         * stdio-common/tst-printf-round.c: Likewise.
25684         * stdlib/tst-strtod-round.c: Likewise.
25685         * stdlib/tst-strtod-underflow.c: Likewise.
25687 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
25689         [BZ #17723]
25690         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
25691         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
25692         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25693         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25694         libm_hidden_weak.
25695         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
25696         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25697         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
25698         libm_hidden_def.
25699         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25700         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25701         libm_hidden_weak.
25702         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
25703         Likewise.
25704         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
25705         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25706         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25707         libm_hidden_weak.
25708         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
25709         libm_hidden_def.
25710         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25711         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
25712         (__feraiseexcept): Likewise.
25713         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25714         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25715         libm_hidden_weak.
25716         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25717         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
25718         libm_hidden_def.
25719         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
25720         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
25721         Use libm_hidden_def.
25722         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
25723         libm_hidden_def.
25724         (feraiseexcept): Define as weak not strong alias.  Use
25725         libm_hidden_weak.
25726         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
25727         New inline function.  Factored out of ...
25728         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
25729         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
25730         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
25731         feraiseexcept.
25732         * math/w_acos.c (__acos): Likewise.
25733         * math/w_asin.c (__asin): Likewise.
25734         * math/w_ilogb.c (__ilogb): Likewise.
25735         * math/w_j0.c (y0): Likewise.
25736         * math/w_j1.c (y1): Likewise.
25737         * math/w_jn.c (yn): Likewise.
25738         * math/w_log.c (__log): Likewise.
25739         * math/w_log10.c (__log10): Likewise.
25740         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
25741         * sysdeps/aarch64/fpu/math_private.h
25742         (libc_feupdateenv_test_aarch64): Likewise.
25743         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
25744         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
25745         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
25746         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
25747         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
25748         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
25749         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
25750         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25751         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25752         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25754 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
25756         [BZ #17732]
25757         * io/test-utime.c (main): Replace %ld with %jd and cast to
25758         intmax_t.
25759         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
25760         * nptl/tst-mutex5.c: Include <stdint.h>.
25761         (do_test): Replace %ld with %jd and cast to intmax_t.
25762         * posix/tst-regex.c (run_test): Likewise.
25763         (run_test_backwards): Likewise.
25764         * rt/tst-clock.c: Include <stdint.h>.
25765         (clock_test): Replace %ld with %jd and cast to intmax_t.
25766         * rt/tst-cpuclock1.c: Include <stdint.h>.
25767         (do_test): Replace %lu with %ju and cast to uintmax_t.
25768         * rt/tst-cpuclock2.c: Include <stdint.h>.
25769         (do_test): Replace %lu with %ju and cast to uintmax_t.
25770         * rt/tst-mqueue1.c: Include <stdint.h>.
25771         (check_attrs): Replace %ld with %jd and cast to intmax_t.
25772         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
25773         intmax_t.
25774         * rt/tst-mqueue4.c (do_test): Likewise.
25775         * rt/tst-timer4.c: Include <stdint.h>.
25776         (check_ts): Replace %ld with %jd and cast to intmax_t.
25777         (do_test): Likewise.
25778         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
25779         and cast to intmax_t.
25780         * sysdeps/pthread/tst-timer.c (main): Likewise.
25781         * time/clocktest.c (main): Likewise.
25782         * time/tst-posixtz.c (do_test): Likewise.
25783         * timezone/tst-timezone.c (main): Likewise.
25785 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25786             H.J. Lu  <hongjiu.lu@intel.com>
25788         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
25789         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
25790         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
25791         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
25792         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
25793         version if bit_Fast_Unaligned_Load is set.
25794         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25795         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25796         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25797         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25798         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25799         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25800         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25801         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
25802         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
25803         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
25804         to 4.
25805         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
25806         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
25807         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
25808         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
25810 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
25812         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
25813         instead of #if to avoid a Wundef warning.
25814         * stdlib/tst-limits.c (do_test): Likewise.
25816         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
25817         parallel other exception macros.
25818         (fegetenv): Convert from macro to extern inline so that it applies
25819         retroactively to inline functions already seen by the compiler.
25820         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
25822         * posix/Makefile (before-compile): Use $(objpfx) for
25823         posix-conf-vars-def.h.
25825 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25827         * posix/getconf.c (main): Use size_t for type of I.
25828         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
25829         NSPEC.
25831         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
25832         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
25833         * posix/posix-envs.def: Likewise.
25834         * sysdeps/posix/sysconf.c: Likewise.
25835         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
25836         (specs): Remove array.
25837         * scripts/gen-posix-conf-vars.awk: Support generation of specs
25838         array.
25840         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
25841         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
25842         (__sysconf): Use CONF_IS_* macros.
25844         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
25845         ($(objpfx)posix-conf-vars-def.h): New target.
25846         * posix/posix-conf-vars.list: New file.
25847         * posix/posix-conf-vars.h: New file.
25848         * posix/confstr.c: Include posix-conf-vars.h.
25849         (confstr): Use CONF_IS_* macros.
25850         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
25851         CONF_IS_* macros.
25852         * scripts/gen-posix-conf-vars.awk: New file.
25854 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
25856         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
25857         fegetround): Add no-op macros to avoid linknamespace issues.
25859         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
25860         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
25862         * sysdeps/unix/sysv/linux/tile/sysdep.h
25863         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
25864         assembly-specific section to avoid a redefinition warning.
25866         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
25867         long before casting to pointer to avoid a cast warning.
25869 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
25871         * sysdeps/tile/tilegx/Implies: New file.
25873 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
25875         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
25877 2014-12-23  Florian Weimer  <fweimer@redhat.com>
25879         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
25881 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25883         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
25884         not define.
25885         * sysdeps/unix/sysv/linux/utimes.c: Do not include
25886         <kernel-features.h>.
25887         (__utimes) [__NR_utimes]: Make code unconditional.
25888         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
25889         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25890         (__ASSUME_UTIMES): Do not undefine.
25891         * sysdeps/unix/sysv/linux/tile/kernel-features.h
25892         (__ASSUME_UTIMES): Likewise.
25893         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25894         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
25895         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
25896         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
25898 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
25900         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
25902 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
25904         [BZ #17747]
25905         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
25906         alias to weak alias for j0l, y0l.
25907         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
25908         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
25910         [BZ #17746]
25911         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
25912         conversion.
25914 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
25916         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
25917         to zero if not already defined.
25919 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25921         [BZ #17724]
25922         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
25923         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
25924         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
25925         (char *) casts added.
25926         * sysdeps/ieee754/k_standardf.c: New file.
25927         * sysdeps/ieee754/k_standardl.c: Likewise.
25928         * math/Makefile (libm-support): Remove k_standard.
25929         (libm-calls): Add k_standard.
25931 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25933         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25934         Optimize to avoid an unnecessary FPCR read.
25936 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25938         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
25939         Optimize to reduce FPCR/FPSR accesses.
25941 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25943         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
25944         Call libc_fetestexcept_aarch64.
25946 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25948         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
25949         Call libc_fesetround_aarch64.
25951 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25953         [BZ #17733]
25954         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
25955         (__bind): Do not define as weak alias.
25956         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
25957         define.
25958         (__getsockname): Do not define as weak alias.
25960 2014-12-22  Will Newton  <will.newton@linaro.org>
25962         * manual/install.texi: Document that we require bison 2.7
25963         or above.
25964         * INSTALL: Regenerate.
25965         * configure.ac: Use AC_CHECK_PROG_VER instead of
25966         AC_PATH_PROG when checking for bison and check for
25967         version 2.7 or above.
25968         * configure: Regenerate.
25970 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
25972         [BZ #17745]
25973         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
25974         * sysdeps/tile/ffsll.c (ffsll): To here.
25976         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
25978 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
25980         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
25981         if not defined.
25982         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
25983         definition.
25984         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
25985         hidden ___tls_get_addr.
25986         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
25987         hidden __tls_get_addr.
25988         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
25989         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
25990         Likewise.
25992 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
25994         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
25995         _dl_init call.
25997 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
25999         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
26000         from "call _dl_init@PLT".
26001         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
26003 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
26005         * manual/search.texi: (Array Sort Function): Clarify stable sorting
26006         guarantees.
26008 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
26010         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
26012 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
26014         [BZ #17744]
26015         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
26016         strnlen.
26018 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
26020         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
26021         of multu on MIPSr6.
26022         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
26023         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
26024         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
26025         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
26026         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
26028 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
26030         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
26031         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
26032         (PTR_SUBU): Use subu for mips32r6/mips64r6.
26033         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
26034         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
26035         mips32r6/mips64r6.
26036         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
26038 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
26040         * string/strncat.c (STRNCAT): Simplify implementation.
26042 2014-12-19  David S. Miller  <davem@davemloft.net>
26044         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
26045         access the quad as both a long double and as a series of 4 words.
26047         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
26048         link_map->l_info array access.
26050 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
26052         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
26054         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
26055         * math/atest-exp2.c (TIMEOUT): Likewise.
26056         * math/atest-sincos.c (TIMEOUT): Likewise.
26058 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26060         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
26061         -Wno-error with -fno-builtin-lround.
26063 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26065         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
26066         Contains futex constants and functions moved over from ...
26067         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
26068         <lowlevellock-futex.h>.
26069         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
26070         (lll_timedwait_tid): Add comments and parentheses around macro
26071         arguments.
26073 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26075         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
26076         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
26077         (__lll_private_flag): Remove.
26078         (lll_futex_wait): Likewise.
26079         (lll_futex_timed_wait): Likewise.
26080         (lll_futex_wake): Likewise.
26081         (lll_futex_requeue): Likewise.
26082         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
26083         (__lll_timedwait_tid): Spell out argument names.
26084         (lll_timedwait_tid): Add comments and parentheses around macro
26085         arguments.
26086         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
26087         LLL_SHARED and LLL_PRIVATE usable from assembly code.
26089 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26091         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
26092         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
26093         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26094         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
26095         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
26096         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
26097         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
26098         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
26099         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
26100         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
26101         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
26102         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
26103         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
26104         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
26105         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
26106         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
26107         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
26108         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
26109         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
26111 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26113         * sysdeps/x86_64/x32/Makefile: New file.
26115 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26117         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
26118         1L with (mp_limb_t) 1.
26120 2014-12-17  Roland McGrath  <roland@hack.frob.com>
26122         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
26123         * nptl/libc_pthread_init.c: ... here.
26124         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
26125         * nptl/register-atfork.c: ... here.
26127         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
26128         Use pthread_sigmask rather than INTERNAL_SYSCALL.
26129         Use assert_perror to check its return value.
26130         (__gai_create_helper_thread): Likewise.
26132         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
26134         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
26136 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
26138         [BZ #17725]
26139         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
26140         __profil_counter.
26141         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
26142         Likewise.
26143         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
26144         Likewise.
26145         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
26146         Likewise.
26147         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
26148         (profil_counter): Likewise.
26149         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
26150         (profil_counter): Likewise.
26151         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
26152         Likewise.
26153         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
26154         Likewise.
26155         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
26156         (profil_counter): Likewise.
26157         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
26158         Likewise.
26159         [!__profil_counter] (profil_counter): Define as weak alias of
26160         __profil_counter.
26161         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
26162         (profil_counter): Rename to __profil_counter.
26163         [!__profil_counter] (profil_counter): Define as weak alias of
26164         __profil_counter.
26165         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
26166         (profil_counter): Rename to __profil_counter.
26167         [!__profil_counter] (profil_counter): Define as weak alias of
26168         __profil_counter.
26169         * sysdeps/posix/profil.c: Update comment referring to
26170         profil_counter.
26171         (__profil): Use __profil_counter instead of profil_counter.
26172         * sysdeps/posix/sprofil.c (profil_counter): Rename to
26173         __profil_counter.  Use __profil_counter_ushort and
26174         __profil_counter_uint in definitions.
26175         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
26176         instead of profil_counter_uint and profil_counter_ushort.
26178         [BZ #17722]
26179         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
26180         define as weak alias of __inet_makeaddr.
26181         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
26182         as weak alias of __inet_addr.
26183         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
26184         as weak alias of __inet_pton.  Use libc_hidden_weak.
26185         * include/arpa/inet.h (__inet_pton): Declare.  Use
26186         libc_hidden_proto.
26187         (inet_makeaddr): Don't use libc_hidden_proto.
26188         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
26189         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
26190         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
26191         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
26192         Remove variable.
26193         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
26194         (test-xfail-POSIX/time.h/linknamespace): Likewise.
26196 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
26198         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
26200 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26202         * stdio-common/bug-vfprintf-nargs.c (do_test):
26203         Cast value to intptr_t to avoid format warning
26204         for usage with PRIdPTR printing macro.
26206 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26208         * libio/tst-widetext.c (do_test):
26209         Use format type %td instead of %Zd for ptrdiff_t
26210         in order to avoid format warning.
26212 2014-12-17  Andreas Schwab  <schwab@suse.de>
26214         * nscd/mem.c (gc): Add size_t cast to match printf format.
26216 2014-12-16  Roland McGrath  <roland@hack.frob.com>
26218         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
26219         (init): Apply PTR_MANGLE to pointers before storing them.
26220         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
26221         before using them.
26223 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
26225         [BZ #17719]
26226         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
26227         define as weak alias of __memrchr.
26228         (__memrchr): Do not define as strong alias of memrchr.
26229         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
26230         Remove variable.
26231         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
26232         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
26233         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
26235         [BZ #17717]
26236         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
26237         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
26238         (if_indextoname): Rename to __if_indextoname and define as weak
26239         alias of __if_indextoname.  Use libc_hidden_weak.
26240         (if_freenameindex): Rename to __if_freenameindex and define as
26241         weak alias of __if_freenameindex.
26242         (if_nameindex): Rename to __if_nameindex and define as weak alias
26243         of __if_nameindex.
26244         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
26245         __if_nametoindex and define as weak alias of __if_nametoindex.
26246         Use libc_hidden_weak.
26247         (if_freenameindex): Rename to __if_freenameindex and define as
26248         weak alias of __if_freenameindex.
26249         (if_nameindex): Rename to __if_nameindex and define as weak alias
26250         of __if_nameindex.
26251         (if_indextoname): Rename to __if_indextoname and define as weak
26252         alias of __if_indextoname.  Use libc_hidden_weak.
26253         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
26254         __if_nametoindex and define as weak alias of __if_nametoindex.
26255         Use libc_hidden_weak.
26256         (if_freenameindex): Rename to __if_freenameindex and define as
26257         weak alias of __if_freenameindex.  Use libc_hidden_weak.
26258         (if_nameindex_netlink): Use __if_freenameindex instead of
26259         if_freenameindex.
26260         (if_nameindex): Rename to __if_nameindex and define as weak alias
26261         of __if_nameindex.  Use libc_hidden_weak.
26262         (if_indextoname): Rename to __if_indextoname and define as weak
26263         alias of __if_indextoname.  Use libc_hidden_weak.
26264         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
26265         libc_hidden_proto.
26266         [!_ISOMAC] (__if_freenameindex): Likewise.
26267         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
26268         if_nametoindex.
26269         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
26270         variable.
26271         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
26272         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
26273         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
26274         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
26275         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
26276         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
26277         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
26279         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
26280         Remove variable.
26281         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
26282         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
26284 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26286         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
26287         subscript above bounds'
26289         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
26290         bounds.
26292 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
26294         * libio/tst-fopenloc.c: Use test-skeleton.c.
26296         * stdlib/tst-bsearch.c: Use test-skeleton.c.
26297         (entry): Rename to ITEM.
26298         (do_test, comp): Adjust.
26300         * stdio-common/tst-fseek.c: Use test-skeleton.c.
26302 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26304         * string/tester.c: Include <libc-internal.h>.
26305         (test_memset): Ignore -Wmemset-transposed-args.
26307 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26309         * misc/tst-mntent2.c (do_test): Fix warning.
26311 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26313         * elf/tst-unique4lib.cc(a): Mark as used.
26315 2014-12-16  Florian Weimer  <fweimer@redhat.com>
26317         [BZ #17630]
26318         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
26319         names.
26321 2014-12-16  Allan McRae  <allan@archlinux.org>
26323         * stdio-common/Makefile (tests): Re-add bug26.
26325 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
26327         [BZ #17657]
26328         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
26329         static array.
26331 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
26333         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
26334         (__lll_lock_wait): Likewise.
26335         (__lll_timedlock_wait): Likewise.
26336         (__lll_timedwait_tid): Likewise.
26337         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
26338         (__lll_robust_timedlock_wait): Likewise.
26339         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
26340         (lll_cond_trylock): Likewise.
26341         (__lll_lock): Likewise.
26342         (__lll_robust_lock): Likewise.
26343         (__lll_cond_lock): Likewise.
26344         (lll_robust_cond_lock): Likewise.
26345         (__lll_timedlock): Likewise.
26346         (__lll_robust_timedlock): Likewise.
26347         (__lll_unlock): Likewise.
26348         (__lll_robust_unlock): Likewise.
26349         (lll_wait_tid): Likewise.
26350         (lll_timedwait_tid): Likewise.
26352 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26354         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
26356 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26358         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
26360 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26362         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
26363         * stdio-common/tst-sprintf.c: Likewise.
26365 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26367         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
26369 2014-12-15  Jeff Law  <law@redhat.com>
26371         [BZ #16617]
26372         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
26373         on the heap.  (CVE-2012-3406)
26374         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
26375         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
26376         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
26378 2014-12-15  Will Newton  <will.newton@linaro.org>
26380         * manual/install.texi: Bump required version of texinfo
26381         to 4.7 from 4.5.
26382         * INSTALL: Regenerated.
26383         * configure.ac: Check for makeinfo version 4.7 and above.
26384         * configure: Regenerated.
26386 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26388         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
26389         PREFIX, string constant to insert between directory and name.
26390         * sysdeps/posix/shm_open.c: Update caller.
26391         * sysdeps/posix/shm_unlink.c: Likewise.
26392         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
26393         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
26394         (SEM_SHM_PREFIX): New macro.
26395         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
26396         [$(have-thread-library) = no].
26397         * nptl/Makefile (libpthread-routines): Add shm-directory.
26398         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
26399         * sysdeps/nptl/shm-directory.h: New file.
26400         * sysdeps/posix/shm-directory.c
26401         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
26402         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
26403         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
26404         INTERNAL_SYSCALL.
26405         (__where_is_shmfs): Function removed.
26406         (mountpoint, defaultmount, defaultdir, __namedsem_once):
26407         Variables removed.
26408         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
26409         Use SHM_GET_NAME.
26410         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
26412         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
26413         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
26414         unconditional for use inside libpthread.
26415         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
26417 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26419         * nptl/pthread_getaffinity.c: New file.
26420         * nptl/pthread_setaffinity.c: New file.
26421         * nptl/pthread_getname.c: New file.
26422         * nptl/pthread_setname.c: New file.
26424         * nptl/pthread_create.c (START_THREAD_DEFN)
26425         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
26427 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26428             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26430         * resolv/res_send.c (send_vc): Disable warning resplen may
26431         be used uninitialized.
26433 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26435         * nptl/tst-mutex6.c
26436         (ATTR_NULL): New define checks ATTR against NULL.
26437         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
26438         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
26440 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
26442         [BZ #17581]
26443         * malloc/hooks.c
26444         (mem2mem_check): Revert my previous change.
26445         (malloc_check_get_size): Revert my previous change.
26446         (mem2chunk_check): Revert my previous change.
26448 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26450         * sysdeps/posix/shm-directory.c: New file.
26451         * sysdeps/posix/shm-directory.h: New file.
26452         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
26453         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
26454         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
26455         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
26456         Transmute EPERM to EACCES.
26457         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
26458         from ...
26459         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
26460         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
26462 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26464         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
26465         pointer and cast to uintptr_t.
26466         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
26467         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
26468         Add cast to avoid warning.
26469         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
26471 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26473         * nptl/semaphore.h: Move to ...
26474         * sysdeps/pthread/semaphore.h: ... here.
26475         * Makefile (installed-headers): Change nptl/semaphore.h to
26476         sysdeps/pthread/semaphore.h.
26478 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26480         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
26481         generated error format strings.
26483         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
26484         -Wformat-extra-args warnings for scanf formats.
26485         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
26486         test of zero-length format (duh).
26487         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
26488         corner-case scanf format test.
26489         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
26490         generated fprintf format string.
26491         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
26492         corner-case sprintf format tests.
26493         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
26494         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
26495         -Wformat-extra-args warnings throughout.
26496         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
26497         (CFLAGS-scanf4.c): Likewise.
26498         (CFLAGS-scanf7.c): Likewise.
26499         (CFLAGS-tst-sprintf.c): Likewise.
26500         (CFLAGS-tst-printf.c): Likewise.
26501         (CFLAGS-tst-printfsz.c): Likewise.
26503 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26505         * include/cpio.h: New file.
26506         * include/fmtmsg.h: Likewise.
26508         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
26509         corresponding format argument to size_t.
26510         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
26511         arguments.
26512         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
26513         corresponding format argument to size_t.
26514         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
26515         arguments.
26516         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
26517         corresponding format argument to size_t.
26518         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
26519         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
26520         (CFLAGS-tst-mbswcs2.c): Likewise.
26521         (CFLAGS-tst-mbswcs3.c): Likewise.
26522         (CFLAGS-tst-mbswcs4.c): Likewise.
26523         (CFLAGS-tst-mbswcs5.c): Likewise.
26524         (CFLAGS-tst-trans.c): Likewise.
26526 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26528         * posix/regexbug1.c (main): Use "%s" format with regerror results,
26529         rather than assuming they won't contain any '%'s.
26531 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
26533         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
26534         inhibit_loop_to_libcall to avoid recursive calls.
26535         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
26536         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
26538 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26540         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
26541         prototype.
26543 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26545         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
26546         integer value instead of boolean.
26548 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26550         * malloc/malloc.c: Fix powerof2 check.
26552 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26554         * locale/programs/locfile.h (maybe_swap_uint32):
26555         Remove inline and add unused attribute.
26557 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26559         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
26560         Truncating assembler expression to a .long expression.
26562 2014-12-11  Andreas Schwab  <schwab@suse.de>
26564         * elf/rtld.c (struct map_args): Constify str member.
26565         (do_preload): Constify fname argument.
26567 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26569         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
26570         constants definition.
26572 2014-12-11  Andreas Schwab  <schwab@suse.de>
26574         [BZ #16657]
26575         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
26576         FORCE_ELISION instead of DO_ELISION.
26577         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
26578         Remove.
26579         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
26580         Likewise.
26582         * iconvdata/gconv-modules: Remove duplicate entry.
26584 2014-12-11  Will Newton  <will.newton@linaro.org>
26586         Merge gettext 0.19.3 into intl/.
26588         This involves a number of cosmetic changes to comments
26589         and ANSI function definitions and prototypes throughout
26590         all the files. The gettext copyright header is used but
26591         with the date ranges taken from the glibc copy.
26593         * NEWS: Add gettext merge to 2.21.
26594         * intl/bindtextdom.c: Switch to gettext copyright.
26595         Use ANSI definitions and prototypes.
26596         Use gl_* locking primitives rather than __libc_* ones.
26597         Use __builtin_expect rather than __glibc_likely/unlikely.
26598         * intl/dcgettext.c: Switch to gettext copyright.
26599         Use ANSI definitions and prototypes.
26600         * intl/dcigettext.c: Switch to gettext copyright.
26601         Use ANSI definitions and prototypes.
26602         (INTDIV0_RAISES_SIGFPE): New define.
26603         Use gl_* locking primitives rather than __libc_* ones.
26604         Include eval-plural.h instead of plural-eval.c.
26605         Use __builtin_expect rather than __glibc_likely/unlikely.
26606         * intl/dcngettext.c: Switch to gettext copyright.
26607         Use ANSI definitions and prototypes.
26608         * intl/dgettext.c: Likewise.
26609         * intl/dngettext.c: Likewise.
26610         * intl/plural-eval.c: Renamed to...
26611         * intl/eval-plural.h: ...this.
26612         * intl/explodename.c: Switch to gettext copyright.
26613         Use ANSI definitions and prototypes.
26614         (_nl_explode_name): Use strchr instead of __rawmemchr.
26615         * intl/finddomain.c: Switch to gettext copyright.
26616         Use ANSI definitions and prototypes.
26617         Use gl_* locking primitives rather than __libc_* ones.
26618         (_nl_find_domain): Use malloc rather than alloca for
26619         allocation of temporary locale name.
26620         * intl/gettext.c: Switch to gettext copyright.
26621         Use ANSI definitions and prototypes.
26622         * intl/gettextP.h: Switch to gettext copyright.
26623         Use ANSI definitions and prototypes.
26624         Use gl_* locking primitives rather than __libc_* ones.
26625         * intl/gmo.h: Switch to gettext copyright.
26626         (struct sysdep_string): Move struct segment_pair outside of
26627         struct definition.
26628         * intl/hash-string.c: Use ANSI definitions and prototypes.
26629         * intl/hash-string.h: Switch to gettext copyright.
26630         Use ANSI definitions and prototypes.
26631         * intl/l10nflist.c: Switch to gettext copyright.
26632         Use ANSI definitions and prototypes.
26633         (_nl_normalize_codeset): Avoid integer overflow.
26634         * intl/loadinfo.h: Switch to gettext copyright.
26635         Use ANSI definitions and prototypes.
26636         (LIBINTL_DLL_EXPORTED): New define.
26637         (PATH_SEPARATOR): New define.
26638         * intl/loadmsgcat.c: Switch to gettext copyright.
26639         * intl/localealias.c: Switch to gettext copyright.
26640         Use ANSI definitions and prototypes.
26641         (_nl_expand_alias): Use PATH_SEPARATOR.
26642         * intl/ngettext.c: Switch to gettext copyright.
26643         Use ANSI definitions and prototypes.
26644         * intl/plural-exp.c: Likewise.
26645         * intl/plural-exp.h: Switch to gettext copyright.
26646         Use ANSI definitions and prototypes.
26647         (struct expression): Move definition of enum operator outside
26648         of struct definition.
26649         * intl/plural.c: Regenerate.
26650         * intl/plural.y: Switch to gettext copyright.
26651         Use ANSI definitions and prototypes.
26652         Port to bison 3.0.
26653         * intl/textdomain.c: Switch to gettext copyright.
26654         Use ANSI definitions and prototypes.
26655         Use gl_* locking primitives rather than __libc_* ones.
26657 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
26659         * debug/warning-nop.c: Add used atrribute.
26661 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26663         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
26665         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
26666         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
26667         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
26669 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26670             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26672         [BZ #17634]
26673         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
26674         Undefine after defining function.  Define as weak alias of
26675         __wcschr.  Use libc_hidden_weak.
26676         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
26677         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
26678         (libc_hidden_def): Also define __GI___wcschr alias.
26679         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
26680         __wcschr and define as weak alias of __wcschr.
26681         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
26682         __wcschr.
26683         [!WCSCHR] (DEFAULT_WCSCHR): Define.
26684         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
26685         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
26686         libc_hidden_weak.  Do not use libc_hidden_def.
26687         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
26688         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
26689         __GI___wcschr alias.
26690         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
26691         [IS_IN (libc)] (wcschr): Define as macro expanding to
26692         __redirect_wcschr.
26693         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
26694         [IS_IN (libc)] (__wcschr_power6): Likewise.
26695         [IS_IN (libc)] (__wcschr_power7): Likewise.
26696         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
26697         instead of wcschr.
26698         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
26699         __libc_wcschr.
26700         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
26701         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
26702         __wcschr and define as weak alias of __wcschr.  Use
26703         libc_hidden_builtin_def.
26704         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
26705         as weak alias of __wcschr.  Use libc_hidden_weak.
26706         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
26707         wcschr.
26708         * time/era.c (_nl_init_era_entries): Likewise.
26709         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
26710         variable.
26711         (test-xfail-XPG3/time.h/linknamespace): Likewise.
26712         (test-xfail-XPG4/time.h/linknamespace): Likewise.
26714 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26716         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
26717         format for long int variable.
26719 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
26721         [BZ #10672]
26722         * manual/search.texi: (Array Sort Function): Remove claim how to make
26723         qsort stable.
26725 2014-12-10  Andreas Schwab  <schwab@suse.de>
26727         [BZ #12847]
26728         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
26729         user-controlled locks.
26731 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
26733         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
26734         register.
26736 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26738         * configure.ac (--disable-werror): New configure option.
26739         (enable_werror): New AC_SUBST.
26740         * configure: Regenerated.
26741         * config.make.in (enable-werror): New variable.
26742         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
26743         -Wno-error=undef.
26744         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
26745         * manual/install.texi (Configuring and compiling): Document
26746         --disable-werror.
26747         * INSTALL: Regenerated.
26748         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
26749         (CFLAGS-tst-chk2.c): Likewise.
26750         (CFLAGS-tst-chk3.c): Likewise.
26751         (CFLAGS-tst-chk4.cc): Likewise.
26752         (CFLAGS-tst-chk5.cc): Likewise.
26753         (CFLAGS-tst-chk6.cc): Likewise.
26754         (CFLAGS-tst-lfschk1.c): Likewise.
26755         (CFLAGS-tst-lfschk2.c): Likewise.
26756         (CFLAGS-tst-lfschk3.c): Likewise.
26757         (CFLAGS-tst-lfschk4.cc): Likewise.
26758         (CFLAGS-tst-lfschk5.cc): Likewise.
26759         (CFLAGS-tst-lfschk6.cc): Likewise.
26761         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
26762         (main): Disable -Wdeprecated-declarations around calls to
26763         register_printf_function.
26765         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
26766         (do_test): Disable -Wdiv-by-zero around some calls to
26767         fwrite_unlocked and fread_unlocked.
26769         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
26770         (DIAG_POP_NEEDS_COMMENT): Likewise.
26771         (_DIAG_STR1): Likewise.
26772         (_DIAG_STR): Likewise.
26773         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
26774         * stdio-common/bug21.c: Include <libc-internal.h>.
26775         (do_test): Disable -Wformat around call to sscanf.
26776         * stdio-common/scanf14.c: Include <libc-internal.h>.
26777         (main): Disable -Wformat around some calls to scanf functions.
26779 2014-12-09  Torvald Riegel  <triegel@redhat.com>
26781         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
26783 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26785         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
26786         stack variable alignment.
26788 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
26790         [BZ #17682]
26791         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
26792         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
26793         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
26794         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
26795         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
26796         __getrlimit instead of getrlimit.
26797         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
26798         __gettimeofday instead of gettimeofday.
26799         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26800         Likewise.
26801         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
26802         Likewise.
26803         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26804         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
26805         Remove variable.
26806         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
26807         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
26809 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26811         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
26812         for wide-character tests.
26814 2014-12-04  Roland McGrath  <roland@hack.frob.com>
26816         * io/openat64.c: #include <libc-internal.h>
26817         (__openat64): Prototypify.  Use ignore_value on MODE.
26818         * io/openat.c: Likewise.
26819         * misc/reboot.c: #include <libc-internal.h>
26820         (reboot): Prototypify.  Use ignore_value on HOWTO.
26821         * misc/ptrace.c: #include <libc-internal.h>
26822         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
26824 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
26826         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
26827         XPG4, UNIX98 and XOPEN2K.
26828         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
26829         Remove variable.
26830         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
26832 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26834         * libio/fileops.c: Use ISO C style for function definitions.
26835         * libio/iofopen.c: Likewise.
26836         * libio/wfileops.c: Likewise.
26838         [BZ #17653]
26839         * libio/fileops.c (_IO_new_file_underflow): Unset cached
26840         offset on EOF.
26841         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
26842         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
26843         (fgets_func): Function pointer to fgets and fgetws.
26844         (do_ftell_test): Add test to verify ftell value after read
26845         EOF.
26846         (do_test): Set fgets_func.
26848         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
26849         O_TRUNC flag for w and w+ modes.
26850         (do_rewind_test): Likewise.
26851         (do_ftell_test): Likewise.
26852         (do_write_test): Likewise.
26854         [BZ #17647]
26855         * libio/fileops.c (do_ftell): Seek only when there are
26856         unflushed writes.
26857         * libio/wfileops.c (do_ftell_wide): Likewise.
26858         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
26859         test case.
26860         (do_one_test): Call it.
26862 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
26864         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
26865         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
26866         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
26867         Remove variable.
26868         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
26869         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
26870         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
26872 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
26874         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
26875         Remove variable.
26876         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
26878         [BZ #17668]
26879         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
26880         as weak alias of __getifaddrs.  Use libc_hidden_weak.
26881         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26882         __freeifaddrs.  Use libc_hidden_weak.
26883         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
26884         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
26885         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26886         __freeifaddrs.  Use libc_hidden_weak.
26887         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
26888         __getifaddrs and define as weak alias of __getifaddrs.  Use
26889         libc_hidden_weak.
26890         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26891         __freeifaddrs.  Use libc_hidden_weak.
26892         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
26893         Remove variable.
26894         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
26895         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
26897 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
26899         [BZ #17601]
26900         * sysdeps/mips/start.S (__start): Use indirect jump to call
26901         __libc_start_main.
26903 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
26905         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
26907         * nptl/tst-mutex1.c: Include <stdbool.h>.
26908         [!ATTR] (ATTR_NULL): New macro.
26909         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
26910         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
26911         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
26913         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
26914         to char *.
26916         [BZ #17665]
26917         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
26918         Change conditional to [__USE_MISC].
26920         [BZ #17664]
26921         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
26922         fgets_unlocked.
26923         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
26924         __fgets_unlocked.
26925         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
26926         fgets_unlocked.
26927         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
26928         Remove variable.
26929         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
26930         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
26931         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
26932         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
26933         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
26934         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
26935         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
26936         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
26937         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
26939         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
26941 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26943         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26944         Remove strpbrk objects.
26945         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26946         (__libc_ifunc_impl_list): Remove strpbrk implementation.
26947         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
26948         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
26949         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
26950         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
26952         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26953         Remove strcspn objects.
26954         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26955         (__libc_ifunc_impl_list): Remove strcspn implementation.
26956         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
26957         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
26958         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
26959         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
26961         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26962         Remove strspn objetcs.
26963         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26964         (__libc_ifunc_impl_list): Remove strspn implementation.
26965         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
26966         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
26967         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
26968         * sysdeps/powerpc/powerpc64/strspn.S: New file.
26970 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
26972         [BZ #17581]
26973         * malloc/hooks.c
26974         (mem2mem_check): Add a terminator to the chain of checking blocks.
26975         (malloc_check_get_size): Use it here.
26976         (mem2chunk_check): Ditto.
26978 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26980         * sysdeps/powerpc/powerpc64/strtok.S: New file.
26981         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
26983 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
26985         * bits/ioctl-types.h: Indent preprocessor directives correctly.
26987         * nptl/nptl-init.c: Include libc-internal.h.
26988         (__pthread_initialize_minimal_internal): Use ROUND_UP.
26990         * elf/ldconfig.c (search_dir): Expand comment.
26992 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
26994         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
26995         variable.
26996         (linknamespace-symlist-stdlibs-tests): Likewise.
26997         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
26998         instead of $(objpfx)symlist-stdlibs.
26999         (linknamespace-libs-isoc): New variable.
27000         (linknamespace-libs): Use $(linknamespace-libs-isoc).
27001         (linknamespace-libs-ISO): New variable.
27002         (linknamespace-libs-ISO99): Likewise.
27003         (linknamespace-libs-ISO11): Likewise.
27004         (linknamespace-libs-XPG3): Likewise.
27005         (linknamespace-libs-XPG4): Likewise.
27006         (linknamespace-libs-POSIX): Likewise.
27007         (linknamespace-libs-UNIX98): Likewise.
27008         (linknamespace-libs-XOPEN2K): Likewise.
27009         (linknamespace-libs-POSIX2008): Likewise.
27010         (linknamespace-libs-XOPEN2K8): Likewise.
27011         ($(objpfx)symlist-stdlibs): Replace by
27012         $(linknamespace-symlist-stdlibs-tests).  Use
27013         $(linknamespace-libs-$*) as set of libraries.
27014         ($(linknamespace-header-tests)): Update dependencies.  Use
27015         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
27016         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
27017         * conform/linknamespace.pl: Remove comment about considering
27018         definitions of symbols from irrelevant libraries.
27020 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
27022         [BZ #13862]
27023         * elf/dl-tls.c: Include <atomic.h>.
27024         (oom): Remove #ifdef SHARED/#endif.
27025         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
27026         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
27027         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
27028         big enough.
27029         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
27030         * nptl/Makefile (tests): Add tst-stack4.
27031         (modules-names): Add tst-stack4mod.
27032         ($(objpfx)tst-stack4): New.
27033         (tst-stack4mod.sos): Likewise.
27034         ($(objpfx)tst-stack4.out): Likewise.
27035         ($(tst-stack4mod.sos)): Likewise.
27036         (clean): Likewise.
27037         * nptl/tst-stack4.c: New file.
27038         * nptl/tst-stack4mod.c: Likewise.
27040 2014-11-27  J. Brown  <jb999@gmx.de>
27042         * sysdeps/x86/bits/string.h: Add recent CPUs.
27044 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
27046         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
27047         sigblock.
27049         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
27050         feof.
27052         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
27053         variable.
27055 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
27057         * nscd/connections.c: Include libc-internal.h because of macro
27058         usage ignore_value.
27060 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27062         * string/bits/string3.h (__warn_memset_zero_len): Don't
27063         declare for gcc newer than 5.0.
27064         (memset): Don't test for zero-length __LEN for gcc newer than
27065         5.0.
27067 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
27069         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
27070         size_t for %zu format.
27072         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
27073         difference, not %ju.
27075 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
27077         * include/libc-internal.h (ignore_value): New macro.
27078         * nscd/connections.c (restart): Wrap calls to setuid and setgid
27079         with ignore_value.
27081         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
27082         definition.
27084         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
27085         pthread_cleanup_push to void *.
27087         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
27088         Undefine.
27090         [BZ #16619]
27091         [BZ #16740]
27092         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
27093         instead of 1L << 52.
27095         * libio/bug-rewind.c (do_test): Check fwscanf return values.
27096         * libio/bug-rewind2.c (do_test): Likewise.
27098         * debug/test-stpcpy_chk-ifunc.c: Remove file.
27099         * debug/test-strcpy_chk-ifunc.c: Likewise.
27100         * wcsmbs/test-wcschr-ifunc.c: Likewise.
27101         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27102         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27103         * wcsmbs/test-wcslen-ifunc.c: Likewise.
27104         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27105         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27106         * Rules [$(multi-arch) = no] (tests): Do not filter out
27107         $(tests-ifunc).
27108         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
27109         * debug/Makefile (tests-ifunc): Remove variable.
27110         (tests): Do not add $(tests-ifunc).
27111         * wcsmbs/Makefile (tests-ifunc): Remove variable.
27112         (tests): Do not add $(tests-ifunc).
27113         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
27114         [TEST_IFUNC]: Remove conditionals.
27115         * string/test-string.h (TEST_IFUNC): Remove macro.
27116         [TEST_IFUNC]: Remove conditionals.
27118         * string/test-strchr.c [!WIDE] (L): New macro.
27119         [WIDE] (L): Likewise.
27120         (check1): Use CHAR instead of char.  Use L on string and character
27121         constants.
27123 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
27125         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
27126         tests.
27127         * sysdeps/powerpc/bits/atomic.h
27128         (__arch_atomic_exchange_and_add_32_acq): Add definition.
27129         (__arch_atomic_exchange_and_add_32_rel): Likewise.
27130         (atomic_exchange_and_add_acq): Likewise.
27131         (atomic_exchange_and_add_rel): Likewise.
27132         * sysdeps/powerpc/powerpc32/bits/atomic.h
27133         (__arch_atomic_exchange_and_add_64_acq): Add definition.
27134         (__arch_atomic_exchange_and_add_64_rel): Likewise.
27135         * sysdeps/powerpc/powerpc64/bits/atomic.h
27136         (__arch_atomic_exchange_and_add_64_acq): Add definition.
27137         (__arch_atomic_exchange_and_add_64_rel): Likewise.
27139 2014-11-26  Torvald Riegel  <triegel@redhat.com>
27141         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
27142         Change synchronization of __sched_fifo_min_prio and
27143         __sched_fifo_max_prio.
27144         * nptl/pthread_mutexattr_getprioceiling.c
27145         (pthread_mutexattr_getprioceiling): Likewise.
27146         * nptl/pthread_mutexattr_setprioceiling.c
27147         (pthread_mutexattr_setprioceiling): Likewise.
27148         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
27149         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
27150         Likewise.
27152 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
27154         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
27155         void.
27157 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
27159         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
27160         third argument const.
27162 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
27164         fnmatch: work around GCC compiler warning bug with uninit var
27165         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
27166         This works around a bug with x86-64 GCC 4.9.2 and earlier
27167         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
27168         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
27169         used uninitialized in this function [-Wmaybe-uninitialized]".
27171 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
27173         * posix/bug-regex31.c (main): Return RES not 0.
27175 2014-11-25  Anton Blanchard <anton@samba.org>
27177         * sysdeps/powerpc/bits/atomic.h
27178         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
27180 2014-11-24  Sterling Augustine  <saugustine@google.com>
27182         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
27184 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
27186         [BZ #17608]
27187         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
27189 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
27191         [BZ #17633]
27192         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
27193         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
27194         variable.
27195         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
27196         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
27198 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
27200         * string/strncpy.c (strncpy): Improve performance by using memset.
27202 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
27204         * string/strcpy.c (strcpy):
27205         Improve performance by using strlen and memcpy.
27207 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
27209         * string/strcoll_l.c (get_next_seq): __always_inline.
27210         * string/strcoll_l.c (do_compare): __always_inline.
27212 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27214         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
27215         defined.
27216         * include/mqueue.h: Likewise.
27217         * include/stdlib.h: Likewise.
27219         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
27220         (get_null_defines): Adjust.
27221         * sunrpc/Makefile: Adjust comment.
27222         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
27223         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
27224         (CFLAGS-interp.c): Likewise.
27225         (CFLAGS-ldconfig.c): Likewise.
27226         (CPPFLAGS-.os): Likewise.
27227         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27228         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
27229         * extra-modules.mk (extra-modules.mk): Likewise.
27230         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
27231         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
27232         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
27233         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
27234         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
27235         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
27236         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
27237         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
27238         * iconvdata/Makefile (CPPFLAGS): Likewise.
27239         (cpp-srcs-left): Add libof for all iconvdata routines.
27240         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
27241         * include/assert.h: Likewise.
27242         * include/ctype.h: Likewise.
27243         * include/errno.h: Likewise.
27244         * include/libc-symbols.h: Likewise.
27245         * include/math.h: Likewise.
27246         * include/netdb.h: Likewise.
27247         * include/resolv.h: Likewise.
27248         * include/stdio.h: Likewise.
27249         * include/stdlib.h: Likewise.
27250         * include/string.h: Likewise.
27251         * include/sys/stat.h: Likewise.
27252         * include/wctype.h: Likewise.
27253         * intl/l10nflist.c: Likewise.
27254         * libidn/idn-stub.c: Likewise.
27255         * libio/libioP.h: Likewise.
27256         * nptl/libc_multiple_threads.c: Likewise.
27257         * nptl/pthreadP.h: Likewise.
27258         * posix/regex_internal.h: Likewise.
27259         * resolv/res_hconf.c: Likewise.
27260         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
27261         * sysdeps/arm/memmove.S: Likewise.
27262         * sysdeps/arm/sysdep.h: Likewise.
27263         * sysdeps/generic/_itoa.h: Likewise.
27264         * sysdeps/generic/symbol-hacks.h: Likewise.
27265         * sysdeps/gnu/errlist.awk: Likewise.
27266         * sysdeps/gnu/errlist.c: Likewise.
27267         * sysdeps/i386/i586/memcpy.S: Likewise.
27268         * sysdeps/i386/i586/memset.S: Likewise.
27269         * sysdeps/i386/i686/memcpy.S: Likewise.
27270         * sysdeps/i386/i686/memmove.S: Likewise.
27271         * sysdeps/i386/i686/mempcpy.S: Likewise.
27272         * sysdeps/i386/i686/memset.S: Likewise.
27273         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27274         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27275         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
27276         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
27277         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27278         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27279         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
27280         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27281         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27282         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27283         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27284         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27285         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27286         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27287         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27288         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27289         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
27290         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
27291         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
27292         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27293         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27294         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27295         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27296         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27297         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27298         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27299         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
27300         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27301         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
27302         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27303         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27304         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27305         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27306         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27307         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27308         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27309         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27310         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27311         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27312         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27313         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27314         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27315         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27316         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27317         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27318         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27319         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
27320         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
27321         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27322         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27323         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27324         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
27325         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
27326         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27327         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27328         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
27329         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27330         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
27331         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
27332         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27333         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27334         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27335         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
27336         * sysdeps/nptl/bits/libc-lock.h: Likewise.
27337         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
27338         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
27339         * sysdeps/posix/closedir.c: Likewise.
27340         * sysdeps/posix/opendir.c: Likewise.
27341         * sysdeps/posix/readdir.c: Likewise.
27342         * sysdeps/posix/rewinddir.c: Likewise.
27343         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
27344         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
27345         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27346         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27347         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27348         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
27349         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
27350         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
27351         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
27352         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
27353         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
27354         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
27355         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
27356         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
27357         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
27358         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
27359         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
27360         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
27361         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
27362         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
27363         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
27364         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
27365         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
27366         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
27367         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
27368         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
27369         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
27370         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
27371         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
27372         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
27373         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
27374         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
27375         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
27376         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
27377         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
27378         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
27379         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27380         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27381         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
27382         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
27383         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
27384         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
27385         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
27386         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
27387         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
27388         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
27389         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
27390         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
27391         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
27392         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
27393         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
27394         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
27395         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
27396         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
27397         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
27398         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
27399         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
27400         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
27401         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
27402         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
27403         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
27404         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
27405         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
27406         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
27407         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
27408         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
27409         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
27410         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
27411         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
27412         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
27413         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
27414         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
27415         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
27416         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
27417         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
27418         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
27419         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
27420         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
27421         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
27422         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
27423         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
27424         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27425         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
27426         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
27427         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27428         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
27429         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
27430         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27431         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27432         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27433         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
27434         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
27435         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
27436         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27437         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27438         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
27439         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27440         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27441         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
27442         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
27443         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27444         * sysdeps/unix/alpha/sysdep.S: Likewise.
27445         * sysdeps/unix/alpha/sysdep.h: Likewise.
27446         * sysdeps/unix/make-syscalls.sh: Likewise.
27447         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27448         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27449         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27450         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
27451         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27452         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
27453         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
27454         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27455         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27456         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
27457         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27458         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27459         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27460         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27461         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27462         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27463         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27464         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27465         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27466         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27467         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
27468         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27469         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27470         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27471         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27472         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27473         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27476         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
27477         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27478         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27479         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27480         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27481         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
27482         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27483         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27484         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27485         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
27486         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
27487         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27488         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27489         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27490         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27491         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27492         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27493         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27494         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27495         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27496         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27497         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27498         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27499         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27500         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27501         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
27502         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27503         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27504         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27505         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
27506         * sysdeps/x86_64/memcpy.S: Likewise.
27507         * sysdeps/x86_64/memmove.c: Likewise.
27508         * sysdeps/x86_64/memset.S: Likewise.
27509         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
27510         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27511         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27512         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
27513         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
27514         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27515         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27516         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27517         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27518         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27519         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27520         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27521         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
27522         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27523         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27524         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
27525         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27526         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27527         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27528         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27529         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
27530         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27531         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27532         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27533         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27534         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27535         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27536         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
27537         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27538         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27539         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
27540         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27541         * sysdeps/x86_64/strcmp.S: Likewise.
27543         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
27545         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
27546         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
27547         * elf/rtld-Rules: Likewise.
27548         * elf/setup-vdso.h: Likewise.
27549         * include/assert.h: Likewise.
27550         * include/bits/stdlib-float.h: Likewise.
27551         * include/errno.h: Likewise.
27552         * include/sys/stat.h: Likewise.
27553         * include/unistd.h: Likewise.
27554         * sysdeps/aarch64/setjmp.S: Likewise.
27555         * sysdeps/alpha/setjmp.S: Likewise.
27556         * sysdeps/arm/__longjmp.S: Likewise.
27557         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
27558         * sysdeps/arm/setjmp.S: Likewise.
27559         * sysdeps/arm/sysdep.h: Likewise.
27560         * sysdeps/generic/_itoa.h: Likewise.
27561         * sysdeps/generic/dl-sysdep.h: Likewise.
27562         * sysdeps/generic/ldsodefs.h: Likewise.
27563         * sysdeps/i386/dl-tls.h: Likewise.
27564         * sysdeps/i386/setjmp.S: Likewise.
27565         * sysdeps/m68k/setjmp.c: Likewise.
27566         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
27567         * sysdeps/mach/hurd/opendir.c: Likewise.
27568         * sysdeps/posix/getcwd.c: Likewise.
27569         * sysdeps/posix/opendir.c: Likewise.
27570         * sysdeps/posix/profil.c: Likewise.
27571         * sysdeps/powerpc/dl-procinfo.h: Likewise.
27572         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27573         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27574         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27575         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27576         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
27577         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27578         * sysdeps/s390/dl-tls.h: Likewise.
27579         * sysdeps/s390/s390-32/setjmp.S: Likewise.
27580         * sysdeps/s390/s390-64/setjmp.S: Likewise.
27581         * sysdeps/sh/sh3/setjmp.S: Likewise.
27582         * sysdeps/sh/sh4/setjmp.S: Likewise.
27583         * sysdeps/unix/alpha/sysdep.h: Likewise.
27584         * sysdeps/unix/arm/sysdep.S: Likewise.
27585         * sysdeps/unix/i386/sysdep.S: Likewise.
27586         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27587         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
27588         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27589         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27590         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27591         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27592         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
27593         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27594         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27595         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27596         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
27597         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27598         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27601         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27602         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27603         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27604         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27605         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27606         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27607         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27608         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27609         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27610         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27611         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27612         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27613         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27614         * sysdeps/x86_64/setjmp.S: Likewise.
27616         * include/math.h: Use IS_IN instead of IS_IN_libm.
27617         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
27618         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27619         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27620         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
27621         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27622         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27623         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27624         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27625         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27626         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27627         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
27628         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
27629         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
27630         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
27631         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
27632         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
27633         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27634         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
27635         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27636         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
27637         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
27638         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
27639         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
27640         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
27641         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
27642         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
27643         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
27644         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27645         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27646         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
27647         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
27648         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
27649         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
27651         Likewise.
27652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
27653         Likewise.
27654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
27655         Likewise.
27656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
27657         Likewise.
27658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
27659         Likewise.
27660         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
27661         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
27662         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
27663         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27664         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27665         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27666         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
27667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
27668         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
27669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
27670         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
27671         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
27672         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
27673         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27674         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27675         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27676         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27677         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27678         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27679         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
27680         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
27681         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
27682         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
27683         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
27684         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
27685         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27686         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
27688         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
27689         * nptl/pthreadP.h: Likewise.
27690         * nptl_db/structs.def: Likewise.
27691         * sysdeps/arm/sysdep.h: Likewise.
27692         * sysdeps/nptl/bits/libc-lock.h: Likewise.
27693         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
27694         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
27695         * sysdeps/unix/alpha/sysdep.h: Likewise.
27696         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27697         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27698         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27699         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27700         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27701         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27702         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27703         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27704         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27705         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27706         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27707         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27708         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27709         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27712         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27713         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27714         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27715         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27716         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27717         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27718         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27719         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27720         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
27721         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27723         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
27724         * nptl/pthreadP.h: Likewise.
27725         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27726         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27727         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27728         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27729         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27730         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27731         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27732         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27733         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27734         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27735         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27736         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
27738         Likewise.
27739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
27740         Likewise.
27741         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27742         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27743         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27744         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27745         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27746         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27747         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27748         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27750         * dlfcn/dladdr.c: Use IS_IN.
27751         * dlfcn/dladdr1.c: Likewise.
27752         * dlfcn/dlclose.c: Likewise.
27753         * dlfcn/dlerror.c: Likewise.
27754         * dlfcn/dlinfo.c: Likewise.
27755         * dlfcn/dlmopen.c: Likewise.
27756         * dlfcn/dlopen.c: Likewise.
27757         * dlfcn/dlsym.c: Likewise.
27758         * dlfcn/dlvsym.c: Likewise.
27760         * include/ifaddrs.h: Use IS_IN.
27761         * inet/check_pf.c: Likewise.
27762         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27763         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
27765         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
27766         IS_IN_ldconfig.
27767         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
27768         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
27770         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
27771         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
27772         IS_IN (libc).
27774         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
27776         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
27777         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27778         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
27779         * include/libc-symbols.h (IS_IN_LIB): New macro.
27780         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
27781         * include/netdb.h: Likewise.
27782         * include/stap-probe.h: Remove all uses of IN_LIB.
27784         * Makeconfig (module-cppflags-real): Define MODULE_NAME
27785         instead of IN_MODULE.
27786         * include/libc-symbols.h (IN_MODULE): Define using
27787         MODULE_NAME.
27788         (PASTE_NAME, PASTE_NAME1): New macros.
27789         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
27790         of IN_LIB.
27791         (STAP_PROBE_ASM): Likewise.
27793 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27795         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
27796         __mach_init in dlopened libc.
27798 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
27800         * sysdeps/arm/preconfigure.ac: Delete EABI check.
27801         * sysdeps/arm/preconfigure: Regenerate.
27803 2014-11-21  Roland McGrath  <roland@hack.frob.com>
27805         * nptl/pthread_create.c (__pthread_create_2_1): Set
27806         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
27807         when copying values from IATTR into PD.
27809 2014-11-21  Will Newton  <will.newton@linaro.org>
27810             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
27812         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
27813         Refactor inline-asm.  Also add comment.
27815         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
27816         ElfW macro instead of hardcoded Elf64 types.
27817         (la_aarch64_gnu_pltenter): Likewise.
27818         * sysdeps/aarch64/dl-machine.h
27819         (elf_machine_runtime_setup): Use ElfW(Addr).
27821         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
27822         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
27823         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
27824         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
27825         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
27826         (R_AARCH64_TLS_DTPMOD64): Rename to ..
27827         (R_AARCH64_TLS_DTPMOD): This.
27828         (R_AARCH64_TLS_DTPREL64): Rename to ...
27829         (R_AARCH64_TLS_DTPREL): This.
27830         (R_AARCH64_TLS_TPREL64): Rename to ...
27831         (R_AARCH64_TLS_TPREL): This.
27832         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
27833         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
27834         R_AARCH64_TLS_TPREL64.
27835         (elf_machine_rela): Likewise.
27837 2014-11-21  Torvald Riegel  <triegel@redhat.com>
27839         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
27840         by setting it to 0.  64b atomics are not supported currently.
27842 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27844         [BZ #16469]
27845         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
27846         search domain names.
27848 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27850         [BZ #16469]
27851         * NEWS: Update.
27852         * resolv/res_query.c (__libc_res_nquerydomain): Retain
27853         trailing dot.
27854         * posix/tst-getaddrinfo5.c: New.
27855         * posix/Makefile (tests): Add it.
27857 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27859         [BZ #14498]
27860         * NEWS: Fixed.
27861         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
27862         after parsing line but before break_if_match.
27863         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
27864         if there is a protocol mismatch.
27866 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
27868         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
27869         because the potential race is on the user-supplied stream.
27871 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27873         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
27874         string literal if not passed a buffer.
27875         * manual/job.texi (ctermid): Update reasoning, note deviation
27876         from posix, suggest mtasurace when not passed a buffer, for
27877         future non-preliminary safety notes.
27879 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27881         * manual/users.texi (cuserid): Fix MT-Safety note for the case
27882         of not passing it a buffer.
27883         Reported by Peng Haitao.
27885 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27887         * manual/Makefile ($(objpfx)stamp-summary): Require
27888         check-safety.sh to pass.
27889         * manual/check-safety.sh: Wish for verification that every
27890         @deftypefn and @deftypefun is followed by a @safety remark.
27892 2014-11-20  Roland McGrath  <roland@hack.frob.com>
27894         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
27896         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
27897         PTHREAD_CANCEL_ASYNCHRONOUS.
27898         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
27899         send SIGCANCEL.
27901         * nptl/default-sched.h: New file.
27902         * sysdeps/unix/sysv/linux/default-sched.h: New file.
27903         * nptl/pthread_create.c: Include it.
27904         (__pthread_create_2_1): Use collect_default_sched instead of making
27905         Linux syscalls here directly.
27907 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27909         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
27910         __pthread_once): Use C11 atomics.
27912 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27914         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
27916 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27918         * include/atomic.h (__atomic_link_error, __atomic_check_size,
27919         atomic_thread_fence_acquire, atomic_thread_fence_release,
27920         atomic_thread_fence_seq_cst, atomic_load_relaxed,
27921         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
27922         atomic_compare_exchange_weak_relaxed,
27923         atomic_compare_exchange_weak_acquire,
27924         atomic_compare_exchange_weak_release,
27925         atomic_exchange_acquire, atomic_exchange_release,
27926         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
27927         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
27928         atomic_fetch_and_acquire,
27929         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
27931 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27933         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
27934         USE_ATOMIC_COMPILER_BUILTINS): Define.
27935         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
27936         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27937         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
27938         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27939         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
27940         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27941         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
27942         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27943         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
27944         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27945         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
27946         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27947         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
27948         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27949         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
27950         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27951         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
27952         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27953         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
27954         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27955         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
27956         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27957         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
27958         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27959         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
27960         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27961         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
27962         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27963         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
27964         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27965         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
27966         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27967         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
27968         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27969         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
27970         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27971         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
27972         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27973         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
27974         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27976 2014-11-19  Roland McGrath  <roland@hack.frob.com>
27978         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
27979         the sched_priority value here.  It was already checked when the user
27980         called pthread_attr_setschedparam.
27982         * nptl/tst-bad-schedattr.c: New file.
27983         * nptl/Makefile (tests): Add it.
27985 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
27986             Florian Weimer  <fweimer@redhat.com>
27987             Joseph Myers  <joseph@codesourcery.com>
27988             Adam Conrad  <adconrad@0c3.net>
27989             Andreas Schwab  <schwab@suse.de>
27990             Brooks  <bmoses@google.com>
27992         [BZ #17625]
27993         * wordexp-test.c (__dso_handle): Add prototype.
27994         (__register_atfork): Likewise.
27995         (__app_register_atfork): New function.
27996         (registered_forks): New global.
27997         (register_fork): New function.
27998         (test_case): Add 3 new tests for WRDE_CMDSUB.
27999         (main): Call __app_register_atfork.
28000         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
28001         fork count is non-zero fail the test.
28002         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
28003         is set.
28004         (parse_dollars): Remove check for WRDE_NOCMD.
28005         (parse_dquote): Likewise.
28007 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28009         * Makeconfig (built-modules): List non-library modules to be
28010         built.
28011         (module-cppflags): Include libc-modules.h for
28012         everything except shlib-versions.v.i.
28013         (CPPFLAGS): Use it.
28014         (before-compile): Add libc-modules.h.
28015         ($(common-objpfx)libc-modules.h,
28016         $(common-objpfx)libc-modules.stmp): New targets.
28017         (common-generated): Add libc-modules.h and libc-modules.stmp.
28018         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
28019         * include/libc-symbols.h: Don't include libc-modules.h.
28020         * include/libc-modules.h: Remove file.
28021         * scripts/gen-libc-modules.awk: New script to generate
28022         libc-modules.h.
28023         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
28024         Depend on libc-modules.stmp.
28026         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
28028         * Makeconfig (in-module): Get value of libof set for the
28029         translation unit.
28030         (CPPFLAGS): Use $(in-module).
28031         * Makerules: Don't suffix routine names for nonlib.
28032         * include/libc-modules.h: New file.
28033         * include/libc-symbols.h: Include libc-modules.h
28034         (IS_IN): New macro to replace IS_IN_* macros.
28035         * elf/Makefile: Set libof-* for each routine.
28036         * elf/rtld-Rules: Likewise.
28037         * extra-modules.mk: Likewise.
28038         * iconv/Makefile: Likewise.
28039         * iconvdata/Makefile: Likewise.
28040         * locale/Makefile: Likewise.
28041         * malloc/Makefile: Likewise.
28042         * nss/Makefile: Likewise.
28043         * sysdeps/gnu/Makefile: Likewise.
28044         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
28045         * sysdeps/unix/sysv/linux/Makefile: Likewise.
28046         * sysdeps/s390/s390-64/Makefile: Likewise.
28047         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
28048         CPPFLAGS for nscd instead of nonlib.
28050 2014-11-18  Roland McGrath  <roland@hack.frob.com>
28052         * nptl/createthread.c: New file.
28054         * nptl/createthread.c: Moved ...
28055         * sysdeps/unix/sysv/linux/createthread.c: ... here.
28057         * nptl/createthread.c: Add proper top-line comment.
28058         (do_clone): Folded into ...
28059         (create_thread): ... here.  Take new arguments STOPPED_START and
28060         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
28061         increment __nptl_threads, do event-reporting logic, do
28062         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
28063         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
28064         resource cleanup if sched_setaffinity or sched_setscheduler fails,
28065         just send SIGCANCEL.
28066         * nptl/pthread_create.c: Forward-declare create_thread before
28067         including createthread.c.
28068         (start_thread): Use new macro START_THREAD_DEFN to replace defining
28069         declaration, and new macro START_THREAD_SELF to replace argument.
28070         Remove return statement.
28071         (report_thread_creation): New function.
28072         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
28073         synchronization logic, and __nptl_nthreads increment here, around
28074         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
28075         PD->parent_cancelhandling here, before create_thread.  When
28076         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
28077         __deallocate_stack, and ENOMEM translation here.
28079 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
28081         [BZ #17616]
28082         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
28083         (mptwo): Rename to __mptwo.
28084         (__inv): Use __mptwo instead of mptwo.
28085         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
28086         (mptwo): Rename to __mptwo.
28087         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
28088         of mpone and __mptwo instead of mptwo.
28089         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
28090         instead of mpone.
28091         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28092         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
28093         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
28094         of mpone and __mptwo instead of mptwo.
28095         (__mpranred): Use __mpone instead of mpone.
28096         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
28097         variable.
28098         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
28099         (test-xfail-ISO99/math.h/linknamespace): Likewise.
28100         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
28101         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
28102         (test-xfail-ISO11/math.h/linknamespace): Likewise.
28103         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
28104         (test-xfail-XPG3/math.h/linknamespace): Likewise.
28105         (test-xfail-XPG4/math.h/linknamespace): Likewise.
28106         (test-xfail-POSIX/math.h/linknamespace): Likewise.
28107         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28108         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28109         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28110         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28111         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28112         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
28113         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
28114         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
28115         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
28116         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28118 2014-11-18  Tom de Vries  <tom@codesoucery.com>
28120         * manual/signal.texi (Primitives Interrupted by Signals): In section,
28121         replace BSD Handler xref with BSD Signal Handling.
28123 2014-11-17  Richard Henderson  <rth@redhat.com>
28125         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
28126         (_FP_PACK_RAW_2): Remove.
28127         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
28128         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
28129         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
28130         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
28131         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
28132         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
28133         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
28134         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
28135         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
28136         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
28137         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
28138         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
28139         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
28140         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
28141         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
28142         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
28144 2014-11-14  Roland McGrath  <roland@hack.frob.com>
28146         * signal/signal.h [__USE_MISC]
28147         (struct sigvec): Remove type.
28148         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
28149         (sigvec): Remove declaration.
28150         * sysdeps/posix/sigvec.c: Moved ...
28151         * signal/sigvec.c: ... here, replacing old file.
28152         (struct sigvec): New type, copied from old signal.h definition.
28153         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
28154         (__sigvec): Convert definition to prototype.
28155         (sigvec): Replace weak_alias with compat_symbol.
28156         * signal/Versions (libc: GLIBC_2.21): New version set.
28157         * include/signal.h: Remove __sigvec declaration.
28158         * sysdeps/unix/bsd/sigvec.c: Remove file.
28159         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
28160         * manual/signal.texi (BSD Handler): Remove subsection.
28161         Move siginterrupt up to ...
28162         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
28163         (Blocking in BSD): Fold subsection into its parent.
28164         * NEWS: Mention sigvec removal.
28166 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
28168         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
28169         (DLA_FMS): Make definition conditional only on [__FMA4__].
28170         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
28171         definition.
28173         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
28174         Make definition conditional only on [PROF].
28175         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
28176         definition.
28177         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
28178         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
28180         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
28181         !__GNUC__].
28182         * include/signal.h (__sigpause): Move declaration above call to
28183         libc_hidden_proto.
28184         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
28185         variable.
28186         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
28187         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
28189 2014-11-14  David S. Miller  <davem@davemloft.net>
28191         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
28192         Define before including <string/memcpy.c> and <string/mempcpy.c>.
28194 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
28196         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
28197         * configure: Regenerated.
28198         * manual/install.texi (Tools for Compilation): Document a
28199         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
28200         compiler verified to work.
28201         * INSTALL: Regenerated.
28203         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
28204         redeclare with asm name.
28205         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
28206         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
28207         including <string.h>.
28208         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28209         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
28210         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28211         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
28212         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28213         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
28214         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28216 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
28218         * stdlib/strtol.c (__strtol): Use prototype definition.
28220         [BZ #17594]
28221         * stdlib/strtol.c (SYM__): New macro.
28222         (SYM__1): Likewise.
28223         (__strtol): Likewise.
28224         (strtol): Rename to __strtol and define as weak alias of
28225         __strtol.  Use libc_hidden_weak.
28227 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28229         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
28230         Use numbered labels in inline assembly.
28232 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28234         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
28235         Add setjmp LIBC_PROBE.
28236         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
28237         Likewise.
28238         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
28239         Add longjmp, longjmp_target LIBC_PROBE.
28240         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
28241         Likewise.
28243 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28245         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
28246         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
28247         to get rid of unused variable warning.
28249 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28251         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
28252         Check for unwind_backtrace ==  NULL only in SHARED case.
28253         (__backchain_backtrace): Compile only in SHARED case.
28254         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
28255         Likewise.
28256         (__backchain_backtrace): Declare as static.
28258 2014-11-12  Roland McGrath  <roland@hack.frob.com>
28260         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
28261         (__libc_multiple_threads_ptr): Variable moved ...
28262         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
28264 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
28266         * conform/GlibcConform.pm: New file.
28267         * conform/conformtest.pl: Use GlibcConform module.
28268         * conform/linknamespace.pl: New file.
28269         * conform/list-header-symbols.pl: Likewise.
28270         * conform/Makefile (linknamespace-symlists-base): New variable.
28271         (linknamespace-symlists-tests): Likewise.
28272         (linknamespace-header-base): Likewise.
28273         (linknamespace-header-tests): Likewise.
28274         (tests-special): Add new tests.
28275         ($(linknamespace-symlists-tests)): New rule.
28276         (linknamespace-libs): New variable.
28277         ($(objpfx)symlist-stdlibs): New rule.
28278         ($(linknamespace-header-tests)): Likewise.
28279         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
28280         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
28281         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
28282         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
28283         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
28284         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
28285         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
28286         (test-xfail-ISO/math.h/linknamespace): Likewise.
28287         (test-xfail-ISO/signal.h/linknamespace): Likewise.
28288         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
28289         (test-xfail-ISO/time.h/linknamespace): Likewise.
28290         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
28291         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
28292         (test-xfail-ISO99/math.h/linknamespace): Likewise.
28293         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
28294         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
28295         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
28296         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
28297         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
28298         (test-xfail-ISO11/math.h/linknamespace): Likewise.
28299         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
28300         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
28301         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
28302         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
28303         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
28304         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
28305         (test-xfail-XPG3/math.h/linknamespace): Likewise.
28306         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
28307         (test-xfail-XPG3/search.h/linknamespace): Likewise.
28308         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
28309         (test-xfail-XPG3/time.h/linknamespace): Likewise.
28310         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
28311         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
28312         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
28313         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
28314         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
28315         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
28316         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
28317         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
28318         (test-xfail-XPG4/math.h/linknamespace): Likewise.
28319         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
28320         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
28321         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
28322         (test-xfail-XPG4/search.h/linknamespace): Likewise.
28323         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
28324         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
28325         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
28326         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
28327         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
28328         (test-xfail-XPG4/time.h/linknamespace): Likewise.
28329         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
28330         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
28331         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
28332         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
28333         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
28334         (test-xfail-POSIX/math.h/linknamespace): Likewise.
28335         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
28336         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
28337         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
28338         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
28339         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
28340         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
28341         (test-xfail-POSIX/time.h/linknamespace): Likewise.
28342         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
28343         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
28344         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
28345         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
28346         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
28347         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
28348         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
28349         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
28350         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
28351         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28352         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
28353         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
28354         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
28355         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
28356         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
28357         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
28358         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
28359         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
28360         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
28361         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
28362         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
28363         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
28364         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
28365         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
28366         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
28367         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
28368         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
28369         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
28370         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28371         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
28372         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
28373         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
28374         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
28375         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
28376         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
28377         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28378         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
28379         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
28380         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
28381         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
28382         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
28383         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
28384         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
28385         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
28386         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
28387         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
28388         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
28389         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
28390         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
28391         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
28392         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
28393         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28394         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
28395         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
28396         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
28397         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
28398         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
28399         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28400         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
28401         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
28402         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
28403         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
28404         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
28405         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
28406         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
28407         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
28408         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
28409         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
28410         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
28411         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
28412         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
28413         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
28414         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
28415         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
28416         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
28417         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
28418         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
28419         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
28420         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
28421         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
28422         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
28423         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
28424         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
28425         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
28426         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
28427         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
28428         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
28429         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
28430         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
28431         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
28432         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
28433         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
28434         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
28435         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
28436         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
28437         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28438         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
28439         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
28441         [BZ #17589]
28442         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
28443         of fgets_unlocked.
28445         [BZ #17585]
28446         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
28447         (memmem): Rename to __memmem and define as weak alias of
28448         __memmem.  Use libc_hidden_weak.
28449         (__memmem): Use libc_hidden_def.
28450         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
28451         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
28452         memmem.
28454         [BZ #17582]
28455         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
28456         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
28457         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
28458         and define as weak alias of __fgets_unlocked.  Use
28459         libc_hidden_weak.
28460         (__fgets_unlocked): Use libc_hidden_def.
28461         * include/stdio.h (__fgets_unlocked): Declare.  Use
28462         libc_hidden_proto.
28463         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
28464         __fgets_unlocked instead of fgets_unlocked.
28465         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
28466         (GET_NPROCS_CONF_PARSER): Likewise.
28467         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
28468         (GET_NPROCS_CONF_PARSER): Likewise.
28470         [BZ #17574]
28471         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
28472         weak alias of __wmemset.  Use libc_hidden_weak.
28473         (__wmemset): Use libc_hidden_def.
28474         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
28475         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
28476         of wmemset.
28478         [BZ #17573]
28479         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
28480         with asm name __mempcpy.
28481         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
28483         [BZ #17572]
28484         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
28485         and define as weak alias of __rawmemchr.
28486         (__rawmemchr): Do not define as strong alias of rawmemchr.
28488         [BZ #17571]
28489         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
28490         alias of __qsort_r.
28491         (qsort): Call __qsort_r instead of qsort_r.
28492         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
28493         (__qsort_r): Declare.  Call libc_hidden_proto.
28494         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
28495         instead of qsort_r.
28496         * nscd/gai.c (__qsort_r): Define to qsort_r.
28497         * posix/tst-rfc3484.c (__qsort_r): Likewise.
28498         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
28499         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
28501         [BZ #17570]
28502         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
28503         define as weak alias of __malloc_info.
28505         [BZ #17584]
28506         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
28507         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28508         (__rewinddir): Use libc_hidden_def.
28509         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
28510         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28511         (__rewinddir): Use libc_hidden_def.
28512         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
28513         weak alias of __rewinddir.  Don't use libc_hidden_def.
28514         (__rewinddir): Use libc_hidden_def.
28515         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
28516         (__rewinddir): Use libc_hidden_proto.
28517         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
28518         rewinddir.
28519         (__getcwd): Use __rewinddir instead of rewinddir.
28521         [BZ #17583]
28522         * libio/fileno.c (fileno): Rename to __fileno and define as weak
28523         alias of __fileno.  Use libc_hidden_weak.
28524         (__fileno): Use libc_hidden_def.
28525         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
28526         * libio/ftello.c (ftello): Rename to __ftello and define as weak
28527         alias of __ftello.
28528         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
28529         __ftello.
28530         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
28531         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
28532         libc_hidden_def.
28533         (fread_unlocked): Don't use libc_hidden_ver.
28534         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
28535         and define as weak alias of __fread_unlocked.  Don't use
28536         libc_hidden_def.
28537         (__fread_unlocked): Use libc_hidden_def.
28538         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
28539         (ftello): Don't use libc_hidden_proto.
28540         (__ftello): Declare.  Use libc_hidden_proto.
28541         (fread_unlocked): Don't use libc_hidden_proto.
28542         (__fread_unlocked): Declare.  Use libc_hidden_proto.
28543         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
28544         and __ftello instead of fileno, fread_unlocked and ftello.
28546 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28548         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
28549         GOT12.
28550         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
28551         Likewise.
28552         (_dl_start_user): Likewise.
28553         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
28555 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
28556             Siddhesh Poyarekar  <siddhesh@redhat.com>
28558         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
28559         Move argv and envp down instead of moving argc up.
28560         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
28562 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
28564         [BZ #17506]
28565         * test-skeleton.c (main): Return successful if one of
28566         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
28567         * string/tst-strcoll-overflow.c: Define expected status.
28569 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
28571         [BZ #17475]
28572         * locale/iso-639.def: Define Bhili and Tulu language codes.
28574 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
28576         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
28578 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
28580         [BZ #17555]
28581         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
28583 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
28585         * configure.ac: Updated check of minimal required version to
28586         2.22.
28587         * manual/install.texi (Tools for Compilation): Updated version
28588         number.
28589         * configure: Regenerated.
28590         * INSTALL: Likewise.
28592 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
28594         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
28595         __tls_get_addr.
28597 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
28599         * include/sys/wait.h (__libc_waitpid): Remove declaration.
28600         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
28601         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28602         libc_hidden_weak.
28603         (waitpid): Define as alias of __waitpid.
28604         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
28605         __waitpid.
28606         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28607         libc_hidden_weak.
28608         (waitpid): Define as alias of __waitpid.
28609         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
28610         __libc_waitpid alias.
28611         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
28612         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
28613         Likewise.
28614         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
28615         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
28616         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
28617         alias.
28618         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
28619         __waitpid.
28620         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28621         libc_hidden_weak.
28622         (waitpid): Define as alias of __waitpid.
28624 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
28626         * manual/llio.texi: Add comment that write safety has been
28627         fixed in Linux.
28629         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
28630         (localplt-build-dso): Add elf/ld.so.
28631         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
28632         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
28633         and free for ld.so.
28634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
28635         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
28636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
28637         Likewise.
28638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
28639         Likewise.
28640         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
28641         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
28642         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
28643         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
28644         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
28645         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
28646         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
28647         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
28648         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
28649         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
28650         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
28652 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
28654         [BZ #14132]
28655         * include/libc-symbols.h (INTUSE): Remove macro.
28656         (INTDEF): Likewise.
28657         (INTVARDEF): Likewise.
28658         (_INTVARDEF): Likewise.
28659         (INTDEF2): Likewise.
28660         (INTVARDEF2): Likewise.
28661         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
28662         rtld_hidden_def instead of INTVARDEF.
28663         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
28664         (_dl_starting_up_internal): Remove declaration.
28665         (_dl_starting_up): Use rtld_hidden_proto.
28666         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
28667         declaration.
28668         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
28669         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
28670         _dl_starting_up.
28671         * elf/dl-writev.h (_dl_writev): Likewise.
28672         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
28673         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
28674         _dl_starting_up_internal.
28676 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28678         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
28679         test-skeleton.c.
28681 2014-11-05  Will Newton  <will.newton@linaro.org>
28683         * benchtests/Makefile: (bench-malloc): Add malloc thread
28684         scalability benchmark.
28685         * benchtests/bench-malloc-threads.c: New file.
28687 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
28689         * sysdeps/aarch64/strchrnul.S: New file.
28691 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28693         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
28694         definition.
28695         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
28696         Likwise.
28697         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
28698         Likewise.
28699         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
28700         Likewise.
28701         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
28702         Likewise.
28703         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
28704         Likewise.
28706 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
28708         * catgets/test-gencat.c: Use test-skeleton.c.
28709         * catgets/tst-catgets.c: Likewise.
28710         * csu/tst-empty.c: Likewise.
28711         * elf/tst-audit2.c: Likewise.
28712         * elf/tst-global1.c: Likewise.
28713         * elf/tst-pathopt.c: Likewise.
28714         * elf/tst-piemod1.c: Likewise.
28715         * elf/tst-tls10.c: Likewise.
28716         * elf/tst-tls11.c: Likewise.
28717         * elf/tst-tls12.c: Likewise.
28718         * gnulib/tst-gcc.c: Likewise.
28719         * iconvdata/tst-e2big.c: Likewise.
28720         * iconvdata/tst-loading.c: Likewise.
28721         * iconv/tst-iconv1.c: Likewise.
28722         * iconv/tst-iconv2.c: Likewise.
28723         * inet/test-inet6_opt.c: Likewise.
28724         * inet/tst-gethnm.c: Likewise.
28725         * inet/tst-network.c: Likewise.
28726         * inet/tst-ntoa.c: Likewise.
28727         * intl/tst-codeset.c: Likewise.
28728         * intl/tst-gettext2.c: Likewise.
28729         * intl/tst-gettext3.c: Likewise.
28730         * intl/tst-ngettext.c: Likewise.
28731         * intl/tst-translit.c: Likewise.
28732         * io/test-stat.c: Likewise.
28733         * libio/test-fmemopen.c: Likewise.
28734         * libio/tst-freopen.c: Likewise.
28735         * libio/tst-sscanf.c: Likewise.
28736         * libio/tst-ungetwc1.c: Likewise.
28737         * libio/tst-ungetwc2.c: Likewise.
28738         * libio/tst-widetext.c: Likewise.
28739         * localedata/tst-ctype.c: Likewise.
28740         * localedata/tst-digits.c: Likewise.
28741         * localedata/tst-leaks.c: Likewise.
28742         * localedata/tst-mbswcs1.c: Likewise.
28743         * localedata/tst-mbswcs2.c: Likewise.
28744         * localedata/tst-mbswcs3.c: Likewise.
28745         * localedata/tst-mbswcs4.c: Likewise.
28746         * localedata/tst-mbswcs5.c: Likewise.
28747         * localedata/tst-setlocale.c: Likewise.
28748         * localedata/tst-trans.c: Likewise.
28749         * localedata/tst-wctype.c: Likewise.
28750         * localedata/tst-xlocale1.c: Likewise.
28751         * login/tst-grantpt.c: Likewise.
28752         * malloc/tst-calloc.c: Likewise.
28753         * malloc/tst-malloc.c: Likewise.
28754         * malloc/tst-mallocstate.c: Likewise.
28755         * malloc/tst-mcheck.c: Likewise.
28756         * malloc/tst-mtrace.c: Likewise.
28757         * malloc/tst-obstack.c: Likewise.
28758         * math/atest-exp2.c: Likewise.
28759         * math/atest-exp.c: Likewise.
28760         * math/atest-sincos.c: Likewise.
28761         * math/test-matherr.c: Likewise.
28762         * math/test-misc.c: Likewise.
28763         * math/test-powl.c: Likewise.
28764         * math/tst-definitions.c: Likewise.
28765         * misc/tst-dirname.c: Likewise.
28766         * misc/tst-efgcvt.c: Likewise.
28767         * misc/tst-fdset.c: Likewise.
28768         * misc/tst-hsearch.c: Likewise.
28769         * misc/tst-mntent2.c: Likewise.
28770         * nptl/tst-sem7.c: Likewise.
28771         * nptl/tst-sem8.c: Likewise.
28772         * nptl/tst-sem9.c: Likewise.
28773         * nss/test-netdb.c: Likewise.
28774         * posix/tst-fnmatch.c: Likewise.
28775         * posix/tst-getlogin.c: Likewise.
28776         * posix/tst-gnuglob.c: Likewise.
28777         * posix/tst-mmap.c: Likewise.
28778         * pwd/tst-getpw.c: Likewise.
28779         * resolv/tst-inet_ntop.c: Likewise.
28780         * rt/tst-timer.c: Likewise.
28781         * stdio-common/test-fseek.c: Likewise.
28782         * stdio-common/test-popen.c: Likewise.
28783         * stdio-common/test-vfprintf.c: Likewise.
28784         * stdio-common/tst-cookie.c: Likewise.
28785         * stdio-common/tst-fileno.c: Likewise.
28786         * stdio-common/tst-gets.c: Likewise.
28787         * stdio-common/tst-obprintf.c: Likewise.
28788         * stdio-common/tst-perror.c: Likewise.
28789         * stdio-common/tst-sprintf2.c: Likewise.
28790         * stdio-common/tst-sprintf3.c: Likewise.
28791         * stdio-common/tst-sprintf.c: Likewise.
28792         * stdio-common/tst-swprintf.c: Likewise.
28793         * stdio-common/tst-tmpnam.c: Likewise.
28794         * stdio-common/tst-unbputc.c: Likewise.
28795         * stdio-common/tst-wc-printf.c: Likewise.
28796         * stdlib/tst-environ.c: Likewise.
28797         * stdlib/tst-fmtmsg.c: Likewise.
28798         * stdlib/tst-limits.c: Likewise.
28799         * stdlib/tst-rand48-2.c: Likewise.
28800         * stdlib/tst-rand48.c: Likewise.
28801         * stdlib/tst-random2.c: Likewise.
28802         * stdlib/tst-random.c: Likewise.
28803         * stdlib/tst-strtol.c: Likewise.
28804         * stdlib/tst-strtoll.c: Likewise.
28805         * stdlib/tst-tls-atexit.c: Likewise.
28806         * stdlib/tst-xpg-basename.c: Likewise.
28807         * string/test-ffs.c: Likewise.
28808         * string/tst-bswap.c: Likewise.
28809         * string/tst-inlcall.c: Likewise.
28810         * string/tst-strtok.c: Likewise.
28811         * string/tst-strxfrm.c: Likewise.
28812         * sysdeps/x86_64/tst-audit10.c: Likewise.
28813         * sysdeps/x86_64/tst-audit3.c: Likewise.
28814         * sysdeps/x86_64/tst-audit4.c: Likewise.
28815         * sysdeps/x86_64/tst-audit5.c: Likewise.
28816         * time/tst-ftime_l.c: Likewise.
28817         * time/tst-getdate.c: Likewise.
28818         * time/tst-mktime3.c: Likewise.
28819         * time/tst-mktime.c: Likewise.
28820         * time/tst-posixtz.c: Likewise.
28821         * time/tst-strptime2.c: Likewise.
28822         * time/tst-strptime3.c: Likewise.
28823         * wcsmbs/tst-btowc.c: Likewise.
28824         * wcsmbs/tst-mbrtowc.c: Likewise.
28825         * wcsmbs/tst-mbsrtowcs.c: Likewise.
28826         * wcsmbs/tst-wchar-h.c: Likewise.
28827         * wcsmbs/tst-wcpncpy.c: Likewise.
28828         * wcsmbs/tst-wcrtomb.c: Likewise.
28829         * wcsmbs/tst-wcsnlen.c: Likewise.
28830         * wcsmbs/tst-wcstof.c: Likewise.
28832 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
28834         [BZ #14132]
28835         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
28836         INTDEF.
28837         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
28838         declaration.
28839         (_dl_mcount): Use rtld_hidden_proto.
28840         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
28841         _dl_mcount.
28842         * elf/rtld.c (_rtld_global_ro): Likewise.
28844         [BZ #14132]
28845         * elf/dl-init.c (_dl_init): Don't use INTDEF.
28846         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
28847         of _dl_init_internal.
28848         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
28849         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
28850         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
28851         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
28852         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
28853         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
28854         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
28855         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
28856         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
28857         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
28858         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
28859         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
28860         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28861         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28862         * sysdeps/tile/dl-start.S (_start): Likewise.
28863         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
28864         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
28866         [BZ #14132]
28867         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
28868         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
28869         (rtld_progname): Make macro definition unconditional.
28870         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
28871         INTDEF.
28872         (dlmopen_doit): Do not use INTUSE with _dl_argv.
28873         (dl_main): Likewise.
28874         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28875         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
28876         instead of _dl_argv_internal.
28877         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28878         __GI__dl_argv instead of INTUSE(_dl_argv).
28879         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
28880         __GI__dl_argv instead of _dl_argv_internal.
28882         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
28883         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
28884         macro.
28885         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
28886         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
28887         New macro.
28888         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
28889         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
28890         macro.
28891         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
28892         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
28894 2014-11-04  Andreas Schwab  <schwab@suse.de>
28896         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
28898 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28900         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
28901         mtvsrd instruction in binary form.
28903 2014-11-03  Andreas Schwab  <schwab@suse.de>
28905         [BZ #17522]
28906         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
28907         for less than MB_LEN_MAX use a local buffer of that size.
28908         * libio/tst-fputws.c: New file.
28909         * libio/Makefile (tests): Add tst-fputws.
28911 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
28913         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
28914         the size of the fpu_fr.fpu_dregs[] array.
28916 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
28918         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
28919         (__nanosleep): Do not define as alias.
28920         (nanosleep): Define as alias of __nanosleep.
28921         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
28922         __libc_nanosleep name.
28924 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
28926         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
28927         install.texi in comment.
28929 2014-10-31  Torvald Riegel  <triegel@redhat.com>
28931         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
28932         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
28933         ... add here and use lwsync or sync ...
28934         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
28935         ... and add here using lwsync.
28937 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
28939         * elf/dl-machine-reject-phdr.h: New file.
28940         * elf/dl-load.c: #include that.
28941         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
28942         if that returned true.
28944 2014-10-31  Roland McGrath  <roland@hack.frob.com>
28946         [BZ #17496]
28947         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
28948         gen-as-const-headers chunk.  Add a big scare comment after the last
28949         safe place to touch before-compile.
28951 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
28953         * manual/install.texi (Tools for Compilation): Update autoconf
28954         version requirements.
28955         * INSTALL: Regenerated.
28957         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
28958         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
28959         (__libc_pselect): Likewise.
28961         [BZ #14138]
28962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
28963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28967 2014-10-31  Torvald Riegel  <triegel@redhat.com>
28969         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
28970         correct barrier instruction.
28971         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
28972         Likewise.
28973         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
28974         Likewise.
28976 2014-10-30  Roland McGrath  <roland@hack.frob.com>
28978         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
28979         after defining inlines.  Instead, just use parens to defeat macro
28980         expansion of __isctype in its declaration.
28982 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
28984         * include/sys/uio.h (__libc_readv): Remove declaration.
28985         (__libc_writev): Likewise.
28986         * misc/readv.c (__libc_readv): Rename to __readv.
28987         (__readv): Do not define as alias.
28988         (readv): Define as alias of __readv.
28989         * misc/writev.c (__libc_writev): Rename to __writev.
28990         (__writev): Do not define as alias.
28991         (writev): Define as alias of __writev.
28992         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
28993         (__readv): Do not define as alias.
28994         (readv): Define unconditionally as alias of __readv.
28995         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
28996         (__writev): Do not define as alias.
28997         (writev): Define unconditionally as alias of __writev.
28998         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
28999         name.
29000         (writev): Do not define __libc_writev name.
29002 2014-10-30  Roland McGrath  <roland@hack.frob.com>
29004         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
29005         (convert_charseq): New function, broken out of ...
29006         (use_from_charmap): ... here.  Call it.
29007         (use_to_charmap): Use convert_charseq and free instead of duplicating
29008         its code with a variable-length stack struct.
29010 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
29012         * include/fcntl.h (__libc_creat): Remove declaration.
29013         * io/creat.c (__libc_creat): Rename to creat.
29014         (creat): Do not define as alias.
29015         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
29016         of creat instead of __libc_creat.
29017         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
29018         to creat.
29019         (creat): Do not define as alias.
29020         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
29021         __libc_creat.
29022         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
29023         __libc_creat name.
29024         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
29025         Likewise.
29027 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
29029         * manual/llio.texi: Add comments discussing why write() may be
29030         considered MT-unsafe on Linux.
29032 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
29034         * dl-load.c (local_strdup): Remove.
29035         (expand_dynamic_string_token): Use __strdup.
29036         (decompose_rpath): Likewise.
29037         (_dl_map_object): Likewise.
29039 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
29041         [BZ #14132]
29042         * sysdeps/generic/unwind-dw2-fde.c
29043         (__register_frame_info_bases_internal): Do not declare.
29044         (__register_frame_info_table_bases_internal): Likewise.
29045         (__deregister_frame_info_bases_internal): Likewise.
29046         (__register_frame_info_bases): Declare and use hidden_proto before
29047         definition.  Use hidden_def instead of INTDEF.
29048         (__register_frame_info_table_bases): Likewise.
29049         (__deregister_frame_info_bases): Likewise.
29050         (__register_frame_info): Do not use INTUSE.
29051         (__register_frame): Likewise.
29052         (__register_frame_info_table): Likewise.
29053         (__register_frame_table): Likewise.
29054         (__deregister_frame_info): Likewise.
29055         (__deregister_frame): Likewise.
29057 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
29059         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29060         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
29061         not undefine.
29062         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
29063         Likewise.
29064         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
29065         Likewise.
29067 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
29069         [BZ #14138]
29070         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
29071         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
29072         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
29073         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
29074         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
29075         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
29076         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
29077         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
29078         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
29079         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
29080         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
29081         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
29082         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
29083         syscall.
29084         (setfsuid): Likewise.
29085         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
29086         (setfsuid): Likewise.
29087         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
29088         (setfsuid): Likewise.
29089         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
29090         Likewise.
29091         (setfsuid): Likewise.
29092         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
29093         (setfsuid): Likewise.
29094         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
29095         Likewise.
29096         (setfsuid): Likewise.
29098 2014-10-27  Andreas Schwab  <schwab@suse.de>
29100         [BZ #17501]
29101         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
29102         check for Slow_SSE4_2 feature bit.
29103         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
29104         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29105         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
29106         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
29108 2014-10-24  Roland McGrath  <roland@hack.frob.com>
29110         * configure.ac: Validate compiler version with a empirical test of
29111         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
29112         $CC -v output.
29113         * configure: Regenerated.
29115         * inet/htons.c (htons): Prototypify.
29116         * inet/htonl.c (htonl): Likewise.
29118 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29120         * string/strncat.c (strncat): Improve performance by using strlen.
29122 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29124         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
29126 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29128         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
29129         Call libc_fetestexcept_aarch64.
29131 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29133         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
29134         Call libc_feholdexcept_aarch64.
29136 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29138         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
29139         Call get_rounding_mode.
29141 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29143         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
29144         Simplify logic.
29146 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29148         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
29149         Simplify logic.
29151 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
29153         [BZ #14138]
29154         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
29155         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
29156         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
29157         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
29158         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
29159         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
29160         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
29161         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
29162         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
29163         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
29164         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29165         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
29166         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
29167         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
29168         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
29169         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
29170         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
29171         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
29172         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
29173         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
29174         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
29175         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
29176         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
29177         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
29178         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
29179         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
29180         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
29181         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
29182         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
29183         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
29184         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
29185         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
29186         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
29187         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
29188         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
29189         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
29190         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
29191         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
29192         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
29193         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
29194         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
29195         syscall.
29196         (geteuid): Likewise.
29197         (getgid): Likewise.
29198         (getuid): Likewise.
29199         (getresgid): Likewise.
29200         (getresuid): Likewise.
29201         (getgroups): Likewise.
29202         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
29203         (geteuid): Likewise.
29204         (getgid): Likewise.
29205         (getuid): Likewise.
29206         (getresgid): Likewise.
29207         (getresuid): Likewise.
29208         (getgroups): Likewise.
29209         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
29210         (geteuid): Likewise.
29211         (getgid): Likewise.
29212         (getuid): Likewise.
29213         (getresgid): Likewise.
29214         (getresuid): Likewise.
29215         (getgroups): Likewise.
29216         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
29217         Likewise.
29218         (geteuid): Likewise.
29219         (getgid): Likewise.
29220         (getuid): Likewise.
29221         (getresgid): Likewise.
29222         (getresuid): Likewise.
29223         (getgroups): Likewise.
29224         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
29225         (geteuid): Likewise.
29226         (getgid): Likewise.
29227         (getuid): Likewise.
29228         (getresgid): Likewise.
29229         (getresuid): Likewise.
29230         (getgroups): Likewise.
29231         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
29232         Likewise.
29233         (geteuid): Likewise.
29234         (getgid): Likewise.
29235         (getuid): Likewise.
29236         (getgroups): Likewise.
29238         [BZ #14138]
29239         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
29240         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
29241         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
29242         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29243         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
29244         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
29245         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
29246         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
29247         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
29248         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
29249         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
29250         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
29251         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
29252         __chown.
29253         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
29254         (lchown): Likewise.
29255         (fchown): Likewise.
29256         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
29257         Likewise.
29258         (lchown): Likewise.
29259         (fchown): Likewise.
29260         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
29261         (lchown): Likewise.
29262         (fchown): Likewise.
29263         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
29264         Likewise.
29265         (lchown): Likewise.
29266         (fchown): Likewise.
29268 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29270         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
29271         Simplify logic.
29273 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29275         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
29276         Cleanup logic.
29278 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29280         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
29281         Remove unused include.
29283 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29285         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
29286         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
29287         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
29288         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
29290 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
29291             Helge Deller <deller@gmx.de>
29293         [BZ #17508]
29294         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
29295         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
29296         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
29298 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
29300         [BZ #14132]
29301         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
29302         Remove macro definition.
29303         (__ashrdi3_v_glibc20): Likewise.
29304         (__lshrdi3_v_glibc20): Likewise.
29305         (__cmpdi2_v_glibc20): Likewise.
29306         (__ucmpdi2_v_glibc20): Likewise.
29307         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
29308         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
29309         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
29310         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
29311         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
29312         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
29314 2014-10-22  Roland McGrath  <roland@hack.frob.com>
29316         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
29317         old GNU extension [0] syntax.
29318         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
29319         alloca rather than an array member with variable length.
29320         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
29321         * nscd/nscd.c (invalidate_db): New function, broken out of ...
29322         (parse_opt): ... here.  Likewise use alloca there.
29323         Validate the -i argument before checking for rootness.
29324         (send_shutdown): New function, broken out of ...
29325         (parse_opt): ... here.
29327 2014-10-22  Roland McGrath  <roland@hack.frob.com>
29329         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
29330         macro to get at the _rt_local_ro field.
29331         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
29332         ([PIC] case) or _dl_hwcap ([!PIC] case).
29333         * sysdeps/arm/setjmp.S: Likewise.
29335         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
29336         * sysdeps/arm/configure.ac: New check to define it.
29337         * sysdeps/arm/configure: Regenerated.
29338         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
29339         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
29340         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
29341         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
29342         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
29343         Use move/movt pair instead of a load.
29344         (LDST_GLOBAL): Macro removed.
29345         (LDR_GLOBAL): New macro replaces it.
29346         (LDR_HIDDEN): New macro.
29347         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
29348         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
29350         * setjmp/tst-setjmp-static.c: New file.
29351         * setjmp/Makefile (tests): Add it.
29352         (tests-static): New variable.
29354 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
29356         [BZ #17485]
29357         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
29359 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
29361         [BZ #14132]
29362         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
29364 2014-10-21  Roland McGrath  <roland@hack.frob.com>
29366         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
29368 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29370         * io/fts.c (dirent_not_directory): New function.
29371         (fts_build): Call it.
29373 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29375         * nptl/version.c (__nptl_main): Use normal __write rather than
29376         INTERNAL_SYSCALL.
29377         (banner): Update copyright years.
29379         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
29380         gettimeofday.
29381         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
29382         * nptl/pthread_cond_timedwait.c: Likewise.
29383         * nptl/pthread_mutex_timedlock.c: Likewise.
29384         * nptl/sem_timedwait.c: Likewise.
29386         * sysdeps/nptl/bits/libc-lock.h
29387         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
29388         (__libc_lock_init_recursive): Return void, not 0.
29389         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
29390         (__libc_rwlock_init): Likewise.
29391         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
29393 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29395         [BZ #15215]
29396         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
29397         (__pthread_once_slow): ... here.
29398         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
29399         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
29401 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29403         [BZ #15215]
29404         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
29405         __PTHREAD_ONCE_FORK_GEN_INCR): New.
29406         * sysdeps/nptl/fork.c (__libc_fork): Use them.
29407         * nptl/pthread_once.c (__pthread_once): Likewise.
29408         Update comments.
29410 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
29412         [BZ #14138]
29413         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
29414         name.
29415         (writev): Use __libc_writev as strong name.
29416         * sysdeps/unix/sysv/linux/readv.c: Remove file.
29417         * sysdeps/unix/sysv/linux/writev.c: Likewise.
29419 2014-10-17  Roland McGrath  <roland@hack.frob.com>
29421         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
29423         * sysdeps/i386/nptl/tls.h
29424         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
29425         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
29426         New macros.
29427         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
29428         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
29429         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
29430         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
29431         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
29432         Call CHECK_THREAD_SYSINFO instead of doing an assert.
29434         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
29435         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
29436         on [__NR_futex].
29437         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
29438         broken out of ...
29439         (__pthread_mutex_init): ... here.  Call it.
29440         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
29441         Conditionalize PI cases on [__NR_futex].
29442         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
29443         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
29444         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
29446         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
29447         conditional on [SIGSETXID].
29448         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
29449         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
29450         is defined.  Likewise for SIGSETXID.
29451         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
29452         Conditionalize definitions on [SIGSETXID].
29453         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
29454         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
29455         unblocking on [SIGCANCEL].
29457         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
29458         [__NR_set_robust_list].
29460 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29462         * string/strcoll_l.c (get_next_seq): Fix up formatting.
29463         (do_compare): Likewise.
29465 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
29467         [BZ #15884]
29468         * string/strcoll_l.c: Don't include stdio.h.
29469         (coll_seq): Remove members idxarr and rulearr.
29470         (get_next_seq_cached): Remove function.
29471         (get_next_seq): Likewise.
29472         (get_next_seq_nocache): Rename to get_next_seq.
29473         (do_compare): Remove function.
29474         (do_compare_nocache): Rename to do_compare.
29475         (STRCOLL): Remove weight and rules cache.
29477 2014-10-16  Roland McGrath  <roland@hack.frob.com>
29479         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
29480         * sysdeps/arm/sfp-machine.h: ... to here.
29481         * sysdeps/arm/Implies: Remove arm/soft-fp.
29483 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
29485         * conform/data/sys/utsname.h-data (*_t): Allow.
29486         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
29487         [POSIX] (WEXITED): Do not expect constant.
29488         [POSIX] (WSTOPPED): Likewise.
29489         [POSIX] (WNOHANG): Likewise.
29490         [POSIX] (WNOWAIT): Likewise.
29491         [POSIX] (siginfo_t): Do not expect type or elements.
29492         [POSIX] (pid_t): Do not expect type.
29493         [POSIX] (signal.h): Do not allow header.
29494         [POSIX] (sys/resource.h): Likewise.
29495         [POSIX] (si_*): Do not allow pattern.
29496         [POSIX] (W*): Likewise.
29497         [POSIX] (P_*): Likewise.
29498         [POSIX] (BUS_*): Likewise.
29499         [POSIX] (CLD_*): Likewise.
29500         [POSIX] (FPE_*): Likewise.
29501         [POSIX] (ILL_*): Likewise.
29502         [POSIX] (POLL_*): Likewise.
29503         [POSIX] (SEGV_*): Likewise.
29504         [POSIX] (SI_*): Likewise.
29505         [POSIX] (TRAP_*): Likewise.
29506         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
29507         variable.
29509 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
29511         [BZ #12926]
29512         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
29513         infinite loop when __recvmsg returns 0.
29515 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
29517         * CANCEL-FCT-WAIVE: Remove file.
29518         * CANCEL-FILE-WAIVE: Likewise.
29520         [BZ #14132]
29521         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
29522         instead of INTVARDEF.
29523         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29524         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
29525         rtld_hidden_data_def instead of INTVARDEF.
29526         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29527         * elf/dl-deps.c (expand_dst): Likewise.
29528         * elf/dl-load.c (_dl_dst_count): Likewise.
29529         (_dl_dst_substitute): Likewise.
29530         (decompose_rpath): Likewise.
29531         (_dl_init_paths): Likewise.
29532         (open_path): Likewise.
29533         (_dl_map_object): Likewise.
29534         * elf/rtld.c (dl_main): Likewise.
29535         (process_dl_audit): Likewise.
29536         (process_envvars): Likewise.
29537         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
29538         Remove declaration.
29539         (__libc_enable_secure): Use rtld_hidden_proto.
29541 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29543         * elf/dl-load.c
29544         (add_path): New function broken out of _dl_rtld_di_serinfo.
29545         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
29547 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29549         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
29550         parentheses around macro arguments.
29551         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
29552         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
29553         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
29554         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
29555         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
29556         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29557         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29558         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
29559         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
29560         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
29561         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
29562         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
29563         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
29564         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
29565         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
29566         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
29567         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
29568         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
29569         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
29570         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
29571         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
29572         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
29573         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
29574         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29575         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29576         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
29577         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
29578         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
29579         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
29580         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
29581         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
29582         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
29583         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
29584         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
29585         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
29586         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
29587         Likewise.
29588         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
29589         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29590         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29591         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
29592         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
29593         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
29594         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
29595         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
29596         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
29597         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
29598         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
29599         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
29600         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
29601         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
29602         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
29603         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29604         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29605         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
29606         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
29607         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
29608         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
29609         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
29610         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
29611         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
29612         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
29613         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
29614         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
29615         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
29616         (_FP_FRAC_SRS_1): Likewise.
29617         (_FP_FRAC_CLZ_1): Likewise.
29618         (_FP_MUL_MEAT_1_imm): Likewise.
29619         (_FP_MUL_MEAT_1_wide): Likewise.
29620         (_FP_MUL_MEAT_1_hard): Likewise.
29621         (_FP_SQRT_MEAT_1): Likewise.
29622         (_FP_FRAC_ASSEMBLE_1): Likewise.
29623         (_FP_FRAC_DISASSEMBLE_1): Likewise.
29624         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
29625         (__FP_CLZ_2): Likewise.
29626         (_FP_MUL_MEAT_2_wide): Likewise.
29627         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29628         (_FP_MUL_MEAT_2_gmp): Likewise.
29629         (_FP_MUL_MEAT_2_120_240_double): Likewise.
29630         (_FP_SQRT_MEAT_2): Likewise.
29631         (_FP_FRAC_ASSEMBLE_2): Likewise.
29632         (_FP_FRAC_DISASSEMBLE_2): Likewise.
29633         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
29634         (_FP_FRAC_CLZ_4): Likewise.
29635         (_FP_MUL_MEAT_4_wide): Likewise.
29636         (_FP_MUL_MEAT_4_gmp): Likewise.
29637         (_FP_SQRT_MEAT_4): Likewise.
29638         (_FP_FRAC_ASSEMBLE_4): Likewise.
29639         (_FP_FRAC_DISASSEMBLE_4): Likewise.
29640         * soft-fp/op-common.h (_FP_CMP): Likewise.
29641         (_FP_CMP_EQ): Likewise.
29642         (_FP_CMP_UNORD): Likewise.
29643         (_FP_TO_INT): Likewise.
29644         (_FP_FROM_INT): Likewise.
29645         [!__FP_CLZ] (__FP_CLZ): Likewise.
29646         (_FP_DIV_HELP_imm): Likewise.
29647         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
29648         Likewise.
29649         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
29650         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
29651         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
29652         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
29653         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
29654         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29655         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29656         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
29657         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
29658         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
29659         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
29660         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
29661         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
29662         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
29663         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
29664         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
29665         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
29666         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
29667         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
29668         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
29669         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
29670         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
29671         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
29672         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29673         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29674         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
29675         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
29676         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
29677         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
29678         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
29679         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
29680         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
29681         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
29682         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
29683         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
29684         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
29685         (FP_UNPACK_RAW_SP): Likewise.
29686         (FP_PACK_RAW_S): Likewise.
29687         (FP_PACK_RAW_SP): Likewise.
29688         (FP_UNPACK_S): Likewise.
29689         (FP_UNPACK_SP): Likewise.
29690         (FP_UNPACK_SEMIRAW_S): Likewise.
29691         (FP_UNPACK_SEMIRAW_SP): Likewise.
29692         (FP_PACK_S): Likewise.
29693         (FP_PACK_SP): Likewise.
29694         (FP_PACK_SEMIRAW_S): Likewise.
29695         (FP_PACK_SEMIRAW_SP): Likewise.
29696         (_FP_SQRT_MEAT_S): Likewise.
29697         (FP_CMP_S): Likewise.
29698         (FP_CMP_EQ_S): Likewise.
29699         (FP_CMP_UNORD_S): Likewise.
29700         (FP_TO_INT_S): Likewise.
29701         (FP_FROM_INT_S): Likewise.
29703         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
29705         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
29706         (FP_EX_INVALID_IMZ): Likewise.
29707         (FP_EX_INVALID_IMZ_FMA): Likewise.
29708         (FP_EX_INVALID_ISI): Likewise.
29709         (FP_EX_INVALID_ZDZ): Likewise.
29710         (FP_EX_INVALID_IDI): Likewise.
29711         (FP_EX_INVALID_SQRT): Likewise.
29712         (FP_EX_INVALID_CVI): Likewise.
29713         (FP_EX_INVALID_VC): Likewise.
29714         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
29715         "invalid" exceptions.
29716         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
29717         (_FP_ADD_INTERNAL): Likewise.
29718         (_FP_MUL): Likewise.
29719         (_FP_FMA): Likewise.
29720         (_FP_DIV): Likewise.
29721         (_FP_CMP_CHECK_NAN): Likewise.
29722         (_FP_SQRT): Likewise.
29723         (_FP_TO_INT): Likewise.
29724         (FP_EXTEND): Likewise.
29726 2014-10-09  Allan McRae  <allan@archlinux.org>
29728         * po/fr.po: Update French translation from translation project.
29730 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29732         [BZ #14132]
29733         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
29734         of INTDEF.
29735         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
29736         (__cxa_atexit): Use libc_hidden_proto.
29737         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
29739         [BZ #14132]
29740         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
29741         declaration.
29742         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
29743         [!_ISOMAC] (__iswspace_l_internal): Likewise.
29744         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
29745         [!_ISOMAC] (__iswctype_internal): Likewise.
29746         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
29747         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
29748         alias.
29749         (fcntl): Remove __fcntl_internal alias.
29750         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
29751         __connect_internal alias.
29752         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
29753         Likewise.
29755         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
29756         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
29757         FP_DENORM_ZERO.
29758         (_FP_CHECK_FLUSH_ZERO): New macro.
29759         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
29760         (_FP_CMP): Likewise.
29761         (_FP_CMP_EQ): Likewise.
29762         (_FP_TO_INT): Do not set inexact for subnormal arguments if
29763         FP_DENORM_ZERO.
29764         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
29765         (FP_TRUNC): Likewise.
29767         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
29768         treated as invalid conversion, not as normal exponent.
29770         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
29771         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
29772         (_FP_CMP_EQ): Likewise.
29773         (_FP_CMP_UNORD): Likewise.
29774         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
29775         (FP_CMP_EQ_D): Likewise.
29776         (FP_CMP_UNORD_D): Likewise.
29777         * soft-fp/extended.h (FP_CMP_E): Likewise.
29778         (FP_CMP_EQ_E): Likewise.
29779         (FP_CMP_UNORD_E): Likewise.
29780         * soft-fp/quad.h (FP_CMP_Q): Likewise.
29781         (FP_CMP_EQ_Q): Likewise.
29782         (FP_CMP_UNORD_Q): Likewise.
29783         * soft-fp/single.h (FP_CMP_S): Likewise.
29784         (FP_CMP_EQ_S): Likewise.
29785         (FP_CMP_UNORD_S): Likewise.
29786         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
29787         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
29788         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
29789         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
29790         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
29791         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
29792         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
29793         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
29794         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
29795         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
29796         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
29797         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
29798         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
29799         to FP_CMP_Q.
29800         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
29801         FP_CMP_Q.
29802         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
29803         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
29804         FP_CMP_EQ_Q.
29805         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
29806         FP_CMP_Q.
29807         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
29808         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
29809         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
29810         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
29811         FP_CMP_EQ_Q.
29812         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
29813         FP_CMP_Q.
29814         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
29815         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
29816         FP_CMP_EQ_Q.
29817         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
29818         FP_CMP_Q.
29819         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
29820         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
29821         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
29822         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
29823         FP_CMP_EQ_Q.
29825         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
29826         a subnormal result, set the underflow exception if trapping on
29827         underflow is enabled.
29828         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
29829         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
29830         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
29831         redefine to 0.
29832         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
29833         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
29834         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
29835         * soft-fp/extendxftf2.c (__extendxftf2): Use
29836         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
29838         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
29839         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
29840         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29841         FP_HANDLE_EXCEPTIONS.
29842         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
29843         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29844         FP_HANDLE_EXCEPTIONS.
29845         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
29846         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29847         FP_HANDLE_EXCEPTIONS.
29848         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
29849         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29850         FP_HANDLE_EXCEPTIONS.
29852 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
29854         [BZ #14132]
29855         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
29856         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
29857         use INTUSE.
29858         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
29859         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
29860         Remove alias.
29861         (__adjtimex): Define using libc_hidden_ver.
29862         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
29863         Remove declaration.
29864         (ntp_gettime): Call __adjtimex directly.
29865         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
29866         Remove declaration.
29867         (ntp_gettimex): Call __adjtimex directly.
29868         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
29869         __adjtimex_internal alias.
29871 2014-10-08  Roland McGrath  <roland@hack.frob.com>
29873         [BZ #17460]
29874         * nscd/nscd.c (more_help): Rewrite list of tables collection
29875         using xstrdup and asprintf.
29877         * nscd/nscd_conf.c: Remove local xstrdup declaration.
29879 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29880             Roland McGrath  <roland@hack.frob.com>
29882         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
29883         (do_lookup_unique): ... local function 'enter' here; update callers.
29885 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
29887         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
29888         compat_symbol calls on [SHARED].
29889         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
29890         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
29891         Remove.
29892         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29893         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
29894         (oldsetrlimit): Remove.
29895         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29897         (lchown): New syscall entry.
29898         (oldsetrlimit): Remove.
29899         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29900         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
29901         (oldsetrlimit): Remove.
29902         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29904         [BZ #14138]
29905         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
29906         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
29907         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
29908         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
29909         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
29910         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
29911         (fchown): Likewise.
29912         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
29913         (fchown): Likewise.
29914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
29915         Likewise.
29917 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29919         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
29920         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
29921         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
29922         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
29923         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
29924         Likewise.
29925         (__old_sem_post): Likewise.
29927 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
29929         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
29930         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
29931         HAVE_CLOCK_GETTIME_VSYSCALL macros.
29932         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
29933         Use INLINE_VSYSCALL macro.
29934         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
29935         __vdso_clock_gettime.
29936         * sysdeps/unix/sysv/linux/tile/init-first.c
29937         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
29938         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
29939         __vdso_clock_gettime.
29941         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
29942         to set up frame more cleanly.
29944         * sysdeps/tile/memcmp.c: New file.
29946         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
29948         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
29949         * sysdeps/tile/tilegx/strcasestr.c: New file.
29950         * sysdeps/tile/tilegx/strnlen.c: New file.
29951         * sysdeps/tile/tilegx/strstr.c: New file.
29953         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
29955 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
29957         * nptl/tst-setuid3.c: Write errors to stdout.
29959 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29961         * elf/dl-deps.c
29962         (preload): New functions broken out of _dl_map_object_deps.
29963         (_dl_map_object_deps):  Remove a nested function. Update call sites.
29965 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
29967         [BZ #14138]
29968         * sysdeps/unix/sysv/linux/execve.c: Remove file.
29969         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
29971 2014-10-01  Steve Ellcey  <sellcey@mips.com>
29973         * sysdeps/mips/strcmp.S: New.
29975 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
29977         [BZ #14138]
29978         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
29979         (linkat): Likewise.
29980         (mkdirat): Likewise.
29981         (readlinkat): Likewise.
29982         (renameat): Likewise.
29983         (symlinkat): Likewise.
29984         (unlinkat): Likewise.
29985         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
29986         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
29987         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
29988         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
29989         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
29990         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
29991         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
29993 2014-09-30  Will Newton  <will.newton@linaro.org>
29995         * math/math.h: Define long double math functions if
29996         _LIBC_TEST is defined.
29997         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
29999         * localedata/Makefile: Move assignment to tests-special
30000         into an ifdef testing run-built-tests.
30001         * timezone/Makefile: Likewise.
30003 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
30005         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
30006         with $(BASH) not $(SHELL).
30008 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
30009             Matthew LeGendre  <legendre1@llnl.gov>
30011         [BZ #17411]
30012         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
30013         l_reloc_result.
30015 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30017         * stdio-common/printf_fp.c
30018         (hack_digit): New function, broken out of ...
30019         (__printf_fp): ... local function here.  Update call sites.
30020         hack_digit now takes an additional parameter that is a pointer
30021         to a struct of the referenced locals.  Those locals moved inside
30022         the struct and references updated.
30024 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
30026         * aclocal.m4: Require autoconf 2.69.
30027         * configure: Regenerated.
30028         * sysdeps/aarch64/configure: Likewise.
30029         * sysdeps/alpha/configure: Likewise.
30030         * sysdeps/arm/armv7/configure: Likewise.
30031         * sysdeps/arm/configure: Likewise.
30032         * sysdeps/ia64/configure: Likewise.
30033         * sysdeps/mach/configure: Likewise.
30034         * sysdeps/mips/configure: Likewise.
30035         * sysdeps/s390/configure: Likewise.
30036         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
30037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
30039         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
30040         file.
30041         * sysdeps/ia64/configure.ac: Likewise.
30043 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
30045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
30046         specify symbol version for ld.so.  Do not include entry for
30047         libpthread.
30048         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30049         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
30050         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30052         [BZ #14171]
30053         * Makeconfig [$(build-shared) = yes]
30054         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
30055         makefiles.
30056         [$(build-shared) = yes && $(soversions.mk-done) = t]
30057         ($(common-objpfx)gnu/lib-names.h): Remove rule.
30058         [$(build-shared) = yes && $(soversions.mk-done) = t]
30059         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
30060         to Makerules.
30061         [$(build-shared) = yes && $(soversions.mk-done) = t]
30062         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
30063         here.
30064         [$(build-shared) = yes && $(soversions.mk-done) = t]
30065         (common-generated): Don't append gnu/lib-names.h and
30066         gnu/lib-names.stmp here.
30067         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
30068         (lib-names-h-abi): New variable.
30069         [$(build-shared) = yes && $(soversions.mk-done) = t]
30070         (lib-names-stmp-abi): Likewise.
30071         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30072         abi-variants] (before-compile): Append
30073         $(common-objpfx)$(lib-names-h-abi).
30074         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30075         abi-variants] (common-generated): Append gnu/lib-names.h.
30076         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30077         abi-variants] (install-others-nosubdir): Depend on
30078         $(inst_includedir)/$(lib-names-h-abi).
30079         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30080         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
30081         [$(build-shared) = yes && $(soversions.mk-done) = t]
30082         ($(common-objpfx)$(lib-names-h-abi)): New rule.
30083         [$(build-shared) = yes && $(soversions.mk-done) = t]
30084         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
30085         [$(build-shared) = yes && $(soversions.mk-done) = t]
30086         (common-generated): Append $(lib-names-h-abi) and
30087         $(lib-names-stmp-abi).
30088         * scripts/lib-names.awk: Do not handle multi being set.
30089         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
30090         Remove variable.
30091         (abi-lp64_be-ld-soname): Likewise.
30092         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
30093         Likewise.
30094         (abi-hard-ld-soname): Likewise.
30095         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
30096         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
30097         Remove variable.
30098         (abi-o32_hard-ld-soname): Likewise.
30099         (abi-o32_soft_2008-ld-soname): Likewise.
30100         (abi-o32_hard_2008-ld-soname): Likewise.
30101         (abi-n32_soft-ld-soname): Likewise.
30102         (abi-n32_hard-ld-soname): Likewise.
30103         (abi-n32_soft_2008-ld-soname): Likewise.
30104         (abi-n32_hard_2008-ld-soname): Likewise.
30105         (abi-n64_soft-ld-soname): Likewise.
30106         (abi-n64_hard-ld-soname): Likewise.
30107         (abi-n64_soft_2008-ld-soname): Likewise.
30108         (abi-n64_hard_2008-ld-soname): Likewise.
30109         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
30110         Likewise.
30111         (abi-64-v2-ld-soname): Likewise.
30112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
30113         ld.so entries.
30114         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
30115         variable.
30116         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
30117         entry.
30118         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
30119         variable.
30120         (abi-64-ld-soname): Likewise.
30121         (abi-x32-ld-soname): Likewise.
30122         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
30123         entry.
30124         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30126 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
30128         [BZ #14138]
30129         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
30130         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
30131         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
30132         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
30133         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
30134         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
30135         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
30136         syscall entry for GLIBC_2.2 symbol version.
30137         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
30138         Likewise.
30139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
30140         (setrlimit): Likewise.
30141         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
30142         Likewise.
30144 2014-09-23  Will Newton  <will.newton@linaro.org>
30146         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
30147         _LINUX_ARM_SYSDEP_H include guard too.
30148         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
30149         define.
30151 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
30153         * sysdeps/unix/sysv/linux/eventfd.c:
30154         Make first argument unsigned.
30155         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
30156         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
30158 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
30160         [BZ #16852]
30161         * socket/recvmmsg.c (recvmmsg): Drop const argument.
30162         * socket/sys/socket.h: Likewise.
30163         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
30165 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30167         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
30169 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
30171         * time/tst-ftime.c: New test.
30172         * time/Makefile (tests): Add tst-ftime.
30174 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
30176         * soft-fp/extended.h: Fix comment formatting.
30177         * soft-fp/op-1.h: Likewise.
30178         * soft-fp/op-2.h: Likewise.
30179         * soft-fp/op-4.h: Likewise.
30180         * soft-fp/op-8.h: Likewise.
30181         * soft-fp/op-common.h: Likewise.
30182         * soft-fp/soft-fp.h: Likewise.
30184         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
30186 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
30188         [BZ #6652]
30189         * Makeconfig (soversions-default-setname): Remove variable.
30190         ($(common-objpfx)soversions.i): Don't pass default_setname to
30191         soversions.awk.
30192         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
30193         oldest_abi to abi-versions.awk.
30194         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
30195         * config.make.in (oldest-abi): Remove variable.
30196         * configure.ac (--enable-oldest-abi): Remove configure option.
30197         * configure: Regenerated.
30198         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
30199         text.
30200         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
30201         * scripts/soversions.awk: Do not handle default_setname variable.
30202         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
30203         variable.
30204         * sysdeps/mach/hurd/configure: Regenerated.
30205         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
30206         variable.
30207         * sysdeps/unix/sysv/linux/configure: Regenerated.
30209 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30211         * elf/Makefile (CFLAGS-interp.c): Remove.
30212         ($(elf-objpfx)runtime-linker.h): Generate header with linker
30213         path string.
30214         * elf/interp.c: Include generated runtime-linker.h
30216         * Makerules (lib%.so): Don't include $(+interp) in
30217         prerequisites.
30218         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
30219         * dlfcn/eval.c: Remove file.
30221         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
30222         macros.
30224         [BZ #17266]
30225         * misc/sys/cdefs.h: Define __extern_always_inline for clang
30226         4.2 and newer.
30228         [BZ #17370]
30229         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
30231 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30232             Jakub Jelinek  <jakub@redhat.com>
30234         [BZ #17266]
30235         * libio/stdio.h: Check definition of __fortify_function
30236         instead of __extern_always_inline to include bits/stdio2.h.
30237         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
30238         check if __extern_always_inline is defined.
30239         [__USE_MISC || __USE_XOPEN]: Likewise.
30240         [__USE_ISOC99] Likewise.
30241         * misc/sys/cdefs.h (__fortify_function): Define only if
30242         __extern_always_inline is defined.
30243         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
30244         __extern_always_inline and __extern_inline only for g++-4.3
30245         and newer or a compatible gcc.
30247 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
30249         [BZ #17371]
30250         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
30251         last change to handle zero prefix length.
30253 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30255         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
30256         _SC_REGEX_VERSION.
30258         * posix/getconf.c (vars): Add _POSIX_IPV6 and
30259         _POSIX_RAW_SOCKETS.
30261 2014-09-13  Allan McRae  <allan@archlinux.org>
30263         * po/ru.po: Update Russian translation from translation project.
30265 2014-09-12  Roland McGrath  <roland@hack.frob.com>
30267         * locale/programs/locale.c (show_locale_vars): Inline local function
30268         into its sole call site.  Clean up some style nits.
30269         (print_item): New function, broken out of ...
30270         (show_info): ... local function here.  Clean up style nits.
30272         * locale/programs/ld-ctype.c (set_one_default): New function, broken
30273         out of ...
30274         (set_class_defaults): ... local function set_default here.
30275         Define set_default as a macro locally to pass constant parameters.
30276         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
30277         rather than a shared local.
30279         * stdlib/rpmatch.c (try): New function, broken out of ...
30280         (rpmatch): ... local function here.  Also, prototypify definition.
30282 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
30284         * scripts/soversions.awk: Do not handle configuration names.
30285         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
30286         vendor and os variables to soversions.awk.
30287         * configure.ac: Do not modify gnu-* host_os.
30288         * configure: Regenerated
30289         * shlib-versions: Remove first column with configuration names.
30290         * nptl/shlib-versions: Likewise.
30291         * nptl_db/shlib-versions: Likewise.
30292         * sysdeps/hppa/shlib-versions: Likewise.
30293         * sysdeps/m68k/shlib-versions: Likewise.
30294         * sysdeps/mach/hurd/shlib-versions: Likewise.
30295         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
30296         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
30297         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
30298         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
30299         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
30300         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
30301         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
30302         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
30303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
30304         Likewise.
30305         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30306         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
30307         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
30308         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
30309         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
30310         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
30311         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
30312         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
30315         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
30316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30317         Regenerated.
30318         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
30319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
30320         Condition symbol version definitions on [HAVE_ELFV2_ABI].
30322         * shlib-versions: Remove OS-specific entries.  Moved to files in
30323         sysdeps.
30324         * sysdeps/mach/hurd/shlib-versions: New file.
30325         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
30327         * nptl/shlib-versions: Remove architecture-specific entries.
30328         Moved to files in sysdeps.
30329         * shlib-versions: Likewise.
30330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
30331         file.
30332         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30333         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
30334         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
30335         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
30337         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
30338         (UDP_NO_CHECK6_RX): Likewise.
30340 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30342         * sysdeps/posix/sysconf.c (__sysconf): Spell
30343         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
30345 2014-08-12  Florian Weimer  <fweimer@redhat.com>
30347         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
30348         loading.
30349         * iconv/Versions (__gconv_transliterate): Export for use from
30350         gconv modules.
30351         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
30352         (struct __gconv_trans_data, __gconv_trans_fct,
30353         __gconv_trans_context_fct, __gconv_trans_query_fct,
30354         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
30355         definitions.
30356         (struct __gconv_step_data): Remove __trans member.
30357         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
30358         longer hidden.  Remove unused trans_data argument.
30359         * iconv/gconv_int.h (struct trans_struct): Remove definition.
30360         (__gconv_translit_find): Remove declaration.
30361         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
30362         prototype.
30363         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
30364         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
30365         trans_data argument.  Add hidden definition.
30366         (__gconv_translit_find): Remove.
30367         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
30368         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
30369         * iconv/skeleton.c: Remove transliteration initialization.
30370         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
30371         __gconv_step_data initialization.
30372         * libio/iofwide.c (__libio_translit_): Remove.
30373         (_IO_fwide): Adjust struct __gconv_step_data initialization.
30374         * wcsmbs/btowc.c (__btowc): Likewise.
30375         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
30376         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
30377         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
30378         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
30379         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
30380         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
30381         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
30382         * wcsmbs/wctob.c (wctob): Likewise.
30384 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30386         [BZ #16194]
30387         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
30388         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
30389         register usage.
30390         * sysdeps/x86/Makefile: Adjust.
30392 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30393             Roland McGrath  <roland@hack.frob.com>
30395         * locale/weight.h: Add include guard.
30396         (findidx): Make static rather than auto; take new parameters
30397         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
30398         * locale/weightwc.h: Likewise.
30399         * posix/fnmatch_loop.c
30400         (FCT): Change type of EXTRA from int32_t to wint_t.
30401         Don't include either header inside the function.
30402         Call FINDIDX rather than findidx, and pass new arguments.
30403         #undef FINDIDX at the end of the file.
30404         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
30405         FINDIDX before including fnmatch_loop.c for the non-wide version.
30406         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
30407         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
30408         for the wide version.
30409         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
30410         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
30411         Pass new arguments to findidx.
30412         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
30413         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
30414         Don't #include it inside the function.  Pass new arguments to findidx.
30415         * posix/regex_internal.h
30416         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
30417         (re_string_elem_size_at): Don't #include it inside the function.
30418         Pass new arguments to findidx.
30419         * string/strcoll_l.c: #include WEIGHT_H at top level.
30420         (get_next_seq): Don't #include it inside the function.
30421         Pass new arguments to findidx.
30422         (get_next_seq_nocache): Likewise.
30423         * string/strxfrm_l.c: #include WEIGHT_H at top level.
30424         (STRXFRM): Don't #include it inside the function.
30425         Pass new arguments to findidx.
30427 2014-09-11  Florian Weimer  <fweimer@redhat.com>
30429         [BZ #17344]
30430         * malloc/malloc.c (unlink): Turn asserts into a call to
30431         malloc_printerr.
30433 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
30435         [BZ #17370]
30436         * libio/wfileops (do_ftell_wide): Free OUT.
30438 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
30440         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
30442 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30444         [BZ #17363]
30445         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
30446         group if the current group is empty.
30448 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30450         * benchtests/bench-memset.c (test_main): Add more test from size
30451         from 32 to 512 bytes.
30452         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30453         Add POWER8 memset object.
30454         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30455         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
30456         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
30457         implementation.
30458         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
30459         Likewise.
30460         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
30461         multiarch POWER8 memset optimization.
30462         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
30463         POWER8 memset optimization.
30465         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30466         Remove bzero multiarch objects.
30467         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
30468         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
30469         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
30470         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
30471         Remove define.
30472         [__bzero]: Redefine to specific name.
30473         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
30474         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
30475         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
30476         define.
30477         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30478         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30480 2014-09-10  Florian Weimer  <fweimer@redhat.com>
30482         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
30483         warnings into errors.
30485         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
30486         __cxa_thread_atexit_impl prototype.
30488 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30490         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
30491         Fix capitalization of error message.
30493 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30495         * sysdeps/mips/preconfigure: Modify ABI tests.
30497 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
30499         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
30501 2014-09-07  Roland McGrath  <roland@hack.frob.com>
30502             Carlos O'Donell  <carlos@systemhalted.org>
30504         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
30505         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
30506         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
30507         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
30508         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
30509         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
30510         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
30511         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
30512         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
30513         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
30514         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
30515         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
30516         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
30517         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
30518         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
30519         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
30520         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
30521         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
30522         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
30523         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
30524         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
30525         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
30526         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
30527         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
30528         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
30529         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
30530         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
30531         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
30532         Deconditionalize the code that was previously under [RESET_PID].
30533         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
30534         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
30535         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
30536         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
30537         include sysdep.h.
30539 2014-09-08  Allan McRae  <allan@archlinux.org>
30541         * version.h (RELEASE): Set to "development".
30542         (VERSION): Set to "2.20.90"
30544 2014-09-07  Allan McRae  <allan@archlinux.org
30546         * version.h (RELEASE): Set to "stable".
30547         (VERSION): Set to "2.20"
30548         * include/features.h (__GLIBC_MINOR__): Set to 20.
30550         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
30551         Liebler.
30553         * po/ko.po: Update Korean translation from translation project.
30555 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
30557         [BZ #17354]
30558         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
30559         macro for handling signed relocations.
30561 2014-09-03  Florian Weimer  <fweimer@redhat.com>
30563         [BZ #17325]
30564         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
30565         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
30566         assert.
30567         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
30568         * iconvdata/ibm935.c (BODY): Likewise.
30569         * iconvdata/ibm937.c (BODY): Likewise.
30570         * iconvdata/ibm939.c (BODY): Likewise.
30571         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
30572         assert.
30573         * iconvdata/Makefile (iconv-test.out): Pass module list to test
30574         script.
30575         * iconvdata/run-iconv-test.sh: New test loop for checking for
30576         decoder crashers.
30578 2014-09-02  Khem Raj  <raj.khem@gmail.com>
30580         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
30581         libm_hidden_ver.
30583 2014-09-01  Allan McRae  <allan@archlinux.org>
30585         * po/eo.po: Update Esperanto translation from translation project.
30587         * po/ca.po: Update Catalan translation from translation project.
30589 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30591         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
30592         __proc_dostop call.
30594 2014-08-27  Mark Wielaard  <mjw@redhat.com>
30596         [BZ #17319]
30597         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
30598         to call set_thread_area instead of hand written asm.
30599         (__NR_set_thread_area): Removed define.
30600         (TLS_FLAG_WRITABLE): Likewise.
30601         (__ASSUME_SET_THREAD_AREA): Remove check.
30602         (TLS_EBX_ARG): Remove define.
30603         (TLS_LOAD_EBX): Likewise.
30605 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30607         Simplify atomicity of socket creation in bind.
30609         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
30610         looking up the name after linking the file.
30612 2014-08-27  Allan McRae  <allan@archlinux.org>
30614         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30616 2014-08-26  Florian Weimer  <fweimer@redhat.com>
30618         [BZ #17187]
30619         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
30620         trans_compare, open_translit, __gconv_translit_find):
30621         Remove module loading code.
30623 2014-08-26  Allan McRae  <allan@archlinux.org>
30625         * po/vi.po: Update Vietnamese translation from translation project.
30627         * po/uk.po: Update Ukrainian translation from translation project.
30629         * po/fr.po: Update French translation from translation project.
30631         * po/ru.po: Update Russian translation from translation project.
30633         * po/pl.po: Update Polish translation from translation project.
30635         * po/cs.po: Update Czech translation from translation project.
30637         * po/de.po: Update German translation from translation project.
30639         * po/bg.po: Update Bulgarian translation from translation project.
30641         * po/sv.po: Update Sweedish translation from translation project.
30643         * po/nl.po: Update Dutch translation from translation project.
30645         * po/es.po: Update Spanish translation from translation project.
30647 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30649         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
30651         * catgets/Makefile (CPPFLAGS-gencat): Remove.
30652         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
30653         (CPPFLAGS-iconvconfig): Likewise.
30654         * timezone/Makefile (CPPFLAGS-zic): Likewise.
30656         * include/libc-symbols.h: Remove unnecessary check for
30657         NOT_IN_libc.
30658         * nptl/pthreadP.h: Likewise.
30659         * sysdeps/aarch64/setjmp.S: Likewise.
30660         * sysdeps/alpha/setjmp.S: Likewise.
30661         * sysdeps/arm/sysdep.h: Likewise.
30662         * sysdeps/i386/setjmp.S: Likewise.
30663         * sysdeps/m68k/setjmp.c: Likewise.
30664         * sysdeps/posix/getcwd.c: Likewise.
30665         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30666         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
30667         * sysdeps/s390/s390-32/setjmp.S: Likewise.
30668         * sysdeps/s390/s390-64/setjmp.S: Likewise.
30669         * sysdeps/sh/sh3/setjmp.S: Likewise.
30670         * sysdeps/sh/sh4/setjmp.S: Likewise.
30671         * sysdeps/unix/alpha/sysdep.h: Likewise.
30672         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30673         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30674         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
30675         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30678         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30679         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30680         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30681         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30682         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30683         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30684         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30685         * sysdeps/x86_64/setjmp.S: Likewise.
30687 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
30689         [BZ #17263]
30690         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
30691         <stdint.h>.
30692         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
30693         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
30695 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30697         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
30699         [BZ #17262]
30700         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
30701         and __x86_64__ when disabling x87 inline functions.
30703 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
30705         [BZ #17259]
30706         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
30707         asm statement with __cpuid_count.
30709 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
30711         * configure.ac: Change __ehdr_start code to dereference the struct.
30712         Run readelf on the output to look for relocations.
30713         * configure: Regenerated.
30715 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
30717         [BZ #17261]
30718         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
30719         value to 0.
30720         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
30722 2014-08-12  Roland McGrath  <roland@hack.frob.com>
30724         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
30726 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
30728         [BZ #16892]
30729         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
30730         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
30732 2014-08-12  Sean Anderson  <seanga2@gmail.com>
30734         * malloc/malloc.c: Fix typo in comment.
30736 2014-08-09  Allan McRae  <allan@archlinux.org>
30738         * Regenerate libc.po.
30740 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
30742         * intl/tst-gettext2.sh: Check every lang file for creation.
30744 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
30746         * sysdeps/aarch64/fpu/math_private.h
30747         (libc_feholdsetround_noex_aarch64_ctx): New function.
30749 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
30751         * sysdeps/arm/armv6/strcpy.S (strcpy):
30752         Fix performance issue in misaligned cases.
30754 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30756         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
30757         Move definition from termios.h.
30758         (struct termio): Likewise.
30759         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30760         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30761         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30762         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30763         Likewise.
30764         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
30765         Move definition to ioctl-types.h
30766         (struct termio): Likewise.
30767         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30768         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30769         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30770         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30771         Likewise.
30773 2014-08-05  Richard Henderson  <rth@redhat.com>
30775         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
30776         exceptions.
30777         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
30778         Add fraiseexcpt.
30779         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
30780         Use __feraiseexcept.
30781         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
30782         Protect libm symbols with IS_IN_libm.
30784         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
30786 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
30788         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
30790 2014-08-04  Will Newton  <will.newton@linaro.org>
30792         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
30793         file.
30795 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
30797         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
30798         variants for each function.
30800 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30802         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
30803         appended ...
30804         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
30805         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
30806         appended ...
30807         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
30808         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
30809         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
30810         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
30811         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
30812         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
30813         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
30814         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
30815         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
30816         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
30817         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
30818         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
30819         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
30820         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
30821         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
30822         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
30823         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
30824         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
30825         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
30826         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
30827         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
30828         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
30829         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
30830         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
30831         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
30832         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
30833         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
30834         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
30835         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
30836         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
30837         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
30838         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
30839         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
30840         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
30841         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
30842         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
30843         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
30844         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
30845         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
30846         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
30847         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
30848         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
30849         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
30850         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
30851         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
30852         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
30853         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
30854         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
30855         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
30856         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
30857         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
30858         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
30859         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
30860         Update #include.
30861         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
30862         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
30864 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30866         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
30867         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
30868         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
30869         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
30870         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
30871         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
30873 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30875         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
30876         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
30877         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30878         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
30880 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30882         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
30883         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
30884         (__libc_vfork): Define function under this name.
30885         (__vfork): Define as an alias.
30886         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
30887         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
30889 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30891         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
30892         that was previously under [RESET_PID].
30893         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
30895 2014-08-04  Andreas Schwab  <schwab@suse.de>
30897         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
30899 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
30901         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
30902         (main): Likewise.
30904 2014-08-01  Roland McGrath  <roland@hack.frob.com>
30906         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
30908 2014-08-01  Richard Henderon  <rth@redhat.com>
30910         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
30911         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
30912         typo in exact zero test.
30913         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30914         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30915         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30917 2014-08-01  Roland McGrath  <roland@hack.frob.com>
30919         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
30920         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
30921         * sysdeps/arm/sysdep.h: ... here.
30922         [!__ASSEMBLER__]: Include <stdint.h>.
30924 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30926         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
30927         (HAVE_WCTYPE_H): Likewise.
30928         (HAVE_ISWCTYPE): Likewise.
30929         (ENABLE_NLS): Likewise.
30930         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
30931         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
30933         * posix/regex_internal.c: Check if DEBUG is defined and is
30934         set.
30936         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
30937         (HAVE_MBSRTOWCS): Likewise.
30938         * posix/fnmatch.c: Include string.h unconditionally.
30940 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
30942         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
30943         reversal.
30945 2014-07-31  Roland McGrath  <roland@hack.frob.com>
30947         * sysdeps/generic/safe-fatal.h: New file.
30948         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
30949         * nptl/forward.c: Include it.
30950         (__pthread_unwind): Use __safe_fatal as default action, rather
30951         than a bogus use of INTERNAL_SYSCALL that could never work.
30953         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
30954         * configure.ac (libc_cv_builtin_trap): New test.
30955         * configure: Regenerated.
30956         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
30957         (ABORT_INSTRUCTION): Define using __builtin_trap.
30959         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
30960         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
30961         * sysdeps/nptl/nptl-signals.h: New file.
30962         * nptl/pthreadP.h: Include <nptl-signals.h>.
30964 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
30966         * sysdeps/s390/s390-64/utf16-utf32-z9.c
30967         (ONE_DIRECTION): Define.
30968         * sysdeps/s390/s390-64/utf8-utf16-z9.c
30969         (ONE_DIRECTION): Define.
30970         * sysdeps/s390/s390-64/utf8-utf32-z9.c
30971         (ONE_DIRECTION): Define.
30973 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
30975         * sysdeps/s390/Makefile: Delete file.
30976         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
30977         * sysdeps/s390/__longjmp.c: Delete file.
30978         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
30979         Remove fields __flags and __reserved.
30980         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
30981         and add versioning.
30982         * sysdeps/s390/rtld-__longjmp.c: Delete file.
30983         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
30984         * sysdeps/s390/rtld-setjmp.S: Likewise.
30985         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
30986         * sysdeps/s390/s390-32/__longjmp.c: ... here.
30987         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
30988         * sysdeps/s390/s390-32/setjmp.S: ... here.
30989         Add versioning.
30990         (__sigsetjmp): Remove setting __flags field.
30991         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
30992         * sysdeps/s390/s390-64/__longjmp.c: ... here.
30993         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
30994         * sysdeps/s390/s390-64/setjmp.S: ... here.
30995         Add versioning.
30996         (__sigsetjmp): Remove setting __flags field.
30997         * sysdeps/s390/setjmp.S: Delete file.
30998         * sysdeps/s390/sigjmp.c: Likewise.
30999         * sysdeps/s390/v1-longjmp.c: Likewise.
31000         * sysdeps/s390/v1-setjmp.h: Likewise.
31001         * sysdeps/s390/v1-sigjmp.c: Likewise.
31002         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
31003         Remove v1-longjmp_chk.
31004         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
31005         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
31006         Include debug/longjmp_chk.c and add versioning.
31007         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
31008         Include nptl/pt-longjmp.c and add versioning.
31009         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
31010         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
31011         Include __longjmp.c.
31012         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
31013         Move to ...
31014         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
31015         (__getcontext): Remove setting __flags field.
31016         Add versioning.
31017         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31018         Don't restore upper high grps.
31019         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
31020         Likewise.
31021         (__swapcontext): Remove setting uc_flags field.
31022         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
31023         Delete file.
31024         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
31025         Include __longjmp.c.
31026         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
31027         Move to ...
31028         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
31029         (__getcontext): Remove setting __flags field.
31030         Add versioning.
31031         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
31032         (__swapcontext): Remove setting uc_flags field.
31033         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
31034         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
31035         Remove fields uc_high_gprs and __reserved.
31036         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
31037         New file with reverted content.
31038         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
31039         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
31040         Regenerated.
31041         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
31042         Regenerated.
31044 2014-07-31  Andreas Schwab  <schwab@suse.de>
31046         * config.h.in (HAVE_IFUNC): Define to 0.
31047         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
31048         definedness.
31050 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
31052         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31053         memmove-avx-unaligned, memcpy-avx-unaligned and
31054         mempcpy-avx-unaligned.
31055         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31056         Add tests for AVX memcpy functions.
31057         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
31058         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
31059         memcpy_chk.
31060         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
31061         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
31062         memmove_chk.
31063         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
31064         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
31065         mempcpy_chk.
31066         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
31067         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
31068         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
31070 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31072         [BZ #17213]
31073         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
31074         powerpc64le.
31076 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
31078         [BZ #16839]
31079         * manual/llio.texi: Add section about open file description locks.
31080         * manual/examples/ofdlocks.c: Example of open file description
31081         lock usage.
31082         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
31083         F_OFD_SETLK, and F_OFD_SETLKW.
31085 2014-07-23  Allan McRae  <allan@archlinux.org>
31087         * po/es.po: Update Spanish translation from translation project.
31089 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
31091         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
31093 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
31095         [BZ #17078]
31096         * sysdeps/arm/dl-machine.h (elf_machine_rela)
31097         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
31098         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
31100 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
31102         [BZ #17088]
31103         * math/fesetenv.c (__fesetenv)
31104         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
31105         * math/feupdateenv.c (__feupdateenv)
31106         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
31108         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
31109         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
31110         (__ASSUME_SOCKETCALL): Do not define.
31112         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
31113         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
31114         (__ASSUME_SOCKETCALL): Do not define.
31115         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
31116         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
31117         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31118         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
31119         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31120         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
31121         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31122         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31124         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
31125         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
31126         (__ASSUME_SOCKETCALL): Do not define.
31127         (__ASSUME_IPC64): Define unconditionally.
31128         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
31129         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31130         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
31131         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31132         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
31133         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31134         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
31135         Likewise.
31137         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
31138         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
31139         (__ASSUME_SOCKETCALL): Do not define.
31140         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
31141         (__ASSUME_FUTEX_LOCK_PI): Likewise.
31142         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31143         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
31144         (__ASSUME_REQUEUE_PI): Define unconditionally.
31145         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
31146         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
31147         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31148         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
31149         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31150         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31152         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
31153         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
31154         (__ASSUME_SOCKETCALL): Do not define.
31155         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
31156         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31157         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31158         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
31159         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31160         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31162         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
31163         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
31164         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31165         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
31166         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31167         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
31168         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31169         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
31170         (__ASSUME_GETCPU_SYSCALL): Likewise.
31172         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
31173         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
31174         cases for individual architectures.
31175         * sysdeps/gnu/configure: Regenerated.
31176         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
31177         LIBC_SLIBDIR_RTLDDIR.
31178         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
31179         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
31180         LIBC_SLIBDIR_RTLDDIR.
31181         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
31182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
31183         LIBC_SLIBDIR_RTLDDIR.
31184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
31185         Regenerated.
31186         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
31187         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
31188         file.
31189         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
31190         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
31191         file.
31192         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
31193         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
31194         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
31195         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
31197         * sysdeps/aarch64/shlib-versions: Move to ...
31198         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
31199         * sysdeps/alpha/shlib-versions: Move to ...
31200         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
31201         * sysdeps/arm/shlib-versions: Move to ...
31202         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
31203         * sysdeps/hppa/shlib-versions: Move all contents except for
31204         libgcc_s entry to ...
31205         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
31206         entry from ...
31207         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
31208         * sysdeps/ia64/shlib-versions: Move to ...
31209         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
31210         entry from ...
31211         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
31212         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
31213         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
31214         * sysdeps/microblaze/shlib-versions: Move to ...
31215         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
31216         * sysdeps/mips/shlib-versions: Move to ...
31217         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
31218         entry from ...
31219         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
31220         * sysdeps/tile/shlib-versions: Move to ...
31221         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
31222         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
31223         from ...
31224         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
31225         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
31226         entry from ...
31227         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
31229 2014-07-17  Will Newton  <will.newton@linaro.org>
31231         * sysdeps/arm/bits/atomic.h
31232         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
31233         (__arch_compare_and_exchange_bool_16_int): Likewise.
31234         (__arch_compare_and_exchange_bool_64_int): Likewise.
31236         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
31237         into an #else block.
31239 2014-07-16  Roland McGrath  <roland@hack.frob.com>
31241         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
31242         just Linux configurations.  Test empirically that the compiler sets
31243         __ARM_EABI__, rather than using the tuple to decide.
31244         * sysdeps/arm/preconfigure: Regenerated.
31245         * sysdeps/unix/sysv/linux/arm/configure: File removed.
31246         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
31247         contents appended ...
31248         * sysdeps/arm/configure.ac: ... here.
31249         * sysdeps/arm/configure: Regenerated.
31251 2014-07-15  Roland McGrath  <roland@hack.frob.com>
31253         * nptl/pthread_kill.c: New file.
31254         * nptl/pthread_sigmask.c: New file.
31255         * nptl/pthread_sigqueue.c: New file.
31257         * sysdeps/nptl/lowlevellock.h: New file.
31258         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
31259         * sysdeps/nptl/lowlevellock-futex.h: New file.
31261         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
31262         Remove dead declarations.
31264 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
31266         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
31267         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
31268         config-cflags-avx2.
31269         * sysdeps/x86_64/configure.ac: Likewise.
31270         * sysdeps/i386/configure: Regenerated.
31271         * sysdeps/x86_64/configure: Likewise.
31272         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31273         memset-avx2 only if config-cflags-avx2 is yes.
31274         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31275         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
31276         defined.
31277         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
31278         only if HAVE_AVX2_SUPPORT is defined.
31279         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31281 2014-07-14  Alan Modra  <amodra@gmail.com>
31283         [BZ #17153]
31284         * elf/elf.h (DT_PPC64_NUM): Correct value.
31285         * NEWS: Add to fixed bug list.
31287 2014-07-13  Jim Meyering  <meyering@fb.com>
31289         [BZ 17150]
31290         regex: don't deref NULL upon heap allocation failure
31291         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
31292         failure in one more place.
31293         To trigger the segfault, configure grep -with-included-regex,
31294         build it, and run these commands:
31295         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
31297 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
31299         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31301 2014-07-11  Richard Henderson  <rth@redhat.com>
31303         * sysdeps/aarch64/libm-test-ulps: Update.
31305 2014-07-10  Florian Weimer  <fweimer@redhat.com>
31307         [BZ #17135]
31308         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
31309         * nptl/allocatestack.c (__nptl_setxid_error): New function.
31310         (__nptl_setxid): Initialize error member.  Call
31311         __nptl_setxid_error.
31312         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
31313         * nptl/descr.h (struct xid_command): Add error member.
31314         * nptl/tst-setuid3.c: New file.
31315         * nptl/Makefile (tests): Add it.
31317 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31319         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
31320         New define.
31321         (__lll_trylock): Use __lll_base_trylock.
31322         (__lll_cond_trylock): Likewise.
31324 2014-07-10  Roland McGrath  <roland@hack.frob.com>
31326         * nptl/pthread_create.c (start_thread): Use atomic_or and
31327         lll_futex_wake directly rather than lll_robust_dead.
31328         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31329         (lll_robust_dead): Macro removed.
31330         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
31331         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31332         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31333         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31334         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31335         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31336         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31337         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31338         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31339         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31340         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31341         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31342         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31343         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31344         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31346         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
31347         Use atomic_compare_and_exchange_val_acq directly rather than
31348         lll_robust_trylock.
31349         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31350         (__lll_robust_trylock, lll_robust_trylock): Removed.
31351         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31352         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31353         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31354         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31355         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31356         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31357         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31358         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31359         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31360         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31361         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31362         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31363         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31364         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31366 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31368         * manual/locale.texi (Locale Names): New section documenting
31369         locale name syntax.  Adjust menu and node chaining accordingly.
31370         (Choosing Locale): Reference Locale Names, Locale Categories.
31371         Mention setting LC_ALL=C.  Reflect that name syntax is now
31372         documented.
31373         (Locale Categories): New section title.  Reference Locale Names.
31374         LC_ALL is an environment variable, but not a category.
31375         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
31376         description, now in Locale Name.  Reference that section.  Locale
31377         name syntax is now documented.
31379 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31381         [BZ #17137]
31382         * locale/findlocale.c (name_present, valid_locale_name): New
31383         functions.
31384         (_nl_find_locale): Use the loc_name variable to store name
31385         candidates.  Call name_present and valid_locale_name to check and
31386         validate locale names.  Return an error if the locale is invalid.
31388 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31390         * locale/setlocale.c (setlocale): Use strdup for allocating
31391         composite name copy.
31393 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31395         Sync up with gnulib.
31396         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
31397         [!_LIBC && ENABLE_NLS]: Include gettext.h.
31398         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
31399         and _GL_ARG_NONNULL.
31400         [USE_UNLOCKED_IO]: Include unlocked-io.h.
31401         [!_LIBC]: Include code for Windows and Cygwin.
31402         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
31403         Include prototype for int strerror_r.
31404         [!_LIBC] (is_open): New function.
31405         (flush_stdout): New function.
31406         (print_errno_message): Use it.
31407         (error): Likewise.
31408         (error_at_line): Likewise.
31409         (error_tail) Add function attribute macros.  Use
31410         __builtin_expect.
31412         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
31414         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
31416         * io/ftw.c: Include sys/param.h unconditionally.
31418         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
31420         [BZ #17125]
31421         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
31422         libc_freeres_ptr.
31423         (freecache): New function to free CACHE on exit.
31425         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
31426         initialization.
31428 2014-07-09  David S. Miller  <davem@davemloft.net>
31430         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31432         * sysdeps/sparc/nptl/internaltypes.h: Delete.
31433         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
31434         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
31435         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
31436         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
31437         * sysdeps/sparc/nptl/sem_init.c: Likewise.
31438         * sysdeps/sparc/nptl/sem_post.c: Likewise.
31439         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
31440         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
31441         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
31442         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
31443         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
31444         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
31446 2014-07-09  Andreas Schwab  <schwab@suse.de>
31448         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
31449         output.
31450         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
31451         (do_test): Likewise.
31453         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31455 2014-07-09  Will Newton  <will.newton@linaro.org>
31457         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
31458         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
31459         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31460         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31461         * sysdeps/hppa/start.S (_start): Likewise.
31463 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
31465         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
31467         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
31468         defined.
31470 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31472         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
31473         after checking that it is non-NULL.
31475         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
31477 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31479         * sysdeps/powerpc/memmove.c: Remove file.
31480         * sysdeps/powerpc/powerpc32/power4/memcopy.h
31481         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
31482         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
31483         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
31484         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
31485         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
31486         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
31487         string memmove instead of removed powerpc one.
31489         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
31490         [weak_alias]: Fix compiler warning due trailing data.
31491         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
31492         [weak_alias]: Likewise.
31493         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
31494         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
31496         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
31497         (__libc_ifunc_impl_list): Add memmove functions.
31499 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31501         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
31502         Remove code.
31503         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
31504         Likewise.
31505         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
31506         Likewise.
31507         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
31508         Likewise.
31509         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
31510         Likewise.
31511         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
31512         Likewise.
31513         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
31514         Likewise.
31515         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
31516         Likewise.
31517         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
31518         Likewise.
31519         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
31520         Likewise.
31521         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
31522         Likewise.
31523         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
31524         Likewise.
31525         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
31526         Likewise.
31527         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
31528         Likewise.
31529         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
31530         Likewise.
31531         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
31532         Likewise.
31533         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
31534         Likewise.
31536 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31538         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
31539         to avoid alignment traps in non-cacheable memory.
31540         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31542         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
31543         multiarch objects.
31544         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
31545         file: multiarch power7 memmove.
31546         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
31547         multiarch default memmove.
31548         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
31549         multiarch memove for powerpc32/power4.
31551         * string/bcopy.c: Use full path to include memmove.c.
31552         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
31553         multiarch objects.
31554         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
31555         bcopy for powerpc64.
31556         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
31557         bcopy for powerpc64.
31558         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
31559         and memmove implementations.
31560         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
31561         optimized multiarch memmove for POWER7/powerpc64.
31562         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
31563         default multiarch memmove for powerpc64.
31564         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
31565         multiarch for powerpc64.
31566         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
31567         for POWER7/powerpc64.
31568         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
31569         memmove for POWER7/powerpc64.
31571         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
31572         glibc default one.
31574         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
31575         __ELF_NATIVE_CLASS equal to 64.
31577 2014-07-07  Roland McGrath  <roland@hack.frob.com>
31579         * sysdeps/nptl/lowlevellock.h: File removed.
31581         * NEWS: NPTL is no longer an add-on!
31582         * nptl/internaltypes.h: Moved ...
31583         * sysdeps/nptl/internaltypes.h: ... here.
31584         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
31585         * sysdeps/nptl/fork.c: Likewise.
31586         * sysdeps/nptl/gai_misc.h: Likewise.
31587         * sysdeps/nptl/librt-cancellation.c: Likewise.
31588         * sysdeps/nptl/jmp-unwind.c: Likewise.
31589         * sysdeps/nptl/setxid.h: Likewise.
31590         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
31591         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
31592         * sysdeps/unix/sysv/linux/arm/Implies: New file.
31593         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
31594         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
31595         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
31596         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
31597         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
31598         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
31599         * sysdeps/unix/sysv/linux/mips/Implies: New file.
31600         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
31601         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
31602         * sysdeps/unix/sysv/linux/sh/Implies: New file.
31603         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
31604         * sysdeps/unix/sysv/linux/tile/Implies: New file.
31605         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
31606         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
31607         * nptl/Makeconfig: Moved ...
31608         * sysdeps/nptl/Makeconfig: ... here.
31609         * nptl/configure: File removed.
31610         * nptl/ANNOUNCE: File removed.
31611         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
31612         * sysdeps/unix/sysv/linux/configure: Regenerated.
31614         * nptl/Makefile (routines): Add libc_pthread_init,
31615         libc_multiple_threads, register-atfork and unregister-atfork.
31616         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
31617         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
31618         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
31619         pthread-pi-defines.sym, structsem.sym.
31620         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
31621         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
31622         [$(subdir) = nptl] (tests): Add tst-setgetname.
31623         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
31624         * sysdeps/unix/sysv/linux/sigaction.c: Just include
31625         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
31626         [!LIBC_SIGACTION]: Remove aliases.
31627         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
31628         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
31629         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
31630         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
31631         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
31632         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
31633         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31634         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31635         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
31636         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
31637         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
31638         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
31639         __libc_allocate_rtsig_private.
31640         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
31641         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
31642         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
31643         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
31644         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
31645         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
31646         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
31647         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
31648         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
31649         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
31650         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
31651         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
31652         * nptl/internaltypes.h: ... here.
31653         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
31654         * sysdeps/nptl/jmp-unwind.c: ... here.
31655         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
31656         * nptl/libc-lowlevellock.c: ... here.
31657         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
31658         * nptl/libc_multiple_threads.c: ... here.
31659         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
31660         * nptl/libc_pthread_init.c: ... here.
31661         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
31662         * nptl/lowlevelbarrier.sym: ... here.
31663         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
31664         * nptl/lowlevelcond.sym: ... here.
31665         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
31666         * nptl/lowlevellock.c: ... here.
31667         * nptl/lowlevellock.h: Moved ...
31668         * sysdeps/nptl/lowlevellock.h: ... here.
31669         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
31670         * nptl/lowlevelrobustlock.c: ... here.
31671         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
31672         * nptl/lowlevelrobustlock.sym: ... here.
31673         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
31674         * nptl/lowlevelrwlock.sym: ... here.
31675         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
31676         * nptl/pt-fork.c: ... here.
31677         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
31678         * nptl/pthread-pi-defines.sym: ... here.
31679         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
31680         * nptl/pthread_attr_getaffinity.c: ... here.
31681         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
31682         * nptl/pthread_attr_setaffinity.c: ... here.
31683         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
31684         * nptl/pthread_mutex_cond_lock.c: ... here.
31685         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
31686         Update #include.
31687         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
31688         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
31689         * nptl/pthread_once.c: ... here, replacing old file.
31690         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
31691         * nptl/pthread_yield.c: ... here.
31692         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
31693         * nptl/register-atfork.c: ... here.
31694         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
31695         * nptl/sem_post.c: ... here.
31696         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
31697         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
31698         * nptl/sem_timedwait.c: ... here.
31699         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
31700         * nptl/sem_trywait.c: ... here.
31701         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
31702         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
31703         * nptl/sem_wait.c: ... here.
31704         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
31705         * nptl/structsem.sym: ... here.
31706         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
31707         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
31708         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
31709         * nptl/unregister-atfork.c: ... here.
31710         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
31711         * nptl/unwindbuf.sym: ... here.
31712         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
31713         * sysdeps/nptl/fork.c: ... here.
31714         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
31715         * sysdeps/nptl/fork.h: ... here.
31716         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
31717         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
31718         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
31719         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
31720         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
31721         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
31722         * sysdeps/unix/sysv/linux/getpid.c: ... here.
31723         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
31724         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
31725         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
31726         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
31727         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
31728         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
31729         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
31730         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
31731         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
31732         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
31733         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
31734         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
31735         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
31736         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
31737         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
31738         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
31739         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
31740         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
31741         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
31742         * sysdeps/unix/sysv/linux/raise.c: ... here.
31743         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
31744         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
31745         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
31746         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
31747         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
31748         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
31749         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
31750         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
31751         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
31752         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
31753         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
31754         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
31755         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
31756         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
31757         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
31759 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31761         * sysdeps/generic/memcopy.h: Add comment for
31762         MEMCPY_OK_FOR_FWD_MEMMOVE.
31764 2014-07-04  Will Newton  <will.newton@linaro.org>
31766         * string/memchr.c: Merge from gnulib.
31767         [_LIBC]: Remove conditionals.
31768         (__ptr_t): Remove define.
31769         (LONG_MAX_32_BITS): Likewise.
31770         (LONG_MAX): Likewise.
31771         (MEMCHR): Use ANSI prototype and optimize algorithm.
31773         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
31775 2014-07-03  Roland McGrath  <roland@hack.frob.com>
31777         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
31778         (lll_futex_timed_wait_bitset): Fix syscall argument count.
31780         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
31781         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
31782         in a bare environment with no <stdlib.h> installed.
31783         * sysdeps/nptl/configure: Regenerated.
31785         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
31787         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
31788         AC_EGREP_CPP for kernel header checks, so they only succeed if
31789         including <linux/version.h> actually works right.
31790         * sysdeps/unix/sysv/linux/configure: Regenerated.
31792         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
31793         value so it's not diagnosed as unused.
31795         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
31796         thing) with "ifeq ($(subdir),rt)".
31798 2014-07-03  Richard Henderson  <rth@redhat.com>
31800         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
31801         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
31802         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
31804         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
31805         (math_force_eval): New.
31807         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
31808         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
31810         * sysdeps/alpha/fpu/s_round.c: Remove file.
31811         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
31813         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
31814         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
31815         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
31816         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
31817         (_dl_start, print_statistics): Likewise.
31818         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
31819         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
31821         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31822         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31823         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31824         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31825         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31826         (HP_SMALL_TIMING_AVAIL): Define.
31827         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31828         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
31829         (HP_SMALL_TIMING_AVAIL): Define.
31830         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31831         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31833         * sysdeps/aarch64/hp-timing.h: New file.
31835         * sysdeps/generic/hp-timing.h: Remove dead comment.
31836         * sysdeps/generic/hp-timing-common.h: New file.
31837         * sysdeps/alpha/hp-timing.h: Include it.
31838         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
31839         * sysdeps/i386/i686/hp-timing.h: Likewise.
31840         * sysdeps/ia64/hp-timing.h: Likewise.
31841         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31842         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31843         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
31844         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
31845         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
31846         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
31847         (hp_timing_t): New.
31849         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
31850         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
31851         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
31852         * elf/rtld.c (_dl_start_final): Likewise.
31853         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
31854         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31855         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31856         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31857         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31858         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31859         (HP_TIMING_DIFF_INIT): Remove.
31860         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31861         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
31862         (HP_TIMING_DIFF_INIT): Remove.
31863         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31864         * sysdeps/i386/i686/hp-timing.c: Remove file.
31865         * sysdeps/x86_64/hp-timing.c: Remove file.
31866         * sysdeps/ia64/hp-timing.c: Remove file.
31867         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
31868         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
31869         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
31870         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
31872         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
31873         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
31874         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
31875         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31876         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31877         (HP_TIMING_ACCUM): Remove.
31878         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31879         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
31880         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31882         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
31883         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
31884         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
31885         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
31886         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
31887         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
31888         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
31889         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
31891         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
31893 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
31895         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
31897 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31899         Sync up with gettext.
31900         * intl/loadmsgcat.c: Define O_BINARY if not defined.
31901         [_MSC_VER]: Include malloc.h
31902         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
31903         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
31904         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
31905         TEMP_FAILURE_RETRY.  Cast return of alloca.
31906         [!_LIBC] Call gl_rwlock_init.
31907         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
31909 2014-07-02  Roland McGrath  <roland@hack.frob.com>
31911         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
31912         before checking its value.
31914 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31916         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
31918         * debug/memcpy_chk.c: Don't include pagecopy.h.
31919         * debug/mempcpy_chk.c: Likewise.
31920         * string/memcpy.c: Likewise.
31921         * string/memmove.c: Likewise.
31922         * sysdeps/powerpc/memmove.c: Likewise.
31923         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
31924         definition of PAGE_COPY_FWD_MAYBE here...
31925         * sysdeps/generic/pagecopy.h: ... from here.
31926         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
31928 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31929             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31931         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
31932         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
31933         optimizations.
31934         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31935         (__libc_ifunc_impl_list): Likewise.
31936         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
31937         multiarch strcat for PPC64.
31938         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
31939         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
31941 2014-07-02  Roland McGrath  <roland@hack.frob.com>
31943         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
31945 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31947         * intl/loadmsgcat.c: Remove declaration of
31948         get_sysdep_segment_value.
31949         (get_sysdep_segment_value): Use ISO C style.
31950         (_nl_load_domain): Use ISO C style.  Get rid of redundant
31951         semicolon.  Fix typo and formatting in comment.
31952         (_nl_unload_domain): Use ISO C style.
31954         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
31956 2014-07-02  Will Newton  <will.newton@linaro.org>
31958         * malloc/obstack.c: Merge from gnulib master.
31959         [HAVE_CONFIG_H]: Remove conditional code.
31960         [!_LIBC]: Include config.h.
31961         [!ELIDE_CODE]: Don't include inttypes.h, include
31962         stdint.h unconditionally.
31963         (print_and_abort): Mark as _Noreturn.
31964         (_obstack_allocated_p): Mark as __attribute_pure__.
31965         (obstack_free): Rename to __obstack_free.
31966         [!__attribute__]: Remove conditional code.
31967         * malloc/obstack.h: Merge from gnulib master.
31968         [__cplusplus]: Move conditional down.
31969         [!__attribute_pure__]: Define __attribute_pure__ here
31970         if it is not already defined.
31971         (_obstack_memory_used): Mark as __attribute_pure__.
31972         [!__obstack_free]: Define as obstack_free.
31973         [__GNUC__]: Remove check for ancient NeXT gcc.
31975 2014-07-02  Will Newton  <will.newton@linaro.org>
31976             Paul Eggert  <eggert@cs.ucla.edu>
31978         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
31980 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31982         * resolv/gethnamaddr.c: Add comment warning that the file is
31983         not maintained.
31985 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
31987         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
31988         entries.
31990         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
31991         entry for aio_cancel and aio_cancel64.
31992         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
31993         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
31994         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
31995         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
31996         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
31997         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
31998         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
31999         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
32000         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
32001         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
32002         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
32003         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
32004         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
32006 2014-07-01  Roland McGrath  <roland@hack.frob.com>
32008         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
32009         * nptl/pthread_mutex_lock.c: Likewise.
32010         * nptl/pthread_mutex_timedlock.c: Likewise.
32011         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
32013 2014-07-01  Richard henderson  <rth@redhat.com>
32015         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
32016         (__isnan, __isnanl): Remove.
32017         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
32019         * sysdeps/alpha/fpu/libm-test-ulps: Update.
32021 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
32023         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32025 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
32027         * resolv/nss_dns/dns-host.c (getanswer_r)
32028         [MULTI_PTRS_ARE_ALIASES]: Remove code.
32030 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
32032         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32033         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
32034         undefine.
32035         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
32036         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
32038 2014-07-01  Roland McGrath <roland@hack.frob.com>
32040         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
32041         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
32043         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
32044         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
32046         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
32047         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
32048         ... here.
32049         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
32050         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
32052         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
32053         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
32054         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
32055         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
32057         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
32058         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
32059         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
32060         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
32061         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
32062         Moved ...
32063         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
32064         ... here.
32065         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
32066         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
32067         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
32068         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
32069         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
32070         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
32071         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
32072         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
32073         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
32074         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
32075         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
32076         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
32077         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
32078         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
32079         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
32080         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
32081         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
32082         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
32083         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
32084         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
32085         ... here.
32086         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
32087         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
32088         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
32089         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
32090         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
32091         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
32092         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
32093         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
32095 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
32097         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
32098         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
32099         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
32100         Add sysdep.
32102 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32104         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32106 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
32108         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
32109         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32111         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32113         * sysdeps/arm/libm-test-ulps: Regenerated.
32115 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
32116             Roland McGrath <roland@hack.frob.com>
32118         * test-skeleton.c (signal_handler): Kill the whole process group
32119         before killing the child individually.
32120         (main): Report any failure on `setpgid'.
32122 2014-06-30  Roland McGrath  <roland@hack.frob.com>
32124         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
32125         from _TLS_H to _ARM_NPTL_TLS_H.
32126         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
32127         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
32129 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
32131         [BZ #16539]
32132         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
32133         (__expm1l): Return argument unchanged when small but not
32134         subnormal.
32136         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
32137         include macro name.
32138         (_FP_UNPACK_RAW_1_P): Likewise.
32139         (_FP_PACK_RAW_1): Likewise.
32140         (_FP_PACK_RAW_1_P): Likewise.
32141         (_FP_MUL_MEAT_1_wide): Likewise.
32142         (_FP_MUL_MEAT_DW_1_hard): Likewise.
32143         (_FP_MUL_MEAT_1_hard): Likewise.
32144         (_FP_DIV_MEAT_1_imm): Likewise.
32145         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
32146         (_FP_DIV_MEAT_1_udiv): Likewise.
32147         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
32148         (_FP_UNPACK_RAW_2): Likewise.
32149         (_FP_UNPACK_RAW_2_P): Likewise.
32150         (_FP_PACK_RAW_2): Likewise.
32151         (_FP_PACK_RAW_2_P): Likewise.
32152         (_FP_MUL_MEAT_DW_2_wide): Likewise.
32153         (_FP_MUL_MEAT_2_wide): Likewise.
32154         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
32155         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
32156         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
32157         (_FP_MUL_MEAT_2_gmp): Likewise.
32158         (_FP_DIV_MEAT_2_udiv): Likewise.
32159         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
32160         (_FP_FRAC_SRL_4): Likewise.
32161         (_FP_FRAC_SRST_4): Likewise.
32162         (_FP_FRAC_SRS_4): Likewise.
32163         (_FP_UNPACK_RAW_4): Likewise.
32164         (_FP_UNPACK_RAW_4_P): Likewise.
32165         (_FP_PACK_RAW_4): Likewise.
32166         (_FP_PACK_RAW_4_P): Likewise.
32167         (_FP_MUL_MEAT_DW_4_wide): Likewise.
32168         (_FP_MUL_MEAT_4_wide): Likewise.
32169         (_FP_MUL_MEAT_4_gmp): Likewise.
32170         (umul_ppppmnnn): Likewise.
32171         (_FP_DIV_MEAT_4_udiv): Likewise.
32172         (__FP_FRAC_ADD_4): Likewise.
32173         (__FP_FRAC_SUB_3): Likewise.
32174         (__FP_FRAC_SUB_4): Likewise.
32175         (__FP_FRAC_DEC_3): Likewise.
32176         (__FP_FRAC_DEC_4): Likewise.
32177         (__FP_FRAC_ADDI_4): Likewise.
32178         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
32179         (_FP_FRAC_SRL_8): Likewise.
32180         (_FP_FRAC_SRS_8): Likewise.
32182         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
32183         include macro name.
32184         (FP_UNPACK_RAW_EP): Likewise.
32185         (FP_PACK_RAW_E): Likewise.
32186         (FP_PACK_RAW_EP): Likewise.
32187         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
32188         (_FP_ISSIGNAN): Likewise.
32189         (_FP_ADD_INTERNAL): Likewise.
32190         (_FP_FMA): Likewise.
32191         (_FP_CMP): Likewise.
32192         (_FP_SQRT): Likewise.
32193         (_FP_TO_INT): Likewise.
32194         (_FP_FROM_INT): Likewise.
32195         (FP_EXTEND): Likewise.
32196         (_FP_DIV_MEAT_N_loop): Likewise.
32198 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
32200         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
32201         throughout.
32203 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
32205         [BZ #17097]
32206         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
32207         result with correct sign in case of exponents that produce
32208         overflow except for X very close to 1.
32210 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
32212         mktime: merge #if/#ifdef usage from glibc
32213         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
32214         as that works with both Glibc's and Gnulib's style.
32215         See thread starting at Siddhesh Poyarekar's bug report at:
32216         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
32218 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32220         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
32221         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
32222         * sysdeps/tile/tilegx/memmove.c: Remove file.
32224 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
32226         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
32227         abi-name definition.
32228         * scripts/soversions.awk: Do not handle or generate ABI lines.
32229         * shlib-versions: Remove ABI entries.
32230         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
32231         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
32233 2014-06-27  Roland McGrath  <roland@hack.frob.com>
32235         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
32236         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
32237         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
32238         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
32239         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
32240         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
32241         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
32242         Moved ...
32243         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
32244         ... here.
32245         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
32246         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
32247         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
32248         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
32249         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
32250         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
32251         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
32252         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
32253         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
32254         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
32255         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
32256         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
32257         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
32258         Moved ...
32259         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
32260         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
32261         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
32262         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
32263         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
32264         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
32265         Moved ...
32266         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
32267         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
32268         Moved ...
32269         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
32270         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
32271         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
32272         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
32273         Moved ...
32274         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
32275         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
32276         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
32277         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
32278         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
32279         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
32280         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
32281         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
32282         Moved ...
32283         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
32284         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
32285         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
32286         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
32287         Moved ...
32288         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
32289         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
32290         Moved ...
32291         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
32292         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
32293         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
32294         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
32295         Moved ...
32296         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
32297         ... here.
32298         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
32299         Identical file removed.
32300         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
32301         Moved ...
32302         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
32303         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
32304         Identical file removed.
32305         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
32306         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
32307         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
32308         Moved ...
32309         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
32310         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
32311         Identical file removed.
32312         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
32313         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
32314         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
32315         Identical file removed.
32316         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
32317         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
32318         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
32319         Identical file removed.
32320         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
32321         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
32322         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
32323         Identical file removed.
32324         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
32325         Moved ...
32326         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
32327         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
32328         Identical file removed.
32329         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
32330         Moved ...
32331         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
32332         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
32333         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
32334         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
32335         Identical file removed.
32336         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
32337         Moved ...
32338         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
32339         ... here.
32340         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
32341         Identical file removed.
32342         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
32343         Moved ...
32344         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
32345         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
32346         Identical file removed.
32347         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
32348         Moved ...
32349         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
32350         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
32351         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
32352         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
32353         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
32354         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
32355         Moved ...
32356         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
32357         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
32358         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
32360         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
32361         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
32362         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
32363         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
32364         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
32366 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
32368         [BZ #17092]
32369         * nscd/nscd.c (monitor_child): Return exit status of child
32370         instead of return value from wait syscall.
32372 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
32374         * configure.ac (libc_commonpagesize): Remove variable.
32375         (libc_relro_required): Likewise.
32376         (libc_cv_z_relro): Remove configure test.
32377         * configure: Regenerated.
32378         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
32379         variable.
32380         (libc_relro_required): Likewise.
32381         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
32382         (libc_relro_required): Likewise.
32383         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
32384         (libc_relro_required): Likewise.
32385         * sysdeps/arm/preconfigure: Regenerated.
32386         * sysdeps/ia64/preconfigure: Remove file.
32387         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
32388         variable.
32389         (libc_relro_required): Likewise.
32391         [BZ #16561]
32392         [BZ #16562]
32393         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
32394         (__ieee754_yn): Set FE_TONEAREST mode internally and then
32395         recompute overflowing results in original rounding mode.
32396         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
32397         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
32398         recompute overflowing results in original rounding mode.
32399         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
32400         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32401         recompute overflowing results in original rounding mode.
32402         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
32403         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32404         recompute overflowing results in original rounding mode.
32405         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
32406         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32407         recompute overflowing results in original rounding mode.
32408         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
32409         (libc_feholdsetround_ctx): New macro.
32410         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
32411         * sysdeps/i386/fpu/libm-test-ulps: Update.
32412         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
32414 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32416         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
32417         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
32418         corresponding .cpsetup call.
32420 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32422         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
32423         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
32424         * sysdeps/arm/Makefile [$(subdir) = csu]
32425         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
32426         (static-only-routines): Add aeabi_read_tp here.
32427         (shared-only-routines): Add libc-aeabi_read_tp here.
32428         (CFLAGS-libc-start.c): Add -fexceptions here.
32429         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
32430         (sysdep_routines, static-only-routines, shared-only-routines):
32431         Don't add to these here.
32432         (CFLAGS-libc-start.c): Likewise.
32434         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
32435         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
32436         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
32437         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
32438         * sysdeps/arm/Makefile [$(subdir) = rt]
32439         (librt-sysdep_routines, librt-shared-only-routines):
32440         Append rt-aeabi_unwind_cpp_pr1 here.
32441         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
32442         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
32443         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
32444         (libpthread-sysdep_routines, libpthread-shared-only-routines):
32445         Append nptl-aeabi_unwind_cpp_pr1 here.
32446         (tests): Filter out tst-cleanupx4 here.
32447         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
32448         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
32449         Don't do those here.
32451 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32453         * scripts/list-sources.sh: Do not handle ports specially.
32455 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32457         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
32458         * sysdeps/arm/feupdateenv.c: Likewise.
32460         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
32462 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32464         * manual/texinfo.tex: Update to version 2014-05-05.10 with
32465         trailing whitespace removed.
32466         * scripts/config.guess: Update to version 2014-03-23.
32467         * scripts/config.sub: Update to version 2014-05-01
32468         * scripts/install-sh: Update to version 2013-12-25.23.
32469         * scripts/move-if-change: Update from gnulib.
32471 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32473         * debug/memmove_chk.c: Remove pagecopy.h include.
32475 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
32477         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
32478         identical to gnulib mktime.
32480 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32482         * configure.ac: Do not test for machine being rs6000.  Do not test
32483         for powerpc*-*soft.
32484         * configure: Regenerated.
32486         [BZ #11505]
32487         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
32488         test.
32489         * configure: Regenerated.
32490         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
32491         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
32492         Remove configure test.
32493         * sysdeps/arm/configure: Regenerated.
32494         * sysdeps/nptl/configure.ac: Do not check
32495         libc_cv_asm_cfi_directives.
32496         * sysdeps/nptl/configure: Regenerated.
32497         * sysdeps/x86_64/nptl/configure.ac: Remove file.
32498         * sysdeps/x86_64/nptl/configure: Remove generated file.
32499         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
32500         unconditional.
32501         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
32503 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32505         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
32506         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
32507         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
32508         it is defined.
32510         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
32511         instead of whether it is defined.
32512         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
32513         * sysdeps/hppa/dl-machine.h: Likewise.
32514         * sysdeps/ia64/dl-machine.h: Likewise.
32515         * sysdeps/m68k/dl-machine.h: Likewise.
32516         * sysdeps/microblaze/dl-machine.h: Likewise.
32517         * sysdeps/mips/dl-machine.: Likewise.
32518         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32519         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32520         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32521         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32522         * sysdeps/sh/dl-machine.h: Likewise.
32523         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32524         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32525         * sysdeps/tile/dl-machine.h: Likewise.
32526         * sysdeps/x86_64/dl-machine.h: Likewise.
32528         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
32529         code.
32530         (verify_persistent_db): Likewise.
32532 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32534         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
32535         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
32536         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
32537         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
32538         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32539         Moved ...
32540         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
32541         ... here.
32542         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
32543         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
32544         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
32545         Identical file removed.
32546         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
32547         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
32548         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
32549         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
32550         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
32551         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
32552         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
32553         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
32554         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
32555         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
32556         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32557         Moved ...
32558         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
32559         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
32560         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
32561         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
32562         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
32563         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32564         Moved ...
32565         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
32566         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
32567         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
32568         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
32569         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
32570         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32571         Identical file removed.
32572         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
32573         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
32574         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
32575         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
32576         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32577         Moved ...
32578         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
32579         ... here.
32580         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
32581         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
32582         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
32583         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
32584         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
32585         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
32586         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
32587         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
32588         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
32589         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
32590         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32591         Moved ...
32592         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
32593         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
32594         Moved ...
32595         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
32596         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
32597         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
32598         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32599         Moved ...
32600         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
32601         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
32602         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
32604         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
32605         folded into ...
32606         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
32607         * sysdeps/unix/sysv/linux/s390/Versions
32608         (libpthread: GLIBC_2.19): New version set.
32609         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
32610         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
32611         (librt: GLIBC_2.3.3): New version set.
32612         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
32613         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
32614         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
32615         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
32616         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
32617         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
32618         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
32619         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
32620         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
32621         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
32622         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
32623         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
32624         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
32625         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
32626         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
32627         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
32628         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
32629         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
32630         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
32631         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
32632         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
32633         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
32634         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
32635         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
32636         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
32637         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
32638         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
32639         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
32640         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
32641         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
32642         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
32643         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
32644         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
32645         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
32646         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
32647         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
32648         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
32649         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
32650         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
32651         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
32652         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
32653         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
32654         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
32655         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
32656         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
32658         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
32659         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
32660         (__libc_vfork): Define the function under this name.
32661         [!NOT_IN_libc] (__vfork): Make this an alias.
32662         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
32663         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
32664         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
32665         (__libc_vfork): Define the function under this name.
32666         [!NOT_IN_libc] (__vfork): Make this an alias.
32667         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
32668         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
32669         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
32670         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
32671         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
32672         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32674         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
32675         code that was previously under [RESET_PID].
32676         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
32677         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
32678         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
32680         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
32681         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
32682         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
32683         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
32684         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
32685         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
32686         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
32687         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
32688         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
32689         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
32690         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
32691         Moved ...
32692         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
32693         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
32694         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
32695         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
32696         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
32697         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
32698         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
32699         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
32700         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
32701         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
32702         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
32703         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
32704         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
32705         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
32706         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
32707         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
32708         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
32709         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
32710         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
32711         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
32712         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
32713         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
32714         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
32715         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
32716         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
32717         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
32718         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
32719         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
32720         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
32722 2014-06-25  Roland McGrath  <roland@hack.frob.com>
32724         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
32725         that was previously under [RESET_PID].
32726         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
32728 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32730         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
32731         not undefine and redefine.
32732         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
32733         [O_CLOEXEC]: Make code unconditional.
32734         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
32735         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
32736         <kernel-features.h>.
32737         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
32738         conditional variable definition.
32739         (shm_open) [O_CLOEXEC]: Make code unconditional.
32740         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
32741         code.
32743         * configure.ac (USE_REGPARMS): Don't define here.
32744         * configure: Regenerated.
32745         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
32746         * sysdeps/i386/configure: Regenerated.
32748         * nptl/createthread.c: Don't include kernel-features.h.
32749         * nptl/pthread_cancel.c: Likewise.
32750         * nptl/pthread_condattr_setclock.c: Likewise.
32751         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
32752         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
32753         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
32754         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
32755         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
32756         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
32757         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
32758         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
32759         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
32760         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
32761         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
32762         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
32763         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
32764         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
32765         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
32766         * nscd/gai.c: Likewise.
32767         * nss/nss_db/db-open.c: Likewise.
32768         * sysdeps/generic/ldsodefs.h: Likewise.
32769         * sysdeps/sh/nptl/tls.h: Likewise.
32770         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
32771         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
32772         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
32773         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
32774         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
32775         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
32776         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
32777         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32778         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32779         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
32780         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
32781         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
32782         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
32783         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
32784         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
32785         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
32786         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
32787         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
32788         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
32789         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
32790         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
32791         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
32792         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
32793         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
32794         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
32795         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
32796         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
32797         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
32798         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
32799         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
32800         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
32801         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
32802         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
32803         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32804         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32805         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
32806         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32807         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
32808         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
32809         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
32810         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
32811         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
32812         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
32813         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32814         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
32815         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
32816         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
32817         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
32818         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
32819         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
32820         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
32821         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
32822         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
32823         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
32824         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
32825         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32826         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
32827         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
32828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
32830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
32831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
32832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
32833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
32834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
32835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
32836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
32837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
32838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
32839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
32840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
32841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
32842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
32843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
32848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
32849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
32850         * sysdeps/unix/sysv/linux/pread.c: Likewise.
32851         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
32852         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
32853         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
32854         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
32855         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
32856         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
32857         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
32858         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
32859         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
32860         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
32861         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
32862         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
32863         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
32864         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
32865         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
32866         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
32867         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
32868         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
32869         * sysdeps/unix/sysv/linux/system.c: Likewise.
32870         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
32871         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
32872         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32873         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32874         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32875         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
32876         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32878         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
32879         * configure: Regenerated.
32880         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
32882         * configure.ac (base_machine): Do not set specially for particular
32883         machines here.
32884         * configure: Regenerated.
32885         * sysdeps/powerpc/preconfigure: Move machine and base_machine
32886         settings from configure.ac.
32887         * sysdeps/i386/preconfigure: New file.
32888         * sysdeps/s390/preconfigure: Likewise.
32889         * sysdeps/sh/preconfigure: Likewise.
32890         * sysdeps/sparc/preconfigure: Likewise.
32892 2014-06-25  Roland McGrath  <roland@hack.frob.com>
32894         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
32895         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
32896         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
32897         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
32898         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
32899         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
32900         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
32901         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
32902         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
32903         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
32904         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
32905         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
32906         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
32907         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
32908         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
32909         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
32910         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
32911         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
32912         * sysdeps/sparc/sparc64/Makefile: ... appended here.
32914         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
32915         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
32916         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
32917         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
32918         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
32919         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
32920         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
32921         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
32922         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
32923         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
32924         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
32925         * sysdeps/sparc/sparc32/sem_post.c: ... here.
32926         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
32927         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
32928         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
32929         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
32930         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
32931         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
32932         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
32933         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
32934         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
32935         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
32936         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
32937         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
32938         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
32939         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
32940         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
32941         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
32942         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
32943         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
32944         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
32945         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
32946         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
32947         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
32948         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
32949         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
32950         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
32951         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
32953         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
32954         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
32955         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
32956         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
32957         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32958         Moved ...
32959         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
32960         ... here.
32961         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
32962         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
32963         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
32964         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
32965         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
32966         Moved ...
32967         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
32968         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
32969         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
32970         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
32971         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
32972         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
32973         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
32974         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32975         Moved ...
32976         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
32977         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32978         Moved ...
32979         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
32980         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
32981         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
32982         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32983         Moved ...
32984         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
32985         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
32986         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
32987         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
32988         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
32989         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
32990         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
32991         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
32992         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
32993         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32994         Moved ...
32995         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
32996         ... here.
32997         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
32998         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
32999         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
33000         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
33001         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
33002         Moved ...
33003         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
33004         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
33005         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
33006         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
33007         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
33008         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
33009         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
33010         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33011         Moved ...
33012         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
33013         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33014         Moved ...
33015         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
33016         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
33017         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
33018         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33019         Moved ...
33020         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
33021         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
33022         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
33023         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
33024         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
33026 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33028         * timezone/checktab.awk: Update from tzcode 2014e.
33029         * timezone/private.h: Likewise.
33030         * timezone/tzfile.h: Likewise.
33031         * timezone/zdump.c: Likewise.
33032         * timezone/zic.c: Likewise.
33034         * sysdeps/unix/sysv/linux/kernel-features.h
33035         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
33036         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
33037         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
33038         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
33039         Remove conditional code.
33041 2014-06-25  Will Newton  <will.newton@linaro.org>
33043         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
33044         (_dl_arm_cap_flags): Add HWCAP2 values.
33045         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
33046         (_DL_HWCAP_COUNT): Increase to 37.
33047         (_DL_HWCAP_LAST): New define.
33048         (_DL_HWCAP2_LAST): New define.
33049         (_dl_procinfo): Add support for printing
33050         AT_HWCAP2 entries.
33051         (_dl_string_hwcap): Use _dl_hwcap_string.
33053 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33055         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33057 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33059         * README: Do not mention ports directory.
33061         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
33062         Remove macro.
33063         * sysdeps/unix/sysv/linux/futimes.c: Do not include
33064         <kernel-features.h>.
33065         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
33066         conditional variable definition.
33067         (__futimes): Update comment.
33068         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
33069         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
33071         [BZ #16560]
33072         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
33073         arguments close to 0.
33074         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
33075         Likewise.
33076         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
33077         Likewise.
33078         * math/auto-libm-test-in: Add more tests of exp10.
33079         * math/auto-libm-test-out: Regenerated.
33080         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33082         * sysdeps/unix/sysv/linux/kernel-features.h
33083         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
33084         * sysdeps/unix/sysv/linux/readv.c: Do not include
33085         <kernel-features.h>.
33086         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
33087         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
33088         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
33089         unconditional.
33090         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
33091         conditional code.
33092         * sysdeps/unix/sysv/linux/writev.c: Do not include
33093         <kernel-features.h>.
33094         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
33095         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
33096         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
33097         unconditional.
33098         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
33099         conditional code.
33101 2014-06-25  Will Newton  <will.newton@linaro.org>
33103         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
33104         comment changes throughout the file.  Remove checks
33105         for HAVE_*_H definitions that are not required.
33106         (__gen_tempname): Call abort if an unknown kind value is
33107         passed.
33109 2014-06-25  Andreas Schwab  <schwab@suse.de>
33111         [BZ #17086]
33112         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
33113         scalbln, scalblnf, scalblnl in libc.
33115 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33117         [BZ #17086]
33118         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
33119         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
33120         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
33122 2014-06-24  Roland McGrath  <roland@hack.frob.com>
33124         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
33125         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
33126         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
33127         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
33128         Update #include.
33129         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
33130         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
33131         Update #include.
33132         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
33133         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
33134         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
33135         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
33136         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
33137         * sysdeps/x86/bits/pthreadtypes.h: ... here.
33138         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
33139         * sysdeps/x86/bits/semaphore.h: ... here.
33140         * sysdeps/x86/nptl/elide.h: Moved ...
33141         * sysdeps/x86/elide.h: ... here.
33142         * sysdeps/x86_64/nptl/Implies: File removed.
33143         * sysdeps/i386/nptl/Implies: File removed.
33145 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
33147         [BZ #16539]
33148         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
33149         return the argument for normal arguments with exponent below -64.
33150         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
33151         Likewise.
33152         * math/auto-libm-test-in: Add another test of expm1.
33153         * math/auto-libm-test-out: Regenerated.
33155         [BZ #16287]
33156         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
33157         calling __erfcl for arguments at least 16.
33158         * math/auto-libm-test-in: Add more tests of erf.
33159         * math/auto-libm-test-out: Regenerated.
33161         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
33162         individual architectures.
33163         * sysdeps/unix/sysv/linux/configure: Regenerated.
33164         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
33165         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
33166         * sysdeps/unix/sysv/linux/powerpc/configure.ac
33167         (ldd_rewrite_script): Define variable.
33168         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
33170         file.
33171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
33172         generated file.
33173         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
33174         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
33175         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
33176         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
33177         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
33178         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
33179         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
33180         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
33182 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33184         [BZ #17084]
33185         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
33186         Rename member __data.d to __data.__elision_data.
33188 2014-06-24  Wilco  <wdijkstr@arm.com>
33190         * NEWS: Add 16918 to fixed bug list.
33192 2014-06-24  Wilco  <wdijkstr@arm.com>
33194         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
33196 2014-06-24  Wilco  <wdijkstr@arm.com>
33198         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
33199         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
33200         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
33201         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
33202         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
33203         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
33204         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
33205         Use _FPU_MASK_RM.
33207 2014-06-24  Wilco  <wdijkstr@arm.com>
33209         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
33211 2014-06-24  Wilco  <wdijkstr@arm.com>
33213         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
33214         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
33215         * sysdeps/arm/fesetround.c (fesetround): Remove space.
33216         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
33218 2014-06-24  Wilco  <wdijkstr@arm.com>
33220         [BZ #16918]
33221         * sysdeps/arm/feupdateenv.c (feupdateenv):
33222         Rewrite to reduce FPSCR accesses and fix return value.
33224 2014-06-24  Wilco  <wdijkstr@arm.com>
33226         * sysdeps/arm/fclrexcpt.c (feclearexcept):
33227         Optimize to avoid unnecessary FPSCR writes.
33228         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
33229         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
33230         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
33231         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
33233 2014-06-24  Wilco  <wdijkstr@arm.com>
33235         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
33236         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
33237         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
33238         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
33239         Call libc_fetestexcept_vfp.
33240         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
33241         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
33242         __SOFTFP__ ifdef so that they can be built for softfp.
33244 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33246         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
33247         argument type signed char.
33249         * Makerules (check-abi): Dump diff of symlist if the test
33250         fails.
33252 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33254         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
33255         using abort.
33257         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
33258         Remove unused variable ST.
33260 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
33262         [BZ #16354]
33263         [BZ #17061]
33264         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
33265         small arguments before calling __expm1.
33266         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
33267         small arguments before calling __expm1f.
33268         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
33269         small arguments before calling __expm1l.
33270         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
33271         Likewise.
33272         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33273         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
33274         spurious underflow for some cosh tests.
33275         * math/auto-libm-test-out: Regenerated.
33276         * sysdeps/i386/fpu/libm-test-ulps: Update.
33278         [BZ #17050]
33279         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
33280         (__ieee754_y1): Set errno if return value overflows.
33281         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
33282         (__ieee754_y1f): Set errno if return value overflows.
33283         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
33284         (__ieee754_y1l): Set errno if return value overflows.
33285         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
33286         (__ieee754_y1l): Set errno if return value overflows.
33287         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
33288         * math/auto-libm-test-out: Regenerated.
33290         * math/gen-auto-libm-tests.c: Document use of
33291         ignore-zero-inf-sign.
33292         (input_flag_type): Add value flag_ignore_zero_inf_sign.
33293         (input_flags): Add ignore-zero-inf-sign.
33294         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
33295         * math/gen-libm-test.pl (generate_testfile): Handle
33296         ignore-zero-inf-sign.
33297         * math/auto-libm-test-in: Mark some cpow tests with
33298         ignore-zero-inf-sign and some with xfail-rounding.
33299         * math/auto-libm-test-out: Regenerated.
33300         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
33301         * sysdeps/i386/fpu/libm-test-ulps: Update.
33302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33304         [BZ #16315]
33305         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
33306         overflowing or underflowing operations take place with sign of
33307         result.
33308         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33309         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
33310         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
33311         (__ieee754_pow): Recompute overflowing and underflowing results in
33312         original rounding mode.
33313         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
33314         (__powl_helper): Allow negative argument X and scale negated value
33315         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
33316         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
33317         overflowing or underflowing operations take place with sign of
33318         result.
33319         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
33320         Include <math.h>.
33321         * math/auto-libm-test-in: Add more tests of pow.
33322         * math/auto-libm-test-out: Regenerated.
33323         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
33324         (pow_tonearest_test_data): Remove.
33325         (pow_test_tonearest): Likewise.
33326         (pow_towardzero_test_data): Likewise.
33327         (pow_test_towardzero): Likewise.
33328         (pow_downward_test_data): Likewise.
33329         (pow_test_downward): Likewise.
33330         (pow_upward_test_data): Likewise.
33331         (pow_test_upward): Likewise.
33332         (main): Don't call removed functions.
33333         * sysdeps/i386/fpu/libm-test-ulps: Update.
33334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33336 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
33339         Moved ...
33340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
33341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33342         Moved ...
33343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
33344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33345         Moved ...
33346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
33347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33348         Moved ...
33349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
33350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33351         File removed.
33352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33353         File removed.
33354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
33355         File removed.
33356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
33357         File removed.
33358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
33359         File removed.
33360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
33361         File removed.
33362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
33363         File removed.
33364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33365         File removed.
33366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
33367         File removed.
33368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33369         File removed.
33370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
33371         File removed.
33372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
33373         File removed.
33374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
33375         Moved ...
33376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
33377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
33378         Moved ...
33379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
33380         ... here.
33381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
33382         Moved ...
33383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
33384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
33385         Moved ...
33386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
33387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
33388         Moved ...
33389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
33390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
33391         Moved ...
33392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
33393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
33394         Moved ...
33395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
33396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
33397         Moved ...
33398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
33399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
33400         Moved ...
33401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
33402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
33403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
33404         ... here.
33405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
33406         Moved ...
33407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
33408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
33409         Moved ...
33410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
33411         ... here.
33412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
33413         Moved ...
33414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
33415         ... here.
33416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
33417         Moved ...
33418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
33419         ... here.
33420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33421         Moved ...
33422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
33423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
33424         Moved ...
33425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
33426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
33427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
33428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
33429         Moved ...
33430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
33431         ... here.
33432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33433         Moved ...
33434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
33435         ... here.
33436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
33437         Moved ...
33438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
33439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33440         Moved ...
33441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
33442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
33443         Moved ...
33444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
33445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33446         Moved ...
33447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
33448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
33449         Moved ...
33450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
33451         ... here.
33452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33453         Moved ...
33454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
33455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
33456         Moved ...
33457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
33458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33459         Moved ...
33460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
33461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
33462         Moved ...
33463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
33464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
33465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
33466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
33467         Moved ...
33468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
33469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33470         Moved ...
33471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
33472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
33473         Moved ...
33474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
33475         ... here.
33476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33477         Moved ...
33478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
33479         ... here.
33480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
33481         Moved ...
33482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
33483         ... here.
33484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33485         Moved ...
33486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
33487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
33488         Moved ...
33489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
33490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33491         Moved ...
33492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
33493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
33494         Moved ...
33495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
33496         ... here.
33497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33498         Moved ...
33499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
33500         ... here.
33501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
33502         Moved ...
33503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
33504         ... here.
33505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33506         Moved ...
33507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
33508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33509         Moved ...
33510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
33512 2014-06-23  Will Newton  <will.newton@linaro.org>
33513             Wilco  <wdijkstr@arm.com>
33515         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
33516         implementation.  Include get-rounding-mode.h.
33517         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
33518         [!libc_feholdsetround_noex_ctx]: Define
33519         libc_feholdsetround_noex_ctx.
33520         [!libc_feholdsetround_noexf_ctx]: Define
33521         libc_feholdsetround_noexf_ctx.
33522         [!libc_feholdsetround_noexl_ctx]: Define
33523         libc_feholdsetround_noexl_ctx.
33524         (libc_feholdsetround_ctx): New function.
33525         (libc_feresetround_ctx): New function.
33526         (libc_feholdsetround_noex_ctx): New function.
33527         (libc_feresetround_noex_ctx): New function.
33529 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33531         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
33532         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
33533         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
33534         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
33535         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
33536         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
33538         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
33539         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
33540         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
33541         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
33542         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
33543         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
33544         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
33545         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
33546         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
33547         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
33548         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
33549         Moved ...
33550         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
33551         ... here.
33552         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
33553         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
33554         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
33555         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
33556         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
33557         Moved ...
33558         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
33559         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
33560         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
33561         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
33562         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
33563         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
33564         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
33565         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
33566         Moved ...
33567         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
33568         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
33569         Moved ...
33570         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
33571         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
33572         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
33573         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
33574         Moved ...
33575         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
33576         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
33577         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
33578         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
33579         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
33580         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
33581         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
33582         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
33583         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
33584         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
33585         Moved ...
33586         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
33587         ... here.
33588         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
33589         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
33590         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
33591         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
33592         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
33593         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
33594         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
33595         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
33596         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
33597         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
33598         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
33599         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
33600         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
33601         Moved ...
33602         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
33603         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
33604         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
33605         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
33606         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
33607         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
33608         Moved ...
33609         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
33610         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
33611         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
33612         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
33613         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
33615         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
33616         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
33617         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
33618         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
33619         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
33620         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
33621         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
33622         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
33623         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
33624         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
33625         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
33626         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
33627         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
33628         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
33629         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
33630         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
33631         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
33632         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
33633         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
33634         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
33635         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
33636         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
33637         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
33638         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
33639         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
33640         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
33641         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
33642         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
33644 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
33646         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33647         (FALLOC_FL_COLLAPSE_RANGE): New macro.
33648         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
33649         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
33650         (IPV6_PMTUDISC_INTERFACE): Likewise.
33651         (IPV6_PMTUDISC_OMIT): Likewise.
33653 2014-06-23  Andreas Schwab  <schwab@suse.de>
33655         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
33656         Remove unused errout label.
33658 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33660         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
33661         macro: hardware supports Vector Crypto instructions.
33663 2014-06-23  Will Newton  <will.newton@linaro.org>
33665         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
33666         rather than __builtin_expect.
33668         * elf/dl-lookup.c (undefined_msg): Remove variable.
33669         (_dl_lookup_symbol_x): Replace undefined_msg with string
33670         literal.
33672         * elf/dl-lookup.c (do_lookup_unique): New function.
33673         (do_lookup_x): Move STB_GNU_UNIQUE handling code
33674         to a separate function.
33676 2014-06-23  Andreas Schwab  <schwab@suse.de>
33678         [BZ #17079]
33679         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
33680         before reading the next line.
33682 2014-06-23  Will Newton  <will.newton@linaro.org>
33684         * test-skeleton.c (signal_handler): Use printf and %m
33685         rather than perror.  Use printf rather than fprintf to
33686         stderr.  Use puts rather than fputs to stderr.
33687         (main): Likewise.
33689 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
33691         * nscd/nscd.c (thread_info_t): Remove typedef.
33692         (thread_info): Remove variable.
33694 2014-06-21  Allan McRae  <allan@archlinux.org>
33696         * NEWS: Mention CVE-2014-4043.
33698 2014-06-20  Roland McGrath  <roland@hack.frob.com>
33700         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
33701         * nptl/smp.h: ... here.
33703         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
33705         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
33706         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
33707         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
33708         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
33710         * nptl/allocatestack.c: Include <stack-aliasing.h>.
33711         * nptl/stack-aliasing.h: New file.
33712         * sysdeps/i386/i686/stack-aliasing.h: New file.
33713         * sysdeps/i386/i686/nptl/Makefile: File removed.
33714         * sysdeps/x86_64/stack-aliasing.h: New file.
33715         * sysdeps/x86_64/nptl/Makefile
33716         (CFLAGS-pthread_create.c): Variable removed.
33718         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
33719         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
33720         old file.
33721         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
33722         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
33723         old file.
33725 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
33727         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33728         (__ASSUME_SIGFRAME_V2): Remove macro.
33729         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
33730         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
33731         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
33732         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
33733         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
33734         Declare as function.  Remove conditional macro definitions.
33735         (__default_rt_sa_restorer): Likewise.
33736         (__default_sa_restorer_v1): Remove declaration.
33737         (__default_sa_restorer_v2): Likewise.
33738         (__default_rt_sa_restorer_v1): Likewise.
33739         (__default_rt_sa_restorer_v2): Likewise.
33740         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
33741         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
33742         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
33744 2014-06-20  Roland McGrath  <roland@hack.frob.com>
33746         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
33747         (libpthread-routines): Add sysdep.
33748         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
33749         * sysdeps/unix/sysv/linux/sparc/Versions
33750         (libpthread: GLIBC_2.3.3): New version set.
33751         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
33752         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
33753         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
33754         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
33755         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
33756         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
33757         Moved ...
33758         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
33759         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
33760         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
33761         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
33762         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
33763         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
33764         * sysdeps/sparc/nptl/sem_init.c: ... here.
33765         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
33766         * sysdeps/sparc/nptl/sem_post.c: ... here.
33767         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
33768         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
33769         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
33770         * sysdeps/sparc/nptl/sem_wait.c: ... here.
33771         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
33772         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
33773         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
33774         (libpthread-routines): Add cpu_relax.
33775         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
33776         File removed.
33777         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
33778         (librt: GLIBC_2.3.3): New version set.
33779         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
33780         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
33781         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
33782         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
33783         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
33784         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
33785         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
33786         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
33787         Moved ...
33788         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
33789         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
33790         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
33791         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
33792         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
33793         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
33794         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
33795         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
33796         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
33797         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
33798         Moved ...
33799         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
33800         Update #include.
33801         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
33802         Moved ...
33803         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
33804         Update #include.
33805         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
33806         Moved ...
33807         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
33808         Update #include.
33809         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
33810         Moved ...
33811         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
33812         Update #include.
33813         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
33814         Moved ...
33815         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
33816         Update #include.
33817         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
33818         Moved ...
33819         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
33820         Update #include.
33821         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
33822         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
33823         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
33824         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
33825         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
33826         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
33827         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
33828         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
33829         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
33830         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
33831         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
33832         Moved ...
33833         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
33834         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
33835         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
33836         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
33837         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
33839 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33841         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
33842         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
33843         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
33844         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
33845         * nscd/nscd.c: Likewise.
33846         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
33847         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
33848         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
33849         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
33851         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
33852         <kernel-features.h>.
33853         (init_mq_netlink): Remove conditional have_sock_cloexec
33854         definitions.  Remove code conditional on have_sock_cloexec < 0.
33855         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
33856         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
33857         * sysdeps/unix/sysv/linux/opensock.c: Do not include
33858         <kernel-features.h>.
33859         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
33860         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
33862 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
33864         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33865         Add tests for memset_chk and memset.
33867         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
33868         with AVX2_Usable.
33870 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
33872         [BZ #16046]
33873         * elf/tst-dl-iter-static.c: New file.
33874         * elf/Makefile (tests-static): Add tst-dl-iter-static.
33876         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
33877         error.
33879 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33881         * sysdeps/unix/sysv/linux/kernel-features.h
33882         (__ASSUME_F_GETOWN_EX): Remove macro.
33883         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
33884         <kernel-features.h>.
33885         (miss_F_GETOWN_EX): Remove variable or macro.
33886         (do_fcntl): Do not check miss_F_GETOWN_EX.
33887         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
33889         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
33890         Remove macro.
33891         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
33892         [!__ASSUME_AT_RANDOM]: Remove conditional code.
33893         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
33895         * sysdeps/unix/sysv/linux/kernel-features.h
33896         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
33897         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
33898         [ADJ_OFFSET_SS_READ]: Make code unconditional.
33899         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
33901 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
33903         [BZ #17075]
33904         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
33905         Fix calculation of the symbol's value.
33906         * sysdeps/arm/tst-armtlsdescloc.c: New file.
33907         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
33908         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
33909         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
33910         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
33911         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
33912         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
33913         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
33914         (modules-names): Add `tst-armtlsdescmod',
33915         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
33916         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
33917         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33918         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
33919         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
33920         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33921         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
33922         ($(objpfx)tst-armtlsdescloc): New dependency.
33923         ($(objpfx)tst-armtlsdescextnow): Likewise.
33924         ($(objpfx)tst-armtlsdescextlazy): Likewise.
33925         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
33926         TLS scheme support.
33927         * sysdeps/arm/configure: Regenerate.
33929 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33931         * include/fcntl.h (__atfct_seterrno): Remove prototype.
33932         (__atfct_seterrno_2): Likewise.
33933         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
33934         <kernel-features.h>.
33935         (__ASSUME_ATFCTS): Do not undefine and redefine.
33936         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
33937         (__have_atfcts): Remove conditional definition.
33938         (__fxstatat([__NR_fstatat64]: Make code unconditional.
33939         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
33940         unreachable if [__ASSUME_ATFCTS].
33941         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
33942         not undefine and redefine.
33943         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
33944         <kernel-features.h>.
33945         (faccessat) [__NR_faccessat]: Make code unconditional.
33946         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
33947         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
33948         <kernel-features.h>.
33949         (fchmodat) [__NR_fchmodat]: Make code unconditional.
33950         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
33951         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
33952         <kernel-features.h>.
33953         (fchownat) [__NR_fchownat]: Make code unconditional.
33954         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
33955         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
33956         <kernel-features.h>.
33957         (futimesat) [__NR_futimesat]: Make code unconditional.
33958         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
33959         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33960         <kernel-features.h>.
33961         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
33962         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33963         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33964         <kernel-features.h>.
33965         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
33966         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
33967         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
33968         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33969         <kernel-features.h>.
33970         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
33971         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33972         * sysdeps/unix/sysv/linux/linkat.c: Do not include
33973         <kernel-features.h>.
33974         (linkat) [__NR_linkat]: Make code unconditional.
33975         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33976         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
33977         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
33978         <kernel-features.h>.
33979         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
33980         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
33981         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
33982         <kernel-features.h>.
33983         (mkdirat) [__NR_mkdirat]: Make code unconditional.
33984         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
33985         * sysdeps/unix/sysv/linux/openat.c: Do not include
33986         <kernel-features.h>.
33987         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
33988         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
33989         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
33990         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
33991         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
33992         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
33993         <kernel-features.h>.
33994         (readlinkat) [__NR_readlinkat]: Make code unconditional.
33995         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
33996         result of INLINE_SYSCALL directly, not via int variable.
33997         * sysdeps/unix/sysv/linux/renameat.c: Do not include
33998         <kernel-features.h>.
33999         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
34000         (renameat) [__NR_renameat]: Make code unconditional.
34001         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
34002         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
34003         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
34004         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
34005         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
34006         (__ASSUME_ATFCTS): Do not undefine and redefine.
34007         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
34008         <kernel-features.h>.
34009         (symlinkat) [__NR_symlinkat]: Make code unconditional.
34010         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34011         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
34012         <kernel-features.h>.
34013         (unlinkat) [__NR_unlinkat]: Make code unconditional.
34014         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34015         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
34016         (__ASSUME_ATFCTS): Do not undefine and redefine.
34017         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
34018         <kernel-features.h>.
34019         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
34020         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34021         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
34022         <kernel-features.h>.
34023         (__xmknodat) [__NR_mknodat]: Make code unconditional.
34024         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
34026 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
34028         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
34030 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
34032         [BZ #17069]
34033         * posix/regcomp.c (parse_reg_exp): Deallocate partially
34034         constructed tree before returning error.
34035         * posix/bug-regexp36.c: Expand test case.
34037 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
34039         [BZ #6803]
34040         * math/libm-test.inc (scalbln_test_date):
34041         Add errno expectations.
34042         * math/w_scalblnf.c: New File.
34043         Add wrapper which checks for setting errno to ERANGE.
34044         Add weak_alias for corresponding scalbln function.
34045         * math/w_scalbln.c: Likewise.
34046         * math/w_scalblnl.c: Likewise.
34047         * math/Makefile (libm-calls): Add w_scalbln.
34048         * sysdeps/ieee754/flt-32/s_scalblnf.c:
34049         Remove weak_alias for corresponding scalbln function.
34050         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34051         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34052         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34053         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34054         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
34055         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
34056         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
34057         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
34058         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
34059         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
34060         Remove long_double_symbol for scalblnl function in libm, libc.
34061         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
34062         Add wrapper which checks for setting errno to ERANGE.
34063         Add long_double_symbol for scalblnl function in libm, libc.
34064         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
34065         Remove long_double_symbol for scalblnl in libm.
34066         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
34067         Add wrapper which checks for setting errno to ERANGE.
34068         Add long_double_symbol for scalblnl function in libm.
34069         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
34070         Do not use wrapper because of own implementation.
34072 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
34074         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
34075         3 bytes for __pad1 for x32.
34076         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
34078 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
34079             H.J. Lu  <hongjiu.lu@intel.com>
34081         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
34082         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
34083         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34084         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34085         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
34087 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
34089         [BZ #17069]
34090         * posix/regcomp.c (parse_expression): Deallocate partially
34091         constructed tree before returning error.
34092         * posix/Makefile.c (tests): Add bug-regex36.
34093         (generated): Add bug-regex36.mtrace.
34094         (tests-special): Add $(objpfx)bug-regex36-mem.out
34095         (bug-regex36-ENV): New variable.
34096         ($(objpfx)bug-regex36-mem.out): New rule.
34097         * posix/bug-regex36.c: New file.
34099 2014-06-19  Will Newton  <will.newton@linaro.org>
34101         * malloc/malloc.c (systrim): If extra is zero then return
34102         early.
34104 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34106         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
34108 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
34110         * sysdeps/aarch64/strchr.S: New file.
34112 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
34114         [BZ #17022]
34115         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
34116         from arguments -2 or below.
34117         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
34118         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
34120 2014-06-18  Andreas Schwab  <schwab@suse.de>
34122         [BZ #17062]
34123         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
34124         of a bracket expr not to run off the end of the string.
34125         * posix/Makefile (tests): Add tst-fnmatch3.
34126         * posix/tst-fnmatch3.c: New file.
34128 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
34130         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
34131         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34132         [$(cross-compiling) = no]: Likewise.
34133         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34134         [$(cross-compiling) = no]: Likewise.
34136 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34138         [BZ #17031]
34139         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
34140         double, adjusted for any remainder from the high double.
34141         * math/libm-test.inc (nearbyint): Add tests.
34142         (rint): Likewise.
34144 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34146         * nptl/sysdeps/powerpc/Makefile: Moved ...
34147         * sysdeps/powerpc/nptl/Makefile: ... here.
34148         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
34149         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
34150         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
34151         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
34152         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
34153         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
34154         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
34155         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
34156         * nptl/sysdeps/powerpc/tls.h: Moved ...
34157         * sysdeps/powerpc/nptl/tls.h: ... here.
34159 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
34161         [BZ #16681]
34162         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
34163         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
34164         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
34165         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
34166         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
34167         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
34168         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
34169         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
34170         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
34172 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
34174         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34176 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
34178         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
34179         defined operator.
34181         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
34182         $TIMEOUTFACTOR.
34184 2014-06-16  Florian Weimer  <fweimer@redhat.com>
34186         [BZ #17058]
34187         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
34188         non-executed part of the test.
34190 2014-06-16  Andreas Schwab  <schwab@suse.de>
34192         * string/bits/string2.h (strdup, strndup): Update feature guard.
34194 2014-06-14  David S. Miller  <davem@davemloft.net>
34196         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34198 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
34200         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
34201         that was previously under [RESET_PID].
34202         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
34204         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
34205         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
34206         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
34207         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34208         (__libc_vfork): New strong alias.
34209         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
34211 2014-06-14 Andi Kleen  <ak@linux.intel.com>
34213         * sysdeps/generic/elide.h: New file.
34215 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34217         * Makefile (installed-headers): Adjust path of pthread.h header.
34219 2014-06-13  Roland McGrath  <roland@hack.frob.com>
34221         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
34222         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
34223         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
34224         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
34226         * nptl/sysdeps/s390/Makefile: Moved ...
34227         * sysdeps/s390/nptl/Makefile: ... here.
34228         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
34229         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
34230         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
34231         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
34232         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
34233         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
34234         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
34235         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
34236         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
34237         * sysdeps/s390/nptl/pthreaddef.h: ... here.
34238         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
34239         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
34240         * nptl/sysdeps/s390/tls.h: Moved ...
34241         * sysdeps/s390/nptl/tls.h: ... here.
34243         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
34244         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
34246 2014-06-13  David S. Miller  <davem@davemloft.net>
34248         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
34249         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
34250         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
34251         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
34252         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
34253         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
34254         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
34255         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
34256         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
34257         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
34258         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
34259         Remove RESET_PID cpp guards.
34260         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
34261         Remove RESET_PID cpp guards.
34262         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
34264 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
34266         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
34267         __sp to uintptr_t.
34269 2014-06-13  Andi Kleen  <ak@linux.intel.com>
34271         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
34272         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
34273         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
34274         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
34275         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
34276         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
34277         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
34278         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
34279         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
34280         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
34281         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
34282         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
34283         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
34284         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
34285         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
34286         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
34287         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
34288         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
34289         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
34290         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
34292         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
34293         (pthread_rwlock_rdlock): Add elision.
34294         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
34295         (pthread_rwlock_wrlock): Add elision.
34296         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
34297         (pthread_rwlock_trywrlock): Add elision.
34298         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
34299         (pthread_rwlock_tryrdlock): Add elision.
34300         * nptl/pthread_rwlock_unlock.c: Include elide.h.
34301         (pthread_rwlock_tryrdlock): Add elision unlock.
34302         * nptl/sysdeps/pthread/pthread.h:
34303         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
34304         (PTHREAD_RWLOCK_INITIALIZER,
34305         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
34306         Handle new elision field.
34307         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
34308         * sysdeps/arm/nptl/bits/pthreadtypes.h
34309         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34310         * sysdeps/sh/nptl/bits/pthreadtypes.h
34311         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34312         * sysdeps/tile/nptl/bits/pthreadtypes.h
34313         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34314         * sysdeps/a/nptl/bits/pthreadtypes.h
34315         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34316         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
34317         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34318         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
34319         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34320         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
34321         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34322         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
34323         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34324         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
34325         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34326         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
34327         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34328         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
34329         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34330         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
34331         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34332         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
34333         (elision_init): Set try_xbegin to zero when no RTM.
34334         * sysdeps/x86/nptl/bits/pthreadtypes.h
34335         (pthread_rwlock_t): Change __pad1 to __rwelision.
34336         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34338 2014-06-13  Andi Kleen  <ak@linux.intel.com>
34340         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
34341         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
34342         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
34343         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
34345 2014-06-13  Meador Inge  <meadori@codesourcery.com>
34347         [BZ #16996]
34348         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
34349         that the cached result has been set before returning it.
34351 2014-06-12  Roland McGrath  <roland@hack.frob.com>
34353         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
34354         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
34355         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
34356         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
34357         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
34358         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
34360         * nptl/sysdeps/sparc/Makefile: Moved ...
34361         * sysdeps/sparc/nptl/Makefile: ... here.
34362         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
34363         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
34364         * nptl/sysdeps/sparc/tls.h: Moved ...
34365         * sysdeps/sparc/nptl/tls.h: ... here.
34366         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
34367         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
34368         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
34369         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
34370         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
34371         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
34372         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
34373         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
34374         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
34375         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
34376         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
34377         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
34378         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
34379         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
34380         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
34381         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
34382         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
34383         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
34384         Update #include.
34385         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
34386         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
34387         Update #include.
34388         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
34389         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
34390         Update #include.
34391         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
34392         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
34393         Update #include.
34395         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34397         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
34398         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
34400         * sysdeps/pthread/posix-timer.h: Include <list.h>.
34401         (struct list_links): Type removed.
34402         (struct thread_node, struct timer_node): Replace struct list_links
34403         with struct list_head.
34404         (list_unlink_ip): Likewise.
34405         * sysdeps/pthread/timer_routines.c
34406         (timer_free_list, thread_free_list, thread_active_list): Likewise.
34407         (list_append, list_insbefore): Likewise.
34408         (list_init): Function removed.
34409         (thread_init, init_module): Use INIT_LIST_HEAD instead.
34410         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
34411         * sysdeps/pthread/Makefile: ... here, new file.
34413         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
34414         * sysdeps/nptl/Implies: ... here.
34415         * sysdeps/unix/sysv/linux/Implies: Add nptl.
34416         * nptl/sysdeps/pthread/list.h: Moved ...
34417         * include/list.h: ... here.
34418         * nptl/sysdeps/pthread/createthread.c: Moved ...
34419         * nptl/createthread.c: ... here.
34420         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
34421         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
34422         * nptl/pt-longjmp.c: ... here.
34423         * nptl/sysdeps/pthread/Makefile: Moved ...
34424         * sysdeps/nptl/Makefile: ... here.
34425         * nptl/sysdeps/pthread/Subdirs: Moved ...
34426         * sysdeps/nptl/Subdirs: ... here.
34427         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
34428         * sysdeps/nptl/aio_misc.h: ... here.
34429         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
34430         * sysdeps/nptl/bits/libc-lock.h: ... here.
34431         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
34432         * sysdeps/nptl/bits/libc-lockP.h: ... here.
34433         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
34434         * sysdeps/nptl/bits/stdio-lock.h: ... here.
34435         * nptl/sysdeps/pthread/configure: Moved ...
34436         * sysdeps/nptl/configure: ... here.
34437         * nptl/sysdeps/pthread/configure.ac: Moved ...
34438         * sysdeps/nptl/configure.ac: ... here.
34439         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
34440         * sysdeps/nptl/gai_misc.h: ... here.
34441         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
34442         * sysdeps/nptl/librt-cancellation.c: ... here.
34443         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
34444         * sysdeps/nptl/malloc-machine.h: ... here.
34445         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
34446         * sysdeps/nptl/pthread-functions.h: ... here.
34447         * nptl/sysdeps/pthread/pthread.h: Moved ...
34448         * sysdeps/nptl/pthread.h: ... here.
34449         * nptl/sysdeps/pthread/setxid.h: Moved ...
34450         * sysdeps/nptl/setxid.h: ... here.
34451         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
34452         * sysdeps/nptl/sigfillset.c: ... here.
34453         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
34454         * sysdeps/nptl/tcb-offsets.h: ... here.
34455         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
34456         * sysdeps/nptl/tst-mqueue8x.c: ... here.
34457         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
34458         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
34459         * nptl/sysdeps/pthread/allocalim.h: Moved ...
34460         * sysdeps/pthread/allocalim.h: ... here.
34461         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
34462         * sysdeps/pthread/bits/sigthread.h: ... here.
34463         * nptl/sysdeps/pthread/flockfile.c: Moved ...
34464         * sysdeps/pthread/flockfile.c: ... here.
34465         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
34466         * sysdeps/pthread/ftrylockfile.c: ... here.
34467         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
34468         * sysdeps/pthread/funlockfile.c: ... here.
34469         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
34470         * sysdeps/pthread/posix-timer.h: ... here.
34471         * nptl/sysdeps/pthread/timer_create.c: Moved ...
34472         * sysdeps/pthread/timer_create.c: ... here.
34473         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
34474         * sysdeps/pthread/timer_delete.c: ... here.
34475         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
34476         * sysdeps/pthread/timer_getoverr.c: ... here.
34477         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
34478         * sysdeps/pthread/timer_gettime.c: ... here.
34479         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
34480         * sysdeps/pthread/timer_routines.c: ... here.
34481         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
34482         * sysdeps/pthread/timer_settime.c: ... here.
34483         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
34484         * sysdeps/pthread/tst-timer.c: ... here.
34485         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
34486         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
34488         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
34489         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
34491         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
34492         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
34493         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
34494         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
34495         Update #include target.
34496         * nptl/sysdeps/i386/i686/Makefile: Moved ...
34497         * sysdeps/i386/i686/nptl/Makefile: ... here.
34498         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
34499         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
34500         Update #include target.
34501         * nptl/sysdeps/i386/i686/tls.h: Moved ...
34502         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
34503         * nptl/sysdeps/i386/Makefile: Moved ...
34504         * sysdeps/i386/nptl/Makefile: ... here.
34505         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
34506         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
34507         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
34508         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
34509         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
34510         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
34511         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
34512         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
34513         * sysdeps/i386/nptl/pthreaddef.h: ... here.
34514         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
34515         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
34516         * nptl/sysdeps/i386/tls.h: Moved ...
34517         * sysdeps/i386/nptl/tls.h: ... here.
34519         * sysdeps/sh/Makefile [$(subdir) = csu]
34520         (gen-as-const-headers): Add tcb-offsets.sym.
34521         * nptl/sysdeps/sh/Makefile: File removed.
34522         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
34523         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
34524         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
34525         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
34526         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
34527         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
34528         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
34529         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
34530         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
34531         * sysdeps/sh/nptl/pthreaddef.h: ... here.
34532         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
34533         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
34534         * nptl/sysdeps/sh/tls.h: Moved ...
34535         * sysdeps/sh/nptl/tls.h: ... here.
34536         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
34537         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
34538         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
34539         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
34540         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
34541         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
34542         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
34543         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
34544         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
34545         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
34546         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
34547         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
34548         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
34549         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
34550         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
34551         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
34552         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
34553         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
34554         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
34555         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
34556         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
34557         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
34558         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
34559         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
34560         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
34561         Moved ...
34562         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
34563         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
34564         Moved ...
34565         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
34566         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
34567         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
34568         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
34569         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
34570         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
34571         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
34572         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
34573         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
34574         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
34575         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
34576         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
34577         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
34578         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
34579         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
34580         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
34581         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
34582         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
34583         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
34585 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34587         * posix/spawn_faction_addopen.c: Include string.h.
34589 2014-06-11  Roland McGrath  <roland@hack.frob.com>
34591         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
34592         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
34593         * nptl/sysdeps/x86_64/Makefile: Moved ...
34594         * sysdeps/x86_64/nptl/Makefile: ... here.
34595         * nptl/sysdeps/x86_64/configure: Moved ...
34596         * sysdeps/x86_64/nptl/configure: ... here.
34597         * nptl/sysdeps/x86_64/configure.ac: Moved ...
34598         * sysdeps/x86_64/nptl/configure.ac: ... here.
34599         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
34600         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
34601         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
34602         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
34603         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
34604         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
34605         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
34606         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
34607         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
34608         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
34609         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
34610         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
34611         * nptl/sysdeps/x86_64/tls.h: Moved ...
34612         * sysdeps/x86_64/nptl/tls.h: ... here.
34613         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
34614         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
34615         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
34616         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
34618         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
34620 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34624 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
34626         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
34627         type.
34628         [POSIX] (off_t): Likewise.
34629         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
34630         [POSIX] (S_ISBLK): Require macro.
34631         [POSIX] (S_ISCHR): Likewise.
34632         [POSIX] (S_ISDIR): Likewise.
34633         [POSIX] (S_ISFIFO): Likewise.
34634         [POSIX] (S_ISREG): Likewise.
34635         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
34636         optional-macro.
34637         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
34638         type.
34639         [POSIX] (time_t): Likewise.
34640         [POSIX] (timer_t): Likewise.
34642 2014-06-11  Florian Weimer  <fweimer@redhat.com>
34644         [BZ #17048]
34645         * posix/spawn_int.h (struct __spawn_action): Make the path string
34646         non-const to support deallocation.
34647         * posix/spawn_faction_addopen.c
34648         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
34649         * posix/spawn_faction_destroy.c
34650         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
34651         path in all spawn_do_open actions.
34652         * posix/tst-spawn.c (do_test): Exercise the copy operation in
34653         posix_spawn_file_actions_addopen.
34655 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
34657         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
34658         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
34659         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
34660         conditional code always true.
34661         (__libc_vfork): New alias.
34663 2014-06-11  Roland McGrath  <roland@hack.frob.com>
34665         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34666         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
34668         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
34670         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34671         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
34673         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34674         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
34676         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34677         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
34679 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34681         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
34682         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
34683         multiarch strcmp for PPC64.
34684         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
34685         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
34686         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
34687         multiarch optimizations.
34688         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34689         (__libc_ifunc_impl_list): Likewise.
34691 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34693         * benchtests/scripts/validate_benchout.py: New script.
34694         * benchtests/Makefile (bench-func): Call it.
34695         * benchtests/scripts/benchout.schema.json: New file.
34697 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
34699         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
34700         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
34701         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
34702         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
34703         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
34704         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
34705         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
34706         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
34707         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
34708         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
34709         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
34710         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
34711         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
34712         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
34713         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
34714         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
34715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
34716         Moved ...
34717         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
34718         ... here.
34719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
34720         Moved ...
34721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
34722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
34723         Moved ...
34724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
34725         ... here.
34726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
34727         Moved ...
34728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
34729         ... here.
34730         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
34731         Moved ...
34732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
34733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
34734         Moved ...
34735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
34736         ... here.
34737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
34738         Moved ...
34739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
34740         ... here.
34741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
34742         Moved ...
34743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
34744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
34745         Moved ...
34746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
34747         ... here.
34748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
34749         Moved ...
34750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
34751         ... here.
34752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
34753         Moved ...
34754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
34755         ... here.
34756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
34757         Moved ...
34758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
34759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
34760         Moved ...
34761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
34762         ... here.
34763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
34764         Moved ...
34765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
34766         ... here.
34767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
34768         Moved ...
34769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
34770         ... here.
34771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
34772         Moved ...
34773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
34774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
34775         Moved ...
34776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
34777         ... here.
34778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
34779         Moved ...
34780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
34781         ... here.
34782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
34783         Moved ...
34784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
34785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
34786         Moved ...
34787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
34788         ... here.
34789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
34790         Moved ...
34791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
34792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
34793         Moved ...
34794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
34795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
34796         Moved ...
34797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
34798         ... here.
34799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
34800         Moved ...
34801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
34802         ... here.
34803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
34804         Moved ...
34805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
34806         ... here.
34807         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
34808         Moved ...
34809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
34810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
34811         Moved ...
34812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
34813         ... here.
34814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
34815         Moved ...
34816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
34817         ... here.
34818         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
34819         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
34820         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
34821         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
34822         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
34823         Moved ...
34824         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
34825         ... here.
34826         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
34827         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
34828         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
34829         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
34830         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
34831         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
34832         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
34833         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
34834         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
34835         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
34836         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
34837         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
34838         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
34839         Moved ...
34840         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
34841         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
34842         Moved ...
34843         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
34844         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
34845         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
34846         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
34847         Moved ...
34848         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
34849         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
34850         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
34851         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
34852         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
34853         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
34854         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
34856 2014-06-10  Wilco  <wdijkstr@arm.com>
34858         * math/test-fenv-return.c: New file.
34859         * math/Makefile: Add new test test-fenv-return.
34861 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
34863         [BZ #17042]
34864         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
34865         when x - 1 is zero.
34866         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
34867         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
34868         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
34869         0.0L for an argument of 1.0L.
34870         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
34871         Likewise.
34872         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
34873         value when x - 1 is zero.
34874         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
34875         * sysdeps/i386/fpu/libm-test-ulps: Update.
34876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34878 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
34880         [BZ #15119]
34881         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
34883 2014-06-09  Roland McGrath  <roland@hack.frob.com>
34885         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
34886         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
34888 2014-06-09  Roland McGrath  <roland@hack.frob.com>
34890         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34891         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
34893         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34894         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
34896         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34897         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
34899         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34900         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
34902         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
34903         if not already defined.
34904         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
34905         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
34906         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
34907         (TLS_INIT_TP): Use it.
34908         (TLS_DEFINE_INIT_TP): New macro.
34909         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
34911 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
34913         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
34914         constant.
34915         [POSIX] (IXANY): Likewise.
34916         [POSIX] (OLCUC): Likewise.
34917         [POSIX || POSIX2008] (CBAUD): Do not allow.
34918         [POSIX || POSIX2008] (DEFECHO): Likewise.
34919         [POSIX || POSIX2008] (ECHOCTL): Likewise.
34920         [POSIX || POSIX2008] (ECHOKE): Likewise.
34921         [POSIX || POSIX2008] (ECHOPRT): Likewise.
34922         [POSIX || POSIX2008] (EXTA): Likewise.
34923         [POSIX || POSIX2008] (EXTB): Likewise.
34924         [POSIX || POSIX2008] (FLUSHO): Likewise.
34925         [POSIX || POSIX2008] (LOBLK): Likewise.
34926         [POSIX || POSIX2008] (PENDIN): Likewise.
34927         [POSIX || POSIX2008] (SWTCH): Likewise.
34928         [POSIX || POSIX2008] (VDISCARD): Likewise.
34929         [POSIX || POSIX2008] (VDSUSP): Likewise.
34930         [POSIX || POSIX2008] (VLNEXT): Likewise.
34931         [POSIX || POSIX2008] (VREPRINT): Likewise.
34932         [POSIX || POSIX2008] (VSTATUS): Likewise.
34933         [POSIX || POSIX2008] (VWERASE): Likewise.
34934         (B*): Change to B[0123456789]*.
34935         * conform/data/time.h-data [POSIX || UNIX98]
34936         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
34937         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34938         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
34939         [POSIX] (tm_*): Do not allow.
34941 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
34943         * Makefile (install): Don't set LANGUAGE.
34944         * Makefile.in (install): Likewise.
34945         * assert/Makefile (test-assert-ENV): Remove variable.
34946         (test-assert-perr-ENV): Likewise.
34947         * elf/Makefile (neededtest4-ENV): Likewise.
34948         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34949         [$(cross-compiling) = no]: Don't set LANGUAGE.
34950         * io/ftwtest-sh (LANG): Remove variable.
34951         * libio/Makefile (tst-widetext-ENV): Likewise.
34952         * manual/install.texi (Running make install): Don't refer to
34953         environment settings for make install.
34954         * INSTALL: Regenerated.
34955         * nptl/tst-tls6.sh: Don't set LANG.
34956         * posix/globtest.sh (LANG): Remove variable.
34957         * string/Makefile (tester-ENV): Likewise.
34958         (inl-tester-ENV): Likewise.
34959         (noinl-tester-ENV): Likewise.
34960         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34961         [$(cross-compiling) = no]: Don't set LANGUAGE.
34962         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
34963         without explicit environment settings.
34965 2014-06-06  Roland McGrath  <roland@hack.frob.com>
34967         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
34968         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
34969         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
34970         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
34972 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
34974         * crypt/crypt-private.h [DOS]: Add some includes taken from the
34975         other files in the crypt directory.
34976         * crypt/crypt.c: Remove duplicate includes.
34977         * crypt/crypt-entry.c: Likewise.
34978         * crypt/crypt_util.c: Likewise.
34980 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
34982         * Makeconfig (run-program-env): New variable.
34983         (run-program-prefix-before-env): Likewise.
34984         (run-program-prefix-after-env): Likewise.
34985         (run-program-prefix): Define in terms of new variables.
34986         (built-program-cmd-before-env): New variable.
34987         (built-program-cmd-after-env): Likewise.
34988         (built-program-cmd): Define in terms of new variables.
34989         (test-program-prefix-before-env): New variable.
34990         (test-program-prefix-after-env): Likewise.
34991         (test-program-prefix): Define in terms of new variables.
34992         (test-program-cmd-before-env): New variable.
34993         (test-program-cmd-after-env): Likewise.
34994         (test-program-cmd): Define in terms of new variables.
34995         * Rules (make-test-out): Use $(run-program-env).
34996         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
34997         (help): Do not mention environment variables.  Mention
34998         --timeoutfactor option.
34999         (timeoutfactor): New variable.
35000         (blacklist_exports): Remove function.
35001         (exports): Remove variable.
35002         (command): Do not include ${exports}.
35003         * manual/install.texi (Configuring and compiling): Do not mention
35004         test wrappers preserving environment variables.  Mention that last
35005         assignment to a variable must take precedence.
35006         * INSTALL: Regenerated.
35007         * benchtests/Makefile (run-bench): Use $(run-program-env).
35008         * catgets/Makefile ($(objpfx)test1.cat): Use
35009         $(built-program-cmd-before-env), $(run-program-env) and
35010         $(built-program-cmd-after-env).
35011         ($(objpfx)test2.cat): Do not specify environment variables
35012         explicitly.
35013         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
35014         $(run-program-env) and $(built-program-cmd-after-env).
35015         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
35016         $(run-program-env) and $(test-program-cmd-after-env).
35017         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
35018         explicitly.
35019         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
35020         run_program_env and test_program_cmd_after_env arguments.
35021         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
35022         * elf/tst-pathopt.sh: Use run_program_env argument.
35023         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
35024         $(test-wrapper-env) and $(run-program-env).
35025         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
35026         run_program_env arguments.
35027         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
35028         * intl/Makefile ($(objpfx)tst-gettext.out): Use
35029         $(test-program-prefix-before-env), $(run-program-env) and
35030         $(test-program-prefix-after-env).
35031         ($(objpfx)tst-gettext2.out): Likewise.
35032         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
35033         run_program_env and test_program_prefix_after_env arguments.
35034         * intl/tst-gettext2.sh: Likewise.
35035         * intl/tst-gettext4.sh: Do not set environment variables
35036         explicitly.
35037         * intl/tst-gettext6.sh: Likewise.
35038         * intl/tst-translit.sh: Likewise.
35039         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
35040         $(test-program-prefix-before-env), $(run-program-env) and
35041         $(test-program-prefix-after-env).
35042         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
35043         run_program_env and test_program_prefix_after_env arguments.
35044         * math/Makefile (run-regen-ulps): Use $(run-program-env).
35045         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
35046         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
35047         explicitly with each use of ${test_wrapper_env}.
35048         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
35049         $(test-program-prefix-before-env), $(run-program-env) and
35050         $(test-program-prefix-after-env).
35051         * posix/tst-getconf.sh: Do not set environment variables
35052         explicitly.
35053         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
35054         run_program_env and test_program_prefix_after_env arguments.
35055         * stdio-common/tst-printf.sh: Do not set environment variables
35056         explicitly.
35057         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
35058         $(test-program-prefix-before-env), $(run-program-env) and
35059         $(test-program-prefix-after-env).
35060         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
35061         run_program_env and test_program_prefix_after_env arguments.
35062         Split $test calls into $test_pre and $test.
35063         * timezone/Makefile (build-testdata): Use
35064         $(built-program-cmd-before-env), $(run-program-env) and
35065         $(built-program-cmd-after-env).
35067 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35069         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
35070         strlen for non SHARED builds.
35072 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35074         * nptl/allocatestack.c (check_list): Inlined function...
35075         (__reclaim_stacks): ... here.
35077 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
35079         [BZ #15698]
35080         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
35081         memory overrun.
35083 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
35085         * Rules (make-test-out): Include
35086         LOCPATH=$(common-objpfx)localedata in default environment.
35087         * debug/Makefile (tst-chk1-ENV): Remove variable.
35088         (tst-chk2-ENV): Likewise.
35089         (tst-chk3-ENV): Likewise.
35090         (tst-chk4-ENV): Likewise.
35091         (tst-chk5-ENV): Likewise.
35092         (tst-chk6-ENV): Likewise.
35093         (tst-lfschk1-ENV): Likewise.
35094         (tst-lfschk2-ENV): Likewise.
35095         (tst-lfschk3-ENV): Likewise.
35096         (tst-lfschk4-ENV): Likewise.
35097         (tst-lfschk5-ENV): Likewise.
35098         (tst-lfschk6-ENV): Likewise.
35099         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
35100         (tst-iconv7-ENV): Likewise.
35101         * intl/Makefile (LOCPATH-ENV): Likewise.
35102         (tst-codeset-ENV): Likewise.
35103         (tst-gettext3-ENV): Likewise.
35104         (tst-gettext5-ENV): Likewise.
35105         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
35106         (tst-fopenloc-ENV): Likewise.
35107         (tst-fgetws-ENV): Remove variable.
35108         (tst-ungetwc1-ENV): Likewise.
35109         (tst-ungetwc2-ENV): Likewise.
35110         (bug-ungetwc2-ENV): Likewise.
35111         (tst-swscanf-ENV): Likewise.
35112         (bug-ftell-ENV): Likewise.
35113         (tst-fgetwc-ENV): Likewise.
35114         (tst-fseek-ENV): Likewise.
35115         (tst-ftell-partial-wide-ENV): Likewise.
35116         (tst-ftell-active-handler-ENV): Likewise.
35117         (tst-ftell-append-ENV): Likewise.
35118         * posix/Makefile (tst-fnmatch-ENV): Likewise.
35119         (tst-regexloc-ENV): Likewise.
35120         (bug-regex1-ENV): Likewise.
35121         (tst-regex-ENV): Likewise.
35122         (tst-regex2-ENV): Likewise.
35123         (bug-regex5-ENV): Likewise.
35124         (bug-regex6-ENV): Likewise.
35125         (bug-regex17-ENV): Likewise.
35126         (bug-regex18-ENV): Likewise.
35127         (bug-regex19-ENV): Likewise.
35128         (bug-regex20-ENV): Likewise.
35129         (bug-regex22-ENV): Likewise.
35130         (bug-regex23-ENV): Likewise.
35131         (bug-regex25-ENV): Likewise.
35132         (bug-regex26-ENV): Likewise.
35133         (bug-regex30-ENV): Likewise.
35134         (bug-regex32-ENV): Likewise.
35135         (bug-regex33-ENV): Likewise.
35136         (bug-regex34-ENV): Likewise.
35137         (bug-regex35-ENV): Likewise.
35138         (tst-rxspencer-ENV): Likewise.
35139         (tst-rxspencer-no-utf8-ENV): Likewise.
35140         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
35141         (tst-sscanf-ENV): Likewise.
35142         (tst-swprintf-ENV): Likewise.
35143         (tst-swscanf-ENV): Likewise.
35144         (test-vfprintf-ENV): Likewise.
35145         (scanf13-ENV): Likewise.
35146         (bug14-ENV): Likewise.
35147         (tst-grouping-ENV): Likewise.
35148         * stdlib/Makefile (tst-strtod-ENV): Likewise.
35149         (tst-strtod3-ENV): Likewise.
35150         (tst-strtod4-ENV): Likewise.
35151         (tst-strtod5-ENV): Likewise.
35152         (testmb2-ENV): Likewise./
35153         * string/Makefile (tst-strxfrm-ENV): Likewise.
35154         (tst-strxfrm2-ENV): Likewise.
35155         (bug-strcoll1-ENV): Likewise.
35156         (test-strcasecmp-ENV): Likewise.
35157         (test-strncasecmp-ENV): Likewise.
35158         * time/Makefile (tst-strptime-ENV): Likewise.
35159         (tst-ftime_l-ENV): Likewise.
35160         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
35161         (tst-mbrtowc-ENV): Likewise.
35162         (tst-wcrtomb-ENV): Likewise.
35163         (tst-mbrtowc2-ENV): Likewise.
35164         (tst-c16c32-1-ENV): Likewise.
35165         (tst-mbsnrtowcs-ENV): Likewise.
35167 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
35169         * manual/resource.texi (How to get information about the memory
35170         subsystem?): Fix typo.
35171         Reported by Peon de la Parra Ivan <peon@keba.com>
35173 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
35175         [BZ #16882]
35176         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
35177         (pthread_spin_lock): Branch out of spin loop to proper location.
35178         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
35179         (pthread_spin_lock): Likewise.
35181         * nptl/tst-spin4.c: New test.
35182         * nptl/Makefile (tests): Add tst-spin4.
35184 2014-06-03  Andreas Schwab  <schwab@suse.de>
35186         [BZ #15946]
35187         * resolv/res_send.c (send_dg): Reload file descriptor after
35188         calling reopen.
35190 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
35192         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35194 2014-06-03  Richard Henderson  <rth@redhat.com>
35196         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
35197         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
35198         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
35199         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
35200         in the SAVE_PID block.
35201         (__libc_vfork): New alias.
35202         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
35204         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
35205         child in registers, not on the stack.  Remove RESET_PID conditionals.
35206         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
35208 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35210         * sysdeps/aarch64/libm-test-ulps: Regenerate.
35212 2014-06-03  Wilco  <wdijkstr@arm.com>
35214         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
35215         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
35216         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
35217         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
35218         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
35219         Likewise.
35221 2014-06-03  Wilco  <wdijkstr@arm.com>
35223         * sysdeps/aarch64/fpu/math_private.h
35224         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
35225         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
35226         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
35227         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
35228         Fix declarations.
35230 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35232         * crypt/crypt-private.h: Include ufc-crypt.h.
35233         (__b64_from_24bit): Declare extern.
35234         * crypt/crypt_util.c(__b64_from_24bit): New function.
35235         (b64t): New static const variable.
35236         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
35237         (b64t): Remove variable.
35238         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
35239         * crypt/sha256-crypt.c: Include crypt-private.h.
35240         (b64t): Remove variable.
35241         (__sha256_crypt_r): Remove b64_from_24bit and replace
35242         with __b64_from_24bit.
35243         * crypt/sha512-crypt.c: Likewise.
35245 2014-06-02  Roland McGrath  <roland@hack.frob.com>
35247         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
35248         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
35249         Label the code __libc_vfork rather than __vfork.
35250         [!NOT_IN_libc] (vfork): Define as weak alias.
35251         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
35252         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
35253         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
35255 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35257         * malloc/malloc.c (malloc_info): Fix format specifier for
35258         n_mmaps.
35260 2014-06-02  Wilco  <wdijkstr@arm.com>
35262         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
35263         FPCR write.
35265 2014-06-02  Wilco  <wdijkstr@arm.com>
35267         [BZ #17009]
35268         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
35269         Rewrite to reduce FPCR/FPSR accesses.
35271 2014-06-01  David S. Miller  <davem@davemloft.net>
35273         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35275 2014-05-31  David S. Miller  <davem@davemloft.net>
35277         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
35278         to occur in round to nearest mode when |x| >= 2.0
35280 2014-05-30  Richard Henderson  <rth@twiddle.net>
35282         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
35283         (PSEUDO_RET_NOERRNO): Remove.
35284         (ret): Don't redefine.
35285         (ret_NOERRNO): Define in terms of ret.
35286         (ret_ERRVAL): Likewise.
35288         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
35289         use of PSEUDO_RET; perform the error check directly.
35291 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
35293         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
35294         with __int128_t.
35296 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35298         * malloc/malloc (malloc_info): Fix formatting.
35300 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35301             Roland McGrath  <roland@hack.frob.com>
35303         * malloc/malloc (malloc_info): Also print mmapped statistics.
35305 2014-05-30  Roland McGrath  <roland@hack.frob.com>
35307         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
35308         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
35310 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
35312         * malloc/malloc.c (malloc_info): Inline mi_arena.
35314 2014-05-29  Richard Henderson  <rth@twiddle.net>
35316         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
35317         Remove comma before expanding ASM_ARGS_##nr.
35318         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
35319         Make _x0 a strict output; make _x8 a strict input; adjust expansion
35320         of ASM_ARGS_##nr.
35321         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
35322         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
35323         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
35324         (ASM_ARGS_1): Add leading comma.
35326         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
35327         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
35328         to __errno_location.
35329         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
35330         Remove the expected plt for __errno_location.
35332         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35333         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
35334         call to __read_tp.
35336         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35337         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
35338         it and break it down.
35339         (DOCARGS_0, DOCARGS_1): Do nothing.
35340         (DOCARGS_2): Update to store into the new stack frame.
35341         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
35342         (UNDOCARGS_1): Update to restore from the new stack frame.
35343         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
35344         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
35346         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35347         (SINGLE_THREAD_P): New parameter for result regno.
35348         (PSEUDO): Update to match; use cbz instead of beq.
35350         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35351         Use ENTRY to define the _nocancel entry point.  Share the syscall
35352         and syscall error check paths with the cancel path.
35353         (PSEUDO_END): New.
35355         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
35356         whitespace; tabs before and after asm mnemonics.
35358 2014-05-29  Eric Wong  <normalperson@yhbt.net>
35360         [BZ #15132]
35361         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35362         Call fstat64 or stat64 internally, depending on arguments passed.
35363         Replace stat buffer argument with file descriptor argument.
35364         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
35365         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
35366         Pass fd to __internal_statvfs instead of calling fstat64.
35367         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
35368         Pass fd to __internal_statvfs64 instead of calling fstat64.
35369         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
35370         Pass -1 to __internal_statvfs instead of calling stat64.
35371         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
35372         Pass -1 to __internal_statvfs64 instead of calling stat64.
35374 2014-05-28  Roland McGrath  <roland@hack.frob.com>
35376         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
35377         that was previously under [RESET_PID].
35378         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
35380         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
35381         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
35383 2014-05-27  Roland McGrath  <roland@hack.frob.com>
35385         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
35387         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
35388         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
35390 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
35392         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
35394 2014-05-27  Andreas Schwab  <schwab@suse.de>
35396         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
35397         TLS_INIT_TP macro.
35398         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
35399         * elf/rtld.c (init_tls, dl_main): Likewise.
35400         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
35401         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
35402         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
35403         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
35404         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
35405         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
35406         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
35407         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
35408         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
35409         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
35410         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
35411         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
35412         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
35413         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
35414         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
35415         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
35416         * sysdeps/generic/tls.h: Update description.
35418 2014-05-27  Will Newton  <will.newton@linaro.org>
35420         [BZ #16990]
35421         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
35422         and restore r2 rather than just restoring.
35424 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35426         [BZ #16724]
35427         * libio/tst-ftell-append.c: New test case.
35428         * libio/Makefile (tests): Add test case.
35429         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
35430         append mode.
35431         * libio/wfileops.c (do_ftell_wide): Likewise.
35433 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35435         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35437         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
35438         ...
35439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
35440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
35441         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
35442         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
35443         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
35444         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
35445         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
35446         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
35447         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
35448         Moved ...
35449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
35450         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
35451         Moved ...
35452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
35453         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
35454         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
35455         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
35456         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
35457         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
35458         ...
35459         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
35460         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
35461         Moved ...
35462         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
35463         here.
35464         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
35465         ...
35466         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
35467         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
35468         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
35470         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
35471         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
35472         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
35473         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
35475         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
35476         merge into ...
35477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
35478         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
35479         ...
35480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
35481         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
35482         ...
35483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
35484         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
35485         Moved ...
35486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
35487         here.
35488         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
35489         Moved ...
35490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
35491         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
35492         Moved ...
35493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
35495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
35496         conditional [RESET_PID].
35497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
35498         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
35499         removed.
35500         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
35501         removed.
35503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
35504         <tcb-offsets.h>.
35505         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35506         (__libc_vfork): New strong alias.
35507         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
35508         removed.
35509         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
35510         Removed.
35512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
35513         <tcb-offsets.h>.
35514         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
35515         (__libc_vfork): New strong alias.
35516         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
35517         removed.
35518         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
35519         removed.
35521 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
35523         * malloc/malloc.c (mi_arena): New function.
35524         (malloc_info): Remove nested function mi_arena. Call non-nosted
35525         function mi_arena.
35527 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35529         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
35530         by insrwi.
35531         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
35532         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
35533         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
35534         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
35535         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
35536         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
35537         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
35539 2014-05-26  Andreas Schwab  <schwab@suse.de>
35541         [BZ #16984]
35542         * locale/programs/repertoire.c (repertoire_read): Add slash
35543         between I18NPATH element and file name.
35544         * locale/programs/locfile.c (locfile_read): Likewise.
35546 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35548         * nptl/pthread_mutexattr_settype.c
35549         (__pthread_mutexattr_settype):
35550         Disable lock elision for PTHREAD_MUTEX_NORMAL.
35552 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35554         * nptl/tst-mutex5 (do_test):
35555         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
35557 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35559         * benchtests/README: Document 'init' directive.
35560         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
35561         BENCH_INIT.
35562         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
35563         (parse_file): Recognize 'init' directive.
35565 2014-05-26  Kyle McMartin  <kyle@redhat.com>
35567         [BZ #16796]
35568         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
35569         alignment of struct pthread.
35571 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35573         [BZ #16878]
35574         * nscd/netgroupcache.c (addgetnetgrentX): Look for
35575         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35576         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
35577         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35579 2014-05-25  Richard Henderson  <rth@twiddle.net>
35581         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35582         (SINGLE_THREAD_P_PIC): Remove.
35583         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
35584         (SINGLE_THREAD_P_PIC): Remove.
35586         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
35587         branch to syscall error ...
35588         (PSEUDO): ... here.
35589         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
35590         from __local_syscall_error to .Lsyscall_error.
35591         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
35592         (SYSCALL_ERROR): Update label name.
35594         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35595         Do not use DOARGS/UNDOARGS.
35596         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
35597         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
35598         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
35599         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
35600         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
35602         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
35603         block comment.
35605         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
35606         define if !NOT_IN_libc.
35607         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
35608         define with non-default symbol versions.
35610 2014-05-23  Richard Henderson  <rth@twiddle.net>
35612         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
35613         (vfork, __vfork): Define via compat_symbol.
35615         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
35616         [!HAVE_IFUNC] (vfork_compat): Remove.
35617         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
35619 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
35621         [BZ #16978]
35622         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
35623         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
35624         variable.
35626 2014-05-23  Richard Henderson  <rth@twiddle.net>
35628         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
35629         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
35630         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
35631         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
35633         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
35634         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
35635         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
35636         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
35637         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
35638         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
35639         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
35640         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
35641         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
35642         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
35643         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
35644         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
35645         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
35646         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
35647         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
35648         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
35649         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
35650         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
35651         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
35652         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
35653         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
35654         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
35655         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
35656         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
35657         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
35658         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
35659         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
35660         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
35661         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
35662         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
35663         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
35664         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
35665         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
35666         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
35667         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
35668         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
35669         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
35670         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
35671         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
35672         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
35673         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
35674         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
35675         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
35676         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
35677         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
35678         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
35679         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
35680         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
35681         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
35682         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
35683         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
35684         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
35685         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
35686         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
35687         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
35688         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
35690         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
35691         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
35692         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
35693         before exiting on error.
35694         (__libc_vfork): New strong alias.
35695         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
35696         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
35698         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
35699         that was previously under [RESET_PID].
35700         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
35702         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
35704 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
35706         [BZ #16977]
35707         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
35708         value when x - 1 is zero.
35709         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
35710         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
35711         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
35712         0.0L for an argument of 1.0L.
35713         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
35714         Likewise.
35715         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
35716         value when x - 1 is zero.
35717         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
35718         * sysdeps/i386/fpu/libm-test-ulps: Update.
35719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35721 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
35723         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
35724         alphasort and versionsort.
35726 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35728         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
35729         macro.
35730         [copysignf]: Likewise.
35732 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35734         * crypt/md5-crypt.c: Fix formatting.
35736 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35738         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
35739         (b64_from_24bit): New function.
35741 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35743         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
35744         libc_hidden_builtin_def to ifunc.
35745         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
35746         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
35748 2014-05-21  Roland McGrath  <roland@hack.frob.com>
35750         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
35751         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
35753 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
35755         * nscd/Depend (linuxthreads): Remove.
35756         (nptl): Add.
35757         * resolv/Depend (linuxthreads): Remove.
35758         * rt/Depend (linuxthreads): Remove.
35760         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
35761         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
35762         $(common-objpfx)elf/.
35763         (link-libc-before-gnulib): Likewise.
35764         (elfobjdir): Remove variable.
35765         * Makefile (install): Use $(elf-objpfx) instead of
35766         $(common-objpfx)elf/.
35767         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
35768         $(elfobjdir)/.
35769         (link-libc-deps): Likewise.
35770         ($(common-objpfx)libc.so): Likewise.
35771         ($(common-objpfx)linkobj/libc.so): Likewise.
35772         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
35773         instead of $(common-objpfx)elf/.
35774         (symbolic-link-list): Likewise.
35775         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35776         [$(cross-compiling) = no]: Likewise.
35777         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
35778         $(elfobjdir)/.
35779         (static-gnulib-arch): Likewise.
35780         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35781         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
35782         $(common-objpfx)elf/.
35784 2014-05-21  Richard Henderson  <rth@redhat.com>
35786         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35787         (SINGLE_THREAD_P): Use the correct width load.  Fold
35788         into the ldr offset.
35790         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
35791         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
35793 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
35795         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
35796         (libgcc_s_resume): Use __attribute_used__.
35797         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
35798         Likewise.
35800 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35802         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
35803         optimization when used with float constants.
35805         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35807 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
35809         [BZ #16915]
35810         * locale/nl_langinfo_l.c: Make direct reference to every
35811         _nl_current_CATEGORY symbol.
35812         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
35813         (tests-static): Add tst-langinfo-static.
35814         (tests-special): Add tst-langinfo-static.out.
35815         ($(objpfx)tst-langinfo.out): Redirect output.
35816         ($(objpfx)tst-langinfo-static.out): New.
35817         * localedata/tst-langinfo.sh: Send output to stdout.
35818         * localedata/tst-langinfo-static.c: New file.
35820         [BZ #16965]
35821         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
35822         when the shift amount is modulo the limb size.
35824 2014-05-20  Richard Henderson  <rth@redhat.com>
35826         [BZ #16967]
35827         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
35828         Change type of sa_flags from unsigned int to int.
35830         [BZ #16966]
35831         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
35833         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
35835 2014-05-20  Will Newton  <will.newton@linaro.org>
35837         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35838         Test the return value of the system call in the nocancel case.
35840 2014-05-20  Will Newton  <will.newton@linaro.org>
35841             Yvan Roux  <yvan.roux@linaro.org>
35843         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
35844         #include of asm/ptrace.h.
35845         (PTRACE_GET_THREAD_AREA): Remove #undef.
35846         (PTRACE_GETHBPREGS): Likewise.
35847         (PTRACE_SETHBPREGS): Likewise.
35848         (struct user_regs_struct): New structure.
35849         (struct user_fpsimd_struct): New structure.
35850         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
35851         #include of asm/ptrace.h and second #include of sys/user.h.
35852         (PTRACE_GET_THREAD_AREA): Remove #undef.
35853         (PTRACE_GETHBPREGS): Likewise.
35854         (PTRACE_SETHBPREGS): Likewise.
35855         (ELF_NGREG): Use new struct user_regs_struct.
35856         (elf_fpregset_t): Use new struct user_fpsimd_struct.
35858 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35860         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
35861         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
35863 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
35865         [BZ #16958]
35866         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
35867         membar to avoid block loads/stores to overlap previous stores.
35869 2014-05-17  Richard Henderson  <rth@redhat.com>
35871         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
35872         Create the __##syscall_name##_nocancel entry point.
35873         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
35874         Remove; let the sysdep-cancel.h code create it.
35876 2014-05-17  David S. Miller  <davem@davemloft.net>
35878         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
35879         Protect with __USE_GNU.
35880         (TIOCSET_TEMPT): Likewise.
35881         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35882         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
35883         these are already provided in bits/ioctl-types.h
35885 2014-05-16  Roland McGrath  <roland@hack.frob.com>
35887         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
35888         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
35890         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
35891         Use wait4 regardless of [__NR_waitpid].
35893 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
35895         PR libgcc/60166
35896         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
35897         (_FP_NANSIGN_Q): Set the quiet bit.
35899 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
35901         * benchtests/Makefile
35902         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
35903         not $(common-objpfx)math/libm.so.
35904         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
35905         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
35906         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
35907         $(common-objpfx)dlfcn/libdl.so.
35908         ($(objpfx)tst-audit8): Depend on $(libm), not
35909         $(common-objpfx)math/libm.so.
35910         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
35911         not $(common-objpfx)dlfcn/libdl.so.
35912         * math/Makefile
35913         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
35914         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
35915         [$(build-shared) = yes].
35916         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
35917         $(common-objpfx)nptl/libpthread.so.
35918         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
35919         $(common-objpfx)math/libm.so$(libm.so-version) or
35920         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
35921         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
35922         $(common-objpfx)dlfcn/libdl.so.
35923         * setjmp/Makefile (link-libm): Remove variable.
35924         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
35925         * stdio-common/Makefile (link-libm): Remove variable.
35926         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
35927         * stdlib/Makefile (link-libm): Remove variable.
35928         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
35929         ($(objpfx)tst-strtod-round): Likewise.
35930         ($(objpfx)tst-tininess): Likewise.
35931         ($(objpfx)tst-strtod-underflow): Likewise.
35932         ($(objpfx)tst-strtod6): Likewise.
35933         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
35934         $(libdl), not $(common-objpfx)nptl/libpthread.so and
35935         $(common-objpfx)dlfcn/libdl.so.
35937 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35939         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
35940         BSD terminal modes definitions.
35942 2014-05-16  Roland McGrath  <roland@hack.frob.com>
35944         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
35945         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
35947         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
35948         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
35949         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
35950         Don't do #include_next.
35951         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
35952         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
35953         Don't do #include_next.
35954         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
35955         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
35956         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
35957         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
35959 2014-05-16  Allan McRae  <allan@archlinux.org>
35961         * po/sv.po: Update Swedish translation from translation project.
35963         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
35964         in sed expression.
35966 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
35968         [BZ #16917]
35969         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
35970         errno if the TIOCGPTN ioctl fails with an error different than
35971         EINVAL.
35972         * login/tst-ptsname.c: New file.
35973         * login/Makefile (tests): Add tst-ptsname.
35975         [BZ #16943]
35976         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
35977         and prlimit64.
35979 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35981         [BZ #16849]
35982         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
35983         herrno to return EAI_AGAIN.
35985 2014-05-14  Roland McGrath  <roland@hack.frob.com>
35987         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
35988         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
35989         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
35990         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
35991         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
35992         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
35993         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
35994         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
35995         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
35996         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
35997         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
35998         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
35999         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
36000         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
36001         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
36002         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
36003         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
36004         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
36005         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
36006         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
36007         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
36008         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
36009         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
36010         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
36011         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
36012         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
36013         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
36014         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
36015         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
36016         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
36017         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
36018         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
36019         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
36020         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
36021         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36022         Moved ...
36023         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
36024         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
36025         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
36026         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
36027         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
36028         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
36029         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
36030         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
36031         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
36032         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
36033         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
36034         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
36035         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
36036         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
36037         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
36038         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
36039         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
36040         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
36041         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
36042         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
36043         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
36044         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
36045         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
36046         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
36047         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
36048         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
36049         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
36050         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36051         Moved ...
36052         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
36053         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
36054         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
36055         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
36056         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
36057         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
36058         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
36059         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
36060         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
36061         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
36062         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
36063         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
36064         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
36065         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
36066         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
36067         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
36068         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
36069         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
36070         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
36071         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36072         Moved ...
36073         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
36074         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
36075         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
36077         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
36078         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
36079         (libpthread-sysdep_routines): Add elision-related stuff here instead.
36080         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
36081         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
36082         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
36083         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
36084         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
36085         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
36086         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
36087         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
36088         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
36089         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
36090         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
36091         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
36092         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
36093         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
36094         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
36095         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
36096         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
36097         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
36098         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
36099         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
36100         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
36101         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
36102         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
36103         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
36104         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
36105         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
36106         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
36107         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
36109         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
36110         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
36112         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
36113         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
36114         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
36115         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
36116         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
36117         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
36118         Moved ...
36119         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
36120         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
36121         Moved ...
36122         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
36123         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
36124         Moved ...
36125         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
36126         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
36127         Moved ...
36128         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
36129         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
36130         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
36131         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
36132         Moved ...
36133         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
36134         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
36135         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
36136         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
36137         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
36138         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
36139         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
36140         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
36141         Moved ...
36142         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
36143         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
36144         Moved ...
36145         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
36146         ... here.
36147         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
36148         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
36149         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
36150         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
36151         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
36152         Moved ...
36153         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
36154         ... here.
36155         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
36156         Moved ...
36157         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
36158         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
36159         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
36160         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
36161         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
36162         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
36163         Moved ...
36164         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
36165         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
36166         Moved ...
36167         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
36168         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
36169         Moved ...
36170         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
36171         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
36172         Moved ...
36173         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
36174         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
36175         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
36176         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
36177         Moved ...
36178         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
36179         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
36180         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
36181         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
36182         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
36183         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
36184         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
36185         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
36186         Moved ...
36187         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
36188         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
36189         Moved ...
36190         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
36191         ... here.
36192         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
36193         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
36194         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
36195         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
36196         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
36197         Moved ...
36198         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
36199         ... here.
36200         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
36201         Moved ...
36202         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
36203         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
36204         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
36205         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
36206         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
36207         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
36208         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
36209         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
36210         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
36211         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
36212         Moved ...
36213         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
36214         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
36215         Moved ...
36216         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
36217         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
36218         Moved ...
36219         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
36220         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
36221         Moved ...
36222         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
36223         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
36224         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
36225         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
36226         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
36227         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
36228         Moved ...
36229         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
36230         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
36231         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
36232         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
36233         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
36234         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
36235         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
36236         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
36237         Moved ...
36238         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
36239         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
36240         Moved ...
36241         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
36242         ... here.
36243         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
36244         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
36245         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
36246         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
36247         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
36248         Moved ...
36249         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
36250         ... here.
36251         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
36252         Moved ...
36253         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
36254         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
36255         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
36256         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
36257         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
36258         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
36259         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
36260         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
36261         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
36262         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
36263         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
36265         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
36266         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
36268         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
36269         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
36271         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
36272         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
36273         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
36274         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
36275         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
36276         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
36277         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
36278         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
36279         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
36280         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
36281         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
36282         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
36283         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
36284         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
36285         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
36286         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
36287         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
36288         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
36289         Moved ...
36290         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
36291         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
36292         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
36293         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
36294         Moved ...
36295         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
36296         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
36297         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
36298         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
36299         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
36300         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
36301         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
36302         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
36303         Moved ...
36304         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
36305         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
36306         Moved ...
36307         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
36308         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
36309         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
36310         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
36311         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
36312         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
36313         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
36314         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
36315         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
36316         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
36317         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
36318         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
36319         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
36320         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
36321         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
36322         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
36323         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
36325         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
36326         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
36327         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
36328         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
36329         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
36331         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
36332         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
36333         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
36334         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
36335         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
36336         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
36337         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
36338         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
36339         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
36340         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
36342         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
36343         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
36345         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
36346         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
36347         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
36348         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
36349         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
36350         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
36351         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
36352         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
36353         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
36354         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
36355         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
36356         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
36357         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
36358         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
36359         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
36360         Update #include.
36361         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
36362         Likewise.
36363         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
36364         Likewise.
36365         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
36366         Likewise.
36367         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
36368         Likewise.
36369         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
36370         Likewise.
36371         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
36372         Likewise.
36373         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
36374         Likewise.
36375         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
36376         Likewise.
36377         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
36378         Likewise.
36379         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
36380         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
36381         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
36382         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
36383         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
36384         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
36385         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
36386         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
36387         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
36388         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
36389         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
36390         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
36391         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
36392         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
36393         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
36395         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
36396         that was previously under [RESET_PID].
36397         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36398         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
36399         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
36401         * sysdeps/i386/nptl/Implies: New file.
36402         * sysdeps/x86_64/nptl/Implies: New file.
36403         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
36404         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
36405         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
36406         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
36408         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
36409         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36410         (__libc_vfork): New strong alias.
36411         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
36412         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
36414         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
36415         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36416         (__libc_vfork): New strong alias.
36417         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
36418         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
36420         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
36421         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36422         (__libc_vfork): New strong alias.
36423         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
36424         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
36425         * nptl/pt-vfork.c: New file.
36426         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
36427         (libpthread: GLIBC_2.20): New version set (empty).
36429 2014-05-14  Will Newton  <will.newton@linaro.org>
36431         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
36432         rather than #if.
36434 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36436         [BZ #16564]
36437         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
36438         arguments with exponent 65 or above.
36439         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
36440         arguments 0x1p113L or above.
36441         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
36442         to arguments 0x1p107L or above.
36443         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
36444         positive arguments with exponent 65 or above.
36445         * math/auto-libm-test-in: Add more tests of log1p.
36446         * math/auto-libm-test-out: Regenerated.
36448         [BZ #16928]
36449         * math/s_cacos.c (__cacos): Ensure zero real part of result from
36450         non-finite arguments is +0.
36451         * math/s_cacosf.c (__cacosf): Likewise.
36452         * math/s_cacosl.c (__cacosl): Likewise.
36453         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
36454         * sysdeps/i386/fpu/libm-test-ulps: Update.
36455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36457         [BZ #16927]
36458         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
36459         value.
36460         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
36461         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
36462         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
36463         for explicit high bit of mantissa when testing for argument equal
36464         to 1.
36465         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
36466         * sysdeps/i386/fpu/libm-test-ulps: Update.
36467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36469         [BZ #16516]
36470         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
36471         (__erf): Scale by 16 instead of 8 in potentially underflowing
36472         case.  Ensure exception if result actually underflows.
36473         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
36474         (__erff): Scale by 16 instead of 8 in potentially underflowing
36475         case.  Ensure exception if result actually underflows.
36476         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
36477         (efx8): Remove variable.
36478         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36479         case.  Ensure exception if result actually underflows.
36480         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
36481         (efx8): Remove variable.
36482         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36483         case.  Ensure exception if result actually underflows.
36484         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
36485         (efx8): Remove variable.
36486         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36487         case.  Ensure exception if result actually underflows.
36488         * math/auto-libm-test-in: Add more tests of erf.
36489         * math/auto-libm-test-out: Regenerated.
36491 2014-05-14  Andreas Schwab  <schwab@suse.de>
36493         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
36494         Remove code conditionalized on USE___THREAD.
36496         * config.h.in (HAVE_PT_CHOWN): Define as 0.
36497         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
36498         not definedness.
36500 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36502         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
36503         Define unconditionally.
36504         (__ASSUME_O_CLOEXEC): Likewise.
36505         (__ASSUME_SOCK_CLOEXEC): Likewise.
36506         (__ASSUME_IN_NONBLOCK): Likewise.
36507         (__ASSUME_PIPE2): Likewise.
36508         (__ASSUME_EVENTFD2): Likewise.
36509         (__ASSUME_SIGNALFD4): Likewise.
36510         (__ASSUME_DUP3): Likewise.
36511         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36512         (__ASSUME_DUP3): Do not define.
36513         (__ASSUME_EVENTFD2): Likewise.
36514         (__ASSUME_IN_NONBLOCK): Likewise.
36515         (__ASSUME_O_CLOEXEC): Likewise.
36516         (__ASSUME_PIPE2): Likewise.
36517         (__ASSUME_SIGNALFD4): Likewise.
36518         (__ASSUME_SOCK_CLOEXEC): Likewise.
36519         (__ASSUME_UTIMES): Undefine.
36520         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36521         (__ASSUME_UTIMES): Do not define.
36522         (__ASSUME_O_CLOEXEC): Likewise.
36523         (__ASSUME_SOCK_CLOEXEC): Likewise.
36524         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
36525         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
36526         0x020621].
36527         (__ASSUME_PIPE2): Likewise.
36528         (__ASSUME_EVENTFD2): Likewise.
36529         (__ASSUME_SIGNALFD4): Likewise.
36530         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
36531         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
36532         Do not define.
36533         (__ASSUME_EVENTFD2): Likewise.
36534         (__ASSUME_SIGNALFD4): Likewise.
36535         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
36536         (__ASSUME_32BITUIDS): Likewise.
36537         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36538         (__ASSUME_IPC64): Likewise.
36539         (__ASSUME_ST_INO_64_BIT): Likewise.
36540         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
36541         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
36542         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36543         (__ASSUME_UTIMES): Do not define.
36544         (__ASSUME_PSELECT): Likewise.
36545         (__ASSUME_PPOLL): Likewise.
36546         (__ASSUME_O_CLOEXEC): Likewise.
36547         (__ASSUME_SOCK_CLOEXEC): Likewise.
36548         (__ASSUME_IN_NONBLOCK): Likewise.
36549         (__ASSUME_PIPE2): Likewise.
36550         (__ASSUME_EVENTFD2): Likewise.
36551         (__ASSUME_SIGNALFD4): Likewise.
36552         (__ASSUME_DUP3): Likewise.
36553         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36554         (__ASSUME_UTIMES): Likewise.
36555         (__ASSUME_O_CLOEXEC): Likewise.
36556         (__ASSUME_SOCK_CLOEXEC): Likewise.
36557         (__ASSUME_IN_NONBLOCK): Likewise.
36558         (__ASSUME_PIPE2): Likewise.
36559         (__ASSUME_EVENTFD2): Likewise.
36560         (__ASSUME_SIGNALFD4): Likewise.
36561         (__ASSUME_DUP3): Likewise.
36562         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36563         (__ASSUME_UTIMES): Likewise.
36564         (__ASSUME_O_CLOEXEC): Likewise.
36565         (__ASSUME_SOCK_CLOEXEC): Likewise.
36566         (__ASSUME_IN_NONBLOCK): Likewise.
36567         (__ASSUME_PIPE2): Likewise.
36568         (__ASSUME_EVENTFD2): Likewise.
36569         (__ASSUME_SIGNALFD4): Likewise.
36570         (__ASSUME_DUP3): Likewise.
36571         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
36572         Likewise.
36573         (__ASSUME_UTIMES): Likewise.
36574         (__ASSUME_EVENTFD2): Likewise.
36575         (__ASSUME_SIGNALFD4): Likewise.
36576         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36577         (__ASSUME_O_CLOEXEC): Likewise.
36578         (__ASSUME_SOCK_CLOEXEC): Likewise.
36579         (__ASSUME_IN_NONBLOCK): Likewise.
36580         (__ASSUME_PIPE2): Likewise.
36581         (__ASSUME_EVENTFD2): Likewise.
36582         (__ASSUME_SIGNALFD4): Likewise.
36583         (__ASSUME_DUP3): Likewise.
36584         (__ASSUME_UTIMES): Undefine.
36586         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
36587         feclearexcept.  Remove symbol versioning code.
36588         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
36589         symbol versioning code.
36590         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
36591         symbol versioning code.
36592         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
36593         feupdateenv.  Remove symbol versioning code.
36594         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
36595         fegetexceptflag.  Remove symbol versioning code.
36596         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
36597         fesetexceptflag.  Remove symbol versioning code.
36598         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
36599         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
36600         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
36601         (__posix_fadvise64_l32): Remove prototype.
36602         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
36603         code.
36605 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36607         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
36608         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
36609         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
36610         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
36612 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
36614         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
36615         current working directory
36617 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36619         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
36620         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
36621         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
36622         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
36623         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
36624         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
36625         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
36626         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
36627         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
36628         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
36629         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
36630         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
36631         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
36632         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
36633         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
36634         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
36635         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
36636         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
36637         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
36638         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
36639         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
36640         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
36641         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
36642         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
36643         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
36644         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
36645         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
36646         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
36647         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
36648         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
36649         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
36650         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
36651         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
36652         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
36653         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
36654         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
36655         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
36656         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
36657         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
36658         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
36659         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
36660         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
36662         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
36663         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
36665         * sysdeps/unix/sysv/linux/arm/Makefile
36666         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
36667         Add rt-aeabi_unwind_cpp_pr1.
36668         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
36669         Add nptl-aeabi_unwind_cpp_pr1.
36670         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
36671         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
36672         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
36673         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
36674         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
36675         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
36677         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
36678         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
36679         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
36680         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
36682         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
36683         Deconditionalize the code that was previously under [RESET_PID].
36684         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
36686         * sysdeps/generic/exit-thread.h: New file.
36687         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
36688         * include/unistd.h (__exit_thread): Remove declaration.
36689         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
36690         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
36691         * csu/libc-start.c: Include <exit-thread.h>.
36692         (LIBC_START_MAIN): Pass no argument to __exit_thread.
36693         * nptl/pthread_create.c: Include <exit-thread.h>.
36694         (start_thread): Call __exit_thread in place of __exit_thread_inline.
36695         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
36696         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
36697         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
36698         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
36699         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
36700         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
36701         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
36702         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
36703         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
36704         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
36705         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
36706         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
36707         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
36708         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
36709         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
36710         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
36712 2014-05-13  Andreas Schwab  <schwab@suse.de>
36714         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
36716 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
36718         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
36719         (__ASSUME_UTIMES): Do not condition on kernel version.
36720         (__ASSUME_PSELECT): Define unconditionally.
36721         (__ASSUME_PPOLL): Likewise.
36722         (__ASSUME_ATFCTS): Likewise.
36723         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
36724         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
36725         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
36726         (__ASSUME_UTIMENSAT): Define unconditionally.
36727         (__ASSUME_PRIVATE_FUTEX): Likewise.
36728         (__ASSUME_FALLOCATE): Likewise.
36729         (__ASSUME_O_CLOEXEC): Likewise.
36730         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
36731         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
36732         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
36733         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
36734         (__ASSUME_IN_NONBLOCK): Likewise.
36735         (__ASSUME_PIPE2): Likewise.
36736         (__ASSUME_EVENTFD2): Likewise.
36737         (__ASSUME_SIGNALFD4): Likewise.
36738         (__ASSUME_DUP3): Likewise.
36739         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36740         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
36741         (__ASSUME_AT_RANDOM): Likewise.
36742         (__ASSUME_PREADV): Likewise.
36743         (__ASSUME_PWRITEV): Likewise.
36744         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
36745         (__ASSUME_F_GETOWN_EX): Define unconditionally.
36746         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
36747         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36748         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
36749         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36750         (__ASSUME_O_CLOEXEC): Define unconditionally.
36751         (__ASSUME_PSELECT): Do not undefine conditionally.
36752         (__ASSUME_PPOLL): Likewise.
36753         (__ASSUME_ATFCTS): Likewise.
36754         (__ASSUME_SET_ROBUST_LIST): Likewise.
36755         (__ASSUME_UTIMENSAT): Likewise.
36756         (__ASSUME_FDATASYNC): Define unconditionally.
36757         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36758         (__ASSUME_SIGFRAME_V2): Likewise.
36759         )__ASSUME_EVENTFD2): Likewise.
36760         (__ASSUME_SIGNALFD4): Likewise.
36761         (__ASSUME_PSELECT): Do not undefine conditionally.
36762         (__ASSUME_PPOLL): Likewise.
36763         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36764         (__ASSUME_PSELECT): Define unconditionally.
36765         (__ASSUME_PPOLL): Likewise.
36766         (__ASSUME_O_CLOEXEC): Likewise.
36767         (__ASSUME_SOCK_CLOEXEC): Likewise.
36768         (__ASSUME_IN_NONBLOCK): Likewise.
36769         (__ASSUME_PIPE2): Likewise.
36770         (__ASSUME_EVENTFD2): Likewise.
36771         (__ASSUME_SIGNALFD4): Likewise.
36772         (__ASSUME_DUP3): Likewise.
36773         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36774         (__ASSUME_O_CLOEXEC): Likewise.
36775         (__ASSUME_SOCK_CLOEXEC): Likewise.
36776         (__ASSUME_IN_NONBLOCK): Likewise.
36777         (__ASSUME_PIPE2): Likewise.
36778         (__ASSUME_EVENTFD2): Likewise.
36779         (__ASSUME_SIGNALFD4): Likewise.
36780         (__ASSUME_DUP3): Likewise.
36781         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36782         (__ASSUME_EVENTFD2): Likewise.
36783         (__ASSUME_SIGNALFD4): Likewise.
36784         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36786 2014-05-12  Andreas Schwab  <schwab@suse.de>
36788         [BZ #16932]
36789         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
36790         (_nss_nis_gethostbyname4_r): Return error if item length is larger
36791         than maximum RPC packet size.
36792         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
36793         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
36794         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
36795         (_nss_nis_getservbyport_r): Likewise.
36797 2014-05-12  Will Newton  <will.newton@linaro.org>
36799         * malloc/Makefile (tests): Add tst-mallopt.
36800         * malloc/tst-mallopt.c: New file.
36802 2014-05-09  Roland McGrath  <roland@hack.frob.com>
36804         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
36805         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
36807 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36809         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
36810         (tst-tlsmod6.so): Likewise.
36812 2014-05-09  Roland McGrath  <roland@hack.frob.com>
36814         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
36816 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
36818         [BZ #16064]
36819         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
36820         and <dl-procinfo.h>.
36821         (__fegetenv): Save SSE state in envp->__eip if supported.
36822         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
36823         envp->__eip if supported.
36824         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
36825         and <dl-procinfo.h>.
36826         (__fesetenv): Always set __eip, __cs_selector, __opcode,
36827         __data_offset and __data_selector in environment to 0.  Set SSE
36828         state if supported.
36829         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
36830         test-fenv-sse.
36831         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
36832         -mfpmath=sse.
36833         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
36835 2014-05-09  Will Newton  <will.newton@linaro.org>
36837         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
36838         and libc_relro_required for ARM.
36839         * sysdeps/arm/preconfigure: Regenerate.
36841 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
36842             Stefan Liebler  <stli@linux.vnet.ibm.com>
36844         * config.make.in (enable-lock-elision): New Makefile variable.
36845         * configure.ac: Likewise.
36846         * configure: Regenerate.
36847         * sysdeps/s390/configure.ac:
36848         Add check for gcc transactions support.
36849         * sysdeps/s390/configure: Regenerate.
36850         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
36851         Build elision files if enabled.
36852         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
36853         Add lock elision support for s390.
36854         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
36855         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
36856         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
36857         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
36858         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
36859         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
36860         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
36861         Likewise.
36862         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
36863         Likewise.
36864         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
36865         Likewise.
36866         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
36867         Likewise.
36868         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
36869         (__lll_timedlock_elision, __lll_lock_elision)
36870         (__lll_unlock_elision, __lll_trylock_elision)
36871         (lll_timedlock_elision, lll_lock_elision)
36872         (lll_unlock_elision, lll_trylock_elision): Add.
36873         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36874         (pthread_mutex_t): Add lock elision support for s390.
36876 2014-05-14  Wilco  <wdijkstr@arm.com>
36878         * sysdeps/arm/fclrexcpt.c: Cleanup.
36879         * sysdeps/arm/fedisblxcpt.c: Cleanup.
36880         * sysdeps/arm/feenablxcpt.c: Cleanup.
36881         * sysdeps/arm/fegetenv.c: Cleanup.
36882         * sysdeps/arm/fegetexcept.c: Cleanup.
36883         * sysdeps/arm/fegetround.c: Cleanup.
36884         * sysdeps/arm/feholdexcpt.c: Cleanup.
36885         * sysdeps/arm/fesetenv.c: Cleanup.
36886         * sysdeps/arm/fesetround.c: Cleanup.
36887         * sysdeps/arm/feupdateenv.c: Cleanup.
36888         * sysdeps/arm/fgetexcptflg.c: Cleanup.
36889         * sysdeps/arm/fraiseexcpt.c: Cleanup.
36890         * sysdeps/arm/fsetexcptflg.c: Cleanup.
36891         * sysdeps/arm/ftestexcept.c: Cleanup.
36892         * sysdeps/arm/get-rounding-mode.h: Cleanup.
36893         * sysdeps/arm/setfpucw.c: Cleanup.
36895 2014-05-09  Will Newton  <will.newton@linaro.org>
36897         * sysdeps/arm/armv7/strcmp.S: New file.
36898         * NEWS: Mention addition of ARMv7 optimized strcmp.
36900 2014-05-08  Roland McGrath  <roland@hack.frob.com>
36902         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
36903         look for %.ac rather than %.in.
36905         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
36906         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
36907         * sysdeps/mach/hurd/configure: Regenerated.
36908         * sysdeps/unix/sysv/linux/configure: Regenerated.
36910         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
36912 2014-05-07  Steve Ellcey  <sellcey@mips.com>
36914         [BZ# 16922]
36915         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
36916         (LONG_SUB): Ditto.
36917         (PTR_SUB): Ditto.
36919 2014-05-07  Andreas Schwab  <schwab@suse.de>
36921         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
36922         when skipping over non-matching result from nscd.
36924 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
36926         [BZ #16876]
36927         * nptl/sockperf.c (client): Check socket return value.
36929         [BZ #16877]
36930         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
36931         nscd security class.
36933 2014-05-06  Roland McGrath  <roland@hack.frob.com>
36935         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
36936         * sysdeps/arm/unwind.h: ... here.
36938 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
36940         [BZ# 16916]
36941         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
36942         Define.
36944 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36946         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
36947         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
36948         multiarch strncpy for PPC64.
36949         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
36950         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
36951         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
36952         multiarch optimizations.
36953         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36954         (__libc_ifunc_impl_list): Likewise.
36955         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
36956         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
36957         multiarch stpncpy for PPC64.
36958         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
36959         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
36961 2014-05-06  Andreas Schwab  <schwab@suse.de>
36963         [BZ #16912]
36964         * gmon/mcount.c (_MCOUNT_DECL): Use
36965         atomic_compare_and_exchange_bool_acq instead of
36966         catomic_compare_and_exchange_bool_acq.
36968 2014-05-05  Roland McGrath  <roland@hack.frob.com>
36970         * elf/Makefile (others, install-bin): Remove pldd.
36971         (pldd-modules): Variable removed.
36972         ($(objpfx)pldd): Target removed.
36973         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
36974         (others, install-bin): Append pldd here.
36975         ($(objpfx)pldd): New target.
36977         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
36978         to 0, so the first #if test emitted later doesn't see it undefined.
36979         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
36980         * sysdeps/gnu/errlist.c: Regenerated.
36982 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36984         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
36985         [libc_hidden_builtin_def]: Define to empty value.
36986         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
36987         [libc_hidden_builtin_def]: Likewise.
36988         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
36989         [libc_hidden_builtin_def]: Likewise.
36990         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
36991         [libc_hidden_builtin_def]: Likewise.
36992         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
36993         __redirect_memcpy and define ifunc as default hidden symbol.
36994         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
36995         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
36997 2014-05-04  Adam Conrad  <adconrad@0c3.net>
36999         * locale/iso-4217.def: Reintroduce XDR currency.
37001 2014-05-04  Allan McRae  <allan@archlinux.org>
37003         * po/eo.po: Update Esperanto translation from translation project.
37005 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
37007         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
37008         and FEATURE_INDEX_MAX to 1.
37009         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
37011 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37013         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
37014         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
37015         * iconvdata/big5.c (ONE_DIRECTION): Define.
37016         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
37017         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
37018         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
37019         * iconvdata/cp932.c (ONE_DIRECTION): Define.
37020         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
37021         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
37022         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
37023         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
37024         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
37025         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
37026         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
37027         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
37028         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
37029         * iconvdata/gbk.c (ONE_DIRECTION): Define.
37030         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
37031         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
37032         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
37033         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
37034         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
37035         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
37036         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
37037         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
37038         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
37039         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
37040         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
37041         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
37042         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
37043         * iconvdata/iso646.c (ONE_DIRECTION): Define.
37044         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
37045         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
37046         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
37047         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
37048         * iconvdata/johab.c (ONE_DIRECTION): Define.
37049         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
37050         * iconvdata/sjis.c (ONE_DIRECTION): Define.
37051         * iconvdata/t.61.c (ONE_DIRECTION): Define.
37052         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
37053         * iconvdata/tscii.c (ONE_DIRECTION): Define.
37054         * iconvdata/uhc.c (ONE_DIRECTION): Define.
37055         * iconvdata/unicode.c (ONE_DIRECTION): Define.
37056         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
37057         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
37058         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
37060 2014-05-01  Roland McGrath  <roland@hack.frob.com>
37062         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
37063         (_IO_JUMPS_OFFSET): Define to 0.
37065         * nptl/sysdeps/pthread/bits/libc-lock.h
37066         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
37067         (__libc_lock_define_initialized_recursive): Always define using
37068         initializer.  Modern compilers treat uninitialized (implicit zero) and
37069         explicit zero initializers the same (i.e. put the datum in bss).
37071 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37073         * nscd/nscd-client.h: Include <string.h>.
37075 2014-05-01  David S. Miller  <davem@davemloft.net>
37077         [BZ #16885]
37078         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
37079         multiple zero bytes exist at the end of a string.
37080         Reported by Aurelien Jarno <aurelien@aurel32.net>
37082         * string/test-strcmp.c (check): Add explicit test for situations where
37083         there are multiple zero bytes after the first.
37085 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37087         [BZ #16890]
37088         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
37089         when compiling wprintf.
37090         * stdio-common/tstdiomisc.c (t3): New function.
37091         (main): Call it.
37093 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37095         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
37096         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
37097         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
37098         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
37100 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37102         * stdlib/longlong.h: Updated from GCC.
37104 2014-05-01  Will Newton  <will.newton@linaro.org>
37105             Bernard Ogden  <bernie.ogden@linaro.org>
37107         * NEWS: Update fixed bug list.
37109         [BZ #15119]
37110         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
37112 2014-04-30  David S. Miller  <davem@davemloft.net>
37114         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
37115         (libc_feholdexcept_setround_sparc_ctx): New function.
37116         (libc_fesetenv_sparc_ctx): Likewise.
37117         (libc_feupdateenv_sparc_ctx): Likewise.
37118         (libc_feholdsetround_sparc_ctx): Likewise.
37119         (libc_feholdexcept_setround_ctx): Define.
37120         (libc_feholdexcept_setroundf_ctx): Likewise.
37121         (libc_feholdexcept_setroundl_ctx): Likewise.
37122         (libc_fesetenv_ctx): Likewise.
37123         (libc_fesetenvf_ctx): Likewise.
37124         (libc_fesetenvl_ctx): Likewise.
37125         (libc_feupdateenv_ctx): Likewise.
37126         (libc_feupdateenvf_ctx): Likewise.
37127         (libc_feupdateenvl_ctx): Likewise.
37128         (libc_feresetround_ctx): Likewise.
37129         (libc_feresetroundf_ctx): Likewise.
37130         (libc_feresetroundl_ctx): Likewise.
37131         (libc_feholdsetround_ctx): Likewise.
37132         (libc_feholdsetroundf_ctx): Likewise.
37133         (libc_feholdsetroundl_ctx): Likewise.
37135         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
37136         with __USE_GNU instead of XOPEN cpp guards.
37138         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
37139         0.
37141         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
37142         with XOPEN cpp guards.
37144 2014-04-30  Julian Brown  <julian@codesourcery.com>
37146         [BZ #16888]
37147         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
37148         handling.
37150 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
37152         [BZ #9894]
37153         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
37154         Change to 2.6.32.
37155         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
37156         * sysdeps/unix/sysv/linux/configure: Regenerated.
37157         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
37158         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
37159         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
37160         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
37161         * README: Update reference to required Linux kernel version.
37162         * manual/install.texi (Linux): Update reference to required Linux
37163         kernel headers version.
37164         * INSTALL: Regenerated.
37166         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
37167         header inclusion.
37168         [POSIX] (limits.h): Likewise.
37169         [POSIX] (math.h): Likewise.
37170         [POSIX] (sys/wait.h): Likewise.
37171         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
37172         function.
37173         [POSIX] (stddef.h): Do not allow header inclusion.
37175 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37177         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
37179 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
37181         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
37182         Return immediately after lll_futex_wake.
37184 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37186         [BZ #16791]
37187         * nscd/nscd-client.h (datahead_init_common): Initialize entire
37188         structure.
37189         (datahead_init_pos): Call datahead_init_common early.
37190         (datahead_init_neg): Likewise.
37192         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
37193         datahead_init_neg): New functions.
37194         * nscd/aicache.c (addhstaiX): Use them.
37195         * nscd/grpcache.c (cache_addgr): Likewise.
37196         * nscd/hstcache.c (cache_addhst): Likewise.
37197         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37198         * nscd/netgroupcache.c (do_notfound): Likewise.
37199         (addgetnetgrentX): Likewise.
37200         (addinnetgrX): Likewise.
37201         * nscd/pwdcache.c (cache_addpw): Likewise.
37202         * nscd/servicescache.c (cache_addserv): Likewise.
37204 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37205             Atsushi Onoe  <atsushi@onoe.org>
37207         [BZ #14308]
37208         [BZ #12994]
37209         [BZ #13651]
37210         * resolv/res_query.c (__libc_res_nsearch): Return if at least
37211         one response is valid.
37212         * resolv/res_send.c (send_dg): Check for validity of other
37213         response if the current response is a referral.
37215 2014-04-29  Steve Ellcey  <sellcey@mips.com>
37217         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
37219 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
37221         [BZ #16823]
37222         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
37223         Always divide by positive zero when computing -Inf result.
37224         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
37225         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
37227 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37229         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
37230         FPSCR if value do not change.
37231         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
37232         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
37233         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
37234         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
37235         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
37236         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
37237         function.
37239 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
37241         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
37242         * sysdeps/unix/sysv/linux/hppa: Move directory from
37243         ports/systeps/unix/sysv/linux/hppa.
37244         * README: Update listing for hppa-*-linux-gnu.
37246 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
37248         [BZ #16754]
37249         * manual/stdio.texi (Hook functions): Fix types of stream hook
37250         functions.
37251         [BZ #16854]
37252         * socket/sys/socket.h: Fix typo in comment.
37254 2014-04-28  Wilco  <wdijkstr@arm.com>
37256         * sysdeps/arm/fenv_private.h: New file.
37257         * sysdeps/arm/math_private.h: New file.
37258         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
37260 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
37262         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
37263         with __int128_t.
37264         (La_x86_64_retval): Likewise.
37266 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
37268         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
37269         fpsr if value didn't change.
37270         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
37271         to fpcr if value didn't change.
37272         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
37273         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
37274         fpsr or fpcr if value didn't change.
37275         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
37276         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
37277         fpcr if value didn't change.
37278         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
37279         to fpsr if value didn't change.
37281 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
37283         * nptl/tst-sem3.c: Use test-skeleton.c
37284         (main): Rename to do_test.  Use return instead of
37285         exit.
37286         * nptl/tst-sem4.c: Use test-skeleton.c
37287         (main): Rename to do_test.
37289 2014-04-22  David S. Miller  <davem@davemloft.net>
37291         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37292         (struct sigaction): New struct member __glibc_reserved0, change
37293         type of sa_flags to int.
37295 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
37297         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
37298         (COUNT_LEADING_ZEROS_0): Define for AArch64.
37300 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37302         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
37303         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
37305 2014-04-22  Will Newton  <will.newton@linaro.org>
37306             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
37308         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
37309         (__longjmp): Add longjmp and longjmp_target SystemTap
37310         probes.
37311         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
37312         (__sigsetjmp): Add setjmp SystemTap probe.
37314 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
37316         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
37317         match manual order.
37319 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37321         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
37323         * sysdeps/powerpc/fpu/fenv_private.h
37324         (libc_feholdexcept_setroundl_ctx): Define to
37325         libc_feholdexcept_setround_ppc_ctx.
37326         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
37327         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
37328         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
37329         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
37331 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37333         * sysdeps/aarch64/math-tests.h: New file.
37335 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
37337         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
37338         New.
37339         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37340         Check and set bit_AVX2_Usable.
37341         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
37342         macro.
37343         (bit_AVX2): Likewise.
37344         (index_AVX2_Usable): Likewise.
37345         (CPUID_AVX2): Likewise.
37346         (HAS_AVX2): Likewise.
37348 2014-04-17  Will Newton  <will.newton@linaro.org>
37350         * manual/setjmp.texi (System V contexts): Add note that
37351         calling setcontext on a context created by a call to a
37352         signal handler is undefined.  Update text to note that
37353         setcontext from a signal handler is possible but not
37354         recommended.
37356         [BZ #16629]
37357         * stdlib/tst-setcontext.c: Include signal.h.
37358         (main): Check that the signal stack before and
37359         after swapcontext is the same.
37361         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
37362         Re-implement to restore registers in user code and avoid
37363         rt_sigreturn system call.
37365 2014-04-17  Wilco  <wdijkstr@arm.com>
37367         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
37368         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
37369         * math/test-fenv.c: Skip exception trap tests on targets which only
37370         support non-stop mode.
37372 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37373             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37375         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
37376         (libc_feholdsetround_aarch64_ctx)
37377         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
37378         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
37379         (libc_feresetround_ctx, libc_feresetroundf_ctx)
37380         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
37381         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
37382         (libc_feresetround_noexl_ctx): Define.
37384 2014-04-16  Richard Henderson  <rth@redhat.com>
37386         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
37388         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
37389         unwind tables.
37391         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
37392         const from the non-libc, non-ldso copy.
37394         * sysdeps/alpha/libm-test-ulps: Regenerate.
37396 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
37397             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37399         * sysdeps/aarch64/fpu/math_private.h: New file.
37401 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37403         * sysdeps/aarch64/libm-test-ulps: Regenerate.
37405 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
37407         [BZ #16275]
37408         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
37409         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
37410         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
37411         Intel MPX bound registers before _dl_profile_fixup.
37412         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
37413         registers after _dl_profile_fixup.  Save and restore bound
37414         registers bnd0/bnd1 when calling _dl_call_pltexit.
37415         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
37416         (LR_BND_OFFSET): Likewise.
37417         (LRV_BND0_OFFSET): Likewise.
37418         (LRV_BND1_OFFSET): Likewise.
37420 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37422         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
37423         to...
37424         * sysdeps/mach/hurd/i386/tls.h: ... here.
37425         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
37426         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
37427         fields.
37429 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37431         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
37433 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37435         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37437 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37439         [BZ #14770]
37440         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
37441         * sysdeps/s390/configure: Regenerate.
37443         [BZ #16824]
37444         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
37445         Set round-to-nearest internally to reduce error accumulation.
37447 2014-04-16  Alan Modra  <amodra@gmail.com>
37449         [BZ #16740]
37450         [BZ #16619]
37451         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
37452         * math/libm-test.inc (frexp_test_data): Add tests.
37453         * NEWS: Update fixed bug list.
37455 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37457         * benchtests/Makefile: Depend on libraries in build directory.
37458         (bench-math): Separate out math tests.
37459         (bench-pthread): Separate out pthread tests.
37460         (bench): Include math and pthread tests.
37462 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
37464         [BZ #16831]
37465         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
37466         _dl_debug_initialize.
37468         * configure.ac: Remove SELinux header check.
37469         * configure: Regenerate.
37470         * nscd/selinux.c (perms): Array of const char* to permission names.
37471         (nscd_request_avc_has_perm): Call security_deny_unknown to find
37472         default policy. Call string_to_security_class and string_to_av_perm to
37473         translate strings. Enforce default policy and call avs_has_perm with
37474         results of translated strings.
37476 2014-04-13  David S. Miller  <davem@davemloft.net>
37478         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37480 2014-04-12  Allan McRae  <allan@archlinux.org>
37482         [BZ #16838]
37483         * manual/string.texi (Collation Functions): Fix qsort argument
37484         order in example.
37485         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37487 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
37489         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
37490         Make the test a no-op if there are no exceptions defined.
37492 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
37494         * elf/Makefile (tests): make tst-dlopen-aout conditional on
37495         enable-hardcoded-path-in-tests
37497 2014-04-11  Will Newton  <will.newton@linaro.org>
37499         * benchtests/Makefile (extra-objs): Add json-lib.o.
37500         (bench-func): Tidy up JSON output.
37501         * benchtests/bench-skeleton.c: Include json-lib.h.
37502         (main): Use JSON library functions to do output of
37503         benchmark results.
37504         * benchtests/bench-timing-type.c (main): Output the
37505         timing type simply, leaving formatting to the user.
37506         * benchtests/json-lib.c: New file.
37507         * benchtests/json-lib.h: Likewise.
37509 2014-04-11  Torvald Riegel  <triegel@redhat.com>
37511         [BZ #15215]
37512         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
37513         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
37514         memory barriers.  Add comments.
37515         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
37516         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
37517         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
37518         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
37519         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
37520         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
37522 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37524         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
37525         * sysdeps/s390/s390-64/configure.ac: ... this ...
37526         * sysdeps/s390/configure.ac: ... to here.
37527         * sysdeps/s390/s390-32/configure: Delete file.
37528         * sysdeps/s390/s390-64/configure: Delete file.
37529         * sysdeps/s390/configure: Regenerate.
37531 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
37533         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
37535 2014-04-11  Will Newton  <will.newton@linaro.org>
37537         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
37538         to zero if it is not defined elsewhere.  (mtrim): Test
37539         the value of MALLOC_DEBUG with #if rather than #ifdef.
37541 2014-04-10 Torvald Riegel  <triegel@redhat.com>
37543         * benchtests/pthread_once-inputs: New file.
37544         * benchtests/pthread_once-source.c: New file.
37545         * benchtests/README: Update documentation.
37547 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
37548             H.J. Lu  <hongjiu.lu@intel.com>
37550         [BZ #16275]
37551         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
37552         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
37553         * sysdeps/x86_64/configure: Regenerated.
37554         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
37555         macro.
37556         (REGISTER_SAVE_RAX): Likewise.
37557         (REGISTER_SAVE_RCX): Likewise.
37558         (REGISTER_SAVE_RDX): Likewise.
37559         (REGISTER_SAVE_RSI): Likewise.
37560         (REGISTER_SAVE_RDI): Likewise.
37561         (REGISTER_SAVE_R8): Likewise.
37562         (REGISTER_SAVE_R9): Likewise.
37563         (REGISTER_SAVE_BND0): Likewise.
37564         (REGISTER_SAVE_BND1): Likewise.
37565         (REGISTER_SAVE_BND2): Likewise.
37566         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
37567         bound registers when calling _dl_fixup.
37569 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37571         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
37572         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
37573         of its definition.
37574         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
37575         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
37576         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
37577         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
37578         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
37579         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
37580         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
37582 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
37584         [BZ #15514]
37585         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
37586         pathconf(_PC_NAME_MAX).
37588 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37590         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
37591         Remove macro usage.
37592         (__PTHREAD_SPINS): Move definition to ...
37593         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37594         (__PTHREAD_SPINS): ... here.
37595         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37596         (__PTHREAD_SPIN): Likewise.
37597         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
37598         (__PTHREAD_SPIN): Likewise.
37599         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
37600         (__PTHREAD_SPIN): Likewise.
37601         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
37602         (__PTHREAD_SPIN): Likewise.
37603         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
37604         (__PTHREAD_SPIN): Likewise.
37605         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
37606         (__PTHREAD_SPIN): Likewise.
37607         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
37608         (__PTHREAD_SPIN): Likewise.
37609         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
37610         (__PTHREAD_SPIN): Likewise.
37611         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
37612         (__PTHREAD_SPIN): Likewise.
37613         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
37614         (__PTHREAD_SPIN): Likewise.
37615         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
37616         (__PTHREAD_SPIN): Likewise.
37617         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
37618         (__PTHREAD_SPIN): Likewise.
37620         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
37621         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
37622         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
37623         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
37624         imply folder.
37625         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
37626         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
37627         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
37628         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
37629         correct imply path.
37630         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
37631         strlen symbol for non multi-arch builds.
37632         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
37633         missing hidden_def and weak_alias.
37635 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
37637         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
37639 2014-04-07  Will Newton  <will.newton@linaro.org>
37641         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
37642         and contents.  [!_LIBC] Remove #ifndef and contents.
37643         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
37644         * string/memccpy.c (__memccpy): Use ANSI prototype.
37645         * string/memfrob.c (memfrob): Likewise.
37646         * string/strcoll.c (STRCOLL): Likewise.
37647         * string/strlen.c (strlen): Likewise.
37648         * string/strtok.c (STRTOK): Likewise.
37649         * string/strcat.c: Remove unused #include of memcopy.h.
37650         (strcat): Use ANSI prototype.
37651         * string/strchr.c: Remove unused #include of memcopy.h.
37652         (strchr): Use ANSI prototype.
37653         * string/strcmp.c: Remove unused #include of memcopy.h.
37654         (strcmp): Use ANSI prototype.
37655         * string/strcpy.c: Remove unused #include of memcopy.h.
37656         (strcpy): Use ANSI prototype.
37658 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37660         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
37661         * config.make.in (config-extra-cppflags): Set it from
37662         libc_extra_cppflags.
37663         * configure.ac (libc_extra_cflags): Make it accumulate over
37664         configure fragments.
37665         (libc_extra_cppflags): New flag.
37666         * configure. Regenerate.
37667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
37668         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
37669         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
37670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
37672         [BZ #16815]
37673         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
37674         result for FE_DOWNWARD rounding mode.
37675         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
37676         Likewise.
37677         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37679 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
37681         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
37682         in function argument name.
37684 2014-04-03  David Svoboda  <svoboda@cert.org>
37686         [BZ #5666]
37687         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
37688         explicitly.
37690 2014-04-03  Roland McGrath  <roland@hack.frob.com>
37692         * elf/dl-unmap-segments.h: New file.
37693         * sysdeps/generic/ldsodefs.h
37694         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
37695         * elf/dl-close.c: Include <dl-unmap-segments.h>.
37696         * elf/dl-fptr.c: Likewise.
37697         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
37698         * sysdeps/aarch64/tlsdesc.c: Likewise.
37699         * sysdeps/arm/tlsdesc.c: Likewise.
37700         * sysdeps/i386/tlsdesc.c: Likewise.
37701         * sysdeps/tile/dl-runtime.c: Likewise.
37702         * sysdeps/x86_64/tlsdesc.c: Likewise.
37703         * elf/dl-load.h: New file.
37704         * elf/dl-load.c: Include it.
37705         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
37706         Macros moved to dl-load.h.
37707         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
37708         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
37709         Use _dl_unmap_segments in place of __munmap.
37710         Break out segment-mapping loop into ...
37711         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
37713 2014-04-03  Will Newton  <will.newton@linaro.org>
37715         * elf/dl-lookup.c (do_lookup_x): Remove comment
37716         referring to nested function and move variable
37717         declarations down to before first use.
37719 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
37721         [BZ #16799]
37722         [BZ #16800]
37723         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
37724         with 0 numerator.
37725         * math/s_catanf.c (__catanf): Likewise.
37726         * math/s_catanh.c (__catanh): Likewise.
37727         * math/s_catanhf.c (__catanhf): Likewise.
37728         * math/s_catanhl.c (__catanhl): Likewise.
37729         * math/s_catanl.c (__catanl): Likewise.
37730         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
37731         by positive zero when computing -Inf result.
37732         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
37733         (catanh_test): Likewise.
37734         * sysdeps/i386/fpu/libm-test-ulps: Update.
37735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37737         [BZ #16789]
37738         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
37739         instead of using underflowing value in computing result.
37740         * math/s_clog10.c (__clog10): Likewise.
37741         * math/s_clog10f.c (__clog10f): Likewise.
37742         * math/s_clog10l.c (__clog10l): Likewise.
37743         * math/s_clogf.c (__clogf): Likewise.
37744         * math/s_clogl.c (__clogl): Likewise.
37745         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
37746         (clog10_test): Likewise.
37747         * sysdeps/i386/fpu/libm-test-ulps: Update.
37748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37750 2014-04-02  Alan Modra  <amodra@gmail.com>
37752         [BZ #16739]
37753         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
37754         output when value is near a power of two.  Use int64_t for lx and
37755         remove casts.  Use decimal rather than hex exponent constants.
37756         Don't use long double multiplication when double will suffice.
37757         * math/libm-test.inc (nextafter_test_data): Add tests.
37758         * NEWS: Add 16739 and 16786 to bug list.
37760         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
37762         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
37764 2014-04-01  Will Newton  <will.newton@linaro.org>
37766         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
37767         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
37769 2014-04-01  Florian Weimer  <fweimer@redhat.com>
37771         [BZ #13347]
37772         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
37773         * nptl/tst-setuid2.c: New file.
37774         * nptl/Makefile (xtests): Add tst-setuid2.
37776 2014-04-01  Alan Modra  <amodra@gmail.com>
37778         [BZ #16786]
37779         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
37781 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
37783         [BZ #6803]
37784         [BZ #6804]
37785         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
37786         set errno as appropriate.
37787         * math/w_scalbf.c (__scalbf): Likewise.
37788         * math/w_scalbl.c (__scalbl): Likewise.
37789         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
37790         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
37791         * math/libm-test.inc (scalb_test_data): Add errno expectations.
37792         Add more NaN tests.
37794         [BZ #16349]
37795         * math/w_atan2.c: Include <errno.h>.
37796         (__atan2): Set errno for result underflowing to zero.
37797         * math/w_atan2f.c: Include <errno.h>.
37798         (__atan2f): Set errno for result underflowing to zero.
37799         * math/w_atan2l.c: Include <errno.h>.
37800         (__atan2l): Set errno for result underflowing to zero.
37801         * math/auto-libm-test-in: Don't allow missing errno for some atan2
37802         tests.
37803         * math/auto-libm-test-out: Regenerated.
37805 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37807         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
37808         Encode instruction correctly in little endian.
37809         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
37810         Likewise.
37811         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
37812         Likewise.
37813         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
37814         Likewise.
37815         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
37816         Likewise.
37818 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
37820         [BZ #9894]
37821         * sysdeps/unix/sysv/linux/kernel-features.h
37822         [__sparc__ && !__arch64__ && !__sparc_v9__]
37823         (__ASSUME_SET_ROBUST_LIST): Do not define.
37824         [__sparc__ && !__arch64__ && !__sparc_v9__]
37825         (__ASSUME_FUTEX_LOCK_PI): Likewise.
37826         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
37827         Likewise.
37828         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37829         (__ASSUME_FUTEX_LOCK_PI): Undefine.
37830         (__ASSUME_REQUEUE_PI): Likewise.
37831         (__ASSUME_SET_ROBUST_LIST): Likewise.
37832         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37833         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
37834         Undefine.
37835         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37836         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
37837         Likewise.
37838         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
37839         Likewise.
37840         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
37841         Likewise.
37842         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37843         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
37844         Undefine.
37845         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
37846         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
37847         Likewise.
37849         [BZ #16648]
37850         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37851         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
37852         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
37854 2014-03-31  Will Newton  <will.newton@linaro.org>
37856         * benchtests/Makefile (bench): Add ffs and ffsll to list
37857         of tests.
37858         * benchtests/ffs-inputs: New file.
37859         * benchtests/ffsll-inputs: Likewise.
37861 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
37863         [BZ #16770]
37864         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
37865         too large before casting to int.
37866         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
37867         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
37868         * math/libm-test.inc (scalb_test_data): Add more tests.
37870 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37872         * benchtests/Makefile (DETAILED_OPT): New make option.
37873         (bench-func): Run benchmark program with -d if DETAILED_OPT is
37874         set.
37875         * benchtests/bench-skeleton.c: Include stdbool.h.
37876         (main): Store and print timings per input.
37877         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
37878         member to each argument value.
37879         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
37880         (_print_arg_data): Initialize per-input timing to 0.
37882         * benchtests/Makefile (timing-type): New binary.
37883         (bench-clean): Also remove bench-timing-type.
37884         (bench): New target for timing-type.
37885         (bench-func): Print output in JSON format.
37886         * benchtests/bench-skeleton.c (main): Print output in JSON
37887         format.
37888         * benchtests/bench-timing-type.c: New file.
37889         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
37890         (TIMING_PRINT_STATS): Remove.
37891         * benchtests/scripts/bench.py (_print_arg_data): Store variant
37892         name separately.
37894         * benchtests/bench-modf.c: Remove.
37895         * benchtests/modf-inputs: New inputs file.
37897 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
37899         [BZ #16362]
37900         * math/s_clog10.c (M_PI_LOG10E): New macro.
37901         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
37902         imaginary parts are 0.
37903         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
37904         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
37905         imaginary parts are 0.
37906         * math/s_clog10l.c (M_PI_LOG10El): New macro.
37907         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
37908         imaginary parts are 0.
37909         * math/libm-test.inc (clog10_test_data): Update expected results
37910         for when real and imaginary parts are 0.
37912 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
37914         * elf/dl-load.c: Finish conversion of __builtin_expect into
37915         __glibc_{un}likely.
37917 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
37919         [BZ #16348]
37920         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
37921         1+x for argument with exponent below -67.
37922         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
37923         Likewise.
37924         * math/auto-libm-test-in: Add more tests of exp.
37925         * math/auto-libm-test-out: Regenerated.
37927 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37929         [BZ #16759]
37930         * inet/getnetgrent_r.c (get_nonempty_val): New function.
37931         (nscd_getnetgrent): Use it.
37933         [BZ #16760]
37934         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
37935         of stpcpy.
37937 2014-03-27  Andi Kleen  <ak@linux.intel.com>
37939         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
37940         (lll_robust_lock, lll_cond_lock, lll_timedlock)
37941         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
37942         (lll_robust_unlock): Remove out of line section. Use cfi
37943         intrinsics.
37944         (LLL_STUB_UNWIND_INFO*): Remove.
37945         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
37946         (lll_robust_lock, lll_cond_lock, lll_timedlock)
37947         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
37948         (lll_robust_unlock): Remove out of line section. Use cfi
37949         intrinsics.
37950         (LLL_STUB_UNWIND_INFO*): Remove.
37952 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37954         [BZ #16758]
37955         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
37956         blank values.
37958 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
37960         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
37962 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
37964         [BZ #16198]
37965         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
37966         fnstenv.
37967         * math/test-fenv-preserve.c: New file.
37968         * math/Makefile (tests): Add test-fenv-preserve.
37970 2014-03-26  Will Newton <will.newton@linaro.org>
37972         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
37974 2014-03-25  Roland McGrath  <roland@hack.frob.com>
37976         * scripts/versionlist.awk: Partition the version sets and emit all
37977         GLIBC_* (sorted) before all others (sorted).
37979 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
37981         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
37982         GLIBC_2.2.5 version.
37984 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37986         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
37987         calls.
37989         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
37990         previous change.
37992         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37994 2014-03-25  Andreas Schwab  <schwab@suse.de>
37996         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
37997         label to be used after in6ailist is initialized.
37999 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38001         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38002         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
38004 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
38006         [BZ #16357]
38007         [BZ #16599]
38008         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
38009         min_plus_half.
38010         (fp_formats): Update initializers.
38011         (init_fp_formats): Initialize new field.
38012         (output_for_one_input_case): Allow underflow for results up to
38013         min_plus_half.
38014         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
38015         * math/auto-libm-test-in: Don't mark some underflows from asin and
38016         atanh as spurious.
38017         * math/auto-libm-test-out: Regenerated.
38018         * sysdeps/i386/fpu/libm-test-ulps: Update.
38019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38021 2014-03-25  Andreas Schwab  <schwab@suse.de>
38023         * libio/Makefile (tst-ftell-partial-wide-ENV)
38024         (tst-ftell-active-handler-ENV): Define.
38026 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
38028         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
38030 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38032         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
38034 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
38036         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
38037         * sysdeps/x86_64/fpu/multiarch/e_exp.c
38038         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
38040 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38042         [BZ #16634]
38043         * elf/dl-load.c (open_verify): Add mode parameter.
38044         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
38045         (open_path): Change from boolean 'secure' to complete flag 'mode'
38046         (_dl_map_object): Adjust.
38047         * elf/Makefile (tests): Add tst-dlopen-aout.
38048         * elf/tst-dlopen-aout.c: New test.
38050 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
38052         [BZ #16714]
38053         * sysdeps/unix/sysv/linux/s390/bits/stat.h
38054         (struct stat): Rename member pad0 to __glibc_reserved0.
38056         [BZ #16712]
38057         * sysdeps/s390/s390-32/bits/wordsize.h
38058         (__WORDSIZE32_SIZE_ULONG): New define.
38059         * sysdeps/s390/s390-64/bits/wordsize.h
38060         (__WORDSIZE32_SIZE_ULONG): Likewise.
38061         * sysdeps/generic/stdint.h (SIZE_MAX):
38062         Define as UL if __WORDSIZE32_SIZE_ULONG.
38064         [BZ #16713]
38065         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
38066         (__glibc_reserved0): New variable.
38067         (sa_flags): Change type to int.
38069         * posix/Makefile (before-compile): Use += before-compile instead
38070         of a :=.
38072         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38073         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
38075 2014-03-20  Andreas Schwab  <schwab@suse.de>
38077         [BZ #16743]
38078         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
38079         non-matching result from nscd.
38081 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38083         * scripts/bench.py: Moved to ...
38084         * benchtests/scripts/bench.py: ... here.
38085         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
38087 2014-03-24  Andreas Schwab  <schwab@suse.de>
38089         [BZ #16002]
38090         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
38091         alloca_account and account alloca use for struct in6ailist.
38093 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
38095         [BZ #16284]
38096         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
38097         rounding mode to recompute results that overflow to infinity or
38098         underflow to zero.
38099         * math/auto-libm-test-in: Don't mark tests as expected to fail for
38100         bug 16284.
38101         * math/auto-libm-test-out: Regenerated.
38102         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
38103         (ccosh_test): Likewise.
38104         (csin_test_data): Use plus_oflow.
38105         (csin_test): Use ALL_RM_TEST.
38106         (csinh_test_data): Use plus_oflow.
38107         (csinh_test): Use ALL_RM_TEST.
38108         * sysdeps/i386/fpu/libm-test-ulps: Update.
38109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38111 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
38113         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
38114         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
38115         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
38117         [BZ #16731]
38118         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
38119         when x - 1 is zero.
38120         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
38121         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
38122         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
38123         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
38124         argument is 1.
38125         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
38126         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
38127         zero.
38128         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
38129         * sysdeps/i386/fpu/libm-test-ulps: Update.
38130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38132 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38134         * scripts/bench.pl: Remove file.
38135         * scripts/bench.py: New benchmark script.
38136         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
38137         * benchtests/README: Mention python dependency.
38138         * scripts/pylintrc: New file.
38139         * scripts/pylint: New file.
38141         * bits/mathdef.h: Use #ifdef instead of #if.
38142         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
38143         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38144         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
38145         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38146         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
38147         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38149 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38150             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38152         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
38153         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
38154         and strpbrk-ppc64 objects.
38155         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38156         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
38157         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
38158         multiarch strpbrk for POWER7.
38159         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
38160         multiarch strpbrk for PPC64.
38161         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
38162         ifunc selector.
38163         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
38164         strpbrk for POWER7.
38166 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
38168         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
38169         (atan_test): Likewise.
38170         (atanh_test_data): Use NO_TEST_INLINE for two tests.
38171         (atanh_test): Use ALL_RM_TEST.
38172         (atan2_test_data): Likewise.
38173         (cabs_test): Likewise.
38174         (cacosh_test): Likewise.
38175         (carg_test): Likewise.
38176         (casin_test): Likewise.
38177         (casinh_test): Likewise.
38178         (cbrt_test): Likewise.
38179         (csqrt_test): Likewise.
38180         (erf_test): Likewise.
38181         (erfc_test): Likewise.
38182         (pow10_test): Likewise.
38183         (exp2_test): Likewise.
38184         (hypot_test): Likewise.
38185         (j0_test): Likewise.
38186         (j1_test): Likewise.
38187         (lgamma_test): Likewise.
38188         (gamma_test): Likewise.
38189         (sincos_test): Likewise.
38190         (tanh_test): Likewise.
38191         (y0_test): Likewise.
38192         (y1_test): Likewise.
38193         * sysdeps/i386/fpu/libm-test-ulps: Update.
38194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38196 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38198         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
38199         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
38200         and strcspn-ppc64 objects.
38201         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38202         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
38203         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
38204         multiarch strcspn for POWER7.
38205         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
38206         multiarch strcspn for PPC64.
38207         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
38208         ifunc selector.
38209         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
38210         strcspn for POWER7.
38212 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
38214         * math/gen-libm-test.pl (generate_testfile): Expect only function
38215         name as argument to AUTO_TESTS_* and pass results for all rounding
38216         modes to parse_args.
38217         (parse_auto_input): Separate inputs of automatic tests from
38218         outputs before storing in %auto_tests.
38219         * math/libm-test.inc (acos_test_data): Update call to
38220         AUTO_TESTS_f_f.
38221         (acos_test): Use ALL_RM_TEST.
38222         (acos_tonearest_test_data): Remove.
38223         (acos_test_tonearest): Likewise.
38224         (acos_towardzero_test_data): Likewise.
38225         (acos_test_towardzero): Likewise.
38226         (acos_downward_test_data): Likewise.
38227         (acos_test_downward): Likewise.
38228         (acos_upward_test_data): Likewise.
38229         (acos_test_upward): Likewise.
38230         (acosh_test_data): Update call to AUTO_TESTS_f_f.
38231         (asin_test_data): Likewise.
38232         (asin_test): Use ALL_RM_TEST.
38233         (asin_tonearest_test_data): Remove.
38234         (asin_test_tonearest): Likewise.
38235         (asin_towardzero_test_data): Likewise.
38236         (asin_test_towardzero): Likewise.
38237         (asin_downward_test_data): Likewise.
38238         (asin_test_downward): Likewise.
38239         (asin_upward_test_data): Likewise.
38240         (asin_test_upward): Likewise.
38241         (asinh_test_data): Update call to AUTO_TESTS_f_f.
38242         (atan_test_data): Likewise.
38243         (atanh_test_data): Likewise.
38244         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
38245         (cabs_test_data): Update call to AUTO_TESTS_c_f.
38246         (carg_test_data): Likewise.
38247         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
38248         (ccos_test_data): Update call to AUTO_TESTS_c_c.
38249         (ccosh_test_data): Likewise.
38250         (cexp_test_data): Likewise.
38251         (clog_test_data): Likewise.
38252         (clog10_test_data): Likewise.
38253         (cos_test_data): Update call to AUTO_TESTS_f_f.
38254         (cos_test): Use ALL_RM_TEST.
38255         (cos_tonearest_test_data): Remove.
38256         (cos_test_tonearest): Likewise.
38257         (cos_towardzero_test_data): Likewise.
38258         (cos_test_towardzero): Likewise.
38259         (cos_downward_test_data): Likewise.
38260         (cos_test_downward): Likewise.
38261         (cos_upward_test_data): Likewise.
38262         (cos_test_upward): Likewise.
38263         (cosh_test_data): Update call to AUTO_TESTS_f_f.
38264         (cosh_test): Use ALL_RM_TEST.
38265         (cosh_tonearest_test_data): Remove.
38266         (cosh_test_tonearest): Likewise.
38267         (cosh_towardzero_test_data): Likewise.
38268         (cosh_test_towardzero): Likewise.
38269         (cosh_downward_test_data): Likewise.
38270         (cosh_test_downward): Likewise.
38271         (cosh_upward_test_data): Likewise.
38272         (cosh_test_upward): Likewise.
38273         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
38274         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
38275         (ctan_test_data): Likewise.
38276         (ctan_test): Use ALL_RM_TEST.
38277         (ctan_tonearest_test_data): Remove.
38278         (ctan_test_tonearest): Likewise.
38279         (ctan_towardzero_test_data): Likewise.
38280         (ctan_test_towardzero): Likewise.
38281         (ctan_downward_test_data): Likewise.
38282         (ctan_test_downward): Likewise.
38283         (ctan_upward_test_data): Likewise.
38284         (ctan_test_upward): Likewise.
38285         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
38286         (ctanh_test): Use ALL_RM_TEST.
38287         (ctanh_tonearest_test_data): Remove.
38288         (ctanh_test_tonearest): Likewise.
38289         (ctanh_towardzero_test_data): Likewise.
38290         (ctanh_test_towardzero): Likewise.
38291         (ctanh_downward_test_data): Likewise.
38292         (ctanh_test_downward): Likewise.
38293         (ctanh_upward_test_data): Likewise.
38294         (ctanh_test_upward): Likewise.
38295         (erf_test_data): Update call to AUTO_TESTS_f_f.
38296         (erfc_test_data): Likewise.
38297         (exp_test_data): Likewise.
38298         (exp_test): Use ALL_RM_TEST.
38299         (exp_tonearest_test_data): Remove.
38300         (exp_test_tonearest): Likewise.
38301         (exp_towardzero_test_data): Likewise.
38302         (exp_test_towardzero): Likewise.
38303         (exp_downward_test_data): Likewise.
38304         (exp_test_downward): Likewise.
38305         (exp_upward_test_data): Likewise.
38306         (exp_test_upward): Likewise.
38307         (exp10_test_data): Update call to AUTO_TESTS_f_f.
38308         (exp10_test): Use ALL_RM_TEST.
38309         (exp10_tonearest_test_data): Remove.
38310         (exp10_test_tonearest): Likewise.
38311         (exp10_towardzero_test_data): Likewise.
38312         (exp10_test_towardzero): Likewise.
38313         (exp10_downward_test_data): Likewise.
38314         (exp10_test_downward): Likewise.
38315         (exp10_upward_test_data): Likewise.
38316         (exp10_test_upward): Likewise.
38317         (exp2_test_data): Update call to AUTO_TESTS_f_f.
38318         (expm1_test_data): Likewise.
38319         (expm1_test): Use ALL_RM_TEST.
38320         (expm1_tonearest_test_data): Remove.
38321         (expm1_test_tonearest): Likewise.
38322         (expm1_towardzero_test_data): Likewise.
38323         (expm1_test_towardzero): Likewise.
38324         (expm1_downward_test_data): Likewise.
38325         (expm1_test_downward): Likewise.
38326         (expm1_upward_test_data): Likewise.
38327         (expm1_test_upward): Likewise.
38328         (fma_test_data): Update call to AUTO_TESTS_fff_f.
38329         (fma_test): Use ALL_RM_TEST.
38330         (fma_towardzero_test_data): Remove.
38331         (fma_test_towardzero): Likewise.
38332         (fma_downward_test_data): Likewise.
38333         (fma_test_downward): Likewise.
38334         (fma_upward_test_data): Likewise.
38335         (fma_test_upward): Likewise.
38336         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
38337         (j0_test_data): Update call to AUTO_TESTS_f_f.
38338         (j1_test_data): Likewise.
38339         (jn_test_data): Update call to AUTO_TESTS_if_f.
38340         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
38341         (log_test_data): Update call to AUTO_TESTS_f_f.
38342         (log10_test_data): Likewise.
38343         (log1p_test_data): Likewise.
38344         (log2_test_data): Likewise.
38345         (pow_test_data): Update call to AUTO_TESTS_ff_f.
38346         (pow_tonearest_test_data): Likewise.
38347         (sin_test_data): Update call to AUTO_TESTS_f_f.
38348         (sin_test): Use ALL_RM_TEST.
38349         (sin_tonearest_test_data): Remove.
38350         (sin_test_tonearest): Likewise.
38351         (sin_towardzero_test_data): Likewise.
38352         (sin_test_towardzero): Likewise.
38353         (sin_downward_test_data): Likewise.
38354         (sin_test_downward): Likewise.
38355         (sin_upward_test_data): Likewise.
38356         (sin_test_upward): Likewise.
38357         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
38358         (sinh_test_data): Update call to AUTO_TESTS_f_f.
38359         (sinh_test): Use ALL_RM_TEST.
38360         (sinh_tonearest_test_data): Remove.
38361         (sinh_test_tonearest): Likewise.
38362         (sinh_towardzero_test_data): Likewise.
38363         (sinh_test_towardzero): Likewise.
38364         (sinh_downward_test_data): Likewise.
38365         (sinh_test_downward): Likewise.
38366         (sinh_upward_test_data): Likewise.
38367         (sinh_test_upward): Likewise.
38368         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
38369         (sqrt_test): Use ALL_RM_TEST.
38370         (sqrt_tonearest_test_data): Remove.
38371         (sqrt_test_tonearest): Likewise.
38372         (sqrt_towardzero_test_data): Likewise.
38373         (sqrt_test_towardzero): Likewise.
38374         (sqrt_downward_test_data): Likewise.
38375         (sqrt_test_downward): Likewise.
38376         (sqrt_upward_test_data): Likewise.
38377         (sqrt_test_upward): Likewise.
38378         (tan_test_data): Update call to AUTO_TESTS_f_f.
38379         (tan_test): Use ALL_RM_TEST.
38380         (tan_tonearest_test_data): Remove.
38381         (tan_test_tonearest): Likewise.
38382         (tan_towardzero_test_data): Likewise.
38383         (tan_test_towardzero): Likewise.
38384         (tan_downward_test_data): Likewise.
38385         (tan_test_downward): Likewise.
38386         (tan_upward_test_data): Likewise.
38387         (tan_test_upward): Likewise.
38388         (tanh_test_data): Update call to AUTO_TESTS_f_f.
38389         (tgamma_test_data): Likewise.
38390         (y0_test_data): Likewise.
38391         (y1_test_data): Likewise.
38392         (yn_test_data): Update call to AUTO_TESTS_if_f.
38393         (main): Do not call removed functions.
38395 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38397         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
38398         (ldexp_test_data): Remove.
38399         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
38400         scalbn_test_data.
38401         (scalb_test): Use ALL_RM_TEST.
38403 2014-03-19  Andreas Schwab  <schwab@suse.de>
38405         * nscd/nscd.service: Also invalidate netgroup cache on reload.
38407 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38409         [BZ #16649]
38410         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38411         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
38412         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
38413         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38414         (__ASSUME_PREADV): Undefine.
38415         (__ASSUME_PWRITEV): Likewise.
38417 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38419         * bits/mman-linux.h: Add comment about non-Linux use.
38420         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
38421         bits/mman-linux.h resting place.
38423         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
38424         * bits/mman-linux.h: ... here.
38426 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38428         * conform/conformtest.pl: Add standard definition when calling C
38429         preprocessor on data files.
38430         (checknamespace): Remove unused variable.
38432 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38434         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
38435         minus_oflow, plus_uflow and minus_uflow in expected results.
38436         * math/libm-test.inc (scalbn_test_data): Add more tests of
38437         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
38438         minus_uflow.
38439         (scalbn_test): Use ALL_RM_TEST.
38440         (scalbln_test_data): Add more tests of negative arguments.  Use
38441         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
38442         (scalbln_test): Use ALL_RM_TEST.
38444 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38446         * scripts/abilist.awk: Ignore symbols marked with .hidden.
38448 2014-03-18  Will Newton  <will.newton@linaro.org>
38450         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
38451         inaccurate comment.
38453 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38455         * Makerules [!subdir] (check-abi): Exit with error status if a
38456         test failed.
38458 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38460         * math/libm-test.inc (nearbyint_test_data): Include all tests used
38461         for rint.  Include results for all rounding modes.
38462         (nearbyint_test): Use ALL_RM_TEST.
38463         (rint_test_data): Include all tests used for nearbyint.
38465 2014-03-17  Will Newton  <will.newton@linaro.org>
38467         * nptl/sysdeps/pthread/pthread.h: Revert previous
38468         change.
38470         * sysdeps/generic/ldsodefs.h: Revert previous
38471         change.
38473         * libio/genops.c: Revert previous change.
38474         * libio/libioP.h: Likewise.
38475         * stdio-common/vfprintf.c: Likewise.
38477         * sysdeps/generic/math_private.h: Revert previous
38478         change.
38480         * sysdeps/generic/math_private.h: Check whether
38481         HAVE_RM_CTX is defined with #ifdef rather
38482         than #if.
38484         * argp/argp-fmtstream.h: Check whether
38485         __STRICT_ANSI__ is defined with #ifdef rather
38486         than #if.
38487         * argp/argp.h: Likewise.
38489         * libio/genops.c: Check whether
38490         _IO_JUMPS_OFFSET is defined with #ifdef rather
38491         than #if.
38492         * libio/libioP.h: Likewise.
38493         * stdio-common/vfprintf.c: Likewise.
38495         * sysdeps/generic/ldsodefs.h: Check whether
38496         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
38497         than #if.
38499         * nptl/sysdeps/pthread/pthread.h: Check
38500         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
38501         its value.
38503 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38505         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
38506         setting O_APPEND.
38507         * libio/tst-ftell-active-handler.c (do_append_test): Add a
38508         test case.
38510         [BZ #16680]
38511         * libio/fileops.c (_IO_file_open): Seek to end of file but
38512         don't cache the offset.
38513         (get_file_offset): Remove function.
38514         (do_ftell): Use cached offset when available.
38515         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
38516         don't cache the offset.
38517         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
38518         case.
38519         (do_one_test): Call it.
38520         (do_ftell_test): Fix up expected old offset for a+ mode.
38521         * libio/wfileops.c (do_ftell_wide): Used cached offset when
38522         available.
38524         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
38525         up test status with function return status.
38526         (do_write_test): Likewise.
38527         (do_append_test): Likewise.
38529         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
38530         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
38531         Remove.
38533 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38535         * math/gen-libm-test.pl (parse_args): Handle results specified for
38536         each rounding mode separately.
38537         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
38538         tests and results from lrint_tonearest_test_data,
38539         lrint_towardzero_test_data, lrint_downward_test_data and
38540         lrint_upward_test_data.
38541         (lrint_test): Use ALL_RM_TEST.
38542         (lrint_tonearest_test_data): Remove.
38543         (lrint_test_tonearest): Likewise.
38544         (lrint_towardzero_test_data): Likewise.
38545         (lrint_test_towardzero): Likewise.
38546         (lrint_downward_test_data): Likewise.
38547         (lrint_test_downward): Likewise.
38548         (lrint_upward_test_data): Likewise.
38549         (lrint_test_upward): Likewise.
38550         (llrint_test_data): Merge in per-rounding-mode tests and results
38551         from llrint_tonearest_test_data, llrint_towardzero_test_data,
38552         llrint_downward_test_data and llrint_upward_test_data.
38553         (llrint_test): Use ALL_RM_TEST.
38554         (llrint_tonearest_test_data): Remove.
38555         (llrint_test_tonearest): Likewise.
38556         (llrint_towardzero_test_data): Likewise.
38557         (llrint_test_towardzero): Likewise.
38558         (llrint_downward_test_data): Likewise.
38559         (llrint_test_downward): Likewise.
38560         (llrint_upward_test_data): Likewise.
38561         (llrint_test_upward): Likewise.
38562         (rint_test_data): Merge in per-rounding-mode tests and results
38563         from rint_tonearest_test_data, rint_towardzero_test_data,
38564         rint_downward_test_data and rint_upward_test_data.  Add
38565         per-rounding-mode results for tests not in those arrays.
38566         (rint_test): Use ALL_RM_TEST.
38567         (rint_tonearest_test_data): Remove.
38568         (rint_test_tonearest): Likewise.
38569         (rint_towardzero_test_data): Likewise.
38570         (rint_test_towardzero): Likewise.
38571         (rint_downward_test_data): Likewise.
38572         (rint_test_downward): Likewise.
38573         (rint_upward_test_data): Likewise.
38574         (rint_test_upward): Likewise.
38575         (main): Don't call removed functions.
38577 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38579         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
38580         "Compiled on ..." crapola.  It is anti-useful.
38582 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
38584         * scripts/evaluate-test.sh: Handle fourth argument to determine
38585         whether test run should stop on failure.
38586         * Makeconfig (stop-on-test-failure): New variable.
38587         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
38588         $(stop-on-test-failure).
38589         * Makefile (tests): Give a summary of results from testing and
38590         exit with failure status if they include an ERROR or FAIL.
38591         (xtests): Likewise.
38592         * manual/install.texi (Configuring and compiling): Mention
38593         stop-on-test-failure=y.
38594         * INSTALL: Regenerated.
38596 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38598         * scripts/versionlist.awk: New file.
38599         * Makerules [$(build-shared) = yes]
38600         (postclean-generated): Add Versions.def, not Versions.def.v and
38601         Versions.def.v.i.
38602         ($(common-objpfx)Versions.def.v.i): Target removed.
38603         ($(common-objpfx)Versions.def): New target.
38604         ($(common-objpfx)Versions.all): Depend on that rather that
38605         $(common-objpfx)Versions.def.v.
38606         * Versions.def: File removed.
38608         * Makeconfig (+gccwarn): Add -Wundef.
38609         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
38610         a dl-sysdep.h breaking its contract.
38611         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
38612         * include/stackinfo.h: New file.
38613         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
38614         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
38615         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
38616         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
38617         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
38618         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
38619         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38620         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38621         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38622         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38623         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38624         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
38625         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38626         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38627         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38629 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38631         [BZ #16707]
38632         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
38633         implementation.
38634         * math/libm-test.inc (round_test_data): Add more tests.
38636         [BZ #16706]
38637         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
38638         implementation.
38639         * math/libm-test.inc (nearbyint_test_data): Add more tests.
38641         [BZ #16701]
38642         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
38643         implementation.
38644         * math/libm-test.inc (ceil_test_data): Add more tests.
38646         * math/libm-test.inc (trunc_test_data): Add more tests related to
38647         BZ#16414.
38649 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38651         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
38652         with #if rather than #ifdef.
38653         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
38655 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
38657         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
38658         first.  Disable AVX-512 GCC support if assembler doesn't support
38659         it.
38660         * sysdeps/x86_64/configure: Regenerated.
38662 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
38664         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
38665         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
38666         (__old_pthread_attr_setstack): Likewise.
38667         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
38668         [!_STACK_GROWS_DOWN]: Likewise.
38670 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
38672         * config.make.in (have-bash2): Delete.
38673         * configure.ac (libc_cv_have_bash2): Delete.
38674         * configure: Regenerate.
38675         * elf/Makefile (common-ldd-rewrite): Rename to ...
38676         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
38677         (sh-ldd-rewrite): Delete.
38678         (bash-ldd-rewrite): Delete.
38679         (have-bash2): Delete checks.
38680         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
38681         ldd-rewrite.
38683         * config.make.in (have-ksh): Delete.
38684         (KSH): Delete.
38685         * configure.ac (libc_cv_have_ksh): Delete.
38686         * configure: Regenerate.
38688         * elf/Makefile: Delete $(have-ksh) check.
38689         ($(objpfx)sotruss): Change KSH to BASH.
38690         * elf/sotruss.ksh: Rename to ...
38691         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
38692         function style to match POSIX.  Drop ksh vim mode setting.
38694         * manual/time.texi (Specifying the Time Zone with TZ): Change
38695         Tuesday to Thursday.
38697         * debug/tst-longjmp_chk2.c: Update header comment.
38698         (stackoverflow_handler): Add comment.  Call assert on pass value.
38700 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
38702         [BZ #16194]
38703         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
38704         (HAVE_AVX512_ASM_SUPPORT): Likewise.
38705         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
38706         (La_x86_64_vector): Add zmm.
38707         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
38708         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
38709         ($(objpfx)tst-audit10): New target.
38710         ($(objpfx)tst-audit10.out): Likewise.
38711         (tst-audit10-ENV): New.
38712         (AVX512-CFLAGS): Likewise.
38713         (CFLAGS-tst-audit10.c): Likewise.
38714         (CFLAGS-tst-auditmod10a.c): Likewise.
38715         (CFLAGS-tst-auditmod10b.c): Likewise.
38716         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
38717         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
38718         * sysdeps/x86_64/configure: Regenerated.
38719         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
38720         AVX-512 zmm register support.
38721         (_dl_x86_64_save_sse): Likewise.
38722         (_dl_x86_64_restore_sse): Likewise.
38723         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
38724         size vector registers.
38725         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
38726         (ZMM_SIZE): Likewise.
38727         * sysdeps/x86_64/tst-audit10.c: New file.
38728         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
38729         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
38731 2014-03-13  Roland McGrath  <roland@hack.frob.com>
38733         * configure.ac (HAVE_EHDR_START): New check.
38734         * configure: Regenerated.
38735         * config.h.in (HAVE_EHDR_START): New #undef.
38736         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
38737         assuming the lowest-addressed segment maps the start of the file.
38739 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
38741         * INSTALL: Regenerated.
38743 2014-03-13  Will Newton  <will.newton@linaro.org>
38745         * manual/setjmp.texi (System V contexts): Improve
38746         clarity and grammar of documentation.
38748 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
38750         [BZ #16381]
38751         * elf/Makefile (tests): Add tst-pie2.
38752         (tests-pie): Add tst-pie2.
38753         * elf/tst-pie2.c: New file.
38754         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
38755         for ET_EXEC.
38756         * elf/rtld.c (map_doit): Load executable as lt_executable.
38757         (dl_main): Likewise.
38759 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
38761         [BZ #16642]
38762         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38763         (__ASSUME_PSELECT): Undefine.
38765 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38767         [BZ #16689]
38768         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
38769         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
38770         static build.
38771         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
38772         selector for static builds.
38774 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38776         [BZ #16695]
38777         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
38778         key in the buffer.
38780 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38782         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
38783         IFUNC selector for static builds.
38785 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
38787         * sysdeps/mips/math_private.h [__mips_hard_float]
38788         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
38789         libc_feresetround_mips_ctx.
38790         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
38791         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
38792         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
38794         [BZ #16677]
38795         * math/s_nextafter.c (__nextafter): Do not return value from
38796         overflowing computation.
38797         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
38798         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
38799         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38800         Likewise.
38801         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
38802         Likewise.
38803         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
38804         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
38806 2014-03-11  Roland McGrath  <roland@hack.frob.com>
38808         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
38809         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
38810         Move sfi_sp use from the load-multiple (that no longer sets sp) to
38811         the new mov targetting sp.
38813 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38815         [BZ #16683]
38816         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
38817         Define it for static builds as well.
38818         (NO_BZERO_IMPL): Likewise.
38820 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38822         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
38823         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
38824         multiarch strspn for PPC64.
38825         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
38826         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
38827         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38828         (__libc_ifunc_impl_list): Likewise.
38829         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
38830         multiarch optimizations
38831         * string/strspn.c (strspn): Using macro to redefine symbol name.
38833 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38834             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38836         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
38837         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
38838         multiarch strncat for PPC64.
38839         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
38840         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
38841         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38842         (__libc_ifunc_impl_list): Likewise.
38843         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
38844         multiarch optimizations
38846 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38848         [BZ #16639]
38849         * nscd/nscd.service: Make service type forking.
38851 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38853         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
38854         sign in non default rounding modes.
38855         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
38857 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
38859         * math/libm-test.inc (ALL_RM_TEST): New macro.
38860         (ceil_test): Use ALL_RM_TEST.
38861         (cimag_test): Likewise.
38862         (conj_test): Likewise.
38863         (copysign_test): Likewise.
38864         (cproj_test): Likewise.
38865         (creal_test): Likewise.
38866         (fabs_test): Likewise.
38867         (floor_test): Likewise.
38868         (fmax_test): Likewise.
38869         (fmin_test): Likewise.
38870         (fmod_test): Likewise.
38871         (fpclassify_test): Likewise.
38872         (frexp_test): Likewise.
38873         (ilogb_test): Likewise.
38874         (isfinite_test): Likewise.
38875         (finite_test): Likewise.
38876         (isgreater_test): Likewise.
38877         (isgreaterequal_test): Likewise.
38878         (isinf_test): Likewise.
38879         (isless_test): Likewise.
38880         (islessequal_test): Likewise.
38881         (islessgreater_test): Likewise.
38882         (isnan_test): Likewise.
38883         (isnormal_test): Likewise.
38884         (issignaling_test): Likewise.
38885         (isunordered_test): Likewise.
38886         (logb_test): Likewise.
38887         (logb_downward_test_data): Remove.
38888         (logb_test_downward): Likewise.
38889         (lround_test): Use ALL_RM_TEST.
38890         (llround_test): Likewise.
38891         (modf_test): Likewise.
38892         (nexttoward_test): Likewise.
38893         (remainder_test): Likewise.
38894         (drem_test): Likewise.
38895         (remainder_tonearest_test_data): Likewise.
38896         (remainder_test_tonearest): Likewise.
38897         (drem_test_tonearest): Likewise.
38898         (remainder_towardzero_test_data): Likewise.
38899         (remainder_test_towardzero): Likewise.
38900         (drem_test_towardzero): Likewise.
38901         (remainder_downward_test_data): Likewise.
38902         (remainder_test_downward): Likewise.
38903         (drem_test_downward): Likewise.
38904         (remainder_upward_test_data): Likewise.
38905         (remainder_test_upward): Likewise.
38906         (drem_test_upward): Likewise.
38907         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
38908         (round_test): Use ALL_RM_TEST.
38909         (signbit_test): Likewise.
38910         (trunc_test): Likewise.
38911         (significand_test): Likewise.
38912         (main): Don't call removed functions.
38914 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
38916         [BZ #16674]
38917         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
38918         || __USE_XOPEN2K8].
38919         (ILL_ILLOPN): Likewise.
38920         (ILL_ILLADR): Likewise.
38921         (ILL_ILLTRP): Likewise.
38922         (ILL_PRVOPC): Likewise.
38923         (ILL_PRVREG): Likewise.
38924         (ILL_COPROC): Likewise.
38925         (ILL_BADSTK): Likewise.
38926         (FPE_INTDIV): Likewise.
38927         (FPE_INTOVF): Likewise.
38928         (FPE_FLTDIV): Likewise.
38929         (FPE_FLTOVF): Likewise.
38930         (FPE_FLTUND): Likewise.
38931         (FPE_FLTRES): Likewise.
38932         (FPE_FLTINV): Likewise.
38933         (FPE_FLTSUB): Likewise.
38934         (SEGV_MAPERR): Likewise.
38935         (SEGV_ACCERR): Likewise.
38936         (BUS_ADRALN): Likewise.
38937         (BUS_ADRERR): Likewise.
38938         (BUS_OBJERR): Likewise.
38939         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38940         (TRAP_TRACE): Likewise.
38941         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38942         __USE_XOPEN2K8].
38943         (CLD_KILLED): Likewise.
38944         (CLD_DUMPED): Likewise.
38945         (CLD_TRAPPED): Likewise.
38946         (CLD_STOPPED): Likewise.
38947         (CLD_CONTINUED): Likewise.
38948         (POLL_IN): Likewise.
38949         (POLL_OUT): Likewise.
38950         (POLL_MSG): Likewise.
38951         (POLL_ERR): Likewise.
38952         (POLL_PRI): Likewise.
38953         (POLL_HUP): Likewise.
38954         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
38955         Likewise.
38956         (ILL_ILLOPN): Likewise.
38957         (ILL_ILLADR): Likewise.
38958         (ILL_ILLTRP): Likewise.
38959         (ILL_PRVOPC): Likewise.
38960         (ILL_PRVREG): Likewise.
38961         (ILL_COPROC): Likewise.
38962         (ILL_BADSTK): Likewise.
38963         (FPE_INTDIV): Likewise.
38964         (FPE_INTOVF): Likewise.
38965         (FPE_FLTDIV): Likewise.
38966         (FPE_FLTOVF): Likewise.
38967         (FPE_FLTUND): Likewise.
38968         (FPE_FLTRES): Likewise.
38969         (FPE_FLTINV): Likewise.
38970         (FPE_FLTSUB): Likewise.
38971         (SEGV_MAPERR): Likewise.
38972         (SEGV_ACCERR): Likewise.
38973         (BUS_ADRALN): Likewise.
38974         (BUS_ADRERR): Likewise.
38975         (BUS_OBJERR): Likewise.
38976         (BUS_MCEERR_AR): Likewise.
38977         (BUS_MCEERR_AO): Likewise.
38978         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38979         (TRAP_TRACE): Likewise.
38980         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38981         __USE_XOPEN2K8].
38982         (CLD_KILLED): Likewise.
38983         (CLD_DUMPED): Likewise.
38984         (CLD_TRAPPED): Likewise.
38985         (CLD_STOPPED): Likewise.
38986         (CLD_CONTINUED): Likewise.
38987         (POLL_IN): Likewise.
38988         (POLL_OUT): Likewise.
38989         (POLL_MSG): Likewise.
38990         (POLL_ERR): Likewise.
38991         (POLL_PRI): Likewise.
38992         (POLL_HUP): Likewise.
38993         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
38994         (ILL_ILLOPN): Likewise.
38995         (ILL_ILLADR): Likewise.
38996         (ILL_ILLTRP): Likewise.
38997         (ILL_PRVOPC): Likewise.
38998         (ILL_PRVREG): Likewise.
38999         (ILL_COPROC): Likewise.
39000         (ILL_BADSTK): Likewise.
39001         (FPE_INTDIV): Likewise.
39002         (FPE_INTOVF): Likewise.
39003         (FPE_FLTDIV): Likewise.
39004         (FPE_FLTOVF): Likewise.
39005         (FPE_FLTUND): Likewise.
39006         (FPE_FLTRES): Likewise.
39007         (FPE_FLTINV): Likewise.
39008         (FPE_FLTSUB): Likewise.
39009         (SEGV_MAPERR): Likewise.
39010         (SEGV_ACCERR): Likewise.
39011         (BUS_ADRALN): Likewise.
39012         (BUS_ADRERR): Likewise.
39013         (BUS_OBJERR): Likewise.
39014         (BUS_MCEERR_AR): Likewise.
39015         (BUS_MCEERR_AO): Likewise.
39016         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39017         (TRAP_TRACE): Likewise.
39018         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39019         __USE_XOPEN2K8].
39020         (CLD_KILLED): Likewise.
39021         (CLD_DUMPED): Likewise.
39022         (CLD_TRAPPED): Likewise.
39023         (CLD_STOPPED): Likewise.
39024         (CLD_CONTINUED): Likewise.
39025         (POLL_IN): Likewise.
39026         (POLL_OUT): Likewise.
39027         (POLL_MSG): Likewise.
39028         (POLL_ERR): Likewise.
39029         (POLL_PRI): Likewise.
39030         (POLL_HUP): Likewise.
39031         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
39032         Likewise.
39033         (ILL_ILLOPN): Likewise.
39034         (ILL_ILLADR): Likewise.
39035         (ILL_ILLTRP): Likewise.
39036         (ILL_PRVOPC): Likewise.
39037         (ILL_PRVREG): Likewise.
39038         (ILL_COPROC): Likewise.
39039         (ILL_BADSTK): Likewise.
39040         (ILL_BADIADDR): Likewise.
39041         (ILL_BREAK): Likewise.
39042         (FPE_INTDIV): Likewise.
39043         (FPE_INTOVF): Likewise.
39044         (FPE_FLTDIV): Likewise.
39045         (FPE_FLTOVF): Likewise.
39046         (FPE_FLTUND): Likewise.
39047         (FPE_FLTRES): Likewise.
39048         (FPE_FLTINV): Likewise.
39049         (FPE_FLTSUB): Likewise.
39050         (FPE_DECOVF): Likewise.
39051         (FPE_DECDIV): Likewise.
39052         (FPE_DECERR): Likewise.
39053         (FPE_INVASC): Likewise.
39054         (FPE_INVDEC): Likewise.
39055         (SEGV_MAPERR): Likewise.
39056         (SEGV_ACCERR): Likewise.
39057         (SEGV_PSTKOVF): Likewise.
39058         (BUS_ADRALN): Likewise.
39059         (BUS_ADRERR): Likewise.
39060         (BUS_OBJERR): Likewise.
39061         (BUS_MCEERR_AR): Likewise.
39062         (BUS_MCEERR_AO): Likewise.
39063         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39064         (TRAP_TRACE): Likewise.
39065         (TRAP_BRANCH): Likewise.
39066         (TRAP_HWBKPT): Likewise.
39067         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39068         __USE_XOPEN2K8].
39069         (CLD_KILLED): Likewise.
39070         (CLD_DUMPED): Likewise.
39071         (CLD_TRAPPED): Likewise.
39072         (CLD_STOPPED): Likewise.
39073         (CLD_CONTINUED): Likewise.
39074         (POLL_IN): Likewise.
39075         (POLL_OUT): Likewise.
39076         (POLL_MSG): Likewise.
39077         (POLL_ERR): Likewise.
39078         (POLL_PRI): Likewise.
39079         (POLL_HUP): Likewise.
39080         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
39081         (ILL_ILLOPN): Likewise.
39082         (ILL_ILLADR): Likewise.
39083         (ILL_ILLTRP): Likewise.
39084         (ILL_PRVOPC): Likewise.
39085         (ILL_PRVREG): Likewise.
39086         (ILL_COPROC): Likewise.
39087         (ILL_BADSTK): Likewise.
39088         (FPE_INTDIV): Likewise.
39089         (FPE_INTOVF): Likewise.
39090         (FPE_FLTDIV): Likewise.
39091         (FPE_FLTOVF): Likewise.
39092         (FPE_FLTUND): Likewise.
39093         (FPE_FLTRES): Likewise.
39094         (FPE_FLTINV): Likewise.
39095         (FPE_FLTSUB): Likewise.
39096         (SEGV_MAPERR): Likewise.
39097         (SEGV_ACCERR): Likewise.
39098         (BUS_ADRALN): Likewise.
39099         (BUS_ADRERR): Likewise.
39100         (BUS_OBJERR): Likewise.
39101         (BUS_MCEERR_AR): Likewise.
39102         (BUS_MCEERR_AO): Likewise.
39103         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39104         (TRAP_TRACE): Likewise.
39105         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39106         __USE_XOPEN2K8].
39107         (CLD_KILLED): Likewise.
39108         (CLD_DUMPED): Likewise.
39109         (CLD_TRAPPED): Likewise.
39110         (CLD_STOPPED): Likewise.
39111         (CLD_CONTINUED): Likewise.
39112         (POLL_IN): Likewise.
39113         (POLL_OUT): Likewise.
39114         (POLL_MSG): Likewise.
39115         (POLL_ERR): Likewise.
39116         (POLL_PRI): Likewise.
39117         (POLL_HUP): Likewise.
39118         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
39119         (ILL_ILLOPN): Likewise.
39120         (ILL_ILLADR): Likewise.
39121         (ILL_ILLTRP): Likewise.
39122         (ILL_PRVOPC): Likewise.
39123         (ILL_PRVREG): Likewise.
39124         (ILL_COPROC): Likewise.
39125         (ILL_BADSTK): Likewise.
39126         (FPE_INTDIV): Likewise.
39127         (FPE_INTOVF): Likewise.
39128         (FPE_FLTDIV): Likewise.
39129         (FPE_FLTOVF): Likewise.
39130         (FPE_FLTUND): Likewise.
39131         (FPE_FLTRES): Likewise.
39132         (FPE_FLTINV): Likewise.
39133         (FPE_FLTSUB): Likewise.
39134         (SEGV_MAPERR): Likewise.
39135         (SEGV_ACCERR): Likewise.
39136         (BUS_ADRALN): Likewise.
39137         (BUS_ADRERR): Likewise.
39138         (BUS_OBJERR): Likewise.
39139         (BUS_MCEERR_AR): Likewise.
39140         (BUS_MCEERR_AO): Likewise.
39141         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39142         (TRAP_TRACE): Likewise.
39143         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39144         __USE_XOPEN2K8].
39145         (CLD_KILLED): Likewise.
39146         (CLD_DUMPED): Likewise.
39147         (CLD_TRAPPED): Likewise.
39148         (CLD_STOPPED): Likewise.
39149         (CLD_CONTINUED): Likewise.
39150         (POLL_IN): Likewise.
39151         (POLL_OUT): Likewise.
39152         (POLL_MSG): Likewise.
39153         (POLL_ERR): Likewise.
39154         (POLL_PRI): Likewise.
39155         (POLL_HUP): Likewise.
39156         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
39157         (ILL_ILLOPN): Likewise.
39158         (ILL_ILLADR): Likewise.
39159         (ILL_ILLTRP): Likewise.
39160         (ILL_PRVOPC): Likewise.
39161         (ILL_PRVREG): Likewise.
39162         (ILL_COPROC): Likewise.
39163         (ILL_BADSTK): Likewise.
39164         (FPE_INTDIV): Likewise.
39165         (FPE_INTOVF): Likewise.
39166         (FPE_FLTDIV): Likewise.
39167         (FPE_FLTOVF): Likewise.
39168         (FPE_FLTUND): Likewise.
39169         (FPE_FLTRES): Likewise.
39170         (FPE_FLTINV): Likewise.
39171         (FPE_FLTSUB): Likewise.
39172         (SEGV_MAPERR): Likewise.
39173         (SEGV_ACCERR): Likewise.
39174         (BUS_ADRALN): Likewise.
39175         (BUS_ADRERR): Likewise.
39176         (BUS_OBJERR): Likewise.
39177         (BUS_MCEERR_AR): Likewise.
39178         (BUS_MCEERR_AO): Likewise.
39179         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39180         (TRAP_TRACE): Likewise.
39181         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39182         __USE_XOPEN2K8].
39183         (CLD_KILLED): Likewise.
39184         (CLD_DUMPED): Likewise.
39185         (CLD_TRAPPED): Likewise.
39186         (CLD_STOPPED): Likewise.
39187         (CLD_CONTINUED): Likewise.
39188         (POLL_IN): Likewise.
39189         (POLL_OUT): Likewise.
39190         (POLL_MSG): Likewise.
39191         (POLL_ERR): Likewise.
39192         (POLL_PRI): Likewise.
39193         (POLL_HUP): Likewise.
39194         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
39195         (ILL_ILLOPN): Likewise.
39196         (ILL_ILLADR): Likewise.
39197         (ILL_ILLTRP): Likewise.
39198         (ILL_PRVOPC): Likewise.
39199         (ILL_PRVREG): Likewise.
39200         (ILL_COPROC): Likewise.
39201         (ILL_BADSTK): Likewise.
39202         (ILL_DBLFLT): Likewise.
39203         (ILL_HARDWALL): Likewise.
39204         (FPE_INTDIV): Likewise.
39205         (FPE_INTOVF): Likewise.
39206         (FPE_FLTDIV): Likewise.
39207         (FPE_FLTOVF): Likewise.
39208         (FPE_FLTUND): Likewise.
39209         (FPE_FLTRES): Likewise.
39210         (FPE_FLTINV): Likewise.
39211         (FPE_FLTSUB): Likewise.
39212         (SEGV_MAPERR): Likewise.
39213         (SEGV_ACCERR): Likewise.
39214         (BUS_ADRALN): Likewise.
39215         (BUS_ADRERR): Likewise.
39216         (BUS_OBJERR): Likewise.
39217         (BUS_MCEERR_AR): Likewise.
39218         (BUS_MCEERR_AO): Likewise.
39219         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39220         (TRAP_TRACE): Likewise.
39221         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39222         __USE_XOPEN2K8].
39223         (CLD_KILLED): Likewise.
39224         (CLD_DUMPED): Likewise.
39225         (CLD_TRAPPED): Likewise.
39226         (CLD_STOPPED): Likewise.
39227         (CLD_CONTINUED): Likewise.
39228         (POLL_IN): Likewise.
39229         (POLL_OUT): Likewise.
39230         (POLL_MSG): Likewise.
39231         (POLL_ERR): Likewise.
39232         (POLL_PRI): Likewise.
39233         (POLL_HUP): Likewise.
39234         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
39235         (ILL_ILLOPN): Likewise.
39236         (ILL_ILLADR): Likewise.
39237         (ILL_ILLTRP): Likewise.
39238         (ILL_PRVOPC): Likewise.
39239         (ILL_PRVREG): Likewise.
39240         (ILL_COPROC): Likewise.
39241         (ILL_BADSTK): Likewise.
39242         (FPE_INTDIV): Likewise.
39243         (FPE_INTOVF): Likewise.
39244         (FPE_FLTDIV): Likewise.
39245         (FPE_FLTOVF): Likewise.
39246         (FPE_FLTUND): Likewise.
39247         (FPE_FLTRES): Likewise.
39248         (FPE_FLTINV): Likewise.
39249         (FPE_FLTSUB): Likewise.
39250         (SEGV_MAPERR): Likewise.
39251         (SEGV_ACCERR): Likewise.
39252         (BUS_ADRALN): Likewise.
39253         (BUS_ADRERR): Likewise.
39254         (BUS_OBJERR): Likewise.
39255         (BUS_MCEERR_AR): Likewise.
39256         (BUS_MCEERR_AO): Likewise.
39257         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39258         (TRAP_TRACE): Likewise.
39259         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39260         __USE_XOPEN2K8].
39261         (CLD_KILLED): Likewise.
39262         (CLD_DUMPED): Likewise.
39263         (CLD_TRAPPED): Likewise.
39264         (CLD_STOPPED): Likewise.
39265         (CLD_CONTINUED): Likewise.
39266         (POLL_IN): Likewise.
39267         (POLL_OUT): Likewise.
39268         (POLL_MSG): Likewise.
39269         (POLL_ERR): Likewise.
39270         (POLL_PRI): Likewise.
39271         (POLL_HUP): Likewise.
39272         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
39273         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39275         [BZ #16670]
39276         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
39277         before #include of <time.h>.
39278         [!__USE_XOPEN2K] (__need_timespec): Likewise.
39279         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
39280         (test-xfail-UNIX98/sched.h/conform): Likewise.
39282 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39284         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
39285         error absence of trapping exception support.
39286         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
39288 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
39290         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
39291         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
39292         * timezone/Makefile (testdata): Move definition above include of
39293         Rules.
39294         (test-zones): New variable.
39295         (tests-special): Add zone files.
39296         (build-testdata): Use $(evaluate-test).
39298         * elf/Makefile (tests-special): Rename tests to end with .out.
39299         ($(objpfx)noload-mem): Likewise.
39300         ($(objpfx)tst-leaks1-mem): Likewise.
39301         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
39302         * iconv/Makefile (xtests-special): Change test-iconvconfig to
39303         $(objpfx)test-iconvconfig.out.
39304         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
39305         set -e inside subshell and redirect output to file.
39306         * iconvdata/Makefile (generated): Rename tests to end with .out.
39307         Correct type.
39308         (tests-special): Rename tests to end with .out.
39309         ($(objpfx)mtrace-tst-loading): Likewise.
39310         * intl/Makefile (generated): Likewise.
39311         (tests-special): Likewise.
39312         ($(objpfx)mtrace-tst-gettext): Likewise.
39313         * misc/Makefile (generated): Likewise.
39314         (tests-special): Likewise.
39315         ($(objpfx)tst-error1-mem): Likewise.
39316         * nptl/Makefile (tests-special): Likewise.
39317         ($(objpfx)tst-stack3-mem): Likewise.
39318         (generated): Likewise.
39319         * posix/Makefile (generated): Likewise.
39320         (tests-special): Likewise.
39321         (xtests-special): Likewise.
39322         ($(objpfx)tst-fnmatch-mem): Likewise.
39323         ($(objpfx)bug-regex2-mem): Likewise.
39324         ($(objpfx)bug-regex14-mem): Likewise.
39325         ($(objpfx)bug-regex21-mem): Likewise.
39326         ($(objpfx)bug-regex31-mem): Likewise.
39327         ($(objpfx)tst-vfork3-mem): Likewise.
39328         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
39329         ($(objpfx)tst-pcre-mem): Likewise.
39330         ($(objpfx)tst-boost-mem): Likewise.
39331         ($(objpfx)bug-ga2-mem): Likewise.
39332         ($(objpfx)bug-glob2-mem): Likewise.
39333         * resolv/Makefile (generate): Likewise.
39334         (tests-special): Likewise.
39335         (xtests-special): Likewise.
39336         (generated): Likewise.
39337         ($(objpfx)mtrace-tst-leaks): Likewise.
39338         ($(objpfx)mtrace-tst-leaks2): Likewise.
39340         * scripts/merge-test-results.sh: New file.
39341         * Makefile (tests-special-notdir): New variable.
39342         (tests): Run merge-test-results.sh.
39343         (xtests): Likewise.
39344         * Rules (tests-special-notdir): New variable.
39345         (xtests-special-notdir): Likewise.
39346         (tests): Run merge-test-results.sh
39347         (xtests): Likewise.
39349         * Makeconfig (test-xfail-name): New variable.
39350         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
39351         compute variable name for expected failures.
39352         * conform/Makefile (conformtest-headers-data): New variable.
39353         (conformtest-standards): Likewise.
39354         (conformtest-headers-ISO): Likewise.
39355         (conformtest-headers-ISO99): Likewise.
39356         (conformtest-headers-ISO11): Likewise.
39357         (conformtest-headers-POSIX): Likewise.
39358         (conformtest-headers-XPG3): Likewise.
39359         (conformtest-headers-XPG4): Likewise.
39360         (conformtest-headers-UNIX98): Likewise.
39361         (conformtest-headers-XOPEN2K): Likewise.
39362         (conformtest-headers-POSIX2008): Likewise.
39363         (conformtest-headers-XOPEN2K8): Likewise.
39364         (conformtest-header-list-base): Likewise.
39365         (conformtest-header-list-tests): Likewise.
39366         (conformtest-header-base): Likewise.
39367         (conformtest-header-tests): Likewise.
39368         (tests-special): Add $(conformtest-header-list-tests).  If
39369         [$(fast-check) && !$(cross-compiling)], add
39370         $(conformtest-header-tests) instead of
39371         $(objpfx)run-conformtest.out.
39372         (generated): Add $(conformtest-header-list-base).  If
39373         [$(fast-check) && !$(cross-compiling)], add
39374         $(conformtest-header-base).  Remove previous setting.
39375         ($(conformtest-header-list-tests)): New target.
39376         (test-xfail-run-conformtest): Remove variable.
39377         ($(objpfx)run-conformtest.out): Remove target.
39378         (test-xfail-ISO11/complex.h/conform): New variable.
39379         (test-xfail-ISO11/stdalign.h/conform): Likewise.
39380         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
39381         (test-xfail-XPG3/varargs.h/conform): Likewise.
39382         (test-xfail-XPG4/varargs.h/conform): Likewise.
39383         (test-xfail-UNIX98/varargs.h/conform): Likewise.
39384         (test-xfail-XPG4/ndbm.h/conform): Likewise.
39385         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
39386         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
39387         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
39388         (test-xfail-XPG3/fcntl.h/conform): Likewise.
39389         (test-xfail-XPG3/ftw.h/conform): Likewise.
39390         (test-xfail-XPG3/grp.h/conform): Likewise.
39391         (test-xfail-XPG3/langinfo.h/conform): Likewise.
39392         (test-xfail-XPG3/limits.h/conform): Likewise.
39393         (test-xfail-XPG3/pwd.h/conform): Likewise.
39394         (test-xfail-XPG3/search.h/conform): Likewise.
39395         (test-xfail-XPG3/signal.h/conform): Likewise.
39396         (test-xfail-XPG3/stdio.h/conform): Likewise.
39397         (test-xfail-XPG3/stdlib.h/conform): Likewise.
39398         (test-xfail-XPG3/string.h/conform): Likewise.
39399         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
39400         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
39401         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
39402         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
39403         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
39404         (test-xfail-XPG3/sys/types.h/conform): Likewise.
39405         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
39406         (test-xfail-XPG3/termios.h/conform): Likewise.
39407         (test-xfail-XPG3/time.h/conform): Likewise.
39408         (test-xfail-XPG3/unistd.h/conform): Likewise.
39409         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
39410         (test-xfail-XPG4/fcntl.h/conform): Likewise.
39411         (test-xfail-XPG4/langinfo.h/conform): Likewise.
39412         (test-xfail-XPG4/netdb.h/conform): Likewise.
39413         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
39414         (test-xfail-XPG4/signal.h/conform): Likewise.
39415         (test-xfail-XPG4/stdio.h/conform): Likewise.
39416         (test-xfail-XPG4/stdlib.h/conform): Likewise.
39417         (test-xfail-XPG4/stropts.h/conform): Likewise.
39418         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
39419         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
39420         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
39421         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
39422         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
39423         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
39424         (test-xfail-XPG4/sys/time.h/conform): Likewise.
39425         (test-xfail-XPG4/sys/types.h/conform): Likewise.
39426         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
39427         (test-xfail-XPG4/termios.h/conform): Likewise.
39428         (test-xfail-XPG4/ucontext.h/conform): Likewise.
39429         (test-xfail-XPG4/unistd.h/conform): Likewise.
39430         (test-xfail-XPG4/utmpx.h/conform): Likewise.
39431         (test-xfail-POSIX/sched.h/conform): Likewise.
39432         (test-xfail-POSIX/signal.h/conform): Likewise.
39433         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39434         (test-xfail-POSIX/tar.h/conform): Likewise.
39435         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
39436         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
39437         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
39438         (test-xfail-UNIX98/netdb.h/conform): Likewise.
39439         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
39440         (test-xfail-UNIX98/sched.h/conform): Likewise.
39441         (test-xfail-UNIX98/signal.h/conform): Likewise.
39442         (test-xfail-UNIX98/stdio.h/conform): Likewise.
39443         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
39444         (test-xfail-UNIX98/stropts.h/conform): Likewise.
39445         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
39446         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
39447         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
39448         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
39449         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
39450         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
39451         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
39452         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
39453         (test-xfail-UNIX98/unistd.h/conform): Likewise.
39454         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
39455         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
39456         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
39457         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
39458         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
39459         (test-xfail-XOPEN2K/math.h/conform): Likewise.
39460         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
39461         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
39462         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
39463         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
39464         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
39465         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
39466         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
39467         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
39468         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
39469         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
39470         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
39471         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
39472         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
39473         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
39474         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
39475         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
39476         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
39477         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
39478         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
39479         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
39480         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
39481         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
39482         (test-xfail-POSIX2008/signal.h/conform): Likewise.
39483         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
39484         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
39485         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
39486         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
39487         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
39488         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
39489         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
39490         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
39491         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
39492         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
39493         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
39494         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
39495         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
39496         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
39497         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
39498         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
39499         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
39500         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
39501         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
39502         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
39503         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
39504         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
39505         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
39506         (conformtest-cc-flags): Likewise.
39507         ($(conformtest-header-tests): New target.
39508         * conform/check-header-lists.sh: New file.
39509         * conform/run-conformtest.sh: Remove.
39511         * conform/conformtest.pl: Allow ' and \ in values given for
39512         constants.
39513         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
39514         inclusion.
39515         [POSIX] (sys/types.h): Likewise.
39516         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
39517         inclusion.
39518         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
39519         inclusion.
39520         * conform/data/signal.h-data (SIGIO): Remove expectation.
39521         [XPG3] (SIGBUS): Do not expect.
39522         [POSIX || XPG3] (SIGPOLL): Likewise.
39523         [POSIX || XPG3] (SIGPROF): Likewise.
39524         [POSIX || XPG3] (SIGSYS): Likewise.
39525         [XPG3] (SIGTRAP): Likewise.
39526         [POSIX || XPG3] (SIGURG): Likewise.
39527         [POSIX || XPG3] (SIGVTALRM): Likewise.
39528         [POSIX || XPG3] (SIGXCPU): Likewise.
39529         [POSIX || XPG3] (SIGXFSZ): Likewise.
39530         [POSIX] (SA_SIGINFO): Expect.
39531         [XPG3] (siginfo_t): Do not expect type or contents.
39532         [POSIX] (si_pid): Do not expect element.
39533         [POSIX] (si_uid): Likewise.
39534         [POSIX] (si_addr): Likewise.
39535         [POSIX] (si_status): Likewise.
39536         [POSIX] (si_band): Likewise.
39537         [XPG4] (si_value): Likewise.
39538         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
39539         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
39540         [POSIX || XPG3] (ILL_ILLADR): Likewise.
39541         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
39542         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
39543         [POSIX || XPG3] (ILL_PRVREG): Likewise.
39544         [POSIX || XPG3] (ILL_COPROC): Likewise.
39545         [POSIX || XPG3] (ILL_BADSTK): Likewise.
39546         [POSIX || XPG3] (FPE_INTDIV): Likewise.
39547         [POSIX || XPG3] (FPE_INTOVF): Likewise.
39548         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
39549         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
39550         [POSIX || XPG3] (FPE_FLTUND): Likewise.
39551         [POSIX || XPG3] (FPE_FLTRES): Likewise.
39552         [POSIX || XPG3] (FPE_FLTINV): Likewise.
39553         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
39554         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
39555         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
39556         [POSIX || XPG3] (BUS_ADRALN): Likewise.
39557         [POSIX || XPG3] (BUS_ADRERR): Likewise.
39558         [POSIX || XPG3] (BUS_OBJERR): Likewise.
39559         [POSIX || XPG3] (CLD_EXITED): Likewise.
39560         [POSIX || XPG3] (CLD_KILLED): Likewise.
39561         [POSIX || XPG3] (CLD_DUMPED): Likewise.
39562         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
39563         [POSIX || XPG3] (CLD_STOPPED): Likewise.
39564         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
39565         [POSIX || XPG3] (POLL_IN): Likewise.
39566         [POSIX || XPG3] (POLL_OUT): Likewise.
39567         [POSIX || XPG3] (POLL_MSG): Likewise.
39568         [POSIX || XPG3] (POLL_ERR): Likewise.
39569         [POSIX || XPG3] (POLL_PRI): Likewise.
39570         [POSIX || XPG3] (POLL_HUP): Likewise.
39571         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
39572         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
39573         (SIG*): Do not allow.
39574         [XPG3] (si_*): Likewise.
39575         [XPG3] (SI_*): Likewise.
39576         [XPG3 || XPG4] (sigev_*): Likewise.
39577         [XPG3 || XPG4] (SIGEV_*): Likewise.
39578         [XPG3 || XPG4] (sival_*): Likewise.
39579         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
39580         [POSIX || XPG3] (BUS_*): Likewise.
39581         [POSIX || XPG3] (CLD_*): Likewise.
39582         [POSIX || XPG3] (FPE_*): Likewise.
39583         [POSIX || XPG3] (ILL_*): Likewise.
39584         [POSIX || XPG3] (POLL_*): Likewise.
39585         [POSIX || XPG3] (SEGV_*): Likewise.
39586         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
39587         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
39588         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
39589         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
39590         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
39591         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
39592         Specify type and value.
39593         (TVERSLEN): Likewise.
39594         (REGTYPE): Likewise.
39595         (AREGTYPE): Likewise.
39596         (LNKTYPE): Likewise.
39597         (SYMTYPE): Likewise.
39598         (CHRTYPE): Likewise.
39599         (BLKTYPE): Likewise.
39600         (DIRTYPE): Likewise.
39601         (FIFOTYPE): Likewise.
39602         (CONTTYPE): Likewise.
39603         (TSUID): Likewise.
39604         (TSGID): Likewise.
39605         (TSVTX): Likewise.
39606         (TUREAD): Likewise.
39607         (TUWRITE): Likewise.
39608         (TUEXEC): Likewise.
39609         (TGREAD): Likewise.
39610         (TGWRITE): Likewise.
39611         (TGEXEC): Likewise.
39612         (TOREAD): Likewise.
39613         (TOWRITE): Likewise.
39614         (TOEXEC): Likewise.
39615         [POSIX] (TSVTX): Expect constant.
39617 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
39619         * Makefile (tests): Change dependencies to ....
39620         (tests-special): ... additions to this variable.
39621         (tests): Depend on $(tests-special).
39622         * Makerules (check-abi-list): New variable.
39623         (check-abi): Depend on $(check-abi-list).
39624         [$(subdir) = elf] (tests-special): Add
39625         $(objpfx)check-abi-libc.out.
39626         [$(build-shared) = yes && subdir] (tests-special): Add
39627         $(check-abi-list).
39628         [$(build-shared) = yes && subdir] (tests): Do not depend on
39629         check-abi.
39630         * Rules (tests): Depend on $(tests-special).
39631         (xtests): Depend on $(xtests-special).
39632         * catgets/Makefile (tests): Change dependencies to ....
39633         (tests-special): ... additions to this variable.
39634         * conform/Makefile (tests): Change dependencies to ....
39635         (tests-special): ... additions to this variable.
39636         * elf/Makefile (tests): Change dependencies to ....
39637         (tests-special): ... additions to this variable.
39638         * grp/Makefile (tests): Change dependencies to ....
39639         (tests-special): ... additions to this variable.
39640         * iconv/Makefile (xtests): Change dependencies to ....
39641         (xtests-special): ... additions to this variable.
39642         * iconvdata/Makefile (tests): Change dependencies to ....
39643         (tests-special): ... additions to this variable.
39644         * intl/Makefile (tests): Change dependencies to ....
39645         (tests-special): ... additions to this variable.  Also add
39646         $(objpfx)tst-gettext.out.
39647         * io/Makefile (tests): Change dependencies to ....
39648         (tests-special): ... additions to this variable.
39649         * libio/Makefile (tests): Change dependencies to ....
39650         (tests-special): ... additions to this variable.
39651         * malloc/Makefile (tests): Change dependencies to ....
39652         (tests-special): ... additions to this variable.
39653         * misc/Makefile (tests): Change dependencies to ....
39654         (tests-special): ... additions to this variable.
39655         * nptl/Makefile (tests): Change dependencies to ....
39656         (tests-special): ... additions to this variable.
39657         * nptl_db/Makefile (tests): Change dependencies to ....
39658         (tests-special): ... additions to this variable.
39659         * posix/Makefile (tests): Change dependencies to ....
39660         (tests-special): ... additions to this variable.
39661         (xtests): Change dependencies to ....
39662         (xtests-special): ... additions to this variable.
39663         * resolv/Makefile (tests): Change dependencies to ....
39664         (tests-special): ... additions to this variable.
39665         (xtests): Change dependencies to ....
39666         (xtests-special): ... additions to this variable.
39667         * stdio-common/Makefile (tests): Change dependencies to ....
39668         (tests-special): ... additions to this variable.
39669         (do-tst-unbputc): Remove target.
39670         (do-tst-printf): Likewise.
39671         * stdlib/Makefile (tests): Change dependencies to ....
39672         (tests-special): ... additions to this variable.
39673         * string/Makefile (tests): Change dependencies to ....
39674         (tests-special): ... additions to this variable.
39675         * sysdeps/x86/Makefile (tests): Change dependencies to ....
39676         (tests-special): ... additions to this variable.
39678         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
39679         whole file.
39680         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
39681         whole file.
39682         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
39683         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
39685         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
39686         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
39687         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
39688         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
39689         * conform/data/libgen.h-data [XPG3]: Likewise.
39690         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
39691         * conform/data/ndbm.h-data [XPG3]: Likewise.
39692         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
39693         * conform/data/netdb.h-data [XPG3]: Likewise.
39694         * conform/data/netinet/in.h-data [XPG3]: Likewise.
39695         * conform/data/poll.h-data [XPG3]: Likewise.
39696         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
39697         * conform/data/strings.h-data [XPG3]: Likewise.
39698         * conform/data/stropts.h-data [XPG3]: Likewise.
39699         * conform/data/sys/mman.h-data [XPG3]: Likewise.
39700         * conform/data/sys/resource.h-data [XPG3]: Likewise.
39701         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
39702         Likewise.
39703         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
39704         * conform/data/sys/time.h-data [XPG3]: Likewise.
39705         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
39706         * conform/data/sys/uio.h-data [XPG3]: Likewise.
39707         * conform/data/sys/un.h-data [XPG3]: Likewise.
39708         * conform/data/syslog.h-data [XPG3]: Likewise.
39709         * conform/data/ucontext.h-data [XPG3]: Likewise.
39710         * conform/data/utmpx.h-data [XPG3]: Likewise.
39711         * conform/data/varargs.h-data [UNIX98]: Enable file.
39713         * manual/Makefile (INSTALL_INFO): Remove variable setting.
39715         * math/libm-test.inc (struct test_f_f_data): Move expected results
39716         into structure for each rounding mode.
39717         (struct test_ff_f_data): Likewise.
39718         (struct test_ff_f_data_nexttoward): Likewise.
39719         (struct test_fi_f_data): Likewise.
39720         (struct test_fl_f_data): Likewise.
39721         (struct test_if_f_data): Likewise.
39722         (struct test_fff_f_data): Likewise.
39723         (struct test_c_f_data): Likewise.
39724         (struct test_f_f1_data): Likewise.
39725         (struct test_fF_f1_data): Likewise.
39726         (struct test_ffI_f1_data): Likewise.
39727         (struct test_c_c_data): Likewise.
39728         (struct test_cc_c_data): Likewise.
39729         (struct test_f_i_data): Likewise.
39730         (struct test_ff_i_data): Likewise.
39731         (struct test_f_l_data): Likewise.
39732         (struct test_f_L_data): Likewise.
39733         (struct test_fFF_11_data): Likewise.
39734         (RM_): New macro.
39735         (RM_FE_DOWNWARD): Likewise.
39736         (RM_FE_TONEAREST): Likewise.
39737         (RM_FE_TOWARDZERO): Likewise.
39738         (RM_FE_UPWARD): Likewise.
39739         (RUN_TEST_LOOP_f_f): Update references to expected results.
39740         (RUN_TEST_LOOP_2_f): Likewise.
39741         (RUN_TEST_LOOP_fff_f): Likewise.
39742         (RUN_TEST_LOOP_c_f): Likewise.
39743         (RUN_TEST_LOOP_f_f1): Likewise.
39744         (RUN_TEST_LOOP_fF_f1): Likewise.
39745         (RUN_TEST_LOOP_fI_f1): Likewise.
39746         (RUN_TEST_LOOP_ffI_f1): Likewise.
39747         (RUN_TEST_LOOP_c_c): Likewise.
39748         (RUN_TEST_LOOP_cc_c): Likewise.
39749         (RUN_TEST_LOOP_f_i): Likewise.
39750         (RUN_TEST_LOOP_f_i_tg): Likewise.
39751         (RUN_TEST_LOOP_ff_i_tg): Likewise.
39752         (RUN_TEST_LOOP_f_b): Likewise.
39753         (RUN_TEST_LOOP_f_b_tg): Likewise.
39754         (RUN_TEST_LOOP_f_l): Likewise.
39755         (RUN_TEST_LOOP_f_L): Likewise.
39756         (RUN_TEST_LOOP_fFF_11): Likewise.
39757         * math/gen-libm-test.pl (parse_args): Output four copies of
39758         expected results for each test.
39760         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39761         (__ASSUME_UTIMES): Remove.
39762         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39763         (__ASSUME_UTIMES): Likewise.
39765         * math/gen-auto-libm-tests.c: Update comment on output format.
39766         (output_for_one_input_case): Generate before-rounding and
39767         after-rounding information as conditions on output flags not
39768         floating-point format.
39769         * math/auto-libm-test-out: Regenerated.
39770         * math/gen-libm-test.pl (cond_value): New function.
39771         (or_cond_value): Use cond_value.
39772         (generate_testfile): Handle conditional exceptions.
39774 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
39776         * math/libm-test.inc (max_valid_error): New variable.
39777         (init_max_error): Take new argument specifying whether function
39778         results are exactly determined.  Set max_valid_error and bound
39779         other variables for errors based on this argument.
39780         (set_max_error): Do not record results above max_valid_error.
39781         (check_float_internal): Only accept errors of up to 0.5ulps if
39782         also at most max_valid_error.
39783         (START): Take new argument EXACT and pass it to init_max_error.
39784         (acos_test): Update call to START.
39785         (acos_test_tonearest): Likewise.
39786         (acos_test_towardzero): Likewise.
39787         (acos_test_downward): Likewise.
39788         (acos_test_upward): Likewise.
39789         (acosh_test): Likewise.
39790         (asin_test): Likewise.
39791         (asin_test_tonearest): Likewise.
39792         (asin_test_towardzero): Likewise.
39793         (asin_test_downward): Likewise.
39794         (asin_test_upward): Likewise.
39795         (asinh_test): Likewise.
39796         (atan_test): Likewise.
39797         (atanh_test): Likewise.
39798         (atan2_test): Likewise.
39799         (cabs_test): Likewise.
39800         (cacos_test): Likewise.
39801         (cacosh_test): Likewise.
39802         (carg_test): Likewise.
39803         (casin_test): Likewise.
39804         (casinh_test): Likewise.
39805         (catan_test): Likewise.
39806         (catanh_test): Likewise.
39807         (cbrt_test): Likewise.
39808         (ccos_test): Likewise.
39809         (ccosh_test): Likewise.
39810         (ceil_test): Likewise.
39811         (cexp_test): Likewise.
39812         (cimag_test): Likewise.
39813         (clog_test): Likewise.
39814         (clog10_test): Likewise.
39815         (conj_test): Likewise.
39816         (copysign_test): Likewise.
39817         (cos_test): Likewise.
39818         (cos_test_tonearest): Likewise.
39819         (cos_test_towardzero): Likewise.
39820         (cos_test_downward): Likewise.
39821         (cos_test_upward): Likewise.
39822         (cosh_test): Likewise.
39823         (cosh_test_tonearest): Likewise.
39824         (cosh_test_towardzero): Likewise.
39825         (cosh_test_downward): Likewise.
39826         (cosh_test_upward): Likewise.
39827         (cpow_test): Likewise.
39828         (cproj_test): Likewise.
39829         (creal_test): Likewise.
39830         (csin_test): Likewise.
39831         (csinh_test): Likewise.
39832         (csqrt_test): Likewise.
39833         (ctan_test): Likewise.
39834         (ctan_test_tonearest): Likewise.
39835         (ctan_test_towardzero): Likewise.
39836         (ctan_test_downward): Likewise.
39837         (ctan_test_upward): Likewise.
39838         (ctanh_test): Likewise.
39839         (ctanh_test_tonearest): Likewise.
39840         (ctanh_test_towardzero): Likewise.
39841         (ctanh_test_downward): Likewise.
39842         (ctanh_test_upward): Likewise.
39843         (erf_test): Likewise.
39844         (erfc_test): Likewise.
39845         (exp_test): Likewise.
39846         (exp_test_tonearest): Likewise.
39847         (exp_test_towardzero): Likewise.
39848         (exp_test_downward): Likewise.
39849         (exp_test_upward): Likewise.
39850         (exp10_test): Likewise.
39851         (exp10_test_tonearest): Likewise.
39852         (exp10_test_towardzero): Likewise.
39853         (exp10_test_downward): Likewise.
39854         (exp10_test_upward): Likewise.
39855         (pow10_test): Likewise.
39856         (exp2_test): Likewise.
39857         (expm1_test): Likewise.
39858         (expm1_test_tonearest): Likewise.
39859         (expm1_test_towardzero): Likewise.
39860         (expm1_test_downward): Likewise.
39861         (expm1_test_upward): Likewise.
39862         (fabs_test): Likewise.
39863         (fdim_test): Likewise.
39864         (floor_test): Likewise.
39865         (fma_test): Likewise.
39866         (fma_test_towardzero): Likewise.
39867         (fma_test_downward): Likewise.
39868         (fma_test_upward): Likewise.
39869         (fmax_test): Likewise.
39870         (fmin_test): Likewise.
39871         (fmod_test): Likewise.
39872         (fpclassify_test): Likewise.
39873         (frexp_test): Likewise.
39874         (hypot_test): Likewise.
39875         (ilogb_test): Likewise.
39876         (isfinite_test): Likewise.
39877         (finite_test): Likewise.
39878         (isgreater_test): Likewise.
39879         (isgreaterequal_test): Likewise.
39880         (isinf_test): Likewise.
39881         (isless_test): Likewise.
39882         (islessequal_test): Likewise.
39883         (islessgreater_test): Likewise.
39884         (isnan_test): Likewise.
39885         (isnormal_test): Likewise.
39886         (issignaling_test): Likewise.
39887         (isunordered_test): Likewise.
39888         (j0_test): Likewise.
39889         (j1_test): Likewise.
39890         (jn_test): Likewise.
39891         (ldexp_test): Likewise.
39892         (lgamma_test): Likewise.
39893         (gamma_test): Likewise.
39894         (lrint_test): Likewise.
39895         (lrint_test_tonearest): Likewise.
39896         (lrint_test_towardzero): Likewise.
39897         (lrint_test_downward): Likewise.
39898         (lrint_test_upward): Likewise.
39899         (llrint_test): Likewise.
39900         (llrint_test_tonearest): Likewise.
39901         (llrint_test_towardzero): Likewise.
39902         (llrint_test_downward): Likewise.
39903         (llrint_test_upward): Likewise.
39904         (log_test): Likewise.
39905         (log10_test): Likewise.
39906         (log1p_test): Likewise.
39907         (log2_test): Likewise.
39908         (logb_test): Likewise.
39909         (logb_test_downward): Likewise.
39910         (lround_test): Likewise.
39911         (llround_test): Likewise.
39912         (modf_test): Likewise.
39913         (nearbyint_test): Likewise.
39914         (nextafter_test): Likewise.
39915         (nexttoward_test): Likewise.
39916         (pow_test): Likewise.
39917         (pow_test_tonearest): Likewise.
39918         (pow_test_towardzero): Likewise.
39919         (pow_test_downward): Likewise.
39920         (pow_test_upward): Likewise.
39921         (remainder_test): Likewise.
39922         (drem_test): Likewise.
39923         (remainder_test_tonearest): Likewise.
39924         (drem_test_tonearest): Likewise.
39925         (remainder_test_towardzero): Likewise.
39926         (drem_test_towardzero): Likewise.
39927         (remainder_test_downward): Likewise.
39928         (drem_test_downward): Likewise.
39929         (remainder_test_upward): Likewise.
39930         (drem_test_upward): Likewise.
39931         (remquo_test): Likewise.
39932         (rint_test): Likewise.
39933         (rint_test_tonearest): Likewise.
39934         (rint_test_towardzero): Likewise.
39935         (rint_test_downward): Likewise.
39936         (rint_test_upward): Likewise.
39937         (round_test): Likewise.
39938         (scalb_test): Likewise.
39939         (scalbn_test): Likewise.
39940         (scalbln_test): Likewise.
39941         (signbit_test): Likewise.
39942         (sin_test): Likewise.
39943         (sin_test_tonearest): Likewise.
39944         (sin_test_towardzero): Likewise.
39945         (sin_test_downward): Likewise.
39946         (sin_test_upward): Likewise.
39947         (sincos_test): Likewise.
39948         (sinh_test): Likewise.
39949         (sinh_test_tonearest): Likewise.
39950         (sinh_test_towardzero): Likewise.
39951         (sinh_test_downward): Likewise.
39952         (sinh_test_upward): Likewise.
39953         (sqrt_test): Likewise.
39954         (sqrt_test_tonearest): Likewise.
39955         (sqrt_test_towardzero): Likewise.
39956         (sqrt_test_downward): Likewise.
39957         (sqrt_test_upward): Likewise.
39958         (tan_test): Likewise.
39959         (tan_test_tonearest): Likewise.
39960         (tan_test_towardzero): Likewise.
39961         (tan_test_downward): Likewise.
39962         (tan_test_upward): Likewise.
39963         (tanh_test): Likewise.
39964         (tgamma_test): Likewise.
39965         (trunc_test): Likewise.
39966         (y0_test): Likewise.
39967         (y1_test): Likewise.
39968         (yn_test): Likewise.
39969         (significand_test): Likewise.
39971         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
39972         individual tests in comment.
39973         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
39974         (prev_max_error): New variable.
39975         (prev_real_max_error): Likewise.
39976         (prev_imag_max_error): Likewise.
39977         (compare_ulp_data): Don't refer to test names in comment.
39978         (find_test_ulps): Remove function.
39979         (find_function_ulps): Likewise.
39980         (find_complex_function_ulps): Likewise.
39981         (init_max_error): Take function name as argument.  Look up ulps
39982         for that function.
39983         (print_ulps): Remove function.
39984         (print_max_error): Use prev_max_error instead of calling
39985         find_function_ulps.
39986         (print_complex_max_error): Use prev_real_max_error and
39987         prev_imag_max_error instead of calling find_complex_function_ulps.
39988         (check_float_internal): Take max_ulp parameter instead of calling
39989         find_test_ulps.  Don't call print_ulps.
39990         (check_float): Update call to check_float_internal.
39991         (check_complex): Update calls to check_float_internal.
39992         (START): Pass argument to init_max_error.
39993         * math/gen-libm-test.pl (%results): Don't include "kind"
39994         information.
39995         (parse_ulps): Don't handle ulps of individual tests.
39996         (print_ulps_file): Likewise.
39997         (output_ulps): Likewise.
39998         * math/README.libm-test: Update.
39999         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
40000         individual tests.
40001         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
40002         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
40003         * sysdeps/arm/libm-test-ulps: Likewise.
40004         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
40005         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
40006         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
40007         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
40008         * sysdeps/microblaze/libm-test-ulps: Likewise.
40009         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
40010         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
40011         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40012         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
40013         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40014         * sysdeps/sh/libm-test-ulps: Likewise.
40015         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40016         * sysdeps/tile/libm-test-ulps: Likewise.
40017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40019 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
40021         * math/libm-test.inc (print_complex_max_error): Check separately
40022         whether real and imaginary errors are within allowed range and
40023         pass 0 to print_complex_function_ulps instead of value within
40024         allowed range.
40026 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40028         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
40029         formatting.
40030         (get_handles_fopen): Likewise.
40031         (do_write_test): Likewise.
40033         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
40035         * libio/fileops.c (do_ftell): Use cached offset when
40036         available.
40037         * libio/iofwide.c (do_ftell_wide): Likewise.
40038         * libio/iofdopen.c (_IO_new_fdopen): Don't use
40039         _IO_file_attach.
40040         * libio/wfileops.c (_IO_fwide): Don't cache offset.
40042         [BZ #16532]
40043         * libio/libioP.h (get_file_offset): New function.
40044         * libio/fileops.c (get_file_offset): Likewise.
40045         (do_ftell): Likewise.
40046         (_IO_new_file_seekoff): Split out ftell logic.
40047         * libio/wfileops.c (do_ftell_wide): Likewise.
40048         (_IO_wfile_seekoff): Split out ftell logic.
40049         * libio/tst-ftell-active-handler.c: New test case.
40050         * libio/Makefile (tests): Add it.
40052 2014-03-03  Roland McGrath  <roland@hack.frob.com>
40054         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
40055         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
40057 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40059         [BZ #16639]
40060         * nscd/connections.c (nscd_init): Call do_exit.
40061         (start_threads): Call do_exit and notify_parent.
40062         (begin_drop_privileges): Call do_exit.
40063         (finish_drop_privileges): Likewise.
40064         * nscd/selinux.c (preserve_capabilities): Likewise.
40065         (install_real_capabilities): Likewise.
40066         (nscd_selinux_enabled): Likewise.
40067         (avc_create_thread): Likewise.
40068         (avc_alloc_lock): Likewise.
40069         (nscd_avc_init): Likewise.
40070         * nscd/nscd.c (parent_fd): New static variable.
40071         (main): Create a pipe between parent and child processes.
40072         Skip closing parent_fd.
40073         (monitor_child): New function.
40074         (do_exit): Likewise.
40075         (notify_parent): Likewise.
40076         * nscd/nscd.h (notify_parent): Likewise.
40077         (do_exit): Likewise.
40079 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
40081         * malloc/malloc.c (__libc_calloc): Revert last change.
40083 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40085         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40087 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40089         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
40090         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
40091         implementation.
40092         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40093         (__libc_ifunc_impl_list): Likewise.
40094         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
40095         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
40096         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
40097         * string/strrchr.c: Define STRRCHR.
40099 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
40101         * benchtest/bench-strtok.c (simple_strtok): Delete.
40102         (strtok_string): Use as benchmark.
40103         * string/strtok (STRTOK): New macro.
40105 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
40107         * manual/threads.texi: Add header and standard comments to all
40108         functions.
40110         * elf/dl-lookup.c (check_match): New function.
40111         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
40112         (do_lookup_x): Remove nested function check_match. Use non-nested
40113         function check_match.
40115 2014-02-28  Roland McGrath  <roland@hack.frob.com>
40117         * csu/Makefile (generated, before-compile): Use += rather than =.
40118         * catgets/Makefile (generated, generated-dirs): Likewise.
40119         * debug/Makefile (generated): Likewise.
40120         * dlfcn/Makefile (generated): Likewise.
40121         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
40122         * iconvdata/Makefile (before-compile, generated): Likewise.
40123         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
40124         * libio/Makefile (generated): Likewise.
40125         * malloc/Makefile (generated): Likewise.
40126         * manual/Makefile (generated, generated-dirs): Likewise.
40127         * misc/Makefile (generated): Likewise.
40128         * posix/Makefile (generated): Likewise.
40129         * resolv/Makefile (generated): Likewise.
40130         * sunrpc/Makefile (generated, generated-dirs): Likewise.
40131         * timezone/Makefile (generated, generated-dirs): Likewise.
40133         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
40135 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40137         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
40138         power8 implementation.
40139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
40140         file: POWER8 llround ifunc implementation.
40141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
40142         (__lllround): Add POWER8 implementation.
40143         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
40144         POWER8 llround implementation.
40146         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
40147         power8 implementation.
40148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
40149         file: POWER8 llrint ifunc implementation.
40150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
40151         Add POWER8 implementation.
40152         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
40153         POWER8 llrint implementation.
40155         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
40156         power8 implementation.
40157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
40158         file: POWER8 finite ifunc implementation.
40159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
40160         Add POWER8 implementation.
40161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
40162         Likewise.
40163         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
40164         POWER8 finite implementation.
40165         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
40167         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
40168         power8 implementation.
40169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
40170         file: POWER8 isinf ifunc implementation.
40171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
40172         POWER8 implementation.
40173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
40174         Likewise.
40175         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
40176         isinf implementation.
40177         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
40179         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
40180         (INIT_ARCH): Add hwcap2 initialization.
40181         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
40182         power8 implementation.
40183         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
40184         file: POWER8 isnan ifunc implementation.
40185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
40186         POWER8 implementation.
40187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
40188         Likewise.
40189         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
40190         isnan implementation.
40191         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
40193 2014-02-27  Joey Ye  <joey.ye@arm.com>
40195         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
40196         (_FP_NANFRAC_Q): Set to zero.
40198 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40200         [BZ #16623]
40201         * math/auto-libm-test-in: New test inputs.
40202         * math/auto-libm-test-out: Regenerate.
40203         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
40204         and DA.
40205         (__cos): Likewise.
40206         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
40208 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
40210         * scripts/evaluate-test.sh: Take new argument indicating whether
40211         failure is expected.
40212         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
40213         indicating whether failure is expected.
40214         * conform/Makefile (test-xfail-run-conformtest): New variable.
40215         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
40216         level.
40217         * posix/Makefile (test-xfail-annexc): New variable.
40218         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
40220 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
40222         * argp/Makefile: Include Makeconfig immediately after defining
40223         subdir.
40224         * assert/Makefile: Likewise.
40225         * benchtests/Makefile: Likewise.
40226         * catgets/Makefile: Likewise.
40227         * conform/Makefile: Likewise.
40228         * crypt/Makefile: Likewise.
40229         * csu/Makefile: Likewise.
40230         (all): Remove target.
40231         * ctype/Makefile: Include Makeconfig immediately after defining
40232         subdir.
40233         * debug/Makefile: Likewise.
40234         * dirent/Makefile: Likewise.
40235         * dlfcn/Makefile: Likewise.
40236         * gmon/Makefile: Likewise.
40237         * gnulib/Makefile: Likewise.
40238         * grp/Makefile: Likewise.
40239         * gshadow/Makefile: Likewise.
40240         * hesiod/Makefile: Likewise.
40241         * hurd/Makefile: Likewise.
40242         (all): Remove target.
40243         * iconvdata/Makefile: Include Makeconfig immediately after
40244         defining subdir.
40245         * inet/Makefile: Likewise.
40246         * intl/Makefile: Likewise.
40247         * io/Makefile: Likewise.
40248         * libio/Makefile: Likewise.
40249         (all): Remove target.
40250         * locale/Makefile: Include Makeconfig immediately after defining
40251         subdir.
40252         * login/Makefile: Likewise.
40253         * mach/Makefile: Likewise.
40254         (all): Remove target.
40255         * malloc/Makefile: Include Makeconfig immediately after defining
40256         subdir.
40257         (all): Remove target.
40258         * manual/Makefile: Include Makeconfig immediately after defining
40259         subdir.
40260         * math/Makefile: Likewise.
40261         * misc/Makefile: Likewise.
40262         * nis/Makefile: Likewise.
40263         * nss/Makefile: Likewise.
40264         * po/Makefile: Likewise.
40265         (all): Remove target.
40266         * posix/Makefile: Include Makeconfig immediately after defining
40267         subdir.
40268         * pwd/Makefile: Likewise.
40269         * resolv/Makefile: Likewise.
40270         * resource/Makefile: Likewise.
40271         * rt/Makefile: Likewise.
40272         * setjmp/Makefile: Likewise.
40273         * shadow/Makefile: Likewise.
40274         * signal/Makefile: Likewise.
40275         * socket/Makefile: Likewise.
40276         * soft-fp/Makefile: Likewise.
40277         * stdio-common/Makefile: Likewise.
40278         * stdlib/Makefile: Likewise.
40279         * streams/Makefile: Likewise.
40280         * string/Makefile: Likewise.
40281         * sunrpc/Makefile: Likewise.
40282         (all): Remove target.
40283         * sysvipc/Makefile: Include Makeconfig immediately after defining
40284         subdir.
40285         * termios/Makefile: Likewise.
40286         * time/Makefile: Likewise.
40287         * timezone/Makefile: Likewise.
40288         (all): Remove target.
40289         * wcsmbs/Makefile: Include Makeconfig immediately after defining
40290         subdir.
40291         * wctype/Makefile: Likewise.
40293 2014-02-26  Steve Ellcey  <sellcey@mips.com>
40295         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
40296         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
40297         (libc_feholdexcept_setround_mips): Ditto.
40298         (libc_feholdsetround): New.
40299         (libc_feholdsetroundf): New.
40300         (libc_feholdsetroundl): New.
40301         (libc_feupdateenv_test_mips): New.
40302         (libc_feupdateenv_test): New.
40303         (libc_feupdateenv_testf): New.
40304         (libc_feupdateenv_testl): New.
40305         (libc_feresetround): New.
40306         (libc_feresetroundf): New.
40307         (libc_feresetroundl): New.
40308         (libc_fetestexcept_mips): New.
40309         (libc_fetestexcept): New.
40310         (libc_fetestexceptf): New.
40311         (libc_fetestexceptl): New.
40312         (HAVE_RM_CTX): New.
40313         (libc_feholdexcept_setround_mips_ctx): New.
40314         (libc_feholdexcept_setround_ctx): New.
40315         (libc_feholdexcept_setroundf_ctx): New.
40316         (libc_feholdexcept_setroundl_ctx): New.
40317         (libc_fesetenv_mips_ctx): New.
40318         (libc_fesetenv_ctx): New.
40319         (libc_fesetenv_ctxf): New.
40320         (libc_fesetenv_ctxl): New.
40321         (libc_feupdateenv_mips_ctx): New.
40322         (libc_feupdateenv_ctx): New.
40323         (libc_feupdateenvf_ctx): New.
40324         (libc_feupdateenvl_ctx): New.
40325         (libc_feholdsetround_mips_ctx): New.
40326         (libc_feholdsetround_ctx): New.
40327         (libc_feholdsetroundf_ctx): New.
40328         (libc_feholdsetroundl_ctx): New.
40329         (libc_feresetround_mips_ctx): New.
40330         (libc_feresetround_ctx): New.
40331         (libc_feresetroundf_ctx): New.
40332         (libc_feresetroundl_ctx): New.
40334 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
40336         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
40338         * manual/ipc.texi: New file.
40339         * manual/Makefile (chapters): Add ipc.
40340         * manual/job.texi: Add "Inter-Process Communication" to next.
40341         * manual/process.texi: Add "Inter-Process Communication" to prev.
40343 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40345         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40347 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
40349         * malloc/malloc.c (__libc_calloc): Simplify implementation.
40351         * manual/arith.texi: Fix spaces after sentences.
40352         * manual/charset.texi: Likewise.
40353         * manual/errno.texi: Likewise.
40354         * manual/install.texi: Likewise.
40355         * manual/llio.texi: Likewise.
40356         * manual/locale.texi: Likewise.
40357         * manual/maint.texi: Likewise.
40358         * manual/math.texi: Likewise.
40359         * manual/memory.texi: Likewise.
40360         * manual/message.texi: Likewise.
40361         * manual/probes.texi: Likewise.
40362         * manual/resource.texi: Likewise.
40363         * manual/signal.texi: Likewise.
40364         * manual/socket.texi: Likewise.
40365         * manual/stdio.texi: Likewise.
40366         * manual/string.texi: Likewise.
40367         * manual/time.texi: Likewise.
40368         * manual/users.texi: Likewise.
40370 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
40372         [BZ #16632]
40373         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
40374         _DEFAULT_SOURCE is defined.
40376 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
40377             Carlos O'Donell  <carlos@redhat.com>
40379         [BZ #16613]
40380         * elf/dl-tls.c (_dl_count_modids): New function.
40381         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
40382         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
40383         audit library and increment generation counter.
40384         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
40385         * elf/tst-audit9.c: New file.
40386         * elf/tst-auditmod9a.c: New file.
40387         * elf/tst-auditmod9b.c: New file.
40388         * elf/Makefile: Add rules to build and run tst-audit9.
40390 2014-02-25  Florian Weimer  <fweimer@redhat.com>
40392         [BZ #15347]
40393         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
40395 2014-02-25  Will Newton  <will.newton@linaro.org>
40397         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
40398         (__longjmp): Restore sp and lr before restoring callee
40399         saved registers.  Add longjmp and longjmp_target
40400         SystemTap probe point.
40401         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
40402         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
40403         Define to zero to match jmpbuf layout.
40404         * sysdeps/arm/setjmp.S: Include stap-probe.h.
40405         (__sigsetjmp): Save sp and lr before saving callee
40406         saved registers.  Add setjmp SystemTap probe point.
40408 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
40410         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40412 2014-02-24  Andreas Schwab  <schwab@suse.de>
40414         [BZ #15804]
40415         * elf/pldd.c (wait_for_ptrace_stop): New function.
40416         (main): Call it after attaching.
40418 2014-02-22  Roland McGrath  <roland@hack.frob.com>
40420         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
40421         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
40422         Versions files is now verboten.
40423         * hurd/Versions (libc: GLIBC_2.0):
40424         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
40425         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
40426         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
40427         * mach/Versions: Likewise.
40429         * csu/Versions: Remove unused %include.
40430         * resolv/Versions: Likewise.
40432 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
40434         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
40435         ($(objpfx)check-local-headers.out): Likewise.
40436         ($(objpfx)begin-end-check.out): Likewise.
40437         * Makerules (check-abi-%.out): Likewise.
40438         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
40439         ($(objpfx)test2.cat): Likewise.
40440         ($(objpfx)de/libc.cat): Likewise.
40441         ($(objpfx)test-gencat.out): Likewise.
40442         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
40443         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
40444         ($(objpfx)noload-mem): Likewise.
40445         ($(objpfx)tst-pathopt.out): Likewise.
40446         ($(objpfx)tst-rtld-load-self.out): Likewise.
40447         ($(objpfx)tst-array1-cmp.out): Likewise.
40448         ($(objpfx)tst-array1-static-cmp.out): Likewise.
40449         ($(objpfx)tst-array2-cmp.out): Likewise.
40450         ($(objpfx)tst-array3-cmp.out): Likewise.
40451         ($(objpfx)tst-array4-cmp.out): Likewise.
40452         ($(objpfx)tst-array5-cmp.out): Likewise.
40453         ($(objpfx)tst-array5-static-cmp.out): Likewise.
40454         ($(objpfx)check-textrel.out): Likewise.
40455         ($(objpfx)check-execstack.out): Likewise.
40456         ($(objpfx)check-localplt.out): Likewise.
40457         ($(objpfx)order2-cmp.out): Likewise.
40458         ($(objpfx)tst-leaks1-mem): Likewise.
40459         ($(objpfx)tst-leaks1-static-mem): Likewise.
40460         ($(objpfx)tst-initorder-cmp.out): Likewise.
40461         ($(objpfx)tst-initorder2-cmp.out): Likewise.
40462         ($(objpfx)tst-unused-dep.out): Likewise.
40463         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
40464         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
40465         * iconv/Makefile (test-iconvconfig): Likewise.
40466         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
40467         ($(objpfx)iconv-test.out): Likewise.
40468         ($(objpfx)tst-tables.out): Likewise.
40469         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
40470         ($(objpfx)tst-gettext.out): Likewise.
40471         ($(objpfx)tst-translit.out): Likewise.
40472         ($(objpfx)tst-gettext2.out): Likewise.
40473         ($(objpfx)tst-gettext4.out): Likewise.
40474         ($(objpfx)tst-gettext6.out): Likewise.
40475         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
40476         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
40477         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
40478         ($(objpfx)tst-fopenloc-mem.out): Likewise.
40479         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
40480         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
40481         * posix/Makefile ($(objpfx)globtest.out): Likewise.
40482         ($(objpfx)wordexp-tst.out): Likewise.
40483         ($(objpfx)annexc.out): Likewise.
40484         ($(objpfx)tst-fnmatch-mem): Likewise.
40485         ($(objpfx)bug-regex2-mem): Likewise.
40486         ($(objpfx)bug-regex14-mem): Likewise.
40487         ($(objpfx)bug-regex21-mem): Likewise.
40488         ($(objpfx)bug-regex31-mem): Likewise.
40489         ($(objpfx)tst-vfork3-mem): Likewise.
40490         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
40491         ($(objpfx)tst-pcre-mem): Likewise.
40492         ($(objpfx)tst-boost-mem): Likewise.
40493         ($(objpfx)tst-getconf.out): Likewise.
40494         ($(objpfx)bug-ga2-mem): Likewise.
40495         ($(objpfx)bug-glob2-mem): Likewise.
40496         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
40497         ($(objpfx)mtrace-tst-leaks2): Likewise.
40498         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
40499         ($(objpfx)tst-printf.out): Likewise.
40500         ($(objpfx)tst-setvbuf1.out): Likewise.
40501         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
40502         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
40503         ($(objpfx)tst-fmtmsg.out): Likewise.
40504         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
40505         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
40507         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
40508         * bits/sigaction.h [__USE_MISC]: Likewise.
40509         * bits/waitstatus.h: Update #endif comments.
40510         * ctype/ctype.h: Likewise.
40511         * dirent/dirent.h: Likewise.
40512         [__USE_MISC]: Remove redundant conditionals.
40513         * grp/grp.h: Update #endif comments.
40514         [__USE_GNU]: Remove redundant conditionals.
40515         [__USE_MISC]: Likewise.
40516         * inet/netinet/in.h [__USE_GNU]: Likewise.
40517         * io/sys/stat.h [__USE_MISC]: Likewise.
40518         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
40519         * libio/bits/stdio.h: Update #endif comments.
40520         [__USE_MISC]: Remove redundant conditionals.
40521         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
40522         * libio/stdio.h: Update #endif comments.
40523         [__USE_MISC]: Remove redundant conditionals.
40524         * math/bits/math-finite.h [__USE_MISC]: Likewise.
40525         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
40526         * math/math.h: Update #else and #endif comments.
40527         [__USE_MISC]: Remove redundant conditionals.
40528         * misc/sys/uio.h: Update #endif comments.
40529         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
40530         * posix/glob.h [__USE_MISC]: Likewise.
40531         * posix/sys/types.h: Update #endif comments.
40532         [__USE_MISC]: Remove redundant conditionals.
40533         * posix/sys/wait.h: Update #endif comments.
40534         [__USE_MISC]: Remove redundant conditionals.
40535         * posix/unistd.h: Update #endif comments.
40536         [__USE_MISC]: Remove redundant conditionals.
40537         * pwd/pwd.h [__USE_GNU]: Likewise.
40538         [__USE_MISC]: Likewise.
40539         * resolv/netdb.h [__USE_GNU]: Likewise.
40540         * signal/signal.h: Update #endif comments.
40541         [__USE_MISC]: Remove redundant conditionals.
40542         * stdlib/stdlib.h: Update #else and #endif comments.
40543         [__USE_MISC]: Remove redundant conditionals.
40544         [__USE_GNU]: Likewise.
40545         * string/bits/string2.h [__USE_MISC]: Likewise.
40546         * string/string.h: Update #endif comments.
40547         [__USE_MISC]: Remove redundant conditionals.
40548         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
40549         Likewise.
40550         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
40551         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
40552         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
40553         Likewise.
40554         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
40555         Likewise.
40556         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
40557         comments.
40558         [__USE_MISC]: Remove redundant conditionals.
40559         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
40560         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
40561         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
40562         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
40563         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
40564         Likewise.
40565         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
40566         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
40567         Likewise.
40568         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
40569         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
40570         Likewise.
40571         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
40572         Likewise.
40573         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
40574         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
40575         Likewise.
40576         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
40577         Likewise.
40578         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
40579         * sysdeps/x86/bits/string.h: Update #endif comments.
40580         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
40581         conditionals.
40582         * time/sys/time.h: Update #endif comments.
40583         * time/time.h: Likewise.
40584         [__USE_MISC]: Remove redundant conditionals.
40586 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
40588         [BZ #16600]
40589         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
40591 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
40593         * Versions.def (librt): Add GLIBC_2.17.
40595 2014-02-21  Adam Conrad  <adconrad@0c3.net>
40597         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
40598         synonym for _SYS_AUXV_H to allow direct inclusion.
40599         * sysdeps/sparc/bits/hwcap.h: Likewise.
40600         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
40601         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
40602         * sysdeps/sparc/sysdep.h: Likewise.
40604 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40606         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
40608 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40610         * benchtests/bench-strrchr.c: Print length instead of position.
40612 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
40614         [BZ #16611]
40615         * sysdeps/unix/sysv/linux/kernel-features.h
40616         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
40617         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
40618         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
40619         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
40620         Likewise.
40621         [__i386__ || __powerpc__ || __sh__ || __sparc__]
40622         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40623         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
40624         (__ASSUME_SENDMMSG): Define instead of using previous
40625         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
40626         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40627         (__ASSUME_SENDMMSG_SYSCALL): Define.
40628         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40629         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
40630         Likewise.
40631         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40632         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40633         Likewise.
40634         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40635         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40636         Likewise.
40637         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
40638         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40639         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40640         [__ASSUME_SENDMMSG]: Change conditionals to
40641         [__ASSUME_SENDMMSG_SOCKETCALL].
40642         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40643         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
40644         Define.
40645         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40646         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
40647         Likewise.
40648         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
40649         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40650         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40651         [!__ASSUME_SENDMMSG]: Change conditional to
40652         [!__ASSUME_SENDMMSG_SOCKETCALL].
40653         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40654         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40655         Define.
40657         [BZ #16610]
40658         * sysdeps/unix/sysv/linux/kernel-features.h
40659         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
40660         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
40661         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
40662         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
40663         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40664         [__i386__ || __sparc__]
40665         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40666         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
40667         (__ASSUME_RECVMMSG): Define instead of using previous
40668         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
40669         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40670         (__ASSUME_RECVMMSG_SYSCALL): Define.
40671         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40672         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40673         Likewise.
40674         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40675         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40676         Likewise.
40677         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40678         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40679         Likewise.
40680         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
40681         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
40682         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
40683         [__ASSUME_RECVMMSG]: Change condition to
40684         [__ASSUME_RECVMMSG_SOCKETCALL].
40685         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40686         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40687         Define.
40688         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40689         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40690         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40691         Likewise.
40692         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
40693         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
40694         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
40695         [!__ASSUME_RECVMMSG]: Change condition to
40696         [!__ASSUME_RECVMMSG_SOCKETCALL].
40697         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40698         (__ASSUME_RECVMMSG_SYSCALL): Define.
40700         [BZ #16609]
40701         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
40702         __powerpc__ || __s390__ || __sh__ || __sparc__]
40703         (__ASSUME_SOCKETCALL): Define.
40704         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
40705         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
40706         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
40707         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
40708         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
40709         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
40710         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
40711         (__ASSUME_ACCEPT4): Define instead of using previous
40712         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
40713         __powerpc__ || __sparc__ || __s390__)] condition.
40714         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40715         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
40716         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
40717         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40718         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40719         [!__ASSUME_ACCEPT4]: Change condition to
40720         [!__ASSUME_ACCEPT4_SOCKETCALL].
40721         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40722         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
40723         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
40724         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40725         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
40726         __ASSUME_ACCEPT4_SYSCALL.
40727         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
40728         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
40729         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40730         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
40731         __ASSUME_ACCEPT4_SYSCALL.
40732         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
40733         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40734         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40735         [__ASSUME_ACCEPT4]: Change condition to
40736         [__ASSUME_ACCEPT4_SOCKETCALL].
40737         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40738         (__ASSUME_SOCKETCALL): Define.
40739         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
40740         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40741         (__ASSUME_SOCKETCALL): Define.
40742         (__ASSUME_ACCEPT4): Remove.
40743         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
40744         Define.
40745         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40746         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
40747         Likewise.
40748         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40749         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
40751         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
40752         macro.
40753         (HWCAP_ARM_LPAE): Likewise.
40754         (HWCAP_ARM_EVTSTRM): Likewise.
40755         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
40756         Add vpfd32, lpae and evtstrm.
40757         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
40758         Increase to 22.
40760 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
40762         * math/auto-libm-test-in: Add tests of clog10.
40763         * math/auto-libm-test-out: Regenerated.
40764         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
40765         * sysdeps/i386/fpu/libm-test-ulps: Update.
40766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40768 2014-02-18  Andreas Schwab  <schwab@suse.de>
40770         [BZ #16574]
40771         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
40772         Store non-zero if the second buffer was newly allocated.
40773         (send_dg): Likewise.
40774         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
40775         to send_vc and send_dg.
40776         (res_nsend): Pass NULL for ansp2_malloced.
40777         * resolv/res_query.c (__libc_res_nquery): Add parameter
40778         answerp2_malloced and pass it down to __libc_res_nsend.
40779         (res_nquery): Pass additional NULL to __libc_res_nquery.
40780         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
40781         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
40782         second answer buffer if answerp2_malloced was set.
40783         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
40784         (__libc_res_nquerydomain): Add parameter
40785         answerp2_malloced and pass it down to __libc_res_nquery.
40786         (res_nquerydomain): Pass additional NULL to
40787         __libc_res_nquerydomain.
40788         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
40789         additional NULL to __libc_res_nsend and __libc_res_nquery.
40790         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
40791         additional NULL to __libc_res_nsearch.
40792         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
40793         parameter of __libc_res_nsearch to check for separately allocated
40794         second buffer.
40795         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
40796         __libc_res_nquery.
40797         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
40798         additional NULL to __libc_res_nquery.
40799         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
40800         __libc_res_nsearch.
40801         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
40802         * include/resolv.h: Update prototypes of __libc_res_nquery,
40803         __libc_res_nsearch, __libc_res_nsend.
40805 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
40807         * math/auto-libm-test-in: Add tests of fma.
40808         * math/auto-libm-test-out: Regenerated.
40809         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
40810         (fma_towardzero_test_data): Likewise.
40811         (fma_downward_test_data): Likewise.
40812         (fma_upward_test_data): Likewise.
40813         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
40814         mpc_mode.
40815         (rounding_modes): Add values for new field.
40816         (func_calc_method): Add value mpfr_fff_f.
40817         (func_calc_desc): Add mpfr_fff_f union field.
40818         (test_function): Add field exact_args.
40819         (FUNC): Add macro argument EXACT_ARGS.
40820         (FUNC_mpfr_f_f): Update call to FUNC.
40821         (FUNC_mpfr_f_f): Likewise.
40822         (FUNC_mpfr_ff_f): Likewise.
40823         (FUNC_mpfr_if_f): Likewise.
40824         (FUNC_mpc_c_f): Likewise.
40825         (FUNC_mpc_c_c): Likewise.
40826         (test_functions): Add fma.  Update calls to FUNC.
40827         (handle_input_arg): Add argument exact_args.
40828         (add_test): Update call to handle_input_arg.
40829         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
40830         (output_for_one_input_case): Update call to calc_generic_results.
40831         Recalculate exact zero results in each rounding mode.
40833         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
40834         non-negative before setting low bit.
40835         * math/auto-libm-test-in: Mark one asin test possibly having
40836         spurious underflow.
40837         * math/auto-libm-test-out: Regenerated.
40838         * sysdeps/i386/fpu/libm-test-ulps: Update.
40839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40841 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
40843         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
40844         * sysdeps/unix/sysv/linux/microblaze: Move directory from
40845         ports/sysdeps/unix/sysv/linux/microblaze.
40846         * README: Add missing listing for microblaze*-*-linux-gnu.
40848 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
40850         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
40851         duplicate code
40853 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
40855         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
40856         * sysdeps/unix/sysv/linux/ia64: Move directory from
40857         ports/sysdeps/unix/sysv/linux/ia64.
40858         * README: Update listing for ia64-*-linux-gnu.
40860 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
40861             Joseph Myers  <joseph@codesourcery.com>
40863         * Makeconfig (test-name): New variable.
40864         (evaluate-test): Likewise.
40865         * Makerules (do-test-clean): Remove .test-result files.
40866         (common-mostlyclean): Likewise.
40867         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
40868         * scripts/evaluate-test.sh: New file.
40870 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
40872         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
40873         separate $(objpfx)tst-fopenloc-cmp.out and
40874         $(objpfx)tst-fopenloc-mem.out targets.
40875         (tests): Update dependencies.
40876         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
40877         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
40878         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
40879         (tst-rxspencer-no-utf8-ARGS): New variable.
40880         (tst-rxspencer-no-utf8-ENV): Likewise.
40881         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
40882         instead of $(objpfx)tst-rxspencer-mem.
40883         ($(objpfx)tst-rxspencer-mem): Change target to
40884         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
40885         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
40886         * posix/tst-rxspencer-no-utf8.c: New file.
40888         * elf/Makefile ($(objpfx)order.out): Remove rule.
40889         [$(run-built-tests) = yes] (tests): Depend on
40890         $(objpfx)order-cmp.out.
40891         ($(objpfx)order-cmp.out): New rule.
40892         [$(run-built-tests) = yes] (tests): Depend on
40893         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
40894         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
40895         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
40896         $(objpfx)tst-array5-static-cmp.out.
40897         ($(objpfx)tst-array1.out): Remove rule.
40898         ($(objpfx)tst-array1-cmp.out): New rule.
40899         ($(objpfx)tst-array1-static.out): Remove rule.
40900         ($(objpfx)tst-array1-static-cmp.out): New rule.
40901         ($(objpfx)tst-array2.out): Remove rule.
40902         ($(objpfx)tst-array2-cmp.out): New rule.
40903         ($(objpfx)tst-array3.out): Remove rule.
40904         ($(objpfx)tst-array3-cmp.out): New rule.
40905         ($(objpfx)tst-array4.out): Remove rule.
40906         ($(objpfx)tst-array4-cmp.out): New rule.
40907         ($(objpfx)tst-array5.out): Remove rule.
40908         ($(objpfx)tst-array5-cmp.out): New rule.
40909         ($(objpfx)tst-array5-static.out): Remove rule.
40910         ($(objpfx)tst-array5-static-cmp.out): New rule.
40911         [$(run-built-tests) = yes] (tests): Depend on
40912         $(objpfx)order2-cmp.out.
40913         ($(objpfx)order2.out): Remove rule.
40914         ($(objpfx)order2-cmp.out): New rule.
40915         ($(objpfx)tst-initorder.out): Remove rule.
40916         [$(run-built-tests) = yes] (tests): Depend on
40917         $(objpfx)tst-initorder-cmp.out.
40918         ($(objpfx)tst-initorder-cmp.out): New rule.
40919         ($(objpfx)tst-initorder2.out): Remove rule.
40920         [$(run-built-tests) = yes] (tests): Depend on
40921         $(objpfx)tst-initorder2-cmp.out.
40922         ($(objpfx)tst-initorder2-cmp.out): New rule.
40923         [$(run-built-tests) = yes] (tests): Depend on
40924         $(objpfx)tst-unused-dep-cmp.out.
40925         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
40926         ($(objpfx)tst-unused-dep-cmp.out): New rule.
40927         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
40928         on $(objpfx)tst-setvbuf1-cmp.out.
40929         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
40930         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
40931         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
40932         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
40933         ($(objpfx)tst-svc.out): Remove rule.
40934         ($(objpfx)tst-svc-cmp.out): New rule.
40936 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
40938         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
40939         * ctype/ctype.h [__USE_MISC]: Likewise.
40940         * dirent/dirent.h [__USE_MISC]: Likewise.
40941         * grp/grp.h [__USE_MISC]: Likewise.
40942         * io/fcntl.h [__USE_MISC]: Likewise.
40943         * io/sys/stat.h [__USE_MISC]: Likewise.
40944         * libio/stdio.h [__USE_MISC]: Likewise.
40945         * posix/unistd.h [__USE_MISC]: Likewise.
40946         * pwd/pwd.h [__USE_MISC]: Likewise.
40947         * stdlib.h [__USE_MISC]: Likewise.
40948         * string/bits/string2.h [__USE_MISC]: Likewise.
40949         * string/string.h [__USE_MISC]: Likewise.
40950         * time/time.h [__USE_MISC]: Likewise.
40952 2014-02-13  Andreas Schwab  <schwab@suse.de>
40954         [BZ #16574]
40955         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
40956         second answer buffer if it was separately allocated.
40958 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
40960         * sysdeps/mips/math-tests.h: Include <features.h>.
40961         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
40962         (ROUNDING_TESTS_long_double): Do not define.
40963         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
40964         (EXCEPTION_TESTS_long_double): Likewise.
40965         * sysdeps/mips/mips64/libm-test-ulps: Update.
40967         * include/features.h (__USE_BSD): Remove macro definitions.
40968         (__USE_SVID): Likewise.
40969         (_BSD_SOURCE): Likewise.
40970         (_SVID_SOURCE): Likewise.
40971         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
40972         from definition of _DEFAULT_SOURCE.
40973         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
40974         [_DEFAULT_SOURCE].
40975         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
40976         * bits/mman.h [__USE_BSD]: Likewise.
40977         * bits/termios.h [__USE_BSD]: Likewise.
40978         * bits/waitstatus.h [__USE_BSD]: Likewise.
40979         * ctype/ctype.h [__USE_SVID]: Likewise.
40980         * dirent/dirent.h [__USE_BSD]: Likewise.
40981         * grp/grp.h [__USE_SVID]: Likewise.
40982         [__USE_BSD]: Likewise.
40983         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
40984         * io/fcntl.h [__USE_BSD]: Likewise.
40985         * io/ftw.h [__USE_BSD]: Likewise.
40986         * io/sys/stat.h [__USE_BSD]: Likewise.
40987         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
40988         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
40989         * libio/stdio.h [__USE_SVID]: Likewise.
40990         [__USE_BSD]: Likewise.
40991         * math/math.h [__USE_SVID]: Likewise.
40992         [__USE_BSD]: Likewise.
40993         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
40994         * misc/bits/syslog.h [__USE_BSD]: Likewise.
40995         * misc/search.h [__USE_SVID]: Likewise.
40996         * misc/sys/mman.h [__USE_BSD]: Likewise.
40997         * misc/sys/syslog.h [__USE_BSD]: Likewise.
40998         * misc/sys/uio.h [__USE_BSD]: Likewise.
40999         * posix/bits/unistd.h [__USE_BSD]: Likewise.
41000         * posix/glob.h [__USE_BSD]: Likewise.
41001         * posix/regex.h [__USE_BSD]: Likewise.
41002         * posix/sys/types.h [__USE_BSD]: Likewise.
41003         [__USE_SVID]: Likewise.
41004         * posix/sys/utsname.h [__USE_SVID]: Likewise.
41005         * posix/sys/wait.h [__USE_BSD]: Likewise.
41006         [__USE_SVID]: Likewise.
41007         * posix/unistd.h [__USE_BSD]: Likewise.
41008         [__USE_SVID]: Likewise.
41009         * pwd/pwd.h [__USE_SVID]: Likewise.
41010         * resolv/netdb.h [__USE_BSD]: Likewise.
41011         * setjmp/setjmp.h [__USE_BSD]: Likewise.
41012         * signal/signal.h [__USE_BSD]: Likewise.
41013         [__USE_SVID]: Likewise.
41014         * socket/sys/socket.h [__USE_BSD]: Likewise.
41015         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
41016         * stdlib/stdlib.h [__USE_BSD]: Likewise.
41017         [__USE_SVID]: Likewise.
41018         * string/bits/string2.h [__USE_BSD]: Likewise.
41019         [__USE_SVID]: Likewise.
41020         * string/bits/string3.h [__USE_BSD]: Likewise.
41021         * string/endian.h [__USE_BSD]: Likewise.
41022         * string/string.h [__USE_SVID]: Likewise.
41023         [__USE_BSD]: Likewise.
41024         * string/strings.h [__USE_BSD]: Likewise.
41025         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
41026         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
41027         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
41028         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
41029         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
41030         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
41031         Likewise.
41032         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
41033         Likewise.
41034         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
41035         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
41036         Likewise.
41037         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
41038         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
41039         Likewise.
41040         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
41041         Likewise.
41042         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
41043         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
41044         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
41045         Likewise.
41046         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
41047         Likewise.
41048         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
41049         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
41050         * termios/termios.h [__USE_BSD]: Likewise.
41051         * time/sys/time.h [__USE_BSD]: Likewise.
41052         * time/time.h [__USE_BSD]: Likewise.
41053         [__USE_SVID]: Likewise.
41055         * Makefile (subdir_targets): Remove subdir_lint.out.
41057         * stdio-common/Makefile (do-tst-unbputc): Remove target.
41058         (do-tst-printf): Likewise.
41059         (tests): Depend directly on $(objpfx)tst-unbputc.out and
41060         $(objpfx)tst-printf.out.
41062         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
41064         * Makerules (check-abi-%): Change target to
41065         $(objpfx)check-abi-%.out.
41066         (check-abi target): Update dependencies.
41067         (check-abi-pattern variable): Redirect output of diff to $@.
41068         (check-abi variable): Likewise.
41069         * elf/Makefile (check-abi): Update dependencies.
41071         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
41072         unused.
41073         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
41074         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
41075         subnormal range.
41076         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
41077         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
41078         value has largest subnormal exponent.
41079         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
41080         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
41081         * sysdeps/aarch64/soft-fp/sfp-machine.h
41082         (_FP_TININESS_AFTER_ROUNDING): New macro.
41083         * sysdeps/alpha/soft-fp/sfp-machine.h
41084         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41085         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41086         Likewise.
41087         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
41088         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41089         * sysdeps/mips/soft-fp/sfp-machine.h
41090         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41091         * sysdeps/powerpc/soft-fp/sfp-machine.h
41092         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41093         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41094         Likewise.
41095         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41096         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41097         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41098         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41099         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41100         Likewise.
41102 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
41104         [BZ #16545]
41105         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
41106         model 1.
41108 2014-02-12  Richard Henderson  <rth@redhat.com>
41110         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
41111         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
41112         * sysdeps/unix/sysv/linux/alpha: Move directory from
41113         ports/sysdeps/unix/sysv/linux/alpha.
41114         * README: Update listing for alpha-*-linux-gnu.
41116 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
41118         * include/features.h: Update comment documenting feature test
41119         macros.
41120         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
41121         _DEFAULT_SOURCE.
41122         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
41123         (_SVID_SOURCE): Likewise.
41124         (_DEFAULT_SOURCE): Update description of default features.
41125         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
41126         with _GNU_SOURCE.
41127         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
41128         (S_ISVTX): Likewise.
41129         * manual/math.texi (Mathematical Constants): Likewise.
41130         * manual/signal.texi (Interrupted Primitives): Likewise.
41131         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
41132         * math/test-matherr.c (_SVID_SOURCE): Do not define.
41133         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
41134         Don't refer to _SVID_SOURCE in warning text.
41136         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41138         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
41139         already defined.
41140         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
41141         * sysdeps/mips/dl-lookup.c: Remove.
41142         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
41144 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
41146         [BZ #16447]
41147         * math/auto-libm-test-in: Add testcase for expl.
41148         * math/auto-libm-test-out: Regenerate.
41149         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
41150         calculation of unsafe.
41151         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
41153 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
41155         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
41156         * sysdeps/unix/sysv/linux/aarch64: Move directory from
41157         ports/sysdeps/unix/sysv/linux/aarch64.
41158         * README: Update listing for aarch64*-*-linux-gnu.
41160 2014-02-11  Will Newton  <will.newton@linaro.org>
41162         * manual/probes.texi (Mathematical Function Probes): Use
41163         "triggered" instead of "hit".
41165         * manual/probes.texi (Internal Probes): Add documentation
41166         of setjmp, longjmp and longjmp_target probes.
41168         * include/stap-probe.h: Add comment about probe argument
41169         format.
41171         * malloc/mtrace.c (attribute_hidden): Remove unused macro
41172         definition.  (tr_where, tr_freehook, tr_mallochook,
41173         tr_reallochook, tr_memalignhook): Use ANSI protoype.
41175 2014-02-11  David S. Miller  <davem@davemloft.net>
41177         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
41178         processing int_tests.
41180 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
41182         * sysdeps/mips: Move directory from ports/sysdeps/mips.
41183         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
41184         * sysdeps/unix/sysv/linux/mips: Move directory from
41185         ports/sysdeps/unix/sysv/linux/mips.
41186         * README: Update listing for mips-*-linux-gnu and
41187         mips64-*-linux-gnu.
41189 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
41191         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
41192         * sysdeps/unix/sysv/linux/m68k: Move directory from
41193         ports/sysdeps/unix/sysv/linux/m68k.
41194         * README: Update listing for m68k-*-linux-gnu.
41196 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
41198         * sysdeps/tile: Move directory from ports/sysdeps/tile.
41199         * sysdeps/unix/sysv/linux/generic: Move directory from
41200         ports/sysdeps/unix/sysv/linux/generic.
41201         * sysdeps/unix/sysv/linux/tile: Move directory from
41202         ports/sysdeps/unix/sysv/linux/tile.
41203         * README: Update listing for tile*-*-linux-gnu.
41205 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
41207         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
41208         __builtin_expect.
41209         * benchtests/bench-memmem.c (simple_memmem): Likewise.
41210         * catgets/open_catalog.c (__open_catalog): Likewise.
41211         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
41212         * debug/confstr_chk.c: Likewise.
41213         * debug/fread_chk.c (__fread_chk): Likewise.
41214         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
41215         * debug/getgroups_chk.c: Likewise.
41216         * debug/mbsnrtowcs_chk.c: Likewise.
41217         * debug/mbsrtowcs_chk.c: Likewise.
41218         * debug/mbstowcs_chk.c: Likewise.
41219         * debug/memcpy_chk.c: Likewise.
41220         * debug/memmove_chk.c: Likewise.
41221         * debug/mempcpy_chk.c: Likewise.
41222         * debug/memset_chk.c: Likewise.
41223         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
41224         * debug/strcat_chk.c (__strcat_chk): Likewise.
41225         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
41226         * debug/strncat_chk.c (__strncat_chk): Likewise.
41227         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
41228         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
41229         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
41230         * debug/wcpncpy_chk.c: Likewise.
41231         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
41232         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
41233         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
41234         * debug/wcsncpy_chk.c: Likewise.
41235         * debug/wcsnrtombs_chk.c: Likewise.
41236         * debug/wcsrtombs_chk.c: Likewise.
41237         * debug/wcstombs_chk.c: Likewise.
41238         * debug/wmemcpy_chk.c: Likewise.
41239         * debug/wmemmove_chk.c: Likewise.
41240         * debug/wmempcpy_chk.c: Likewise.
41241         * debug/wmemset_chk.c: Likewise.
41242         * dirent/scandirat.c (SCANDIRAT): Likewise.
41243         * dlfcn/dladdr1.c (dladdr1): Likewise.
41244         * dlfcn/dladdr.c (dladdr): Likewise.
41245         * dlfcn/dlclose.c (dlclose_doit): Likewise.
41246         * dlfcn/dlerror.c (__dlerror): Likewise.
41247         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
41248         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
41249         * dlfcn/dlopen.c (dlopen_doit): Likewise.
41250         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
41251         * dlfcn/dlsym.c (dlsym_doit): Likewise.
41252         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
41253         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
41254         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
41255         Likewise.
41256         * elf/dl-conflict.c: Likewise.
41257         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
41258         * elf/dl-dst.h: Likewise.
41259         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
41260         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
41261         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
41262         * elf/dl-init.c (call_init, _dl_init): Likewise.
41263         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
41264         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
41265         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
41266         Likewise.
41267         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
41268         Likewise.
41269         * elf/dl-minimal.c (__libc_memalign): Likewise.
41270         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
41271         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
41272         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
41273         * elf/dl-sym.c (do_sym): Likewise.
41274         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
41275         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
41276         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
41277         * elf/dl-writev.h (_dl_writev): Likewise.
41278         * elf/ldconfig.c (search_dir): Likewise.
41279         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
41280         (dl_main): Likewise.
41281         * elf/setup-vdso.h (setup_vdso): Likewise.
41282         * grp/compat-initgroups.c (compat_call): Likewise.
41283         * grp/fgetgrent.c (fgetgrent): Likewise.
41284         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
41285         * grp/putgrent.c (putgrent): Likewise.
41286         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
41287         Likewise.
41288         * hurd/hurdinit.c: Likewise.
41289         * iconvdata/8bit-gap.c (struct): Likewise.
41290         * iconvdata/ansi_x3.110.c : Likewise.
41291         * iconvdata/big5.c : Likewise.
41292         * iconvdata/big5hkscs.c : Likewise.
41293         * iconvdata/cp1255.c: Likewise.
41294         * iconvdata/cp1258.c : Likewise.
41295         * iconvdata/cp932.c : Likewise.
41296         * iconvdata/euc-cn.c: Likewise.
41297         * iconvdata/euc-jisx0213.c : Likewise.
41298         * iconvdata/euc-jp.c: Likewise.
41299         * iconvdata/euc-jp-ms.c : Likewise.
41300         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
41301         * iconvdata/gb18030.c : Likewise.
41302         * iconvdata/gbbig5.c (const): Likewise.
41303         * iconvdata/gbgbk.c: Likewise.
41304         * iconvdata/gbk.c : Likewise.
41305         * iconvdata/ibm1364.c : Likewise.
41306         * iconvdata/ibm930.c : Likewise.
41307         * iconvdata/ibm932.c: Likewise.
41308         * iconvdata/ibm933.c : Likewise.
41309         * iconvdata/ibm935.c : Likewise.
41310         * iconvdata/ibm937.c : Likewise.
41311         * iconvdata/ibm939.c : Likewise.
41312         * iconvdata/ibm943.c: Likewise.
41313         * iconvdata/iso_11548-1.c: Likewise.
41314         * iconvdata/iso-2022-cn.c : Likewise.
41315         * iconvdata/iso-2022-cn-ext.c : Likewise.
41316         * iconvdata/iso-2022-jp-3.c: Likewise.
41317         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
41318         * iconvdata/iso-2022-kr.c : Likewise.
41319         * iconvdata/iso646.c (gconv_end): Likewise.
41320         * iconvdata/iso_6937-2.c : Likewise.
41321         * iconvdata/iso_6937.c : Likewise.
41322         * iconvdata/iso8859-1.c: Likewise.
41323         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
41324         * iconvdata/shift_jisx0213.c : Likewise.
41325         * iconvdata/sjis.c : Likewise.
41326         * iconvdata/t.61.c : Likewise.
41327         * iconvdata/tcvn5712-1.c : Likewise.
41328         * iconvdata/tscii.c: Likewise.
41329         * iconvdata/uhc.c : Likewise.
41330         * iconvdata/unicode.c (gconv_end): Likewise.
41331         * iconvdata/utf-16.c (gconv_end): Likewise.
41332         * iconvdata/utf-32.c (gconv_end): Likewise.
41333         * iconvdata/utf-7.c (base64): Likewise.
41334         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
41335         * iconv/gconv_close.c (__gconv_close): Likewise.
41336         * iconv/gconv_open.c (__gconv_open): Likewise.
41337         * iconv/gconv_simple.c (internal_ucs4_loop_single)
41338         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
41339         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
41340         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
41341         (ucs4le_internal_loop_single): Likewise.
41342         * iconv/iconv.c (iconv): Likewise.
41343         * iconv/iconv_close.c: Likewise.
41344         * iconv/loop.c (SINGLE): Likewise.
41345         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
41346         * include/atomic.h: Likewise.
41347         * inet/inet6_option.c (option_alloc): Likewise.
41348         * intl/bindtextdom.c (set_binding_values): Likewise.
41349         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
41350         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
41351         * intl/localealias.c (read_alias_file): Likewise.
41352         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
41353         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
41354         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
41355         * libio/fmemopen.c (fmemopen): Likewise.
41356         * libio/iofgets.c (_IO_fgets): Likewise.
41357         * libio/iofgets_u.c (fgets_unlocked): Likewise.
41358         * libio/iofgetws.c (fgetws): Likewise.
41359         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
41360         * libio/iogetdelim.c (_IO_getdelim): Likewise.
41361         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
41362         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
41363         * locale/findlocale.c (_nl_find_locale): Likewise.
41364         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
41365         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
41366         Likewise.
41367         * locale/setlocale.c (setlocale): Likewise.
41368         * login/programs/pt_chown.c (main): Likewise.
41369         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
41370         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
41371         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
41372         (mmap, mmap64, mremap, munmap): Likewise.
41373         * math/e_exp2l.c: Likewise.
41374         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
41375         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
41376         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
41377         * math/s_catan.c (__catan): Likewise.
41378         * math/s_catanf.c (__catanf): Likewise.
41379         * math/s_catanh.c (__catanh): Likewise.
41380         * math/s_catanhf.c (__catanhf): Likewise.
41381         * math/s_catanhl.c (__catanhl): Likewise.
41382         * math/s_catanl.c (__catanl): Likewise.
41383         * math/s_ccosh.c (__ccosh): Likewise.
41384         * math/s_ccoshf.c (__ccoshf): Likewise.
41385         * math/s_ccoshl.c (__ccoshl): Likewise.
41386         * math/s_cexp.c (__cexp): Likewise.
41387         * math/s_cexpf.c (__cexpf): Likewise.
41388         * math/s_cexpl.c (__cexpl): Likewise.
41389         * math/s_clog10.c (__clog10): Likewise.
41390         * math/s_clog10f.c (__clog10f): Likewise.
41391         * math/s_clog10l.c (__clog10l): Likewise.
41392         * math/s_clog.c (__clog): Likewise.
41393         * math/s_clogf.c (__clogf): Likewise.
41394         * math/s_clogl.c (__clogl): Likewise.
41395         * math/s_csin.c (__csin): Likewise.
41396         * math/s_csinf.c (__csinf): Likewise.
41397         * math/s_csinh.c (__csinh): Likewise.
41398         * math/s_csinhf.c (__csinhf): Likewise.
41399         * math/s_csinhl.c (__csinhl): Likewise.
41400         * math/s_csinl.c (__csinl): Likewise.
41401         * math/s_csqrt.c (__csqrt): Likewise.
41402         * math/s_csqrtf.c (__csqrtf): Likewise.
41403         * math/s_csqrtl.c (__csqrtl): Likewise.
41404         * math/s_ctan.c (__ctan): Likewise.
41405         * math/s_ctanf.c (__ctanf): Likewise.
41406         * math/s_ctanh.c (__ctanh): Likewise.
41407         * math/s_ctanhf.c (__ctanhf): Likewise.
41408         * math/s_ctanhl.c (__ctanhl): Likewise.
41409         * math/s_ctanl.c (__ctanl): Likewise.
41410         * math/w_pow.c: Likewise.
41411         * math/w_powf.c: Likewise.
41412         * math/w_powl.c: Likewise.
41413         * math/w_scalb.c (sysv_scalb): Likewise.
41414         * math/w_scalbf.c (sysv_scalbf): Likewise.
41415         * math/w_scalbl.c (sysv_scalbl): Likewise.
41416         * misc/error.c (error_tail): Likewise.
41417         * misc/pselect.c (__pselect): Likewise.
41418         * nis/nis_callback.c (__nis_create_callback): Likewise.
41419         * nis/nis_call.c (__nisfind_server): Likewise.
41420         * nis/nis_creategroup.c (nis_creategroup): Likewise.
41421         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
41422         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
41423         * nis/nis_getservlist.c (nis_getservlist): Likewise.
41424         * nis/nis_lookup.c (nis_lookup): Likewise.
41425         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
41426         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
41427         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
41428         * nis/nis_xdr.c (xdr_endpoint): Likewise.
41429         * nis/nss_compat/compat-grp.c (getgrent_next_file)
41430         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
41431         * nis/nss_compat/compat-initgroups.c (add_group)
41432         (internal_getgrent_r): Likewise.
41433         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
41434         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
41435         * nis/nss_compat/compat-spwd.c (getspent_next_file)
41436         (internal_getspnam_r): Likewise.
41437         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
41438         (_nss_nis_getaliasbyname_r): Likewise.
41439         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
41440         (_nss_nis_getntohost_r): Likewise.
41441         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
41442         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
41443         (_nss_nis_getgrgid_r): Likewise.
41444         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
41445         (internal_nis_gethostent_r, internal_gethostbyname2_r)
41446         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
41447         (_nss_nis_gethostbyname4_r): Likewise.
41448         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
41449         (initgroups_netid): Likewise.
41450         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
41451         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
41452         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
41453         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
41454         (_nss_nis_getprotobynumber_r): Likewise.
41455         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
41456         (_nss_nis_getsecretkey): Likewise.
41457         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
41458         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
41459         (_nss_nis_getpwuid_r): Likewise.
41460         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
41461         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
41462         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
41463         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
41464         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
41465         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
41466         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
41467         Likewise.
41468         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
41469         (_nss_nisplus_getntohost_r): Likewise.
41470         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
41471         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
41472         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
41473         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
41474         Likewise.
41475         * nis/nss_nisplus/nisplus-initgroups.c
41476         (_nss_nisplus_initgroups_dyn): Likewise.
41477         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
41478         (_nss_nisplus_getnetbyaddr_r): Likewise.
41479         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
41480         (_nss_nisplus_getprotobynumber_r): Likewise.
41481         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
41482         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
41483         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
41484         Likewise.
41485         * nis/nss_nisplus/nisplus-service.c
41486         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
41487         (_nss_nisplus_getservbyport_r): Likewise.
41488         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
41489         (_nss_nisplus_getspnam_r): Likewise.
41490         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
41491         Likewise.
41492         * nscd/aicache.c (addhstaiX): Likewise.
41493         * nscd/cache.c (cache_search, prune_cache): Likewise.
41494         * nscd/connections.c (register_traced_file, send_ro_fd)
41495         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
41496         (main_loop_epoll): Likewise.
41497         * nscd/grpcache.c (addgrbyX): Likewise.
41498         * nscd/hstcache.c (addhstbyX): Likewise.
41499         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41500         * nscd/mem.c (gc, mempool_alloc): Likewise.
41501         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
41502         (addinnetgrX): Likewise.
41503         * nscd/nscd-client.h (__nscd_acquire_maplock)
41504         (__nscd_drop_map_ref): Likewise.
41505         * nscd/nscd_getai.c (__nscd_getai): Likewise.
41506         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
41507         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
41508         Likewise.
41509         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
41510         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41511         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
41512         (__nscd_get_map_ref): Likewise.
41513         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
41514         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
41515         Likewise.
41516         * nscd/pwdcache.c (addpwbyX): Likewise.
41517         * nscd/selinux.c (preserve_capabilities): Likewise.
41518         * nscd/servicescache.c (addservbyX): Likewise.
41519         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
41520         * posix/fnmatch.c (fnmatch): Likewise.
41521         * posix/getopt.c (_getopt_internal_r): Likewise.
41522         * posix/glob.c (glob, glob_in_dir): Likewise.
41523         * posix/wordexp.c (exec_comm_child): Likewise.
41524         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
41525         (getanswer_r, gaih_getanswer_slice): Likewise.
41526         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
41527         * resolv/res_init.c: Likewise.
41528         * resolv/res_mkquery.c (res_nmkquery): Likewise.
41529         * resolv/res_query.c (__libc_res_nquery): Likewise.
41530         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
41531         Likewise.
41532         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
41533         * stdio-common/perror.c (perror): Likewise.
41534         * stdio-common/printf_fp.c (___printf_fp): Likewise.
41535         * stdio-common/tmpnam.c (tmpnam): Likewise.
41536         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
41537         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
41538         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
41539         Likewise.
41540         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
41541         * stdlib/putenv.c (putenv): Likewise.
41542         * stdlib/setenv.c (__add_to_environ): Likewise.
41543         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
41544         * stdlib/strtol_l.c (INTERNAL): Likewise.
41545         * string/memmem.c (memmem): Likewise.
41546         * string/strerror.c (strerror): Likewise.
41547         * string/strnlen.c (__strnlen): Likewise.
41548         * string/test-memmem.c (simple_memmem): Likewise.
41549         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
41550         * sunrpc/pm_getport.c (__get_socket): Likewise.
41551         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
41552         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
41553         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
41554         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
41555         Likewise.
41556         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
41557         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
41558         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
41559         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
41560         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
41561         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
41562         Likewise.
41563         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
41564         Likewise.
41565         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
41566         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
41567         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41568         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
41569         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
41570         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
41571         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
41572         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
41573         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
41574         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
41575         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41576         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
41577         Likewise.
41578         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
41579         Likewise.
41580         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
41581         Likewise.
41582         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
41583         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41584         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
41585         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
41586         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
41587         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
41588         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41589         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
41590         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
41591         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
41592         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
41593         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41594         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
41595         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
41596         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41597         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
41598         Likewise.
41599         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
41600         Likewise.
41601         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
41602         Likewise.
41603         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
41604         Likewise.
41605         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41606         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41607         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
41608         Likewise.
41609         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
41610         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
41611         * sysdeps/posix/opendir.c (__opendirat): Likewise.
41612         * sysdeps/posix/sleep.c: Likewise.
41613         * sysdeps/posix/tempname.c: Likewise.
41614         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
41615         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41616         Likewise.
41617         * sysdeps/powerpc/powerpc32/dl-machine.h
41618         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
41619         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41620         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41621         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
41622         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
41623         Likewise.
41624         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
41625         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
41626         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41627         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
41628         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41629         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
41630         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
41631         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
41632         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41633         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
41634         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
41635         (elf_machine_lazy_rel): Likewise.
41636         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41637         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
41638         (elf_machine_lazy_rel): Likewise.
41639         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
41640         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
41641         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
41642         * sysdeps/unix/grantpt.c (grantpt): Likewise.
41643         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
41644         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
41645         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
41646         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41647         Likewise.
41648         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
41649         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
41650         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
41651         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
41652         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
41653         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
41654         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
41655         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
41656         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
41657         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
41658         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41659         Likewise.
41660         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
41661         (__posix_fallocate64_l64): Likewise.
41662         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
41663         (posix_fallocate): Likewise.
41664         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
41665         Likewise.
41666         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41667         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
41668         (getifaddrs_internal): Likewise.
41669         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
41670         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
41671         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
41672         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
41673         * sysdeps/unix/sysv/linux/posix_fallocate64.c
41674         (__posix_fallocate64_l64): Likewise.
41675         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
41676         Likewise.
41677         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
41678         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
41679         (__get_clockfreq): Likewise.
41680         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
41681         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
41682         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
41683         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41684         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41685         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
41686         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
41687         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
41688         Likewise.
41689         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
41690         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
41691         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
41692         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
41693         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41694         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
41695         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
41696         Likewise.
41697         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41698         (posix_fallocate): Likewise.
41699         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41700         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
41701         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
41702         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
41703         (elf_machine_rela, elf_machine_rela_relative)
41704         (elf_machine_lazy_rel): Likewise.
41705         * time/asctime.c (asctime_internal): Likewise.
41706         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
41707         * time/tzset.c (__tzset_parse_tz): Likewise.
41708         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
41709         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
41710         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
41711         * wcsmbs/wcsmbsload.h: Likewise.
41713         [BZ #15894]
41714         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
41716         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
41717         (arena_get2): Remove THREAD_STATS conditionals.
41718         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
41719         (__malloc_stats, int): Likewise.
41721 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
41723         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
41724         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
41726         * manual/setjmp.texi: Fix typos/grammar errors.
41728         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
41729         Only return early when n is <= 0.  Delete unused return statement.
41731         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
41732         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
41733         * debug/tst-longjmp_chk3.c: New file.
41735         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
41736         (test_main): Replace code with set_fortify_handler call.
41737         * debug/test-strcpy_chk.c: Likewise.
41738         * debug/tst-chk1.c: Likewise.
41739         * debug/tst-longjmp_chk.c: Likewise.
41740         * test-skeleton.c: Include fcntl.h & paths.h
41741         (set_fortify_handler): Define.
41743         * debug/tst-longjmp_chk.c: Add header comment and include
41744         ../test-skeleton.c.
41745         (do_test): Mark static.
41746         (TEST_FUNCTION): Define.
41748         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
41749         (IP_PMTUDISC_INTERFACE): Likewise.
41750         (IP_MULTICAST_IF): Likewise.
41751         (IP_MULTICAST_TTL): Likewise.
41752         (IP_MULTICAST_LOOP): Likewise.
41753         (IP_ADD_MEMBERSHIP): Likewise.
41754         (IP_DROP_MEMBERSHIP): Likewise.
41755         (IP_UNBLOCK_SOURCE): Likewise.
41756         (IP_BLOCK_SOURCE): Likewise.
41757         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
41758         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
41759         (IP_MSFILTER): Likewise.
41760         (MCAST_JOIN_GROUP): Likewise.
41761         (MCAST_BLOCK_SOURCE): Likewise.
41762         (MCAST_UNBLOCK_SOURCE): Likewise.
41763         (MCAST_LEAVE_GROUP): Likewise.
41764         (MCAST_JOIN_SOURCE_GROUP): Likewise.
41765         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
41766         (MCAST_MSFILTER): Likewise.
41767         (IP_MULTICAST_ALL): Likewise.
41768         (IP_UNICAST_IF): Likewise.
41770         * timezone/Makefile: Delete $(have-ksh) check.
41771         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
41772         * timezone/tzselect.ksh: Add +x mode bits.
41774         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
41775         (ANON_INODE_FS_MAGIC): Likewise.
41776         (BDEVFS_MAGIC): Likewise.
41777         (BINFMTFS_MAGIC): Likewise.
41778         (BTRFS_TEST_MAGIC): Likewise.
41779         (CRAMFS_MAGIC_WEND): Likewise.
41780         (DEBUGFS_MAGIC): Likewise.
41781         (ECRYPTFS_SUPER_MAGIC): Likewise.
41782         (EXT3_SUPER_MAGIC): Likewise.
41783         (EXT4_SUPER_MAGIC): Likewise.
41784         (FUTEXFS_SUPER_MAGIC): Likewise.
41785         (HOSTFS_SUPER_MAGIC): Likewise.
41786         (HUGETLBFS_MAGIC): Likewise.
41787         (MINIX3_SUPER_MAGIC): Likewise.
41788         (MTD_INODE_FS_MAGIC): Likewise.
41789         (NILFS_SUPER_MAGIC): Likewise.
41790         (OPENPROM_SUPER_MAGIC): Likewise.
41791         (PIPEFS_MAGIC): Likewise.
41792         (PSTOREFS_MAGIC): Likewise.
41793         (QNX6_SUPER_MAGIC): Likewise.
41794         (RAMFS_MAGIC): Likewise.
41795         (REISERFS_SUPER_MAGIC_STRING): Likewise.
41796         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
41797         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
41798         (SECURITYFS_MAGIC): Likewise.
41799         (SELINUX_MAGIC): Likewise.
41800         (SMACK_MAGIC): Likewise.
41801         (SOCKFS_MAGIC): Likewise.
41802         (SQUASHFS_MAGIC): Likewise.
41803         (STACK_END_MAGIC): Likewise.
41804         (TMPFS_MAGIC): Likewise.
41805         (USBDEVICE_SUPER_MAGIC): Likewise.
41806         (V9FS_MAGIC): Likewise.
41807         (XENFS_SUPER_MAGIC): Likewise.
41808         (CRAMFS_MAGIC): Fix typo in comment.
41809         (EXT2_SUPER_MAGIC): Update comment.
41810         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
41812 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
41814         * sysdeps/arm: Move directory from ports/sysdeps/arm.
41815         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
41816         * sysdeps/unix/sysv/linux/arm: Move directory from
41817         ports/sysdeps/unix/sysv/linux/arm.
41818         * README: Update listing for arm-*-linux-gnueabi.
41820         * README: Remove mention of am33.
41822 2014-02-07  Roland McGrath  <roland@hack.frob.com>
41824         * bits/sigset.h (__sigemptyset): Use a statement expression rather
41825         than the comma operator, to avoid "rhs of comma has no effect"
41826         compiler warnings.
41827         (__sigfillset, __sigandset, __sigorset): Likewise.
41828         * include/signal.h (__sigemptyset): Likewise.
41829         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
41831 2014-02-07  Allan McRae  <allan@archlinux.org>
41833         * version.h (RELEASE): Set to "development".
41834         (VERSION): Set to "2.19.90"
41835         * NEWS: Add 2.20 section.
41837 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
41839         [BZ #16529]
41840         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
41842 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41844         * manual/contrib.texi: Update entry for Carlos O'Donell,
41845         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
41847 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
41849         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
41851         * sysdeps/unix/sysv/linux/kernel-features.h
41852         [__LINUX_KERNEL_VERSION >= 0x020621]
41853         (__ASSUME_PROC_PID_TASK_COMM): Define.
41855 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41857         [BZ #16398]
41858         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
41859         conversion when destination buffer does not have enough space.
41860         * libio/tst-ftell-partial-wide.c: New test case.
41861         * libio/Makefile (tests): Add tst-ftell-partial-wide.
41863         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
41864         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
41865         Leonard and Allan McRae.
41867 2014-02-04  David S. Miller  <davem@davemloft.net>
41869         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
41870         32-bit.
41872 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
41875         New file
41876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
41877         New file
41878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
41879         New file.
41880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
41881         New file.
41882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
41883         New file.
41884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
41885         New file.
41886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
41887         New file.
41888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
41889         New file.
41890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
41891         New file.
41892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
41893         New file.
41894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
41895         New file.
41896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
41897         New file.
41898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
41899         New file.
41901 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41903         * nptl/shlib-versions: Change powerpc*le start to 2.17.
41904         * shlib-versions: Likewise.
41906 2014-02-04  Roland McGrath  <roland@hack.frob.com>
41907             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41909         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
41910         (abilist-pattern): New variable, set to %-le.abilist.
41912         * Makerules (abilist-pattern): New variable.
41913         (vpath): Use $(abilist-pattern) in place of %.abilist.
41914         (check-abi-% pattern rule): Likewise.
41915         (check-abi, update-abi): Likewise.
41917 2014-02-04  Eric Wong  <normalperson@yhbt.net>
41919         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41921 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
41923         * manual/startup.texi: Add next, previous, and top entries for
41924         the `Program Arguments' and `Environment Variables' nodes.
41926 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
41928         * manual/macros.texi: Add comments before MTASC-safety macros.
41930         * manual/users.texi: Document MTASC-safety properties.
41932         * manual/threads.texi (pthread_key_create, pthread_key_delete)
41933         (pthread_getspecific, pthread_setspecific): Format with
41934         @deftypefun, and add @safety note.
41935         * manual/signal.texi: Move comments that analyze the above
41936         functions to their home place.
41938 2014-02-03  Allan McRae  <allan@archlinux.org>
41940         * po/sl.po: Update Slovenian translation from translation project.
41942 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
41944         * manual/time.texi (timegm): Add missing blank after @c.
41945         Reported by Joseph Myers <joseph@codesourcery.com>.
41947 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
41949         * manual/check-safety.sh: New.
41950         * manual/Makefile ($(objpfx)stamp-summary): Run it.
41952         * manual/terminal.texi: Document MTASC-safety properties.
41954         * manual/filesys.texi: Document MTASC-safety properties.
41956         * manual/errno.texi: Document MTASC-safety properties.
41958         * manual/intro.texi: Document safety identifiers and
41959         conditionals.
41961         * manual/string.texi (wcstok): Fix prototype.
41962         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
41964         * manual/time.texi: Document MTASC-safety properties.
41966         * manual/string.texi: Document MTASC-safety properties.
41968         * manual/threads.texi: Document MTASC-safety properties.
41970         * manual/stdio.texi: Document MTASC-safety properties.
41972         * manual/syslog.texi: Document MTASC-safety properties.
41974         * manual/sysinfo.texi: Document MTASC-safety properties.
41976         * manual/startup.texi: Document MTASC-safety properties.
41978         * manual/socket.texi: Document MTASC-safety properties.
41980         * manual/signal.texi: Document MTASC-safety properties.
41982 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
41984         * manual/setjmp.texi: Document MTASC-safety properties.
41986         * manual/search.texi: Document MTASC-safety properties.
41988         * manual/resource.texi: Document MTASC-safety properties.
41990         * manual/process.texi: Document MTASC-safety properties.
41992         * manual/platform.texi: Document MTASC-safety properties.
41994         * manual/pipe.texi: Document MTASC-safety properties.
41996         * manual/pattern.texi: Document MTASC-safety properties.
41998         * manual/message.texi: Document MTASC-safety properties.
42000         [BZ #12751]
42001         * manual/memory.texi: Document MTASC-safety properties.
42003         * manual/math.texi: Document MTASC-safety properties.
42005         * manual/locale.texi: Document MTASC-safety properties.
42007         * manual/llio.texi: Document MTASC-safety properties.
42009         * manual/libdl.texi: New.
42011         * manual/lang.texi: Document MTASC-safety properties.
42013         * manual/job.texi: Document MTASC-safety properties.
42015         * manual/getopt.texi: Document MTASC-safety properties.
42017         * manual/ctype.texi: Document MTASC-safety properties.
42019 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
42021         [BZ #16046]
42022         * csu/libc-tls.c (static_map): Remove variable.
42023         (__libc_setup_tls): Use main executable's link map for TLS data.
42024         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
42025         casing for LM_ID_BASE and GL(dl_nns).
42026         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
42027         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
42028         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
42029         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
42030         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
42031         member.
42032         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
42033         l_phnum members.
42035 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
42037         * manual/debug.texi: Document MTASC-safety properties.
42039 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
42041         [BZ #16510]
42042         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
42043         of __x86_64__ when disabling x87 inline functions.
42045 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
42047         * manual/charset.texi: Document MTASC-safety properties.
42049         * manual/crypt.texi: Document MTASC-safety properties.
42051         * manual/conf.texi: Document MTASC-safety properties.
42053         * manual/arith.texi: Document MTASC-safety properties.
42055         * manual/argp.texi: Document MTASC-safety properties.
42057         * manual/macros.texi: Introduce macros to document multi
42058         thread, asynchronous signal and asynchronous cancellation
42059         safety properties.
42060         * manual/intro.texi: Introduce the properties themselves.
42062 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42064         * sysdeps/sh/sh4/Makefile: New file.
42066 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
42068         * math/gen-libm-test.pl ($srcdir): New variable.
42069         ($auto_input): Use it.
42071 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42073         [BZ #16506]
42074         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
42075         access beyond array bounds when parsing netgroups file.
42077         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
42078         the old buffer before realloc.
42080 2014-01-27  Allan McRae  <allan@archlinux.org>
42082         * po/fr.po: Update French translation from translation project.
42084 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42086         * sysdeps/sh/libm-test-ulps: Regenerate.
42088 2014-01-24  David S. Miller  <davem@davemloft.net>
42090         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
42092 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42094         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
42095         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
42097 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42099         [BZ #16474]
42100         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
42101         string pointers after reallocation.
42103 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42105         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
42106         __SH4A__ instead of __SH_FPU_ANY__.
42108 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42110         * sysdeps/sh/fpu_control.h: New file.
42111         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
42112         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
42113         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
42114         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
42115         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
42116         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
42117         * sysdeps/sh/sys/ucontext.h: Remove.
42118         * sysdeps/sh/sys: Remove directory.
42120 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42122         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
42123         s390/sys/ucontext.h.
42124         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
42125         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
42127 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
42129         [BZ #15605]
42130         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
42132 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42134         [BZ#16431]
42135         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
42136         Adjust the vDSO correctly for internal calls.
42137         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
42139 2014-01-20  Allan McRae  <allan@archlinux.org>
42141         * po/ca.po: Update Catalan translation from translation project.
42143 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
42145         * sysdeps/s390/sotruss-lib.c: New file.
42147 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42149         [BZ#16430]
42150         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
42151         (__GI___gettimeofday): Alias for a different internal symbol to avoid
42152         local calls issues by not having a PLT stub required for IFUNC calls.
42153         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
42155 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
42157         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
42158         * math/test-fpucw-static.c: Likewise.
42160 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42162         [BZ #16453]
42163         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
42165 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42167         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
42168         implementation for powerpc.
42170 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
42172         [BZ #14782]
42173         * sysdeps/posix/system.c (__libc_system): Do not enable
42174         asynchronous cancellation.
42176 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42178         [BZ #16427]
42179         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
42180         handling only for numbers special also in the IEEE case.
42182 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42184         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42186 2014-01-11  Allan McRae  <allan@archlinux.org>
42188         * po/bg.po: Update Bulgarian translation from translation project.
42190         * po/de.po: Update German translation from translation project.
42192 2014-01-10  Roland McGrath  <roland@hack.frob.com>
42194         * sysdeps/generic/gcc-compat.h: New file.
42196 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42198         * benchtests/asin-inputs: Correct slow inputs.
42199         * benchtests/acos-inputs: Likewise.
42201 2014-01-10  Allan McRae  <allan@archlinux.org>
42203         * po:sv.po: Update Swedish translation from translation project.
42205         * po/vi.po: Update Vietnamese translation from translation project.
42207         * po/eo.po: Update Esperanto translation from translation project.
42209         * po/cs.po: Update Czech translation from translation project.
42211         * po/nl.po: Update Dutch translation from translation project.
42213         * po/pl.po: Update Polish translation from translation project.
42215         * po/ru.po: Update Russian translation from translation project.
42217         * po/uk.po: Update Ukrainian translation from translation project.
42219 2014-01-08  Brooks Moses  <bmoses@google.com>
42221         * elf/dl-load.c: Fix comment typo.
42223 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
42225         * po/header.pot: Rename to...
42226         * po/pot.header: ... this.
42227         * po/Makefile: Use pot.header.
42229 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
42230             Maxim Kuvyrkov  <maxim@kugelworks.com>
42232         [BZ #16394]
42233         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
42234         SRC and DEST against LEN.
42236 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42238         [BZ #16414]
42239         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
42240         implementation.
42241         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
42243 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42245         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42247 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
42249         [BZ #16408]
42250         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
42251         for large positive arguments.
42253 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
42255         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42257         * math/auto-libm-test-in: Mark various tests with
42258         xfail-rounding:ldbl-128ibm.
42259         * math/auto-libm-test-out: Regenerated.
42261         [BZ #16407]
42262         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
42263         Increase overflow threshold.
42265 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
42267         [BZ #14286]
42268         * stdio-common/vfprintf.c: Check for integer overflow.
42270 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42272         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
42273         the first argument and return value of __tls_get_addr_internal.
42275 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42277         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
42278         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
42280 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42282         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
42283         * sysdeps/s390/rtld-global-offsets.sym: New file.
42284         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
42285         GLIBC_2.19 symbol.
42286         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
42287         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
42288         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
42289         ... this.
42290         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
42291         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
42292         ... this.
42293         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42294         Regenerate.
42295         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42296         Regenerate.
42297         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
42298         halfs of GPRs for high_gprs contexts.
42299         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
42300         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
42301         field.
42302         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
42303         uc_flags field.
42304         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
42305         64 bit versions:
42306         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
42307         for high GPRs (uc_high_gprs) and for future extensions
42308         (__reserved).
42309         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
42310         for future extensions (__reserved).
42311         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
42312         64 bit versions:
42313         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
42314         SC_HIGHGPRS offset definition.
42315         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
42316         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
42318         * Versions.def: Add GLIBC_2.19 for libpthread.
42319         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
42320         siglongjmp for libpthread with GLIBC_2.19 symver.
42321         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
42322         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
42323         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
42324         * sysdeps/s390/__longjmp.c: New file.
42325         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
42326         * sysdeps/s390/longjmp.c: New file.
42327         * sysdeps/s390/setjmp.S: New file.
42328         * sysdeps/s390/sigjmp.S: New file.
42329         * sysdeps/s390/v1-longjmp.c: New file.
42330         * sysdeps/s390/v1-setjmp.h: New file.
42331         * sysdeps/s390/v1-sigjmp.c: New file.
42332         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
42333         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
42334         GLIBC_2.19 version.
42335         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
42336         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
42337         versioned symbols for ____longjmp_chk.
42338         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
42339         Likewise.
42340         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42341         Regenerate.
42342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42343         Regenerate.
42344         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42345         Regenerate.
42346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42347         Regenerate.
42348         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
42349         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
42350         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
42351         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
42352         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
42353         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
42354         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
42355         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
42356         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
42357         * sysdeps/s390/rtld-__longjmp.c: New file.
42358         * sysdeps/s390/rtld-setjmp.S: New file.
42360 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
42362         [BZ #16400]
42363         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42364         Return -__logl (x) for small positive arguments without evaluating
42365         a polynomial.
42367 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
42369         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
42370         Rename to ...
42371         (__ptrace_peeksiginfo_args): ... this.
42372         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42373         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42374         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42376 2014-01-06  Allan McRae  <allan@archlinux.org>
42378         * inet/netinet/in.h: Fix typo in comment.
42380 2014-01-05  Andreas Jaeger  <aj@suse.de>
42382         * sysdeps/i386/fpu/libm-test-ulps: Update.
42384 2014-01-05  Allan McRae  <allan@archlinux.org>
42386         * po/libc.pot: Regenerated.
42388         * malloc/memusagestat.c: Fix gettext call formatting.
42390 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
42392         * nscd/nscd.c: Improve usage() output.
42394 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
42396         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
42397         * sysdeps/unix/sysv/linux/configure: Regenerated.
42398         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
42399         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
42401 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42403         [BZ #16390]
42404         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
42405         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
42407 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42409         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
42410         extra tokens at end of #undef directive.
42411         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
42412         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
42413         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
42415 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42417         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42419         * math/auto-libm-test-in: Mark various tests with
42420         xfail-rounding:ldbl-128ibm.
42421         * math/auto-libm-test-out: Regenerated.
42423 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
42425         [BZ #16386]
42426         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
42427         numbers with subnormal high part when calculating exponent.
42429         [BZ #16385]
42430         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
42431         fabs.
42433         [BZ #16384]
42434         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
42435         M_LN2l.
42436         (__ieee754_acoshl): Use __log1pl not __log1p.
42438 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
42440         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
42441         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
42442         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
42443         (grow_heap, heap_trim, _int_new_arena, get_free_list)
42444         (reused_arena, arena_get2): Convert to GNU style.
42445         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
42446         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
42447         (memalign_check, __malloc_set_state): Likewise.
42448         * malloc/mallocbug.c (main): Likewise.
42449         * malloc/malloc.c (__malloc_assert, malloc_init_state)
42450         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
42451         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
42452         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
42453         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
42454         (__posix_memalign, malloc_info): Likewise.
42455         * malloc/malloc.h: Likewise.
42456         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
42457         (mallochook, memalignhook, reallochook, mabort): Likewise.
42458         * malloc/mcheck.h: Likewise.
42459         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
42460         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
42461         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
42462         * malloc/morecore.c (__default_morecore): Likewise.
42463         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
42464         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
42465         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
42466         (print_and_abort): Likewise.
42467         * malloc/obstack.h: Likewise.
42468         * malloc/set-freeres.c (__libc_freeres): Likewise.
42469         * malloc/tst-mallocstate.c (main): Likewise.
42470         * malloc/tst-mtrace.c (main): Likewise.
42471         * malloc/tst-realloc.c (do_test): Likewise.
42473 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42475         [BZ #16366]
42476         * nscd/netgroupcache.c (do_notfound): New function.
42477         (addgetnetgrentX): Use it.
42479         [BZ # 16365]
42480         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
42481         NSS_STATUS_NOTFOUND.
42483 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
42485         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
42486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42488 2014-01-01  Allan McRae  <allan@archlinux.org>
42490         * scripts/update-copyrights: Update configure input file suffix.
42492         * NEWS: Update copyright year.
42493         * catgets/gencat.c: Likewise.
42494         * csu/version.c: Likewise.
42495         * debug/catchsegv.sh: Likewise.
42496         * debug/pcprofiledump.c: Likewise.
42497         * debug/xtrace.sh: Likewise.
42498         * elf/ldconfig.c: Likewise.
42499         * elf/ldd.bash.in: Likewise.
42500         * elf/pldd.c: Likewise.
42501         * elf/sotruss.ksh: Likewise.
42502         * elf/sprof.c: Likewise.
42503         * iconv/iconv_prog.c: Likewise.
42504         * iconv/iconvconfig.c: Likewise.
42505         * locale/programs/locale.c: Likewise.
42506         * locale/programs/localedef.c: Likewise.
42507         * login/programs/pt_chown.c: Likewise.
42508         * malloc/memusage.sh: Likewise.
42509         * malloc/memusagestat.c: Likewise.
42510         * malloc/mtrace.pl: Likewise.
42511         * manual/libc.texinfo: Likewise.
42512         * nscd/nscd.c: Likewise.
42513         * nss/getent.c: Likewise.
42514         * nss/makedb.c: Likewise.
42515         * posix/getconf.c: Likewise.
42516         * scripts/test-installation.pl: Likewise.
42518         * All files with FSF copyright notices: Update copyright dates
42519         using scripts/update-copyrights.
42520         * intl/plural.c: Regenerated.
42521         * locale/programs/charmap-kw.h: Likewise.
42522         * locale/programs/locfile-kw.h: Likewise.
42524 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
42526         * sysdeps/unix/sysv/linux/configure: Regenerated.
42527         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
42528         the linux/fanotify.h header.
42529         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
42530         HAVE_LINUX_FANOTIFY_H is defined.
42532 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
42534         * benchtests/cos-inputs: New inputs.
42535         * benchtests/sin-inputs: Likewise.
42537         * benchtests/atan-inputs: New inputs. Fix name of multiple
42538         precision fallback inputs.
42540         * benchtests/atanh-inputs: New inputs.
42541         * benchtests/tanh-inputs: Likewise.
42543         * benchtests/acosh-inputs: New inputs.
42544         * benchtests/asinh-inputs: Likewise.
42546         * benchtests/cosh-inputs: New inputs.
42547         * benchtests/sinh-inputs: Likewise.
42549         * benchtests/acos-inputs: Add more inputs.
42550         * benchtests/asin-inputs: Likewise.
42552 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
42554         [BZ #16375]
42555         * manual/arith.texi: Fix spelling.
42556         * manual/charset.texi: Likewise.
42557         * manual/errno.texi: Likewise.
42558         * manual/filesys.texi: Likewise.
42559         * manual/lang.texi: Likewise.
42560         * manual/llio.texi: Likewise.
42561         * manual/locale.texi: Likewise.
42562         * manual/message.texi: Likewise.
42563         * manual/resource.texi: Likewise.
42564         * manual/search.texi: Likewise.
42565         * manual/setjmp.texi: Likewise.
42566         * manual/stdio.texi: Likewise.
42567         * manual/string.texi: Likewise.
42568         * manual/sysinfo.texi: Likewise.
42569         * manual/time.texi: Likewise.
42571 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
42573         * po/sl.po: New file.
42575 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
42577         * .gitignore: Add core/.gdbinit/.gdb_history.
42579 2013-12-27  Allan McRae  <allan@archlinux.org>
42581         [BZ #16369]
42582         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
42583         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
42585 2013-12-24  Brooks Moses  <bmoses@google.com>
42587         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
42588         all compilers that claim C++98 compliance, not just GCC.
42589         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
42590         Likewise.
42592 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42594         * NEWS: Restore accidentally deleted bug-fix entries.
42596 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42597             Ondřej Bílka  <neleai@seznam.cz>
42599         [BZ #15073]
42600         * malloc/malloc.c (_int_free): Perform sanity check only if we
42601         have_lock.
42603 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
42605         [BZ #12986]
42606         * manual/stdio.texi (String Input Conversions): Clarify that character
42607         classes are not supported.
42609 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42611         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42613 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
42615         [BZ #16337]
42616         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42617         Calculate results for small negative arguments directly rather
42618         than using reflection formula with special underflow handling.
42620         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
42621         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
42622         sysdeps/unix/bsd/bsd4.4/syscalls.list.
42623         (fchflags): Likewise.
42624         (revoke): Likewise.
42625         (setlogin): Likewise.
42626         (sigaltstack): Likewise.
42627         (wait4): Likewise.
42628         (sigblock): Remove.
42629         (sigsetmask): Likewise.
42630         (wait3): Likewise.
42631         (waitpid): Likewise.
42632         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
42633         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
42634         file.
42635         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
42636         * sysdeps/unix/bsd/Makefile: ... here.
42637         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
42638         * sysdeps/unix/bsd/Versions: ... here.
42639         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
42640         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
42641         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
42642         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
42643         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
42644         * sysdeps/unix/bsd/sigblock.c: ... here.
42645         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
42646         * sysdeps/unix/bsd/sigsetmask.c: ... here.
42647         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
42648         * sysdeps/unix/bsd/sigvec.c: ... here.
42649         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
42650         * sysdeps/unix/bsd/tcdrain.c: ... here.
42651         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
42652         * sysdeps/unix/bsd/tcgetattr.c: ... here.
42653         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
42654         * sysdeps/unix/bsd/tcsetattr.c: ... here.
42655         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
42656         * sysdeps/unix/bsd/wait.c: ... here.
42657         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
42658         * sysdeps/unix/bsd/wait3.c: ... here.
42659         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
42660         * sysdeps/unix/bsd/waitpid.c: ... here.
42662 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
42664         [BZ #16356]
42665         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
42666         round-to-nearest for [!USE_AS_EXPM1L].
42667         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
42668         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
42669         more tests of exp and exp10.  Expect some exp10 tests to miss
42670         exceptions or fail in directed rounding modes.
42671         * math/auto-libm-test-out: Regenerated.
42672         * math/libm-test.inc (exp10_tonearest_test_data): New array.
42673         (exp10_test_tonearest): New function.
42674         (exp10_towardzero_test_data): New array.
42675         (exp10_test_towardzero): New function.
42676         (exp10_downward_test_data): New array.
42677         (exp10_test_downward): New function.
42678         (exp10_upward_test_data): New array.
42679         (exp10_test_upward): New function.
42680         (main): Call the new functions.
42681         * sysdeps/i386/fpu/libm-test-ulps: Update.
42682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42684 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
42686         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
42687         asinh, atan, atan2, atanh, cbrt, cos and cosh.
42688         * math/auto-libm-test-out: Regenerated.
42689         * math/libm-test.inc (acosh_test_data): Add more tests.
42690         (atanh_test_data): Likewise.
42691         (ceil_test_data): Likewise.
42692         (copysign_test_data): Likewise.
42693         * sysdeps/i386/fpu/libm-test-ulps: Update.
42694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42696         * timezone/checktab.awk: Update from tzcode 2013i.
42697         * timezone/private.h: Likewise.
42698         * timezone/scheck.c: Likewise.
42699         * timezone/tzfile.h: Likewise.
42700         * timezone/tzselect.ksh: Likewise.
42701         * timezone/zdump.c: Likewise.
42702         * timezone/zic.c: Likewise.
42704         * math/auto-libm-test-in: Add tests of cpow.
42705         * math/auto-libm-test-out: Regenerated.
42706         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
42707         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42708         mpc_cc_c.
42709         (func_calc_desc): Add mpc_cc_c union field.
42710         (test_functions): Add cpow.
42711         (special_fill_2pi): New function.
42712         (special_real_inputs): Add 2pi.
42713         (calc_generic_results): Handle mpc_cc_c.
42714         * sysdeps/i386/fpu/libm-test-ulps: Update.
42715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42717         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
42718         csqrt, ctan and ctanh.
42719         * math/auto-libm-test-out: Regenerated.
42720         * math/libm-test.inc (TEST_COND_x86_64): New macro.
42721         (TEST_COND_x86): Likewise.
42722         (ccos_test_data): Use AUTO_TESTS_c_c.
42723         (ccosh_test_data): Likewise.
42724         (cexp_test_data): Likewise.
42725         (clog_test_data): Likewise.
42726         (csqrt_test_data): Likewise.
42727         (ctan_test_data): Likewise.
42728         (ctan_tonearest_test_data): Likewise.
42729         (ctan_towardzero_test_data): Likewise.
42730         (ctan_downward_test_data): Likewise.
42731         (ctan_upward_test_data): Likewise.
42732         (ctanh_test_data): Likewise.
42733         (ctanh_tonearest_test_data): Likewise.
42734         (ctanh_towardzero_test_data): Likewise.
42735         (ctanh_downward_test_data): Likewise.
42736         (ctanh_upward_test_data): Likewise.
42737         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42738         mpc_c_c.
42739         (func_calc_desc): Add mpc_c_c union field.
42740         (FUNC_mpc_c_c): New macro.
42741         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
42742         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
42743         ctanh.
42744         (special_fill_min_subnorm_p120): New function.
42745         (special_real_inputs): Add min_subnorm_p120.
42746         (calc_generic_results): Handle mpc_c_c.
42747         * sysdeps/i386/fpu/libm-test-ulps: Update.
42748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42750 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42752         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
42753         (do_sin_slow): New functions.
42754         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
42755         (cslow2, csloww1, csloww2): Use the new functions.
42757         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
42758         Use M to change sign of result instead of X.  Assume X is
42759         positive.
42760         (csloww1): Likewise.
42761         (__sin): Adjust.
42762         (__cos): Adjust.
42764         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
42765         arguments A and DA.
42766         (__sin): Adjust.
42767         (__cos): Likewise.
42769         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
42770         (__cos): Likewise.
42771         (sloww1): Don't adjust sign of DX.
42772         (csloww1): Likewise.
42773         (sloww2): Use X directly and don't adjust sign of DX.
42774         (csloww2): Likewise.
42776 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42778         * math/auto-libm-test-in: Add tests of cabs and carg.
42779         * math/auto-libm-test-out: Regenerated.
42780         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
42781         (carg_test_data): Likewise.
42782         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42783         mpc_c_f.
42784         (func_calc_desc): Add mpc_c_f union field.
42785         (test_functions): Add cabs and carg.
42786         (calc_generic_results): Handle mpc_c_f.
42788         * sysdeps/powerpc/powerpc32/libgcc-compat.S
42789         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
42790         as a macro and a compat symbol.
42791         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
42792         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
42793         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
42794         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
42795         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
42796         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
42797         not use .hidden.
42798         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
42799         Likewise.
42800         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
42801         Likewise.
42802         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
42803         Likewise.
42804         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
42805         Likewise.
42806         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
42807         Likewise.
42808         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
42809         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
42810         from GLIBC_2.3.2.
42812 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42814         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42816 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42818         * manual/texinfo.tex: Update to version 2013-11-26.10 with
42819         trailing whitespace removed.
42820         * scripts/config.guess: Update to version 2013-11-29.
42821         * scripts/config.sub: Update to version 2013-10-01.
42823         * math/auto-libm-test-in: Add tests of sincos.
42824         * math/auto-libm-test-out: Regenerated.
42825         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
42826         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42827         mpfr_f_11.
42828         (func_calc_desc): Add mpfr_f_11 union field.
42829         (test_functions): Add sincos.
42830         (calc_generic_results): Handle mpfr_f_11.
42831         * sysdeps/i386/fpu/libm-test-ulps: Update.
42832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42834 2013-12-19  Andreas Schwab  <schwab@suse.de>
42836         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
42837         CALL_MCOUNT.
42838         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
42839         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
42840         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
42842 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42844         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
42845         * sysdeps/i386/fpu/libm-test-ulps: Update.
42846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42848         [BZ #16293]
42849         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
42850         round-to-nearest mode when using frndint.
42851         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
42852         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
42853         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
42854         Likewise.
42855         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
42856         sinh test to fail.
42857         * math/auto-libm-test-out: Regenerated.
42858         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
42859         (TEST_COND_x86): Likewise.
42860         (expm1_tonearest_test_data): New array.
42861         (expm1_test_tonearest): New function.
42862         (expm1_towardzero_test_data): New array.
42863         (expm1_test_towardzero): New function.
42864         (expm1_downward_test_data): New array.
42865         (expm1_test_downward): New function.
42866         (expm1_upward_test_data): New array.
42867         (expm1_test_upward): New function.
42868         (main): Run the new test functions.
42869         * sysdeps/i386/fpu/libm-test-ulps: Update.
42870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42872         * include/features.h: Update comment documenting feature test
42873         macros.  Mention _DEFAULT_SOURCE in comment.
42874         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
42875         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
42876         _BSD_SOURCE and _SVID_SOURCE.
42877         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
42878         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
42879         !_SVID_SOURCE]: Likewise.
42880         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42881         (__USE_POSIX_IMPLICITLY): Define.
42882         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42883         (_POSIX_SOURCE): Undefine and redefine.
42884         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42885         (_POSIX_C_SOURCE): Likewise.
42886         * manual/creature.texi (_DEFAULT_SOURCE): Document.
42887         (Feature Test Macros): Update documentation of default features.
42889 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42891         * benchtests/Makefile: Add bench-strtok.
42892         * benchtests/bench-strtok.c: New file: strtok benchtest.
42894 2013-12-19  Allan McRae  <allan@archlinux.org>
42896         * manual/install.texi: Suppress menu for plain text output.
42897         * INSTALL: Regenerated.
42899 2013-12-18  Brooks Moses  <bmoses@google.com>
42901         [BZ #15846]
42902         * misc/getauxval.c: Include errno.h.
42903         (__getauxval): Set errno to ENOENT if the requested type is not
42904         found.
42905         * misc/sys/auxv.h (getauxval): Document that it may set errno;
42906         don't declare with __attribute_const__.
42907         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
42908         * manual/startup.texi: Document that getauxval sets errno.
42910 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
42912         * math/auto-libm-test-in: Add tests of jn and yn.
42913         * math/auto-libm-test-out: Regenerated.
42914         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
42915         (yn_test_data): Likewise.
42916         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42917         mpfr_if_f.
42918         (func_calc_desc): Add mpfr_if_f union field.
42919         (FUNC_mpfr_if_f): New macro.
42920         (test_functions): Add jn and yn.
42921         (calc_generic_results): Assert type of second input for
42922         mpfr_ff_f.  Handle mpfr_if_f.
42923         (output_for_one_input_case): Disable all checking for arguments
42924         fitting floating-point types in case of an integer argument.
42925         * sysdeps/i386/fpu/libm-test-ulps: Update.
42926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42929         Don't expect fegetround reference in libm.so.
42931 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42933         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
42934         $(config-cflags-nofma).
42936 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
42938         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
42939         * math/auto-libm-test-out: Regenerated.
42941         [BZ #16338]
42942         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
42943         to determine exponent and adjust argument to have exponent of -1.
42944         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
42945         log2.
42946         * math/auto-libm-test-out: Regenerated.
42947         * sysdeps/i386/fpu/libm-test-ulps: Update.
42948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42950 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
42952         * manual/probes.texi: Remove cases when per-thread arenas are
42953         disabled.
42955 2013-12-18  Andreas Schwab  <schwab@suse.de>
42957         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
42958         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
42959         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
42960         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
42961         * sysdeps/i386/i686/multiarch/Makefile: Update.
42962         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
42964 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42966         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
42967         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
42969 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
42971         [BZ #15968]
42972         Support TZ transition times < 00:00:00.
42973         This is needed for version-3 tz-format files; it supports time
42974         stamps past 2037 for America/Godthab (the only entry in the tz
42975         database for which this change is relevant).
42976         * manual/time.texi (TZ Variable): Document transition times
42977         from -167:59:59 through -00:00:01.
42978         * time/tzset.c (tz_rule): Time of day is now signed.
42979         (__tzset_parse_tz): Parse negative time of day.
42981         Document TZ transition times >= 25:00:00.
42982         * manual/time.texi (TZ Variable): Document transition times from
42983         25:00:00 through 167:59:59.  These are already supported, and this
42984         support will help with version-3 tz-format files.
42986         * manual/time.texi (TZ Variable): Modernize North America example
42987         to reflect current (i.e., 2007-and-later) daylight saving rules.
42989         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
42991 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42993         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
42994         * sysdeps/unix/bsd/bits/stat.h: Likewise.
42995         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
42996         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42997         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
42998         * sysdeps/unix/bsd/bsdstat.h: Likewise.
42999         * sysdeps/unix/bsd/clock.c: Likewise.
43000         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
43001         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
43002         * sysdeps/unix/bsd/init-posix.c: Likewise.
43003         * sysdeps/unix/bsd/poll.c: Likewise.
43004         * sysdeps/unix/bsd/ptsname.c: Likewise.
43005         * sysdeps/unix/bsd/seekdir.c: Likewise.
43006         * sysdeps/unix/bsd/setegid.c: Likewise.
43007         * sysdeps/unix/bsd/seteuid.c: Likewise.
43008         * sysdeps/unix/bsd/setgid.c: Likewise.
43009         * sysdeps/unix/bsd/setrgid.c: Likewise.
43010         * sysdeps/unix/bsd/setruid.c: Likewise.
43011         * sysdeps/unix/bsd/setsid.c: Likewise.
43012         * sysdeps/unix/bsd/setuid.c: Likewise.
43013         * sysdeps/unix/bsd/sigaction.c: Likewise.
43014         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
43015         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
43016         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
43017         * sysdeps/unix/bsd/telldir.c: Likewise.
43018         * sysdeps/unix/bsd/times.c: Likewise.
43019         * sysdeps/unix/bsd/usleep.c: Likewise.
43021         * misc/Makefile (install-lib): Remove libbsd-compat.a.
43022         ($(objpfx)libbsd-compat.a): Remove rule.
43024         * include/features.h (__FAVOR_BSD): Do not define.
43025         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
43026         features conflicting with POSIX.
43027         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
43028         (_BSD_SOURCE): Remove description of not being a subset of other
43029         feature test macros.
43030         * manual/job.texi (getpgrp): Do not document BSD version.
43031         (getpgid): Do not document by reference to BSD getpgrp.
43032         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
43033         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
43034         * signal/signal.h [__FAVOR_BSD]: Likewise.
43035         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
43036         instead of making contents conditional on [__FAVOR_BSD].
43037         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
43039 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43041         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43043 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43045         [BZ #16314]
43046         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
43047         values below 2**-450, not 2**-500.
43048         * math/auto-libm-test-in: Don't allow spurious underflow from
43049         hypot.
43050         * math/auto-libm-test-out: Regenerated.
43052         [BZ #16316]
43053         [BZ #16330]
43054         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
43055         values of ha and hb and sort them after adjusting subnormal
43056         arguments.
43057         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
43058         Likewise.
43059         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
43060         values of ea and eb and sort them after adjusting subnormal
43061         arguments.
43062         * math/auto-libm-test-in: Do not expect some hypot tests of
43063         subnormals to fail.  Add more hypot tests.
43064         * math/auto-libm-test-out: Regenerated.
43066 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43068         [BZ #13304]
43069         * sysdeps/sh/s_fma.c: New file.
43070         * sysdeps/sh/s_fmaf.c: New file.
43071         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
43072         version.
43073         * sysdeps/sh/Implies: Add sh/soft-fp.
43075 2013-12-16  Roland McGrath  <roland@hack.frob.com>
43077         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
43078         level of indirection to members `objname', `errstring', `malloced'.
43079         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
43080         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
43081         it as the __longjmp argument (just pass 1 instead).
43082         (_dl_catch_error): Initialize C with argument pointers and address of
43083         volatile local ERRCODE rather than copying values out of C at return.
43085 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
43087         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
43088         * math/auto-libm-test-out: Regenerated.
43089         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
43090         (hypot_test_data): Likewise.
43091         (pow_test_data): Likewise.
43092         (pow_tonearest_test_data): Likewise.
43093         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43094         mpfr_ff_f.
43095         (func_calc_desc): Add mpfr_ff_f union field.
43096         (FUNC_mpfr_ff_f): New macro.
43097         (test_functions): Add atan2, hypot and pow.
43098         (special_fill_min): New function.
43099         (special_fill_minus_min): Likewise.
43100         (special_fill_min_subnorm): Likewise.
43101         (special_fill_minus_min_subnorm): Likewise.
43102         (special_real_inputs): Add min, -min, min_subnorm and
43103         -min_subnorm.
43104         (calc_generic_results): Handle mpfr_ff_f.
43105         * sysdeps/i386/fpu/libm-test-ulps: Update.
43106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43108 2013-12-16  Will Newton  <will.newton@linaro.org>
43110         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
43111         (Aligned Memory Blocks): Add documentation for aligned_alloc
43112         and suggest it as an alternative to posix_memalign.
43113         (Hooks for Malloc): Document __memalign_hook is also called
43114         for aligned_alloc.  (Summary of Malloc): Add summary for
43115         aligned alloc.  Document __memalign_hook is also called
43116         for aligned_alloc.
43118 2013-12-16  Will Newton  <will.newton@linaro.org>
43120         * manual/memory.texi (Malloc Examples): Clarify default
43121         alignment documentation.  Suggest posix_memalign rather
43122         than memalign or valloc.
43123         (Aligned Memory Blocks): Remove suggestion to use memalign
43124         or valloc.  Remove obsolete comment about BSD.
43125         Document memalign errno values and mark the function obsolete.
43126         Document posix_memalign returned error codes.  Mark valloc
43127         as obsolete.  (Hooks for Malloc): __memalign_hook is also
43128         called for posix_memalign and valloc.
43129         (Summary of Malloc): Add posix_memalign to function summary.
43130         __memalign_hook is also called for posix_memalign and valloc.
43132 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43134         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
43135         TAYLOR_SIN.
43136         (__sin): Adjust.
43137         (__cos): Likewise.
43138         (sloww): Use mynumber union.  Expand ternary operator into
43139         if-else statements.
43140         (cslow): use mynumber union.
43142 2013-12-16  Allan McRae  <allan@archlinux.org>
43144         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
43145         * configure: Regenerated.
43147         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
43149         [BZ #14120]
43150         * configure.ac: Added --enable-maintainer-mode. Check for
43151         autoconf when enabled.
43152         * configure: Regenerated.
43154         * nscd/nscd.service: New file.
43155         * nscd/nscd.tmpfiles: New file.
43157 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
43159         [BZ #12100]
43160         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
43161         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
43162         * sysdeps/x86_64/multiarch/strstr.c: ... here.
43163         (strstr): Add __strstr_sse2_unaligned ifunc.
43164         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
43165         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
43166         (strcasestr): Remove __strcasestr_sse42 ifunc.
43167         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
43168         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
43169         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
43171 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43173         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
43174         * sysdeps/sh/bits/fenv.h: ... here.
43175         * sysdeps/sh/sh4/fpu/bits: Remove directory.
43177 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43179         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
43181         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
43182         hypotf multiarch implementations.
43183         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
43184         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
43185         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
43186         multiarch hypot for PPC64.
43187         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
43188         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
43189         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
43190         multiarch hypotf for PPC64.
43192         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
43193         modff multiarch implementations.
43194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
43195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
43196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
43197         multiarch modf for PPC64.
43198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
43199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
43200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
43201         multiarch modff for PPC64.
43203         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
43204         and logl multiarch implementations.
43205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
43206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
43207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
43208         multiarch logb for PPC64.
43209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
43210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
43211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
43212         multiarch logb for PPC64.
43213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
43214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
43215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
43216         multiarch logb for PPC64.
43218         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
43219         isinff multiarch implementation.
43220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
43221         file.
43222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
43223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
43224         multiarch isinf for PPC64.
43225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
43226         file.
43227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
43228         multiarch isinff for PPC64.
43230         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
43231         finitef multiarch implementation.
43232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
43233         file.
43234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
43235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
43236         multiarch finite for PPC64.
43237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
43238         file.
43239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
43240         multiarch finitef for PPC64.
43242         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
43243         lrint multiarch implementation.
43244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
43245         file.
43246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
43247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
43248         multiarch llrint for PPC64.
43249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
43250         multiarch lrint for PPC64.
43252         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
43253         copysignf multiarch implementation.
43254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
43255         file.
43256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
43257         file.
43258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
43259         multiarch copysign for PPC64.
43260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
43261         multiarch copysignf for PPC64.
43263         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
43264         multiarch implementation.
43265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
43266         file.
43267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
43268         file.
43269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
43270         file.
43271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
43272         file.
43273         multiarch llround for PPC64.
43274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
43275         multiarch trunc for PPC64.
43276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
43277         multiarch truncf for PPC64.
43279         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
43280         multiarch implementation.
43281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
43282         file.
43283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
43284         file.
43285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
43286         file.
43287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
43288         file.
43289         multiarch llround for PPC64.
43290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
43291         multiarch round for PPC64.
43292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
43293         multiarch roundf for PPC64.
43295         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
43296         multiarch implementation.
43297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
43298         file.
43299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
43300         file.
43301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
43302         file.
43303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
43304         file.
43305         multiarch llround for PPC64.
43306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
43307         multiarch floor for PPC64.
43308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
43309         multiarch floorf for PPC64.
43311         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
43312         multiarch implementation.
43313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
43314         file.
43315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
43316         file.
43317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
43318         file.
43319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
43320         file.
43321         multiarch llround for PPC64.
43322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
43323         multiarch ceil for PPC64.
43324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
43325         multiarch ceilf for PPC64.
43327         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
43328         multiarch implementation.
43329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
43330         file.
43331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
43332         file.
43333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
43334         file.
43335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
43336         multiarch llround for PPC64.
43337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
43338         multiarch lround for PPC64.
43340         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
43341         multiarch implementation.
43342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
43343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
43344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
43345         file.
43346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
43347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
43348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
43349         multiarch isnan for PPC64.
43350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
43351         multiarch isnanf for PPC64.
43353         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
43354         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
43355         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
43356         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
43357         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
43358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
43360         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
43361         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43362         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43363         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43365         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
43366         multiarch implementations.
43367         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43368         (__libc_ifunc_impl_list): Likewise.
43369         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
43370         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
43371         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
43372         multiarch stpcpy for PPC64.
43374         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
43375         multiarch implementations.
43376         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43377         (__libc_ifunc_impl_list): Likewise.
43378         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
43379         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
43380         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
43381         multiarch strcpy for PPC64.
43383         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
43384         redefine function name.
43385         (_wordcopy_fwd_dest_aligned): Likewise.
43386         (_wordcopy_bwd_aligned): Likewise.
43387         (_wordcopy_bwd_dest_aligned): Likewise.
43388         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
43389         multiarch implementations.
43390         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43391         (__libc_ifunc_impl_list): Likewise.
43392         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
43393         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
43394         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
43395         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
43396         multiarch wcscpy for PPC64.
43398         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
43399         multiarch implementations.
43400         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43401         (__libc_ifunc_impl_list): Likewise.
43402         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
43403         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
43404         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
43405         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
43406         multiarch wcscpy for PPC64.
43408         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
43409         multiarch implementations.
43410         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43411         (__libc_ifunc_impl_list): Likewise.
43412         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
43413         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
43414         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
43415         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
43416         multiarch wcsrchr for PPC64.
43418         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
43419         multiarch implementations.
43420         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43421         (__libc_ifunc_impl_list): Likewise.
43422         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
43423         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
43424         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
43425         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
43426         multiarch wcschr for PPC64.
43428         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
43429         multiarch implementations.
43430         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43431         (__libc_ifunc_impl_list): Likewise.
43432         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
43433         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
43434         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
43435         multiarch strchrnul for PPC64.
43437         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
43438         implementations.
43439         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43440         (__libc_ifunc_impl_list): Likewise.
43441         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
43442         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
43443         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
43444         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
43445         strchr for PPC64.
43447         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
43448         implementations.
43449         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43450         (__libc_ifunc_impl_list): Likewise.
43451         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
43452         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
43453         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
43454         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
43455         strncmp for PPC64.
43457         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
43458         multiarch implementations.
43459         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43460         (__libc_ifunc_impl_list): Likewise.
43461         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
43462         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
43463         strncasecmp for PPC64.
43464         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
43465         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
43466         multiarch strncasecmp_l for PPC64.
43468         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
43469         multiarch implementations.
43470         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43471         (__libc_ifunc_impl_list): Likewise.
43472         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
43473         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
43474         multiarch strcasecmp for PPC64.
43475         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
43476         file.
43477         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
43478         multiarch strcasecmp_l for PPC64.
43480         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
43481         implementations.
43482         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43483         (__libc_ifunc_impl_list): Likewise.
43484         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
43485         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
43486         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
43487         strnlen for PPC64.
43489         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
43490         implementations.
43491         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43492         (__libc_ifunc_impl_list): Likewise.
43493         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
43494         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
43495         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
43496         strlen for PPC64.
43498         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
43499         implementations.
43500         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43501         (__libc_ifunc_impl_list): Likewise.
43502         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
43503         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
43504         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
43505         rawmemrchr for PPC64.
43507         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
43508         implementation.
43509         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43510         (__libc_ifunc_impl_list): Likewise.
43511         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
43512         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
43513         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
43514         memrchr for PPC64.
43516         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
43517         implementation.
43518         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43519         (__libc_ifunc_impl_list): Likewise.
43520         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
43521         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
43522         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
43523         memchr for PPC64.
43525         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
43526         implementation.
43527         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43528         (__libc_ifunc_impl_list): Likewise.
43529         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
43530         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
43531         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
43532         mempcpy for PPC64.
43534         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
43535         avoid cretion of __bzero symbol.
43536         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
43537         Likewise.
43538         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
43539         Likewise.
43540         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
43541         Likewise.
43542         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
43543         multiarch implementations.
43544         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43545         (__libc_ifunc_impl_list): Likewise.
43546         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
43547         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
43548         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
43549         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
43550         bzero for PPC32.
43551         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
43552         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
43553         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
43554         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
43555         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
43556         memset for PPC64.
43557         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
43559         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
43560         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
43561         implementations.
43562         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43563         (__libc_ifunc_impl_list): Likewise.
43564         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
43565         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
43566         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
43567         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
43568         memcmp for PPC64.
43570         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
43571         multiarch for POWER/PPC64.
43572         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
43573         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
43574         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
43575         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
43576         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
43577         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
43578         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
43579         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
43580         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
43581         memcpy for PPC64.
43583         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
43584         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
43585         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
43586         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
43587         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
43588         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
43589         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
43590         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
43591         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
43592         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
43593         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
43594         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
43595         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
43596         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
43597         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
43598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
43599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
43600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
43601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
43602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
43603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
43604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
43606 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43608         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
43610 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43612         * benchtests/Makefile (bench): Add exp2 and log2.
43613         (LDLIBS-bench-exp2): Add -lm.
43614         (LDLIBS-bench-log2): Likewise.
43615         * benchtests/exp2-inputs: New inputs file.
43616         * benchtests/log2-inputs: New inputs file.
43617         * benchtests/log-inputs: Add new inputs.
43618         * benchtests/tan-inputs: Likewise.
43620 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43622         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
43623         definition...
43624         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
43625         (csloww2): ... from here.
43627         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
43628         instead of structures.
43629         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
43630         (POLYNOMIAL): Likewise.
43631         (TAYLOR_SLOW): Likewise.
43632         (__sin): Likewise.
43633         (__cos): Likewise.
43634         (slow1): Likewise.
43635         (slow2): Likewise.
43636         (sloww): Likewise.
43637         (sloww1); Likewise.
43638         (sloww2): Likewise.
43639         (bsloww1): Likewise.
43640         (bsloww2): Likewise.
43641         (cslow2): Likewise.
43642         (csloww): Likewise.
43643         (csloww1): Likewise.
43644         (csloww2): Likewise.
43646 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
43648         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
43649         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
43650         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
43651         * malloc/hooks.c (realloc_check): Likewise.
43653         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
43654         * malloc/arena.c: Remove PER_THREAD conditional.
43655         [!PER_THREAD]: Remove code.
43656         (ptmalloc_unlock_all2): Likewise.
43657         (ptmalloc_init): Likewise.
43658         (_int_new_arena): Likewise.
43659         (arena_get2): Likewise.
43660         * malloc/hooks.c (__malloc_get_state): Likewise.
43661         (__malloc_set_state): Likewise.
43662         * malloc/malloc.c: Likewise.
43663         (struct malloc_state): Likewise.
43664         (struct malloc_par): Likewise.
43665         (__libc_realloc): Likewise.
43666         (__libc_mallopt): Likewise.
43668 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43670         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
43672 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
43674         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
43675         macro to a function.  Check for zero perturb_byte.
43676         (_int_malloc, _int_free): Remove zero perturb_byte checks.
43678         * malloc/malloc.c: (force_reg): Remove.
43679         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
43680         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
43681         force_reg by atomic_forced_read.
43682         * malloc/arena.c (ptmalloc_init): Likewise.
43683         * malloc/hooks.c (top_check): Likewise.
43685 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43687         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43689 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
43691         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43693 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
43695         * math/auto-libm-test-in: Add tests of lgamma.
43696         * math/auto-libm-test-out: Regenerated.
43697         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
43698         (M_LOG_2_SQRT_PIl): Likewise.
43699         (lgamma_test_data): Use AUTO_TESTS_f_f1.
43700         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43701         mpfr_f_f1.
43702         (func_calc_desc): Add mpfr_f_f1 union field.
43703         (ARGS1): New macro.
43704         (ARGS2): Likewise.
43705         (ARGS3): Likewise.
43706         (ARGS4): Likewise.
43707         (RET1): Likewise.
43708         (RET2): Likewise.
43709         (CALC): Likewise.
43710         (FUNC): Likewise.
43711         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
43712         (test_functions): Add lgamma.
43713         (calc_generic_results): Handle mpfr_f_f1.
43714         * sysdeps/i386/fpu/libm-test-ulps: Update.
43715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43717 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43719         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
43720         __mpn_add_n for PowerPC64/POWER7.
43721         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
43722         __mpn_sub_n for PowerPC64/POWER7.
43724         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
43725         __mpn_addmul_1 for PowerPC64.
43726         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
43727         __mpn_submul_1 for PowerPC64.
43728         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
43729         for PowerPC64.
43730         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
43731         for PowerPC64.
43733 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
43735         [BZ #15089]
43736         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
43738 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43740         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
43742         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
43743         add multiarch folders.
43744         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
43745         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
43746         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
43747         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
43748         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
43749         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
43750         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
43751         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
43752         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
43753         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
43754         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
43755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
43756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
43757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
43758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
43759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
43760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
43762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
43763         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
43764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
43765         New file.
43766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
43767         New file.
43768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
43769         multiarch __ieee754_hypot for PowerPC32.
43770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
43771         New file.
43772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
43773         New file.
43774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
43775         multiarch __ieee754_hypotf for PowerPC32.
43777         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
43778         long_double_symbol only if __logbl is defined.
43779         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
43780         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
43781         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
43782         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
43783         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
43784         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
43785         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
43786         path for implementation.
43787         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
43788         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
43789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
43790         logb, and logbl multiarch implementations for PowerPC32.
43791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
43792         file.
43793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
43794         file.
43795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
43796         multiarch logb for PowerPC32.
43797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
43798         file.
43799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
43800         file.
43801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
43802         multiarch logbf for PowerPC32.
43803         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
43804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
43805         file.
43806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
43807         multiarch logbl implementation for PowerPC32.
43809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
43810         and modff multiarch implementations.
43811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
43812         New file.
43813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
43814         New file.
43815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
43816         multiarch modf for PowerPC32.
43817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
43818         New file.
43819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
43820         New file.
43821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
43822         multiarch modff for PowerPC32.
43824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
43825         and lrintf multiarch implementations.
43826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
43827         New file.
43828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
43829         New file.
43830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
43831         multiarch lrint for PowerPC32.
43832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
43833         file: multiarch lrintf for PowerPC32.
43835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
43836         and lroundf multiarch implementations.
43837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
43838         New file.
43839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
43840         New file.
43841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
43842         New file.
43843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
43844         multiarch lround for PowerPC32.
43845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
43846         file: multiarch lroundf for PowerPC32.
43848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
43849         copysign and copysignf multiarch implementations.
43850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
43851         New file.
43852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
43853         New file.
43854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
43855         file: multiarch copysign for PowerPC32.
43856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
43857         file: multiarch copysignf for PowerPC32.
43859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
43860         and truncf multiarch implementations.
43861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
43862         New file.
43863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
43864         file.
43865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
43866         multiarch trunc for PowerPC32.
43867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
43868         New file.
43869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
43870         New file.
43871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
43872         multiarch truncf for PowerPC32.
43874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
43875         and roundf multiarch implementations.
43876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
43877         New file.
43878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
43879         file.
43880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
43881         multiarch round for PowerPC32.
43882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
43883         New file.
43884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
43885         New file.
43886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
43887         multiarch roundf for PowerPC32.
43889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
43890         and floorf multiarch implementations.
43891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
43892         New file.
43893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
43894         file.
43895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
43896         multiarch floor for PowerPC32.
43897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
43898         New file.
43899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
43900         New file.
43901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
43902         multiarch floorf for PowerPC32.
43904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
43905         and ceilf multiarch implementations.
43906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
43907         New file.
43908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
43909         file.
43910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
43911         multiarch ceil for PowerPC32.
43912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
43913         New file.
43914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
43915         file.
43916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
43917         multiarch ceilf for PowerPC32.
43919         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
43920         is defined.
43921         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
43922         FINITEF is defined.
43923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
43924         and finitef multiarch implementations.
43925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
43926         New file.
43927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
43928         file.
43929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
43930         multiarch finite for PowerPC32.
43931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
43932         New file.
43933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
43934         file: multiarch finitef for PowerPC32.
43936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
43937         and isinff multiarch implementations.
43938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
43939         file.
43940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
43941         file.
43942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
43943         multiarch isinf for PowerPC32.
43944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
43945         New file.
43946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
43947         multiarch isinff for PowerPC32.
43949         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
43950         alias when __isnan is defined.
43951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
43952         and isnanf multiarch implementations.
43953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
43954         file.
43955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
43956         file.
43957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
43958         file.
43959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
43960         file.
43961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
43962         multiarch isnan for PowerPC32.
43963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
43964         New file.
43965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
43966         New file.
43967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
43968         multiarch isnanf for PowerPC32.
43970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
43971         and sqrtf multiarch implementations.
43972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
43973         file.
43974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
43975         file.
43976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
43977         multiarch sqrt for PowerPC32.
43978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
43979         file.
43980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
43981         file.
43982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
43983         multiarch sqrtf for PowerPC32.
43985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
43986         and llroundf multiarch implementations.
43987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
43988         New file.
43989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
43990         New file.
43991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
43992         New file.
43993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
43994         file: multiarch llround for PowerPC32.
43995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
43996         file: multiarch llroundf for PowerPC32.
43998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
43999         multiarch PowerPC32 fpu implementations.
44000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
44001         New file.
44002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
44003         New file.
44004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
44005         multiarch llrint for PowerPC32.
44006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
44007         New file.
44008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
44009         New file.
44010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
44011         file.
44013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
44015         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
44016         file.
44017         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
44018         file.
44019         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
44020         file.
44021         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
44022         multiarch wordcopy for PPC32.
44023         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
44024         wordcopy objects.
44025         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44026         (__libc_ifunc_impl_list): Likewise.
44027         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
44028         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
44029         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
44030         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
44031         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
44032         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
44034         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
44035         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
44036         file.
44037         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
44038         file.
44039         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
44040         file.
44041         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
44042         multiarch wcscpy for PPC32.
44043         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
44044         multiarch objects.
44045         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44046         (__libc_ifunc_impl_list): Likewise.
44047         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
44048         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
44049         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
44050         sysdeps/powerpc/power6/wcscpy.c.
44052         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
44053         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
44054         file.
44055         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
44056         file.
44057         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
44058         file.
44059         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
44060         multiarch wcsrchr for PPC32.
44061         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
44062         multiarch objects.
44063         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44064         (__libc_ifunc_impl_list): Likewise.
44065         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
44066         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
44067         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
44068         sysdeps/powerpc/power6/wcsrchr.c.
44070         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
44071         file.
44072         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
44073         file.
44074         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
44075         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
44076         multiarch wcschr for PPc32.
44077         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
44078         multiarch objects.
44079         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44080         (__libc_ifunc_impl_list): Likewise.
44081         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
44082         * sysdeps/powerpc/power6/wcschr.c: ... to here.
44083         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
44084         sysdeps/powerpc/power6/wcschr.c.
44086         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
44087         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
44088         file.
44089         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
44090         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
44091         file: multiarch strchr for PPC32.
44092         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
44093         multiarch objects.
44094         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44095         (__libc_ifunc_impl_list): Likewise.
44097         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
44098         name.
44099         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
44100         file.
44101         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
44102         file.
44103         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
44104         multiarch strchrnul for PPC32.
44105         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
44106         multiarch objects.
44107         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44108         (__libc_ifunc_impl_list): Likewise.
44110         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
44111         file.
44112         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
44113         multiarch strncasecmp for PPC32.
44114         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
44115         file.
44116         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
44117         multiarch strncasecmp_l for PPC32.
44118         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
44119         strncasecmp multiarch objects.
44120         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44121         (__libc_ifunc_impl_list): Likewise.
44123         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
44124         file.
44125         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
44126         multiarch strncasecmp for PPC32.
44127         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
44128         New file.
44129         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
44130         multiarch strcasecmp_l for PPC32.
44131         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
44132         multiarch objects.
44133         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44134         (__libc_ifunc_impl_list): Likewise.
44136         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
44137         file.
44138         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
44139         file.
44140         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
44141         multiarch strncmp for PPC32.
44142         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
44143         multiarch objects.
44144         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44145         (__libc_ifunc_impl_list): Likewise.
44147         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
44148         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
44149         file.
44150         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
44151         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
44152         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
44153         multiarch objects.
44154         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44155         (__libc_ifunc_impl_list): Likewise.
44157         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
44158         file.
44159         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
44160         file.
44161         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
44162         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
44163         multiarch objects.
44164         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44165         (__libc_ifunc_impl_list): Likewise.
44167         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
44168         file.
44169         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
44170         file.
44171         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
44172         multiarch rawmemchr for PPC32.
44173         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
44174         multiarch objects.
44175         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44176         (__libc_ifunc_impl_list): Likewise.
44178         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
44179         file.
44180         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
44181         file.
44182         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
44183         file: memrchr multiarch for PPC32.
44184         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
44185         multiarch objects.
44186         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44187         (__libc_ifunc_impl_list): Likewise.
44189         * string/memchr.c (__memchr): Using macro to redefine symbol name.
44190         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
44191         file.
44192         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
44193         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
44194         multiarch memchr for PPC32.
44195         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
44196         multiarch objects.
44197         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44198         (__libc_ifunc_impl_list): Likewise.
44200         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
44201         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
44202         file.
44203         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
44204         file.
44205         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
44206         file: multiarch mempcpy for PPC32.
44207         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
44208         multiarch objects.
44209         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44210         (__libc_ifunc_impl_list): Likewise.
44212         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
44213         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
44214         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
44215         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
44216         multiarch bzero for PPC32.
44217         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
44218         file.
44219         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
44220         file.
44221         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
44222         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
44223         file: multiarch memset for PPC32.
44224         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
44225         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
44226         memset multiarch objects.
44227         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44228         (__libc_ifunc_impl_list): Likewise.
44230         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
44231         file.
44232         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
44233         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
44234         memcmp for PPC32.
44235         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
44236         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
44237         multiarch objects.
44238         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44239         (__libc_ifunc_impl_list): Likewise.
44241         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
44242         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
44243         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
44244         file.
44245         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
44246         file.
44247         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
44248         file.
44249         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
44250         multiarch memcpy for PPC32.
44251         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
44252         multiarch objects.
44253         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44254         (__libc_ifunc_impl_list): Likewise.
44256         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
44257         support multiarch for POWER/PPC32.
44258         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
44259         Likewise.
44260         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
44261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
44262         Implies file to make multiarch folder appers before the fpu and
44263         default folder for power4 configuration.
44265 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44267         * scripts/bench.pl: Append volatile keyword to type.
44269 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44271         * sysdeps/sh/sotruss-lib.c: New file.
44272         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
44274 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44276         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44278 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
44280         [BZ #6810]
44281         * math/w_tgamma.c: Include <errno.h>.
44282         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
44283         * math/w_tgammaf.c: Include <errno.h>.
44284         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
44285         * math/w_tgammal.c: Include <errno.h>.
44286         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
44287         * math/auto-libm-test-in: Do not allow missing errno on tgamma
44288         underflow.  Add more tgamma tests.
44289         * math/auto-libm-test-out: Regenerated.
44290         * sysdeps/i386/fpu/libm-test-ulps: Update.
44291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44293         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
44294         sin, sinh, tan, tanh, tgamma, y0 and y1.
44295         * math/auto-libm-test-out: Regenerated.
44296         * math/libm-test.inc (TEST_COND_x86_64): New macro.
44297         (TEST_COND_x86): Likewise.
44298         (M_E2l): Remove macro.
44299         (M_E3l): Likewise.
44300         (M_2_SQRT_PIl): Likewise.
44301         (M_SQRT_PIl): Likewise.
44302         (M_1_DIV_El): Likewise.
44303         (log_test_data): Use AUTO_TESTS_f_f.
44304         (log10_test_data): Likewise.
44305         (log1p_test_data): Likewise.
44306         (log2_test_data): Likewise.
44307         (sin_test_data): Likewise.
44308         (sin_tonearest_test_data): Likewise.
44309         (sin_towardzero_test_data): Likewise.
44310         (sin_downward_test_data): Likewise.
44311         (sin_upward_test_data): Likewise.
44312         (sinh_test_data): Likewise.
44313         (sinh_tonearest_test_data): Likewise.
44314         (sinh_towardzero_test_data): Likewise.
44315         (sinh_downward_test_data): Likewise.
44316         (sinh_upward_test_data): Likewise.
44317         (tan_test_data): Likewise.
44318         (tan_tonearest_test_data): Likewise.
44319         (tan_towardzero_test_data): Likewise.
44320         (tan_downward_test_data): Likewise.
44321         (tan_upward_test_data): Likewise.
44322         (tanh_test_data): Likewise.
44323         (tgamma_test_data): Likewise.
44324         (y0_test_data): Likewise.
44325         (y1_test_data): Likewise.
44326         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
44327         (special_real_inputs): Add pi/4.
44328         * sysdeps/i386/fpu/libm-test-ulps: Update.
44329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44331 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44333         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
44334         "longjmp_target" static probes.
44335         (__longjmp): Rename to __longjmp_symbol.
44336         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44337         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
44338         on which longjmp to generate.
44339         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
44340         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
44341         probe.
44342         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44343         (__sigjmp_save): Rename to __sigjmp_save_symbol.
44344         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
44345         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
44346         and __sigjmp_save_symbol based on which sigsetjmp to generated.
44347         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
44349         __longjmp_symbol based on which __longjmp to generate.
44350         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
44351         probe.
44352         (setjmp): Rename to setjmp_symbol.
44353         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44354         (_setjmp): Rename to _setjmp_symbol.
44355         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44356         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
44357         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
44358         which setjmp to generate.
44359         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
44360         "longjmp_target" static probes.
44362 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44364         * benchtests/README: Add note about output arguments.
44365         * benchtests/bench-sincos.c: Remove file.
44366         * benchtests/sincos-inputs: New file.
44367         * scripts/bench.pl: Identify output arguments and define
44368         static variables for them.
44370         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
44372         [BZ #15941]
44373         * Makefile (INSTALL): Add install-plain.texi as the primary
44374         dependency.
44375         * manual/install-plain.texi: New file.
44376         * manual/install.texi: Include node directive only for
44377         non-plaintext output.
44379 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
44381         * stdlib/longlong.h: Update from GCC.
44383         [BZ #6807]
44384         [BZ #15901]
44385         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
44386         * math/w_j0f.c (y0f): Likewise.
44387         * math/w_j0l.c (__y0l): Likewise.
44388         * math/w_j1.c (y1): Likewise.
44389         * math/w_j1f.c (y1f): Likewise.
44390         * math/w_j1l.c (__y1l): Likewise.
44391         * math/w_jn.c (yn): Likewise.
44392         * math/w_jnf.c (ynf): Likewise.
44393         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
44394         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
44395         value for Bessel function domain errors outside _SVID_ mode.
44396         Adjust sign of return value for yn (negative integer, 0).
44397         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
44398         by zero in return for negative x and set sign appropriately for
44399         negative n.
44400         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
44401         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44402         * math/libm-test.inc (y0_test_data): Add more tests and adjust
44403         expectations in error cases.
44404         (y1_test_data): Likewise.
44405         (yn_test_data): Likewise.
44406         * sysdeps/i386/fpu/libm-test-ulps: Update.
44407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44409 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44411         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
44412         "64" to "64-v1".  Add "64-v2".
44413         (abi-64-options): Rename to ...
44414         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
44415         (abi-64-condition): Rename to ...
44416         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
44417         (abi-64-ld-soname): Rename to ...
44418         (abi-64-v1-ld-soname): ... this.
44419         (abi-64-v2-options): Define.
44420         (abi-64-v2-condition): Likewise.
44421         (abi-64-v2-ld-soname): Likewise.
44422         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
44423         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
44424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
44425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
44426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
44428 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44429             Alan Modra  <amodra@gmail.com>
44431         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
44432         New versions for use with the ELFv2 ABI.
44433         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
44434         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
44435         declaration.
44436         (struct La_ppc64v2_retval): Likewise.
44437         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
44438         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
44439         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
44440         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
44441         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
44442         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44443         Do not save or restore CR.
44444         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
44445         (_dl_profile_resolve): Do no save or restore CR.  Support extended
44446         return values for ELFv2 ABI.  Fix location of FPR return registers.
44447         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
44448         updated values for _CALL_ELF == 2.
44449         (La_regs, La_retval, int_retval): Likewise.
44451 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44453         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
44454         (FRAME_MIN_SIZE_PARM): Likewise.
44455         (FRAME_BACKCHAIN): Likewise.
44456         (FRAME_CR_SAVE): Likewise.
44457         (FRAME_LR_SAVE): Likewise.
44458         (FRAME_TOC_SAVE): Likewise.
44459         (FRAME_PARM_SAVE): Likewise.
44460         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
44461         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
44462         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44463         (call_mcount_parm_offset): New macro.
44464         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
44465         (PROF): Use symbolic stack frame offsets.
44466         (TAIL_CALL_SYSCALL_ERROR): Likewise.
44467         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
44468         Redefine in terms of FRAME_MIN_SIZE.
44469         (_dl_runtime_resolve): Use symbolic stack frame offsets.
44470         (_dl_profile_resolve): Likewise.  Update comment.
44471         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
44472         symbols stack frame offsets.
44473         (__sigsetjmp): Likewise.
44474         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
44475         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
44476         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
44477         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
44479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
44480         (FRAME_BACKCHAIN): Remove.
44481         (FRAME_CR_SAVE): Likewise.
44482         (FRAME_LR_SAVE): Likewise.
44483         (FRAME_COMPILER_DW): Likewise.
44484         (FRAME_LINKER_DW): Likewise.
44485         (FRAME_TOC_SAVE): Likewise.
44486         (FRAME_PARM_SAVE): Likewise.
44487         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
44488         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
44489         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
44491         (CHECK_SP): Use symbolic stack frame offsets.
44492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
44493         zone" instead of caller's parameter save area for temp storage.
44494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44495         Likewise.  Also, use symbolic stack frame offsets.
44496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
44497         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
44498         our own stack frame instead of the caller's.
44499         (__socket): Use symbolic stack frame offsets.
44501 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44502             Alan Modra  <amodra@gmail.com>
44504         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
44505         Define.
44506         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
44507         (PPC64_LOCAL_ENTRY_OFFSET): Define.
44508         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
44509         New function.
44510         (elf_machine_fixup_plt): Call it.
44511         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
44512         reloc arguments.
44513         (elf_machine_rela): Update call to elf_machine_plt_conflict.
44514         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44515         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
44516         r2 before calling target.
44518 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44519             Alan Modra  <amodra@gmail.com>
44521         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
44522         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
44523         versions of macros to support ELFv2 ABI.
44524         (LOCALENTRY): New macro.
44525         (ENTRY, EALIGN): Use it.
44526         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
44527         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
44528         fall through into ENTRY entry point.
44529         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
44530         Only define if _CALL_ELF != 2.
44532         (elf_machine_matches_host): Verify ABI version matches.
44533         (RTLD_START): Use LOCALENTRY.
44534         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
44535         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
44536         (PLT_ENTRY_WORDS): New macro.
44537         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
44538         (elf_machine_runtime_setup): Support ELFv2 ABI.
44539         (elf_machine_fixup_plt): Likewise.
44540         (elf_machine_plt_conflict): Likewise.
44541         (resolve_ifunc): Likewise.
44542         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
44543         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
44544         Likewise.
44545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
44546         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
44547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44548         (makecontext): Support ELFv2 ABI.
44549         * elf/elf.h (EF_PPC64_ABI): Define.
44551 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44553         * sysdeps/powerpc/powerpc64/sysdep.h
44554         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
44555         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
44556         (ENTRY) [ASSEMBLER]: ... but instead here ...
44557         (EALIGN) [ASSEMBLER]: ... and here.
44558         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
44559         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
44560         (ENTRY_2) [!ASSEMBLER]: Use it.
44561         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
44562         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
44563         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44564         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
44565         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
44566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
44567         Use PPC64_LOAD_FUNCPTR.
44569         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
44571 2013-12-04  Alan Modra  <amodra@gmail.com>
44573         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
44574         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
44575         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
44576         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
44578         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
44579         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
44580         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
44581         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
44582         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
44583         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
44585 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44588         (__makecontext): Fix incorrect CFI when backtracing out of
44589         context created via makecontext.
44590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
44591         (__setcontext): Fix incorrect CFI during switch to new context.
44592         (__novec_setcontext): Likewise.
44594 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44596         [BZ #4772]
44597         * time/strptime_l.c (__strptime_internal): Allow modifiers
44598         in strptime.
44599         * time/tst-strptime.c (day_tests): Add testcase.
44601 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44603         * scripts/bench.pl: Skip over blank lines.
44605 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
44607         [BZ #926]
44608         * manual/time.texi (Calendar Time): Clarify what timezone functions
44609         use.
44611 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44613         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44615 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44617         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
44618         implementation.
44619         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
44620         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
44621         * debug/memset_chk.c (__memset_chk): Likewise.
44622         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
44623         * debug/strncpy_chk.c: Likewise.
44625 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44627         [BZ #15268]
44628         [BZ #15425]
44629         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
44630         (__ieee754_exp): For possibly underflowing results, check size of
44631         result and force underflow exception if required.
44632         * math/auto-libm-test-in: Add more tests of exp.
44633         * math/auto-libm-test-out: Regenerated.
44634         * sysdeps/i386/fpu/libm-test-ulps: Update.
44635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44637         [BZ #16283]
44638         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
44639         * math/w_exp2f.c (__exp2f): Likewise.
44640         * math/w_exp2l.c (__exp2l): Likewise.
44641         * math/auto-libm-test-in: Do not allow missing errno on exp2
44642         underflow.
44643         * math/auto-libm-test-out: Regenerated.
44645 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
44647         [BZ #16274]
44648         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
44649         handle filename validation.
44650         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
44651         (do_open): Delete.
44653 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44655         [BZ #6786]
44656         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
44657         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
44658         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
44659         <float.h>.
44660         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
44661         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
44662         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44663         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
44664         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44665         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
44666         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44667         * math/auto-libm-test-in: Don't allow missing errno from erfc.
44668         Add more erfc tests.
44669         * math/auto-libm-test-out: Regenerated.
44670         * sysdeps/i386/fpu/libm-test-ulps: Update.
44671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44673         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
44674         exp2, expm1, j0 and j1.
44675         * math/auto-libm-test-out: Regenerated.
44676         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
44677         (erfc_test_data): Likewise.
44678         (exp_test_data): Likewise.
44679         (exp_tonearest_test_data): Likewise.
44680         (exp_towardzero_test_data): Likewise.
44681         (exp_downward_test_data): Likewise.
44682         (exp_upward_test_data): Likewise.
44683         (exp10_test_data): Likewise.
44684         (exp2_test_data): Likewise.
44685         (expm1_test_data): Likewise.
44686         (j0_test_data): Likewise.
44687         (j1_test_data): Likewise.
44688         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
44689         (input_flag_type): Add flag_xfail_rounding.
44690         (input_flags): Add xfail-rounding.
44691         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
44692         (output_for_one_input_case): Handle flag_xfail_rounding.
44693         * sysdeps/i386/fpu/libm-test-ulps: Update.
44694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44696 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
44698         [BZ #16289]
44699         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
44700         division by 0.
44702 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44704         [BZ #16195]
44705         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
44706         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
44707         (STAP_PROBE0): New macro.
44708         (STAP_PROBE1): Likewise.
44709         (STAP_PROBE2): Likewise.
44710         (STAP_PROBE3): Likewise.
44711         (STAP_PROBE4): Likewise.
44713 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
44715         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
44717 2013-12-02  Steve Ellcey  <sellcey@mips.com>
44719         * benchtests/Makefile (bench): Add sqrt.
44720         (LDLIBS-bench-sqrt): New.
44721         * benchtests/sqrt-input: New.
44723 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
44725         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
44726         (GAIH_EAI): Likewise.
44727         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
44728         (gaih_inet): Likewise.
44729         (getaddrinfo): Don't use GAIH_EAI.
44731         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
44732         (struct gaih): Remove definition.
44734 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44736         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
44737         Use HERRNOP directly.
44739 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44741         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44743 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
44745         * math/gen-auto-libm-tests.c (test_functions): Add more
44746         single-argument functions.
44747         (special_fill_pi_2): New function.
44748         (special_fill_minus_pi_2): Likewise.
44749         (special_fill_pi_6): Likewise.
44750         (special_fill_minus_pi_6): Likewise.
44751         (special_fill_pi_3): Likewise.
44752         (special_fill_2pi_3): Likewise.
44753         (special_fill_e): Likewise.
44754         (special_fill_1_e): Likewise.
44755         (special_fill_e_minus_1): Likewise.
44756         (special_real_inputs): Add more special inputs.
44757         (output_for_one_input_case): Do not require ERANGE on underflow to
44758         zero if round-to-nearest result does not underflow to zero, unless
44759         exact results required.
44760         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
44761         atan, atanh, cbrt, cos and cosh.
44762         * math/auto-libm-test-out: Regenerated.
44763         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
44764         (acos_tonearest_test_data): Likewise.
44765         (acos_towardzero_test_data): Likewise.
44766         (acos_downward_test_data): Likewise.
44767         (acos_upward_test_data): Likewise.
44768         (acosh_test_data): Likewise.
44769         (asin_test_data): Likewise.
44770         (asin_tonearest_test_data): Likewise.
44771         (asin_towardzero_test_data): Likewise.
44772         (asin_upward_test_data): Likewise.
44773         (asinh_test_data): Likewise.
44774         (atan_test_data): Likewise.
44775         (atanh_test_data): Likewise.
44776         (cbrt_test_data): Likewise.
44777         (cos_test_data): Likewise.
44778         (cos_tonearest_test_data): Likewise.
44779         (cos_towardzero_test_data): Likewise.
44780         (cos_downward_test_data): Likewise.
44781         (cos_upward_test_data): Likewise.
44782         (cosh_test_data): Likewise.
44783         (cosh_tonearest_test_data): Likewise.
44784         (cosh_towardzero_test_data): Likewise.
44785         (cosh_downward_test_data): Likewise.
44786         (cosh_upward_test_data): Likewise.
44787         * sysdeps/i386/fpu/libm-test-ulps: Update.
44788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44790 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
44792         [BZ #6787]
44793         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
44794         * math/w_exp10f.c (__exp10f): Likewise.
44795         * math/w_exp10l.c (__exp10l): Likewise.
44796         * math/libm-test.inc (exp10_test_data): Add more tests and expect
44797         errno settings in existing tests.
44799         [BZ #14032]
44800         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
44801         precision control set to double precision.
44802         * sysdeps/i386/fpu/w_sqrt.c: New file.
44803         * math/auto-libm-test-in: Add more tests.
44804         * math/auto-libm-test-out: Update.
44806         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
44807         (sqrt_test_tonearest): New function.
44808         (sqrt_towardzero_test_data): New variable.
44809         (sqrt_test_towardzero): New function.
44810         (sqrt_downward_test_data): New variable.
44811         (sqrt_test_downward): New function.
44812         (sqrt_upward_test_data): New variable.
44813         (sqrt_test_upward): New function.
44814         (main): Call the new functions.
44816         * math/gen-auto-libm-tests.c: New file.
44817         * math/auto-libm-test-in: Likewise.
44818         * math/auto-libm-test-out: New generated file.
44819         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
44820         variables.
44821         (%beautify): Add generated representations of zero.
44822         (top level): Set $auto_input and call parse_auto_input.
44823         (beautify): Remove trailing "f" from hex float constants.
44824         (parse_args): Handle XFAIL_TEST.
44825         (convert_condition): New function.
44826         (or_value): Likewise.
44827         (or_cond_value): Likewise.
44828         (generate_testfile): Handle AUTO_TESTS_* lines.
44829         (parse_auto_input): New function.
44830         * math/libm-test.inc (XFAIL_TEST): New macro.
44831         (ERRNO_UNCHANGED): Update value.
44832         (ERRNO_EDOM): Likewise.
44833         (ERRNO_ERANGE): Likewise.
44834         (IGNORE_RESULT): Likewise.
44835         (TEST_COND_flt_32): New macro.
44836         (TEST_COND_dbl_64): Likewise.
44837         (TEST_COND_ldbl_96_intel): Likewise.
44838         (TEST_COND_ldbl_96_m68k): Likewise.
44839         (TEST_COND_ldbl_128): Likewise.
44840         (TEST_COND_ldbl_128ibm): Likewise.
44841         (TEST_COND_long32): Likewise.
44842         (TEST_COND_long64): Likewise.
44843         (TEST_COND_before_rounding): Likewise.
44844         (TEST_COND_after_rounding): Likewise.
44845         (enable_test): Handle XFAIL_TEST flag.
44846         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
44847         with finite results.
44848         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
44849         auto-libm-test-out.
44851 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44852             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44854         [BZ #16214]
44855         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
44856         __tls_get_addr_internal instead of __tls_get_offset in order to
44857         avoid GOT pointer dependency.  Make rtld export
44858         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
44859         __tls_get_addr since we are a __tls_get_offset platform.
44860         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
44861         GOT pointer being set up before.
44862         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
44864 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
44866         * manual/math.texi (Errors in Math Functions): Document accuracy
44867         goals.
44869         [BZ #15004]
44870         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
44871         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
44872         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44873         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44874         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44875         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44876         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44877         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44878         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44879         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44880         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44881         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44882         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44883         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44884         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44885         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44887         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
44888         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
44889         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
44890         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
44891         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
44892         Likewise.
44893         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
44894         Likewise.
44895         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
44896         Likewise.
44897         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
44898         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
44899         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
44900         atomic-feupdateenv and flt-rounds.
44901         * sysdeps/powerpc/nofpu/Versions (libc): Add
44902         __atomic_feholdexcept, __atomic_feclearexcept,
44903         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
44904         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
44905         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
44906         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
44907         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
44908         here.
44909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
44910         Update.
44912         * manual/arith.texi (FP Exceptions): Document that exceptions may
44913         not be raised when matherr is used.
44914         (Math Error Reporting): Document overflow in directed rounding
44915         modes.  Document that errno may not be set when finite values are
44916         returned on overflow.  Document intent to set errno on underflow
44917         only for underflow to zero.
44919         [BZ #16271]
44920         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
44921         round-to-nearest then adjust result for other rounding modes.
44922         * include/fenv.h (fegetround): Use libm_hidden_proto.
44923         * math/fegetround.c (fegetround): Use libm_hidden_def.
44924         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
44925         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
44926         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44927         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
44928         Likewise.
44929         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
44930         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44931         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
44932         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
44934 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44936         [BZ #16077]
44937         * nss/Versions (libnss_files): Add
44938         _nss_files_gethostbyname3_r.
44939         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
44940         New function.
44941         (HOST_DB_LOOKUP): Remove macro.
44942         (_nss_files_gethostbyname_r): Implement function without the
44943         HOST_DB_LOOKUP macro.
44944         (_nss_files_gethostbyname2_r): Likewise.
44946 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
44948         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
44950 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
44952         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
44953         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
44954         warning.
44956 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44958         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
44959         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
44960         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
44961         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
44962         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
44963         __fe_nomask_env_priv and attribute_hidden.
44964         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
44965         (libc_feupdateenv_test_ppc): Likewise.
44966         (libc_feresetround_ppc): Likewise.
44967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44968         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
44969         compat_symbol macro.
44970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44971         (__fe_nomask_env): Likewise.
44972         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
44974 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44976         * string/Makefile: Remove ifunc tests.
44977         * string/test-string.h: Define TEST_IFUNC.
44978         * string/test-bcopy-ifunc.c: Remove.
44979         * string/test-bzero-ifunc.c: Likewise.
44980         * string/test-memccpy-ifunc.c: Likewise.
44981         * string/test-memchr-ifunc.c: Likewise.
44982         * string/test-memcmp-ifunc.c: Likewise.
44983         * string/test-memcpy-ifunc.c: Likewise.
44984         * string/test-memmem-ifunc.c: Likewise.
44985         * string/test-memmove-ifunc.c: Likewise.
44986         * string/test-mempcpy-ifunc.c: Likewise.
44987         * string/test-memrchr-ifunc.c: Likewise.
44988         * string/test-memset-ifunc.c: Likewise.
44989         * string/test-rawmemchr-ifunc.c: Likewise.
44990         * string/test-stpcpy-ifunc.c: Likewise.
44991         * string/test-stpncpy-ifunc.c: Likewise.
44992         * string/test-strcasecmp-ifunc.c: Likewise.
44993         * string/test-strcasestr-ifunc.c: Likewise.
44994         * string/test-strcat-ifunc.c: Likewise.
44995         * string/test-strchr-ifunc.c: Likewise.
44996         * string/test-strchrnul-ifunc.c: Likewise.
44997         * string/test-strcmp-ifunc.c: Likewise.
44998         * string/test-strcpy-ifunc.c: Likewise.
44999         * string/test-strcspn-ifunc.c: Likewise.
45000         * string/test-strlen-ifunc.c: Likewise.
45001         * string/test-strncasecmp-ifunc.c: Likewise.
45002         * string/test-strncat-ifunc.c: Likewise.
45003         * string/test-strncmp-ifunc.c: Likewise.
45004         * string/test-strncpy-ifunc.c: Likewise.
45005         * string/test-strnlen-ifunc.c: Likewise.
45006         * string/test-strpbrk-ifunc.c: Likewise.
45007         * string/test-strrchr-ifunc.c: Likewise.
45008         * string/test-strspn-ifunc.c: Likewise.
45009         * string/test-strstr-ifunc.c: Likewise.
45011 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45013         * benchtests/Makefile: Remove ifunc tests.
45014         * benchtests/bench-string.h: Define TEST_IFUNC.
45015         * benchtests/bench-bcopy-ifunc.c: Remove.
45016         * benchtests/bench-bzero-ifunc.c: Likewise.
45017         * benchtests/bench-memccpy-ifunc.c: Likewise.
45018         * benchtests/bench-memchr-ifunc.c: Likewise.
45019         * benchtests/bench-memcmp-ifunc.c: Likewise.
45020         * benchtests/bench-memcpy-ifunc.c: Likewise.
45021         * benchtests/bench-memmem-ifunc.c: Likewise.
45022         * benchtests/bench-memmove-ifunc.c: Likewise.
45023         * benchtests/bench-mempcpy-ifunc.c: Likewise.
45024         * benchtests/bench-memrchr-ifunc.c: Likewise.
45025         * benchtests/bench-memset-ifunc.c: Likewise.
45026         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
45027         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
45028         * benchtests/bench-stpcpy-ifunc.c: Likewise.
45029         * benchtests/bench-stpncpy-ifunc.c: Likewise.
45030         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
45031         * benchtests/bench-strcasestr-ifunc.c: Likewise.
45032         * benchtests/bench-strcat-ifunc.c: Likewise.
45033         * benchtests/bench-strchr-ifunc.c: Likewise.
45034         * benchtests/bench-strchrnul-ifunc.c: Likewise.
45035         * benchtests/bench-strcmp-ifunc.c: Likewise.
45036         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
45037         * benchtests/bench-strcpy-ifunc.c: Likewise.
45038         * benchtests/bench-strcspn-ifunc.c: Likewise.
45039         * benchtests/bench-strlen-ifunc.c: Likewise.
45040         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
45041         * benchtests/bench-strncat-ifunc.c: Likewise.
45042         * benchtests/bench-strncmp-ifunc.c: Likewise.
45043         * benchtests/bench-strncpy-ifunc.c: Likewise.
45044         * benchtests/bench-strnlen-ifunc.c: Likewise.
45045         * benchtests/bench-strpbrk-ifunc.c: Likewise.
45046         * benchtests/bench-strrchr-ifunc.c: Likewise.
45047         * benchtests/bench-strsep-ifunc.c: Likewise.
45048         * benchtests/bench-strspn-ifunc.c: Likewise.
45049         * benchtests/bench-strstr-ifunc.c: Likewise.
45051 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45053         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
45055 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45057         * resolv/netdb.h: Use __glibc_reserved instead __unused.
45058         * rt/aio.h: Likewise.
45059         * sysdeps/gnu/bits/utmp.h: Likewise.
45060         * sysdeps/gnu/bits/utmpx.h: Likewise.
45061         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
45062         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
45063         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
45064         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
45065         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
45066         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
45067         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
45068         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
45069         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
45070         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
45071         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
45072         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
45073         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
45074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
45075         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
45076         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
45077         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
45078         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
45079         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
45080         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
45081         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
45082         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
45083         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
45084         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45085         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
45086         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45087         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
45088         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
45089         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
45090         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
45091         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
45092         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
45093         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
45094         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
45095         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
45096         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
45097         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
45098         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
45099         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
45100         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
45101         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
45102         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
45104 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
45106         [BZ #16245]
45107         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
45108         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
45110 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
45112         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
45113         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
45114         Likewise.
45116 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45118         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
45119         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
45120         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
45121         (__fesetround): Remove define.
45122         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
45123         rounding and exceptions handling.
45124         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
45125         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
45126         (__fe_nomask_env): Likewise.
45127         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
45128         __fegetround instead of fegetround.
45129         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
45130         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
45132 2013-11-21  Roland McGrath  <roland@hack.frob.com>
45134         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
45135         it's there.
45137         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
45139 2013-11-21  Meador Inge  <meadori@codesourcery.com>
45141         [BZ #11157]
45142         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
45143         (encrypt_r): Likewise.
45144         * malloc/obstack.h (obstack_free): Likewise.
45145         * posix/unistd.h (encrypt): Likewise.
45147 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
45149         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
45150         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
45151         DL_CALL_DT_FINI() that call the functions directly.
45152         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
45153         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
45154         * elf/dl-fini.c: Likewise.
45156 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
45158         * malloc/hooks.c (memalign_check): Add alignment rounding.
45159         * malloc/malloc.c (_mid_memalign): New function.
45160         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
45161         Implement by calling _mid_memalign.
45162         * manual/probes.texi (Memory Allocation Probes): Remove
45163         memory_valloc_retry and memory_pvalloc_retry.
45165 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45167         * locale/programs/locarchive.c (open_archive): Add const
45168         qualifier to ARCHIVEFNAME and copy default fname to
45169         DEFAULT_FNAME.
45171         [BZ #15601]
45172         * libio/tst-widetext.input: Rename Oriya to Odia.
45173         * locale/iso-639.def: Likewise.
45175         * manual/probes.texi (Mathematical Function Probes): Add
45176         documentation for sin, cos, asin and acos probes.
45177         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
45178         (__sin32): Add slowasin probe.
45179         (__cos32): Add slowacos probe.
45180         (__mpsin): Add slowsin probe.
45181         (__mpcos): Add slowcos probe.
45183 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
45185         [BZ #15483]
45186         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
45187         thread-local __sim_exceptions_thread and global
45188         __sim_exceptions_global.
45189         (__sim_disabled_exceptions): Change to thread-local
45190         __sim_disabled_exceptions_thread and global
45191         __sim_disabled_exceptions_global.
45192         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
45193         and global __sim_round_mode_global.
45194         (__simulate_exceptions): Use thread-local floating-point state and
45195         set global state from it as needed.
45196         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
45197         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
45198         __sim_round_mode_thread.
45199         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
45200         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
45201         and global __sim_exceptions_global.
45202         (__sim_disabled_exceptions): Change to thread-local
45203         __sim_disabled_exceptions_thread and global
45204         __sim_disabled_exceptions_global.
45205         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
45206         and global __sim_round_mode_global.
45207         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
45208         (SIM_SET_GLOBAL): Likewise.
45209         * sysdeps/powerpc/soft-fp/sfp-machine.h
45210         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
45211         __sim_round_mode_thread.
45212         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
45213         __sim_disabled_exceptions_thread.
45214         (__sim_exceptions): Change to __sim_exceptions_thread.
45215         (__sim_disabled_exceptions): Change to
45216         __sim_disabled_exceptions_thread.
45217         (__sim_round_mode): Change to __sim_round_mode_thread.
45218         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
45219         thread-local floating-point state and set global state from it as
45220         needed.
45221         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
45222         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
45223         (__sim_disabled_exceptions): Remove extern declaration.
45224         (feenableexcept): Use thread-local floating-point state and set
45225         global state from it as needed.
45226         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
45227         extern declaration.
45228         (__sim_disabled_exceptions): Likewise.
45229         (__sim_round_mode): Likewise.
45230         (__fegetenv): Use thread-local floating-point state.
45231         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
45232         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
45233         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
45234         floating-point state and set global state from it as needed.
45235         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
45236         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
45237         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
45238         Likewise.
45239         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
45240         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
45241         Likewise.
45242         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
45243         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
45244         Use __sim_round_mode_thread.
45245         * math/test-fenv-tls.c: New file.
45246         * math/Makefile (tests): Add test-fenv-tls.
45247         ($(objpfx)test-fenv-tls): Depend on
45248         $(common-objpfx)nptl/libpthread.so.
45250 2013-11-19  Andreas Schwab  <schwab@suse.de>
45252         * locale/programs/locale.c (show_info): Decode wordarray elements.
45253         * locale/categories.def (LC_MONETARY): Add element for
45254         _NL_MONETARY_CRNCYSTR.
45255         * locale/C-monetary.c (conversion_rate): New variable.
45256         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
45257         element.
45259 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
45261         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
45262         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
45264 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45266         * elf/Makefile (tst-auxv): New test.
45267         * elf/tst-auxv.c: New
45268         * elf/rtld.c (dl_main): Adjust AT_EXECFN
45270 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
45272         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
45273         (hidden_proto): Caller changed.
45274         (hidden_tls_proto): New macro.
45275         (libc_hidden_tls_proto): Likewise.
45276         (rtld_hidden_tls_proto): Likewise.
45277         (libm_hidden_tls_proto): Likewise.
45278         (libresolv_hidden_tls_proto): Likewise.
45279         (librt_hidden_tls_proto): Likewise.
45280         (libdl_hidden_tls_proto): Likewise.
45281         (libnss_files_hidden_tls_proto): Likewise.
45282         (libnsl_hidden_tls_proto): Likewise.
45283         (libnss_nisplus_hidden_tls_proto): Likewise.
45284         (libutil_hidden_tls_proto): Likewise.
45286 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
45288         [BZ #10253]
45289         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
45290         (decompose_rpath): Defer expansion to fillin_rpath.
45291         (_dl_init_paths): Pass linkmap to fillin_rpath.
45293 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
45295         * benchtests/Makefile: Add strsep.
45296         * benchtests/bench-strsep.c: New file: strsep benchtest.
45297         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
45299 2013-11-18  Andreas Schwab  <schwab@suse.de>
45301         * locale/programs/locale.c (show_info) [case byte]: Check for
45302         '\377' instead of '\177'.
45303         * locale/C-monetary.c (not_available): Always use "\377".
45304         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
45305         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
45306         detect unavailable sign_posn locale elements.
45307         * locale/localeconv.c (__localeconv): For grouping and
45308         mon_grouping handle "\177" and "\377" like no grouping.
45309         (INT_ELEM): New macro.  Use it to set all numeric members.
45310         * locale/programs/ld-monetary.c (monetary_read)
45311         <tok_mon_grouping>: Normalize single -1 to the empty string.
45312         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
45313         Likewise.
45315 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45317         [BZ #16055]
45318         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
45319         when we match (nil).
45320         * stdio-common/tst-sscanf.c (struct test): Add testcase.
45322 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
45324         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
45325         (NO_TEST_INLINE): Update value.
45326         (ERRNO_UNCHANGED): Likewise.
45327         (ERRNO_EDOM): Likewise.
45328         (ERRNO_ERANGE): Likewise.
45329         (IGNORE_RESULT): Likewise.
45330         (check_float_internal): Check signs of NaN results if
45331         TEST_NAN_SIGN used.
45332         (check_complex): Pass TEST_NAN_SIGN flag through to second
45333         check_float_internal call.
45334         (copysign_test_data): Add tests with quiet NaNs as second
45335         argument.  Use TEST_NAN_SIGN.
45336         (fabs_test_data): Add test of negative quiet NaN argument.  Use
45337         TEST_NAN_SIGN.
45338         (signbit_test_data): Add tests of quiet NaN argument.
45339         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
45341         * math/gen-libm-test.pl (show_exceptions): Take extra argument
45342         $ignore_result.
45343         (parse_args): Handle function results specified as IGNORE.
45344         * math/libm-test.inc (IGNORE_RESULT): New macro.
45345         (check_float_internal): Do not check numerical result if flag
45346         IGNORE_RESULT set.
45347         (check_complex): Pass through IGNORE_RESULT to second
45348         check_float_internal call.
45349         (check_int): Do not check numerical result if flag IGNORE_RESULT
45350         set.
45351         (check_long): Likewise.
45352         (check_bool): Likewise.
45353         (check_longlong): Likewise.
45354         (lrint_test_data): Add tests of infinite and NaN arguments.
45355         (lrint_tonearest_test_data): Likewise.
45356         (lrint_towardzero_test_data): Likewise.
45357         (lrint_downward_test_data): Likewise.
45358         (lrint_upward_test_data): Likewise.
45359         (llrint_test_data): Likewise.
45360         (llrint_tonearest_test_data): Likewise.
45361         (llrint_towardzero_test_data): Likewise.
45362         (llrint_downward_test_data): Likewise.
45363         (llrint_upward_test_data): Likewise.
45364         (lround_test_data): Likewise.
45365         (llround_test_data): Likewise.
45367         * math/libm-test.inc (NO_TEST_INLINE): New macro.
45368         (ERRNO_UNCHANGED): Update value.
45369         (ERRNO_EDOM): Likewise.
45370         (ERRNO_ERANGE): Likewise.
45371         (NO_TEST_INLINE_FLOAT): New macro.
45372         (NO_TEST_INLINE_DOUBLE): Likewise.
45373         (enable_test): New function.
45374         (RUN_TEST_f_f): Check enable_test before running test.
45375         (RUN_TEST_2_f): Likewise.
45376         (RUN_TEST_fff_f): Likewise.
45377         (RUN_TEST_c_f): Likewise.
45378         (RUN_TEST_f_f1): Likewise.
45379         (RUN_TEST_fF_f1): Likewise.
45380         (RUN_TEST_fI_f1): Likewise.
45381         (RUN_TEST_ffI_f1): Likewise.
45382         (RUN_TEST_c_c): Likewise.
45383         (RUN_TEST_cc_c): Likewise.
45384         (RUN_TEST_f_i): Likewise.
45385         (RUN_TEST_f_i_tg): Likewise.
45386         (RUN_TEST_ff_i_tg): Likewise.
45387         (RUN_TEST_f_b): Likewise.
45388         (RUN_TEST_f_b_tg): Likewise.
45389         (RUN_TEST_f_l): Likewise.
45390         (RUN_TEST_f_L): Likewise.
45391         (RUN_TEST_fFF_11): Likewise.
45392         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
45393         conditionals.
45394         (cosh_test_data): Likewise.
45395         (exp_test_data): Likewise.
45396         (expm1_test_data): Likewise.
45397         (hypot_test_data): Likewise.
45398         (pow_test_data): Likewise.
45399         (sinh_test_data): Likewise.
45400         (tanh_test_data): Likewise.
45401         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
45402         flags argument.
45404         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
45405         tests with quiet NaN input and output.
45406         (acosh_test_data): Likewise.
45407         (asin_test_data): Likewise.
45408         (asinh_test_data): Likewise.
45409         (atan_test_data): Likewise.
45410         (atanh_test_data): Likewise.
45411         (atan2_test_data): Likewise.
45412         (cbrt_test_data): Likewise.
45413         (cos_test_data): Likewise.
45414         (cosh_test_data): Likewise.
45415         (erf_test_data): Likewise.
45416         (erfc_test_data): Likewise.
45417         (exp_test_data): Likewise.
45418         (exp10_test_data): Likewise.
45419         (exp2_test_data): Likewise.
45420         (expm1_test_data): Likewise.
45421         (hypot_test_data): Likewise.
45422         (j0_test_data): Likewise.
45423         (j1_test_data): Likewise.
45424         (jn_test_data): Likewise.
45425         (lgamma_test_data): Likewise.
45426         (log_test_data): Likewise.
45427         (log10_test_data): Likewise.
45428         (log1p_test_data): Likewise.
45429         (log2_test_data): Likewise.
45430         (pow_test_data): Likewise.
45431         (scalb_test_data): Likewise.
45432         (sin_test_data): Likewise.
45433         (sincos_test_data): Likewise.
45434         (sinh_test_data): Likewise.
45435         (tan_test_data): Likewise.
45436         (tanh_test_data): Likewise.
45437         (tgamma_test_data): Likewise.
45438         (y0_test_data): Likewise.
45439         (y1_test_data): Likewise.
45440         (yn_test_data): Likewise.
45442         [BZ #16167]
45443         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
45444         argument being NaN and avoid computations with second argument in
45445         that case.
45446         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45447         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
45448         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45450 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
45452         * locale/iso-639.def: Add Chitwani Tharu (the).
45454 2013-11-14  Andreas Schwab  <schwab@suse.de>
45456         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
45457         word instead of empty string.
45459 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45462         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
45463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45464         (__fe_nomask_env): Likewise.
45466 2013-11-13  Steve Ellcey  <sellcey@mips.com>
45468         * benchtests/bench-timing.h: Include time.h.
45470 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
45472         [BZ #15997]
45473         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
45474         to 3.4.0 for x32.
45475         * sysdeps/unix/sysv/linux/configure: Regenerated.
45477 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
45479         [BZ #16151]
45480         * stdlib/strtod_l.c (round_and_return): Do not consider
45481         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
45482         exponent one less than half the least subnormal exponent.
45483         * stdlib/test-strtod-round-data: Add more tests.
45484         * stdlib/tst-strtod-round.c (tests): Regenerated.
45486 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45488         [BZ #14143]
45489         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
45490         (__fe_mask_env): Likewise.
45491         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
45492         libm_hidden_proto and add function prototype.
45493         (__fe_mask_env): Add function prototype.
45494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45495         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
45496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45497         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
45498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45499         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
45501 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45503         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
45504         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
45506 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45508         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
45509         of htab_find_slot().
45511 2013-11-11  David S. Miller  <davem@davemloft.net>
45513         [BZ #16150]
45514         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
45515         symbol in the non-vis3 case in static builds.
45516         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
45517         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
45518         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
45519         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
45521 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
45523         [BZ #387]
45524         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
45525         it is empty.
45527 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45529         * benchtests/Makefile: Add bench-strtod.
45530         * benchtests/bench-strtod.c: New file: strtod benchtest
45532 2013-11-11  Andreas Schwab  <schwab@suse.de>
45534         [BZ #16153]
45535         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
45536         terminating NUL in key length.
45538 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45540         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
45541         Add artificial ODP entry for vDSO symbol for PPC64.
45542         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
45543         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
45545 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45547         [BZ #15374]
45548         * nss/getent.c (services_keys): Recognize services starting with digit.
45550 2013-11-06  David S. Miller  <davem@davemloft.net>
45552         [BZ #15985]
45553         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
45554         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
45556 2013-11-06  Will Newton  <will.newton@linaro.org>
45558         * manual/memory.texi (Malloc Examples): Remove register
45559         keyword from examples.
45561 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
45563         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
45565 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
45567         [BZ #6981]
45568         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
45569         depending on [__GCC_IEC_559 > 0].
45570         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
45571         depending on [__GCC_IEC_559_COMPLEX > 0].
45573 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
45575         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
45576         to iso-639.def.
45578 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
45580         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
45582 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
45584         [BZ #16112]
45585         * malloc/malloc (malloc_info): Do not handle first bin as
45586         special case.
45588 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
45590         * locale/iso-639.def: Add Central Nahuatl (nhn).
45592 2013-11-01  Bruno Haible  <bruno@clisp.org>
45594         [BZ #7003]
45595         * manual/math.texi (BSD Random): Specify range upper bound as
45596         in POSIX.
45598 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
45600         * locale/iso-639.def: Add Meadow Mari (mhr).
45602 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
45604         [BZ #14752], [BZ #15763]
45605         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
45606         Validate name.
45607         * rt/tst_shm.c: Add test for escaping directory.
45609 2013-10-31  Andreas Schwab  <schwab@suse.de>
45611         [BZ #15917]
45612         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
45613         followed by 'x' as part of digit sequence.
45614         * stdio-common/tst-sscanf.c (double_tests2): New tests.
45616 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
45618         [BZ #16037]
45619         * configure.ac: allow GNU Make 4.0 and greater.
45620         * configure: Regenerated.
45622 2013-10-30  Will Newton  <will.newton@linaro.org>
45624         [BZ #16038]
45625         * malloc/hooks.c (memalign_check): Limit alignment to the
45626         maximum representable power of two.
45627         * malloc/malloc.c (__libc_memalign): Likewise.
45628         * malloc/tst-memalign.c (do_test): Add test for very
45629         large alignment values.
45630         * malloc/tst-posix_memalign.c (do_test): Likewise.
45632 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45634         [BZ #11087]
45635         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
45636         (munmap_chunk): Likewise.
45637         (mremap_chunk): Likewise.
45639 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45641         [BZ #15799]
45642         * stdlib/div.c (div): Remove obsolete code.
45643         * stdlib/ldiv.c (ldiv): Likewise.
45644         * stdlib/lldiv.c (lldiv): Likewise.
45646 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45648         [BZ #16071]
45649         * nss/nss_files/files-XXX.c (get_contents_ret): New
45650         enumerator.
45651         (get_contents): New function.
45652         (internal_getent): Use it.  Expand size of LINEBUFLEN.
45654 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
45656         * configure.in: Moved to ...
45657         * configure.ac: ... here. Change reference to configure.in
45658         to configure.ac.
45659         * sysdeps/arm/preconfigure.ac: ... here.
45660         configure.in to configure.ac.
45661         * sysdeps/gnu/configure.in: Moved to ...
45662         * sysdeps/gnu/configure.ac: ... here.
45663         * sysdeps/i386/configure.in: Moved to ...
45664         * sysdeps/i386/configure.ac: ... here.
45665         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
45666         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
45667         * sysdeps/mach/configure.in: Moved to ...
45668         * sysdeps/mach/configure.ac: ... here.
45669         * sysdeps/mach/hurd/configure.in: Moved to ...
45670         * sysdeps/mach/hurd/configure.ac: ... here.
45671         * sysdeps/powerpc/configure.in: Moved to ...
45672         * sysdeps/powerpc/configure.ac: ... here.
45673         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
45674         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
45675         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
45676         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
45677         * sysdeps/s390/s390-32/configure.in: Moved to ...
45678         * sysdeps/s390/s390-32/configure.ac: ... here.
45679         * sysdeps/s390/s390-64/configure.in: Moved to ...
45680         * sysdeps/s390/s390-64/configure.ac: ... here.
45681         * sysdeps/sh/configure.in: Moved to ...
45682         * sysdeps/sh/configure.ac: ... here.
45683         * sysdeps/sparc/configure.in: Moved to ...
45684         * sysdeps/sparc/configure.ac: ... here.
45685         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
45686         * sysdeps/unix/sysv/linux/configure.ac: ... here.
45687         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
45688         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
45689         * sysdeps/x86_64/configure.in: Moved to ...
45690         * sysdeps/x86_64/configure.ac: ... here.
45691         * sysdeps/x86_64/preconfigure.in: Moved to ...
45692         * sysdeps/x86_64/preconfigure.ac: ... here.
45693         * aclocal.m4: Change reference to configure.in to configure.ac.
45694         * config.h.in: Likewise.
45695         * manual/install.texi: Likewise.
45696         * manual/maint.texi: Likewise.
45697         * Makefile: Likewise.
45698         * malloc/Makefile: Likewise.
45699         * nscd/Makefile: Likewise.
45700         * Makeconfig: Change reference to configure.in and
45701         preconfigure.in to configure.ac and preconfigure.ac
45702         respectively.
45703         * INSTALL: Regenerated.
45704         * configure: Likewise.
45705         * sysdeps/gnu/configure: Likewise.
45706         * sysdeps/i386/configure: Likewise.
45707         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
45708         * sysdeps/mach/configure: Likewise.
45709         * sysdeps/mach/hurd/configure: Likewise.
45710         * sysdeps/powerpc/configure: Likewise.
45711         * sysdeps/powerpc/powerpc32/configure: Likewise.
45712         * sysdeps/powerpc/powerpc64/configure: Likewise.
45713         * sysdeps/s390/s390-32/configure: Likewise.
45714         * sysdeps/s390/s390-64/configure: Likewise.
45715         * sysdeps/sh/configure: Likewise.
45716         * sysdeps/sparc/configure: Likewise.
45717         * sysdeps/unix/sysv/linux/configure: Likewise.
45718         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
45719         * sysdeps/x86_64/configure: Likewise.
45720         * sysdeps/x86_64/preconfigure: Likewise.
45722 2013-10-29  Andreas Schwab  <schwab@suse.de>
45724         * stdio-common/Makefile (tst-swscanf-ENV): Define.
45726 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45728         * benchtests/pow-inputs: Add new inputs.
45730         * benchtests/exp-inputs: Add new inputs.
45732         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
45733         conditional check for return value.
45734         (__cos32): Likewise.
45736 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45738         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
45739         to provide a boost for large inputs with word alignment.
45740         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
45741         implementation based on optimized PPC64 strcpy.
45742         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
45743         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
45744         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
45745         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
45747 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45749         [BZ #2801]
45750         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
45752 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45754         [BZ #14876]
45755         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
45756         * time/tst-strptime.c (day_tests): Add testcase.
45758 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45760         [BZ #14029]
45761         * manual/pattern.texi: Acknowledge that fnmatch can fail.
45763 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
45765         [BZ #16074]
45766         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
45767         MAP_FAILED on error.
45769 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45771         [BZ #16072]
45772         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
45773         heap for large requests.
45775 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
45777         [BZ #9954]
45778         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
45779         result if the result has no associated interface.
45780         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
45781         interface for all 127.X.Y.Z addresses.
45783 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
45785         * locale/iso-639.def: Add Ligurian (lij)
45787 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
45789         [BZ #15825]
45790         * sunrpc/rpc_main.c: Document rpcgen -5.
45792 2013-10-19  Michael Stahl  <mstahl@redhat.com>
45794         * elf/rtld.c (do_preload): Print the reason why preloading failed.
45796 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
45798         [BZ #10278]
45799         * posix/glob.c: Match only directories when trailing slash is present.
45800         * posix/tst-gnuglob.c (my_opendir): Do not open files.
45801         (main): Add testcase.
45803 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
45805         [BZ #15670]
45806         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
45808 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
45810         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
45811         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
45812         AUTH_DES and cindex for FIPS 140-2.
45813         (DES Encryption): Add cindex FIPS 46-3.
45815         * locale/locarchive.h (struct locarhandle): Add fname.
45816         * locale/programs/localedef.c (main): Pass ARGV[remaining]
45817         if an optional argument was specified to --list-archive,
45818         otherwise NULL.
45819         * locale/programs/locarchive.c (show_archive_content): Take new
45820         argument fname and pass it via ah.fname to open_archive.
45821         * locale/programs/localedef.h: Update decl.
45822         (open_archive): If AH->fname is non-null, open that file
45823         rather than the default file name, and don't ignore ENOENT.
45824         (create_archive): Set AH.fname to NULL.
45825         (delete_locales_from_archive): Likewise.
45826         (add_locales_to_archive): Likewise.
45827         * locale/programs/locfile.c (write_all_categories): Likewise.
45829 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
45830             Aldy Hernandez  <aldyh@redhat.com>
45832         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
45833         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
45834         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
45835         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
45836         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
45837         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
45838         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
45839         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
45840         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
45841         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
45842         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
45843         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
45844         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
45845         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
45846         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
45847         Likewise.
45848         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
45849         Likewise.
45850         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
45851         Likewise.
45852         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
45853         Likewise.
45854         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
45855         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
45856         Likewise.
45857         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
45858         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
45859         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
45860         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
45861         Likewise.
45862         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
45863         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
45864         * sysdeps/powerpc/preconfigure: Likewise.
45865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
45866         Likewise.
45867         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
45868         Replace contents of file by #include of <fenv_libc.h>.
45869         * sysdeps/powerpc/soft-fp/sfp-machine.h
45870         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
45871         and <sys/prctl.h>.
45872         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
45873         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
45874         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
45875         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
45876         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
45877         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
45878         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
45879         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
45880         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
45881         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
45882         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
45883         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
45884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45885         Allow copysignl PLT reference to be missing.
45887 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
45888             Joseph Myers  <joseph@codesourcery.com
45890         [BZ #15948]
45891         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
45892         single character.
45893         (add_to_tablewc): Assert sequence of wide characters is nonempty.
45895 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45897         * elf/tst-tls-dlinfo.c: Don't include tls.h.
45898         * elf/tst-tls1.c: Likewise.
45899         * elf/tst-tls10.h: Likewise.
45900         * elf/tst-tls14.c: Likewise.
45901         * elf/tst-tls2.c: Likewise.
45902         * elf/tst-tls3.c: Likewise.
45903         * elf/tst-tls4.c: Likewise.
45904         * elf/tst-tls5.c: Likewise.
45905         * elf/tst-tls6.c: Likewise.
45906         * elf/tst-tls7.c: Likewise.
45907         * elf/tst-tls8.c: Likewise.
45908         * elf/tst-tls9.c: Likewise.
45909         * elf/tst-tlsmod1.c: Likewise.
45910         * elf/tst-tlsmod13.c: Likewise.
45911         * elf/tst-tlsmod13a.c: Likewise.
45912         * elf/tst-tlsmod14a.c: Likewise.
45913         * elf/tst-tlsmod16a.c: Likewise.
45914         * elf/tst-tlsmod16b.c: Likewise.
45915         * elf/tst-tlsmod2.c: Likewise.
45916         * elf/tst-tlsmod3.c: Likewise.
45917         * elf/tst-tlsmod4.c: Likewise.
45918         * elf/tst-tlsmod5.c: Likewise.
45919         * elf/tst-tlsmod6.c: Likewise.
45921 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
45923         [BZ #12486]
45924         * malloc/malloc.c: remove checks for statistics.
45926 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
45928         [BZ #15277]
45929         * inet/inet_net.c (inet_network): Detect additional invalid strings.
45930         * inet/tst-network.c: Add testcase.
45932 2013-10-17  Andreas Schwab  <schwab@suse.de>
45934         [BZ #15218]
45935         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
45936         to determine canonical name.
45938 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
45940         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
45941         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
45942         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45943         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45944         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45945         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45946         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45947         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45948         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45949         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45950         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45951         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45952         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45953         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45954         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45955         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45956         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45957         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45958         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45959         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45960         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45961         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45962         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45963         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
45964         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
45965         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45966         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45967         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
45968         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45969         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
45970         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45971         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45972         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45973         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45974         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45975         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45976         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45977         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45978         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45979         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45980         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45981         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45982         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45983         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45984         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45985         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45986         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45987         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45988         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45989         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45990         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45991         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45992         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45993         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45994         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45995         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45996         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45997         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45999 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
46001         [BZ #16041]
46002         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
46003         make result into a quiet NaN.
46005 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
46007         * soft-fp/adddf3.c: Fix horizontal whitespace.
46008         * soft-fp/addsf3.c: Likewise.
46009         * soft-fp/addtf3.c: Likewise.
46010         * soft-fp/divdf3.c: Likewise.
46011         * soft-fp/divsf3.c: Likewise.
46012         * soft-fp/divtf3.c: Likewise.
46013         * soft-fp/double.h: Likewise.
46014         * soft-fp/eqdf2.c: Likewise.
46015         * soft-fp/eqsf2.c: Likewise.
46016         * soft-fp/eqtf2.c: Likewise.
46017         * soft-fp/extenddftf2.c: Likewise.
46018         * soft-fp/extended.h: Likewise.
46019         * soft-fp/extendsfdf2.c: Likewise.
46020         * soft-fp/extendsftf2.c: Likewise.
46021         * soft-fp/extendxftf2.c: Likewise.
46022         * soft-fp/fixdfdi.c: Likewise.
46023         * soft-fp/fixdfsi.c: Likewise.
46024         * soft-fp/fixdfti.c: Likewise.
46025         * soft-fp/fixsfdi.c: Likewise.
46026         * soft-fp/fixsfsi.c: Likewise.
46027         * soft-fp/fixsfti.c: Likewise.
46028         * soft-fp/fixtfdi.c: Likewise.
46029         * soft-fp/fixtfsi.c: Likewise.
46030         * soft-fp/fixtfti.c: Likewise.
46031         * soft-fp/fixunsdfdi.c: Likewise.
46032         * soft-fp/fixunsdfsi.c: Likewise.
46033         * soft-fp/fixunsdfti.c: Likewise.
46034         * soft-fp/fixunssfdi.c: Likewise.
46035         * soft-fp/fixunssfsi.c: Likewise.
46036         * soft-fp/fixunssfti.c: Likewise.
46037         * soft-fp/fixunstfdi.c: Likewise.
46038         * soft-fp/fixunstfsi.c: Likewise.
46039         * soft-fp/fixunstfti.c: Likewise.
46040         * soft-fp/floatdidf.c: Likewise.
46041         * soft-fp/floatdisf.c: Likewise.
46042         * soft-fp/floatditf.c: Likewise.
46043         * soft-fp/floatsidf.c: Likewise.
46044         * soft-fp/floatsisf.c: Likewise.
46045         * soft-fp/floatsitf.c: Likewise.
46046         * soft-fp/floattidf.c: Likewise.
46047         * soft-fp/floattisf.c: Likewise.
46048         * soft-fp/floattitf.c: Likewise.
46049         * soft-fp/floatundidf.c: Likewise.
46050         * soft-fp/floatundisf.c: Likewise.
46051         * soft-fp/floatunditf.c: Likewise.
46052         * soft-fp/floatunsidf.c: Likewise.
46053         * soft-fp/floatunsisf.c: Likewise.
46054         * soft-fp/floatunsitf.c: Likewise.
46055         * soft-fp/floatuntidf.c: Likewise.
46056         * soft-fp/floatuntisf.c: Likewise.
46057         * soft-fp/floatuntitf.c: Likewise.
46058         * soft-fp/fmadf4.c: Likewise.
46059         * soft-fp/fmasf4.c: Likewise.
46060         * soft-fp/fmatf4.c: Likewise.
46061         * soft-fp/gedf2.c: Likewise.
46062         * soft-fp/gesf2.c: Likewise.
46063         * soft-fp/getf2.c: Likewise.
46064         * soft-fp/ledf2.c: Likewise.
46065         * soft-fp/lesf2.c: Likewise.
46066         * soft-fp/letf2.c: Likewise.
46067         * soft-fp/muldf3.c: Likewise.
46068         * soft-fp/mulsf3.c: Likewise.
46069         * soft-fp/multf3.c: Likewise.
46070         * soft-fp/negdf2.c: Likewise.
46071         * soft-fp/negsf2.c: Likewise.
46072         * soft-fp/negtf2.c: Likewise.
46073         * soft-fp/op-1.h: Likewise.
46074         * soft-fp/op-2.h: Likewise.
46075         * soft-fp/op-4.h: Likewise.
46076         * soft-fp/op-8.h: Likewise.
46077         * soft-fp/op-common.h: Likewise.
46078         * soft-fp/quad.h: Likewise.
46079         * soft-fp/single.h: Likewise.
46080         * soft-fp/soft-fp.h: Likewise.
46081         * soft-fp/sqrtdf2.c: Likewise.
46082         * soft-fp/sqrtsf2.c: Likewise.
46083         * soft-fp/sqrttf2.c: Likewise.
46084         * soft-fp/subdf3.c: Likewise.
46085         * soft-fp/subsf3.c: Likewise.
46086         * soft-fp/subtf3.c: Likewise.
46087         * soft-fp/truncdfsf2.c: Likewise.
46088         * soft-fp/trunctfdf2.c: Likewise.
46089         * soft-fp/trunctfsf2.c: Likewise.
46090         * soft-fp/trunctfxf2.c: Likewise.
46091         * soft-fp/unorddf2.c: Likewise.
46092         * soft-fp/unordsf2.c: Likewise.
46093         * soft-fp/unordtf2.c: Likewise.
46095 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
46097         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
46098         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
46100 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
46102         * elf/dl-libc.c: Clear initfini list after freeing.
46104 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
46106         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
46107         * soft-fp/addsf3.c: Likewise.
46108         * soft-fp/addtf3.c: Likewise.
46109         * soft-fp/divdf3.c: Likewise.
46110         * soft-fp/divsf3.c: Likewise.
46111         * soft-fp/divtf3.c: Likewise.
46112         * soft-fp/double.h: Likewise.
46113         * soft-fp/eqdf2.c: Likewise.
46114         * soft-fp/eqsf2.c: Likewise.
46115         * soft-fp/eqtf2.c: Likewise.
46116         * soft-fp/extenddftf2.c: Likewise.
46117         * soft-fp/extended.h: Likewise.
46118         * soft-fp/extendsfdf2.c: Likewise.
46119         * soft-fp/extendsftf2.c: Likewise.
46120         * soft-fp/extendxftf2.c: Likewise.
46121         * soft-fp/fixdfdi.c: Likewise.
46122         * soft-fp/fixdfsi.c: Likewise.
46123         * soft-fp/fixdfti.c: Likewise.
46124         * soft-fp/fixsfdi.c: Likewise.
46125         * soft-fp/fixsfsi.c: Likewise.
46126         * soft-fp/fixsfti.c: Likewise.
46127         * soft-fp/fixtfdi.c: Likewise.
46128         * soft-fp/fixtfsi.c: Likewise.
46129         * soft-fp/fixtfti.c: Likewise.
46130         * soft-fp/fixunsdfdi.c: Likewise.
46131         * soft-fp/fixunsdfsi.c: Likewise.
46132         * soft-fp/fixunsdfti.c: Likewise.
46133         * soft-fp/fixunssfdi.c: Likewise.
46134         * soft-fp/fixunssfsi.c: Likewise.
46135         * soft-fp/fixunssfti.c: Likewise.
46136         * soft-fp/fixunstfdi.c: Likewise.
46137         * soft-fp/fixunstfsi.c: Likewise.
46138         * soft-fp/fixunstfti.c: Likewise.
46139         * soft-fp/floatdidf.c: Likewise.
46140         * soft-fp/floatdisf.c: Likewise.
46141         * soft-fp/floatditf.c: Likewise.
46142         * soft-fp/floatsidf.c: Likewise.
46143         * soft-fp/floatsisf.c: Likewise.
46144         * soft-fp/floatsitf.c: Likewise.
46145         * soft-fp/floattidf.c: Likewise.
46146         * soft-fp/floattisf.c: Likewise.
46147         * soft-fp/floattitf.c: Likewise.
46148         * soft-fp/floatundidf.c: Likewise.
46149         * soft-fp/floatundisf.c: Likewise.
46150         * soft-fp/floatunsidf.c: Likewise.
46151         * soft-fp/floatunsisf.c: Likewise.
46152         * soft-fp/floatuntidf.c: Likewise.
46153         * soft-fp/floatuntisf.c: Likewise.
46154         * soft-fp/floatuntitf.c: Likewise.
46155         * soft-fp/fmadf4.c: Likewise.
46156         * soft-fp/fmasf4.c: Likewise.
46157         * soft-fp/fmatf4.c: Likewise.
46158         * soft-fp/gedf2.c: Likewise.
46159         * soft-fp/gesf2.c: Likewise.
46160         * soft-fp/getf2.c: Likewise.
46161         * soft-fp/ledf2.c: Likewise.
46162         * soft-fp/lesf2.c: Likewise.
46163         * soft-fp/letf2.c: Likewise.
46164         * soft-fp/muldf3.c: Likewise.
46165         * soft-fp/mulsf3.c: Likewise.
46166         * soft-fp/multf3.c: Likewise.
46167         * soft-fp/negdf2.c: Likewise.
46168         * soft-fp/negsf2.c: Likewise.
46169         * soft-fp/negtf2.c: Likewise.
46170         * soft-fp/op-1.h: Likewise.
46171         * soft-fp/op-2.h: Likewise.
46172         * soft-fp/op-4.h: Likewise.
46173         * soft-fp/op-8.h: Likewise.
46174         * soft-fp/op-common.h: Likewise.
46175         * soft-fp/quad.h: Likewise.
46176         * soft-fp/single.h: Likewise.
46177         * soft-fp/soft-fp.h: Likewise.
46178         * soft-fp/sqrtdf2.c: Likewise.
46179         * soft-fp/sqrtsf2.c: Likewise.
46180         * soft-fp/sqrttf2.c: Likewise.
46181         * soft-fp/subdf3.c: Likewise.
46182         * soft-fp/subsf3.c: Likewise.
46183         * soft-fp/subtf3.c: Likewise.
46184         * soft-fp/truncdfsf2.c: Likewise.
46185         * soft-fp/trunctfdf2.c: Likewise.
46186         * soft-fp/trunctfsf2.c: Likewise.
46187         * soft-fp/trunctfxf2.c: Likewise.
46188         * soft-fp/unorddf2.c: Likewise.
46189         * soft-fp/unordsf2.c: Likewise.
46190         * soft-fp/unordtf2.c: Likewise.
46192 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
46194         [BZ #15672]
46195         * misc/error.c (error_tail): Fix possible buffer overflow.
46197 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
46199         [BZ #13028]
46200         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
46201         address.
46203 2013-10-14  P. J. McDermott  <pj@pehjota.net>
46205         [BZ #832]
46206         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
46207         testing pipefail option.
46209 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
46211         * soft-fp/double.h: Indent preprocessor directives inside #if.
46212         * soft-fp/extended.h: Likewise.
46213         * soft-fp/op-2.h: Likewise.
46214         * soft-fp/op-4.h: Likewise.
46215         * soft-fp/op-common.h: Likewise.
46216         * soft-fp/quad.h: Likewise.
46217         * soft-fp/single.h: Likewise.
46218         * soft-fp/soft-fp.h: Likewise.
46220 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
46222         * iconv/iconv_prog.c: Fix typos.
46223         * stdio-common/psiginfo-data.h: Likewise.
46225 2013-10-12   Reuben Thomas <rrt@sc3d.org>
46227         [BZ #15764]
46228         * locale/setlocale.c: Fix typo.
46230 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
46232         [BZ #16036]
46233         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
46234         signaling NaN arguments.
46235         * soft-fp/unordsf2.c (__unordsf2): Likewise.
46236         * soft-fp/unordtf2.c (__unordtf2): Likewise.
46238         [BZ #14910]
46239         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
46240         unordered operands.
46241         * soft-fp/gesf2.c (__gesf2): Likewise.
46242         * soft-fp/getf2.c (__getf2): Likewise.
46243         * soft-fp/ledf2.c (__ledf2): Likewise.
46244         * soft-fp/lesf2.c (__lesf2): Likewise.
46245         * soft-fp/letf2.c (__letf2): Likewise.
46247         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
46248         * soft-fp/eqsf2.c (__eqsf2): Likewise.
46249         * soft-fp/eqtf2.c (__eqtf2): Likewise.
46250         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
46251         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
46252         * soft-fp/fixdfti.c (__fixdfti): Likewise.
46253         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
46254         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
46255         * soft-fp/fixsfti.c (__fixsfti): Likewise.
46256         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
46257         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
46258         * soft-fp/fixtfti.c (__fixtfti): Likewise.
46259         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
46260         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
46261         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
46262         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
46263         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
46264         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
46265         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
46266         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
46267         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
46268         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
46269         * soft-fp/floatdisf.c (__floatdisf): Likewise.
46270         * soft-fp/floatsisf.c (__floatsisf): Likewise.
46271         * soft-fp/floattidf.c (__floattidf): Likewise.
46272         * soft-fp/floattisf.c (__floattisf): Likewise.
46273         * soft-fp/floattitf.c (__floattitf): Likewise.
46274         * soft-fp/floatundidf.c (__floatundidf): Likewise.
46275         * soft-fp/floatundisf.c (__floatundisf): Likewise.
46276         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
46277         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
46278         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
46279         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
46280         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
46281         * soft-fp/gesf2.c (__gesf2): Likewise.
46282         * soft-fp/getf2.c (__getf2): Likewise.
46283         * soft-fp/ledf2.c (__ledf2): Likewise.
46284         * soft-fp/lesf2.c (__lesf2): Likewise.
46285         * soft-fp/letf2.c (__letf2): Likewise.
46287         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
46288         Undefine and redefine.
46289         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
46290         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
46291         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
46292         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
46293         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46294         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
46295         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46296         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
46297         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46298         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
46299         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46300         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
46301         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46302         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
46303         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46305         [BZ #16032]
46306         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
46307         without decrementing exponent if mantissa >= that for the
46308         denominator, not >.
46309         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
46310         denominator, not >.  Decrement exponent in < case instead of
46311         incrementing in >= case.
46312         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
46313         without decrementing exponent if mantissa >= that for the
46314         denominator, not >.
46316         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
46317         computing saturated result for unsigned overflow.
46319 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46320             Jeff Law  <law@redhat.com>
46322         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
46323         (atan2Mp): Add systemtap probe marker.
46324         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
46325         (__ieee754_log): Add systemtap probe marker.
46326         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
46327         (atanMp): Add systemtap probe marker.
46328         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
46329         (tanMp): Add systemtap probe marker.
46330         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
46331         (__slowexp): Add systemtap probe marker.
46332         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
46333         (__slowpow): Add systemtap probe marker.
46334         * manual/probes.texi: Document probes.
46336 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
46338         [BZ #15362]
46339         * libio/fileops.c (_IO_new_file_write): Return count of bytes
46340         written.
46341         (_IO_new_file_xsputn): Don't return EOF if nothing has been
46342         written.
46343         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
46344         written to buffer but not flushed.
46345         * libio/iofwrite_u.c:  Likewise.
46346         * libio/iopadn.c:  Return bytes returned even if EOF was
46347         encountered.
46348         * libio/iowpadn.c:  Likewise.
46349         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
46350         if _IO_padn does not write the whole buffer.
46351         [!COMPILE_WPRINTF] (PAD): Likewise.
46353 2013-10-10  David S. Miller  <davem@davemloft.net>
46355         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
46356         directory block.
46358 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46360         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
46361         instead of FSF address.
46362         * soft-fp/fixdfti.c: Likewise.
46363         * soft-fp/fixsfti.c: Likewise.
46364         * soft-fp/fixtfti.c: Likewise.
46365         * soft-fp/fixunsdfti.c: Likewise.
46366         * soft-fp/fixunssfti.c: Likewise.
46367         * soft-fp/fixunstfti.c: Likewise.
46368         * soft-fp/floattidf.c: Likewise.
46369         * soft-fp/floattisf.c: Likewise.
46370         * soft-fp/floattitf.c: Likewise.
46371         * soft-fp/floatuntidf.c: Likewise.
46372         * soft-fp/floatuntisf.c: Likewise.
46373         * soft-fp/floatuntitf.c: Likewise.
46374         * soft-fp/trunctfxf2.c: Likewise.
46376         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
46377         * soft-fp/fixdfti.c: Likewise.
46378         * soft-fp/fixsfti.c: Likewise.
46379         * soft-fp/fixtfti.c: Likewise.
46380         * soft-fp/fixunsdfti.c: Likewise.
46381         * soft-fp/fixunssfti.c: Likewise.
46382         * soft-fp/fixunstfti.c: Likewise.
46383         * soft-fp/floattidf.c: Likewise.
46384         * soft-fp/floattisf.c: Likewise.
46385         * soft-fp/floattitf.c: Likewise.
46386         * soft-fp/floatuntidf.c: Likewise.
46387         * soft-fp/floatuntisf.c: Likewise.
46388         * soft-fp/floatuntitf.c: Likewise.
46389         * soft-fp/trunctfxf2.c: Likewise.
46391 2013-10-10  David S. Miller  <davem@davemloft.net>
46393         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46395 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
46397         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
46398         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
46399         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
46400         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
46401         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
46402         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
46403         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
46405         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
46406         for NaNs before doing comparisons on argument.
46407         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
46408         Likewise.
46410 2013-10-10  Will Newton  <will.newton@linaro.org>
46412         * malloc/hooks.c (memalign_check): Ensure the value of bytes
46413         passed to _int_memalign does not overflow.
46415 2013-10-10  Torvald Riegel  <triegel@redhat.com>
46417         * scripts/bench.pl: Add include-sources directive.
46418         * benchtests/README: Update documentation.
46420 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46422         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
46423         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
46424         instead of FP_INIT_ROUNDMODE.
46425         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
46426         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
46428         [BZ #16034]
46429         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
46430         copy class of input value.
46431         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
46432         not handle exceptions.
46433         * soft-fp/negsf2.c (__negsf2): Likewise.
46434         * soft-fp/negtf2.c (__negtf2): Likewise.
46435         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
46437 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
46439         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
46440         semicolon.  From Linux kernel.
46442 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
46444         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
46446 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
46448         [BZ #156]
46449         * manual/socket.texi: Added statement about buffer
46450         for gethostbyname2_r.
46452 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
46454         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
46455         Use .p2align directive instead, throughout.
46456         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
46457         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
46458         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
46459         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46460         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46461         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
46462         * sysdeps/x86_64/strchr.S: Likewise.
46463         * sysdeps/x86_64/strrchr.S: Likewise.
46465 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46467         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
46469         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
46471         * sysdeps/generic/math_private.h (__mpsin1): Remove
46472         declaration.
46473         (__mpcos1): Likewise.
46474         (__mpsin): New argument __range_reduce.
46475         (__mpcos): Likewise.
46476         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46477         (slow): Use __mpsin and __mpcos.
46478         (slow1): Likewise.
46479         (slow2): Likewise.
46480         (sloww): Likewise.
46481         (sloww1): Likewise.
46482         (sloww2): Likewise.
46483         (bsloww): Likewise.
46484         (bsloww1): Likewise.
46485         (bsloww2): Likewise.
46486         (cslow2): Likewise.
46487         (csloww): Likewise.
46488         (csloww1): Likewise.
46489         (csloww2): Likewise.
46490         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
46491         range_reduce.  Merge in __mpsin1.
46492         (__mpcos): Likewise.
46493         (__mpsin1): Remove.
46494         (__mpcos1): Likewise.
46496 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
46498         * locale/loadlocale.c (_nl_intern_locale_data): Use
46499         LOCFILE_ALIGNED_P.
46500         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
46501         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
46502         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
46503         obstack data is appropriately aligned.
46504         (obstack_int32_grow_fast): Likewise.
46505         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
46506         * locale/programs/locfile.c (add_locale_uint32): Likewise.
46507         (add_locale_uint32_array): Likewise.
46509 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
46511         * benchtests/Makefile: Remove ARGLIST and RET variables.
46512         ($(objpfx)bench-%.c): Pass only function name to the script.
46513         * benchtests/README: Update documentation.
46514         * benchtests/acos-inputs: Add new directives.
46515         * benchtests/acosh-inputs: Likewise.
46516         * benchtests/asin-inputs: Likewise.
46517         * benchtests/asinh-inputs: Likewise.
46518         * benchtests/atan-inputs: Likewise.
46519         * benchtests/atanh-inputs: Likewise.
46520         * benchtests/cos-inputs: Likewise.
46521         * benchtests/cosh-inputs: Likewise.
46522         * benchtests/exp-inputs: Likewise.
46523         * benchtests/log-inputs: Likewise.
46524         * benchtests/pow-inputs: Likewise.
46525         * benchtests/rint-inputs: Likewise.
46526         * benchtests/sin-inputs: Likewise.
46527         * benchtests/sinh-inputs: Likewise.
46528         * benchtests/tan-inputs: Likewise.
46529         * benchtests/tanh-inputs: Likewise.
46530         * scripts/bench.pl: Add support for new directives.
46532 2013-10-07  Alan Modra  <amodra@gmail.com>
46534         * README: Fix careless merge.
46536 2013-10-05  Alan Modra  <amodra@gmail.com>
46538         * NEWS: Mention powerpc64le support and bugs fixed.
46539         * README: Both big-endian and little-endian powerpc64 supported.
46541 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46543         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
46544         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
46545         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
46546         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
46548 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
46550         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
46551         match prototype.
46553 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
46555         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
46556         Move -mhard-float appending from
46557         ports/sysdeps/powerpc/powerpc32/Makefile.
46558         [$(with-fp) = yes] (ASFLAGS): Likewise.
46559         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
46560         * sysdeps/powerpc/nofpu: Move directory from
46561         ports/sysdeps/powerpc/nofpu.
46562         * sysdeps/powerpc/soft-fp: Move directory from
46563         ports/sysdeps/powerpc/soft-fp.
46564         * sysdeps/powerpc/powerpc32/405: Move directory from
46565         ports/sysdeps/powerpc/powerpc32/405.
46566         * sysdeps/powerpc/powerpc32/440: Move directory from
46567         ports/sysdeps/powerpc/powerpc32/440.
46568         * sysdeps/powerpc/powerpc32/464: Move directory from
46569         ports/sysdeps/powerpc/powerpc32/464.
46570         * sysdeps/powerpc/powerpc32/476: Move directory from
46571         ports/sysdeps/powerpc/powerpc32/476.
46572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
46573         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
46574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
46575         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
46576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
46577         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
46578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
46579         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
46580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
46581         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
46582         * README: Update for powerpc-*-linux-gnu software floating point
46583         support in libc.
46585         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
46586         case to powerpc/powerpc32*.
46587         * sysdeps/unix/sysv/linux/configure: Regenerated.
46589         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
46590         (_FPU_MASK_OM): Define as 0x04.
46591         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
46592         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
46593         0x00c10080.
46594         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
46595         0x0000003c.
46596         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
46598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
46599         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46600         getcontext_e500.
46601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
46602         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46603         setcontext_e500.
46604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
46605         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
46606         and setcontext_e500.
46608 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
46610         * locale/iso-3166.def: Update iso-1366.def and related occurrences
46612 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46614         * manual/threads.texi (Default Thread Attributes): Fix typo.
46616 2013-10-04  Will Newton  <will.newton@linaro.org>
46618         * malloc/Makefile: Add tst-memalign.
46619         * malloc/tst-memalign.c: New file.
46621         * malloc/tst-posix_memalign.c: Add comments.
46622         (do_test): Add comments and call free on all potentially
46623         allocated pointers. Add space after cast.
46625         * malloc/tst-pvalloc.c: Add comments.
46626         (do_test): Add comments and call free on all potentially
46627         allocated pointers. Remove duplicate check for NULL pointer.
46628         Add space after cast.
46630         * malloc/tst-valloc.c: Add comments.
46631         (do_test): Add comments and call free on all potentially
46632         allocated pointers. Remove duplicate check for NULL pointer.
46633         Add space after cast.
46635 2013-10-04  Alan Modra  <amodra@gmail.com>
46637         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46638         Use stdint types in rather than __attribute__((mode())).
46639         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46641 2013-10-04  Alan Modra  <amodra@gmail.com>
46643         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46644         Correct handling of unaligned relocs for little-endian.
46645         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46647 2013-10-04  Alan Modra  <amodra@gmail.com>
46649         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
46650         * configure: Regenerate.
46651         * nptl/shlib-versions: Powerpc*le starts at 2.18.
46652         * shlib-versions: Likewise.
46654 2013-10-04  Alan Modra  <amodra@gmail.com>
46656         * string/tester.c (test_memrchr): Increment reported test cycle.
46658 2013-10-04  Alan Modra  <amodra@gmail.com>
46660         * string/test-memcpy.c (do_one_test): When reporting errors, print
46661         string address and don't overrun end of string.
46663 2013-10-04  Alan Modra  <amodra@gmail.com>
46665         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
46666         insrdi.  Make better use of reg selection to speed exit slightly.
46667         Schedule entry path a little better.  Remove useless "are we done"
46668         checks on entry to main loop.  Handle wrapping around zero address.
46669         Correct main loop count.  Handle single left-over word from main
46670         loop inline rather than by using loop_small.  Remove extra word
46671         case in loop_small caused by wrong loop count.  Add little-endian
46672         support.
46673         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
46674         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
46675         cache hint.
46676         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
46677         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
46678         support.  Avoid rlwimi.
46679         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
46681 2013-10-04  Alan Modra  <amodra@gmail.com>
46683         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
46684         insrdi.  Formatting.
46685         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
46686         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46687         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46688         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
46689         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
46690         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
46692 2013-10-04  Alan Modra  <amodra@gmail.com>
46694         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
46695         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46696         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
46697         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
46698         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
46699         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46700         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46701         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46702         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
46703         use of regs.  Use power7 mtocrf.  Tidy function tails.
46705 2013-10-04  Alan Modra  <amodra@gmail.com>
46707         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
46708         Formatting.  Consistently use rXXX register defines or rN defines.
46709         Use early exit labels that avoid restoring unused non-volatile regs.
46710         Make cr field use more consistent with rWORDn compares.  Rename
46711         regs used as shift registers for unaligned loop, using rN defines
46712         for short lifetime/multiple use regs.
46713         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46714         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
46715         addi 1,1,64 to pop stack frame.  Simplify return value code.
46716         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46718 2013-10-04  Alan Modra  <amodra@gmail.com>
46720         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
46721         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
46722         rather than rlwimi.
46723         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
46724         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
46725         little-endian support.  Correct typos.
46726         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
46727         rather than rlwimi.
46728         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
46729         in loop and entry code to keep "and." results.
46730         (strchr): Add little-endian support.  Comment.  Move cntlzd
46731         earlier in tail.
46732         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
46734 2013-10-04  Alan Modra  <amodra@gmail.com>
46736         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
46737         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
46738         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
46739         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
46741 2013-10-04  Alan Modra  <amodra@gmail.com>
46743         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
46744         (rTMP): Define as r11.
46745         (strcmp): Add little-endian support.  Optimise tail.
46746         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
46747         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46748         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
46749         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46750         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
46751         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46752         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46754 2013-10-04  Alan Modra  <amodra@gmail.com>
46756         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
46757         little-endian support.  Remove unnecessary "are we done" tests.
46758         Handle "s" wrapping around zero and extremely large "size".
46759         Correct main loop count.  Handle single left-over word from main
46760         loop inline rather than by using small_loop.  Correct comments.
46761         Delete "zero" tail, use "end_max" instead.
46762         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
46764 2013-10-04  Alan Modra  <amodra@gmail.com>
46766         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
46767         support.  Don't branch over align.
46768         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
46769         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
46770         support.  Rearrange tmp reg use to suit.  Comment.
46771         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
46773 2013-10-04  Alan Modra  <amodra@gmail.com>
46775         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
46777 2013-10-04  Alan Modra  <amodra@gmail.com>
46779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
46780         conditional form of branch and link when obtaining pc.
46781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
46783 2013-10-04  Alan Modra  <amodra@gmail.com>
46785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
46786         HIWORD/LOWORD.
46787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
46788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
46790 2013-10-04  Alan Modra  <amodra@gmail.com>
46792         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
46793         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
46794         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
46795         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
46796         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
46797         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
46798         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
46799         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
46800         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
46801         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
46803 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46804             Alistair Popple <alistair@ozlabs.au.ibm.com>
46805             Alan Modra <amodra@gmail.com>
46807         [BZ #15723]
46808         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
46809         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
46810         _dl_hwcap access for little-endian.
46811         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
46812         destroy vmx regs when saving unaligned.
46813         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
46814         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
46815         destroy vmx regs when saving unaligned.
46817 2013-10-04  Alan Modra  <amodra@gmail.com>
46819         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
46820         Don't use a union to pack hi/low value.
46822 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46824         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
46825         for little-endian.
46826         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
46827         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
46828         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
46829         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
46830         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
46832 2013-10-04  Alan Modra  <amodra@gmail.com>
46834         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
46835         constants to usual value for .cst8 section, and remove redundant
46836         high address load.
46837         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
46838         constant for 0x1p52.  Load little-endian words of double from
46839         correct stack offsets.
46841 2013-10-04  Alan Modra  <amodra@gmail.com>
46843         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
46844         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
46845         words of double from correct stack offsets.
46846         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
46847         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
46848         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
46849         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
46850         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
46851         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
46852         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
46853         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
46854         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
46855         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
46856         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
46857         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
46858         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46859         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46860         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46861         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
46862         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
46864 2013-10-04  Alan Modra  <amodra@gmail.com>
46866         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
46867         64-bit int/double union.
46868         (_FPU_SETCW): Likewise.
46869         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
46870         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
46872 2013-10-04  Alan Modra  <amodra@gmail.com>
46874         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
46875         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
46877 2013-10-04  Alan Modra  <amodra@gmail.com>
46879         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
46880         use vector int constants.
46881         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
46883 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46885         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
46886         array with long long.
46887         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
46888         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
46889         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
46890         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
46891         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
46892         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
46893         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
46894         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
46895         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
46896         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
46897         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
46898         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
46899         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
46901 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46903         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
46904         (__signbit): Likewise.  Correct for little-endian.
46905         (__signbitl): Call __signbit.
46906         (lrint): Correct for little-endian.
46907         (lrintf): Call lrint.
46909 2013-10-04  Alan Modra  <amodra@gmail.com>
46911         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
46912         union 32-bit int array member with 64-bit int array.
46913         (t515, tm256): Double rather than long double.
46914         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
46916 2013-10-04  Alan Modra  <amodra@gmail.com>
46918         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
46919         Delete.
46920         (IEEE854_LONG_DOUBLE_BIAS): Delete.
46921         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
46922         version of math_ldbl.h.
46924 2013-10-04  Alan Modra  <amodra@gmail.com>
46926         [BZ #15734], [BZ #15735]
46927         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
46928         all uses of ieee875 long double macros and unions.  Simplify test
46929         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
46930         ldbl_extract_mantissa value for ix,iy exponents.  Properly
46931         normalize after ldbl_extract_mantissa, and don't add hidden bit
46932         already handled.  Don't treat low word of ieee854 mantissa like
46933         low word of IBM long double and mask off bit when testing for
46934         zero.
46935         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
46936         all uses of ieee875 long double macros and unions.  Simplify tests
46937         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
46938         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
46939         two1022, instead use their values.  Recognise that tests for large
46940         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
46941         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
46942         Rewrite all uses of ieee875 long double macros and unions.  Simplify
46943         test for 0.0L and nan.  Correct negation.
46944         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
46945         ieee875 long double macros and unions.  Correct output for large
46946         magnitude x.  Correct absolute value calculation.
46947         (__erfcl): Likewise.
46948         * math/libm-test.inc: Add tests for errors discovered in IBM long
46949         double versions of fmodl, remainderl, erfl and erfcl.
46951 2013-10-04  Alan Modra  <amodra@gmail.com>
46953         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
46954         all uses of ieee854 long double macros and unions.  Simplify tests
46955         for long doubles that are fully specified by the high double.
46956         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
46957         Likewise.
46958         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
46959         Remove dead code too.
46960         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
46961         (__ieee754_ynl): Likewise.
46962         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
46963         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
46964         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
46965         Remove dead code too.
46966         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
46967         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
46968         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
46969         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
46970         Simplify.
46971         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
46972         Simplify.
46973         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
46974         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
46975         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
46976         Comment on variable precision.
46977         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
46978         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
46979         Likewise.
46980         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
46981         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46982         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46983         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
46984         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
46986 2013-10-04  Alan Modra  <amodra@gmail.com>
46988         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
46989         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
46990         all uses of ieee854 long double macros and unions.
46991         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
46992         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
46993         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
46994         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
46995         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
46996         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
46997         Likewise.
46998         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
46999         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47000         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
47001         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47002         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
47003         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
47004         Simplify sign and nan test too.
47005         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
47006         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
47007         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
47008         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
47009         Likewise.
47010         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
47011         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
47012         Likewise.
47013         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47014         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
47015         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
47016         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
47017         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
47018         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
47020 2013-10-04  Alan Modra  <amodra@gmail.com>
47022         * stdio-common/printf_size.c (__printf_size): Don't use
47023         union ieee854_long_double in fpnum union.
47024         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
47025         signbit macro to retrieve sign from long double.
47026         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
47027         retrieve sign from long double.
47028         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
47029         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
47030         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
47031         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47032         * math/test-misc.c (main): Don't use union ieee854_long_double.
47034 2013-10-04  Alan Modra  <amodra@gmail.com>
47036         [BZ #15680]
47037         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
47038         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
47039         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
47040         calculation.  Remove unnecessary test for denormal exponent.
47041         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
47042         Correct handling of denormals.  Avoid undefined shift behaviour.
47043         Correct normalisation of low mantissa when low double is denormal.
47044         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
47045         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
47046         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
47047         Correct normalisation of low mantissa.  Test for overflow of high
47048         mantissa and normalise.
47049         (ldbl_nearbyint): Use more readable constant for two52.
47050         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
47051         (__mpn_construct_long_double): Fix test for overflow of high
47052         mantissa and correct normalisation.  Avoid undefined shift.
47054 2013-10-04  Alan Modra  <amodra@gmail.com>
47056         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
47057         (union ibm_extended_long_double): Define as an array of ieee754_double.
47058         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
47059         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
47060         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
47061         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47062         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47063         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
47064         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47065         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
47066         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47067         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
47068         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
47070 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
47072         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
47073         page size instead of calling getpagesize.
47075         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
47076         (LOCFILE_ALIGN_MASK): Likewise.
47077         (LOCFILE_ALIGN_UP): Likewise.
47078         (LOCFILE_ALIGNED_P): Likewise.
47079         * locale/programs/ld-collate.c (collate_output): Use the new
47080         macros instead of __alignof__ (int32_t).
47081         * locale/weight.h (findidx): Likewise.
47083 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
47085         [BZ #431]
47086         * manual/string.texi: Fix strncat and wcsncat.
47088 2013-10-03  Brooks Moses  <bmoses@google.com>
47090         [BZ #15915]
47091         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
47092         * Makerules: ...here, and adjust associated comments.
47094 2013-10-02  Will Newton  <will.newton@linaro.org>
47096         * malloc/Makefile: Add tst-pvalloc.
47097         * malloc/tst-pvalloc.c: New file.
47099 2013-10-02  Will Newton  <will.newton@linaro.org>
47101         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
47102         improve test coverage.
47104 2013-10-02  Will Newton  <will.newton@linaro.org>
47106         * malloc/Makefile: Add tst-posix_memalign.
47107         * malloc/tst-posix_memalign.c: New file.
47109 2013-10-01  Eric Blake  <eblake@redhat.com>
47111         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
47112         Use __THROWNL rather than __THROW on static functions.
47114 2013-09-30  Petr Machata  <pmachata@redhat.com>
47116         * elf/elf.h (R_AARCH64_ABS16): New macro.
47117         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
47118         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
47119         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
47120         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
47121         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
47122         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
47123         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
47124         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
47125         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
47126         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
47127         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
47128         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
47129         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
47130         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
47131         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
47132         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
47133         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
47134         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
47135         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
47136         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
47137         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
47138         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
47139         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
47140         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
47141         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
47142         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
47143         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
47144         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
47145         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
47146         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
47147         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
47148         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
47149         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
47150         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
47151         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
47152         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
47153         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
47154         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
47155         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
47156         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
47157         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
47158         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
47159         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
47160         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
47161         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
47162         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
47163         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
47164         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
47165         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
47166         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
47167         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
47168         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
47169         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
47170         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
47171         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
47172         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
47173         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
47174         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
47175         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
47176         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
47177         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
47178         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
47179         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
47180         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
47181         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
47182         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
47183         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
47184         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
47185         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
47186         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
47187         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
47188         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
47189         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
47190         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
47191         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
47192         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
47193         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
47194         (R_AARCH64_TLSDESC_LDR): Likewise.
47195         (R_AARCH64_TLSDESC_ADD): Likewise.
47196         (R_AARCH64_TLSDESC_CALL): Likewise.
47198 2013-09-30  Andreas Schwab  <schwab@suse.de>
47200         [BZ #15048]
47201         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
47202         the nss database lookup.
47203         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47204         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47206 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
47208         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
47210 2013-09-28  P. J. McDermott  <pj@pehjota.net>
47212         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
47213         ${Bash-specific parameter/pattern/string} parameter expansion.
47214         * sysdeps/unix/make-syscalls.sh: Likewise.
47216 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47218         * sysdeps/sh/stackguard-macros.h: New file.
47220 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
47222         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
47223         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
47224         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
47225         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
47226         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47227         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
47229 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47231         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
47232         Fix thread ID register.
47234 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
47236         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
47237         [POSIX || UNIX98]: Require rather than permitting all symbols from
47238         <time.h>.
47239         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
47240         element of struct sched_param.
47241         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
47242         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
47243         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
47244         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
47245         constant.
47247 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
47249         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
47250         argument calculation.
47252 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
47254         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
47255         Expect macro.
47256         [POSIX] (pthread_attr_t): Do not require type.
47257         [POSIX] (pthread_cond_t): Likewise.
47258         [POSIX] (pthread_condattr_t): Likewise.
47259         [POSIX] (pthread_key_t): Likewise.
47260         [POSIX] (pthread_mutex_t): Likewise.
47261         [POSIX] (pthread_mutexattr_t): Likewise.
47262         [POSIX] (pthread_once_t): Likewise.
47263         [POSIX] (pthread_t): Likewise.
47264         [POSIX-based standards] (pthread_atfork): Expect function.
47266 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
47267             Richard Sandiford  <richard@codesourcery.com>
47269         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
47270         (swap_endianness_p): New extern variable.
47271         (set_big_endian): New inline function.
47272         (maybe_swap_uint32): Likewise.
47273         (maybe_swap_uint32_array): Likewise.
47274         (maybe_swap_uint32_obstack): Likewise.
47275         * locale/programs/locfile.c: Include <stdbool.h>.
47276         (swap_endianness_p): New variable.
47277         (add_locale_uint32): Call maybe_swap_uint32.
47278         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
47279         (write_locale_data): Call maybe_swap_uint32_array.
47280         * locale/programs/ld-collate.c (obstack_int32_grow): Call
47281         maybe_swap_uint32.
47282         (obstack_int32_grow_fast): Likewise.
47283         (output_weightwc): Call maybe_swap_uint32_obstack.
47284         (collate_output): Likewise.
47285         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
47286         (OPT_LITTLE_ENDIAN): Likewise.
47287         (options): Add --little-endian and --big-endian options.
47288         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
47289         * locale/programs/locarchive.c: Include "locfile.h".
47290         (GET): New macro.
47291         (SET): Likewise.
47292         (INC): Likewise.
47293         (create_archive): Use the new macros to access fields of
47294         structures directly mapped from or written to locale archives.
47295         (oldlocrecentcmp): Likewise.
47296         (enlarge_archive): Likewise.
47297         (insert_name): Likewise.
47298         (add_alias): Likewise.
47299         (add_locale): Likewise.
47300         (delete_locales_from_archive): Likewise.
47301         (show_archive_content): Likewise.
47302         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
47303         locale data.
47305 2013-09-24  Roland McGrath  <roland@hack.frob.com>
47307         * manual/freemanuals.texi: Updated from (newly) canonical copy at
47308         http://www.gnu.org/doc/freemanuals.texi.
47309         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
47311 2013-09-24  Will Newton  <will.newton@linaro.org>
47313         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
47314         macro.
47316 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
47318         * locale/hashval.h (compute_hashval): Interpret bytes of key as
47319         unsigned char.
47321 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
47323         * manual/threads.texi (POSIX Threads): Fix a typo.
47325 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47327         [BZ #14547]
47328         * string/tst-strcoll-overflow.c: New test case.
47329         * string/Makefile (xtests): Add tst-strcoll-overflow.
47330         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
47331         cache if string sizes may cause integer overflow.
47333         [BZ #14547]
47334         * string/strcoll_l.c (coll_seq): New members rule, idx,
47335         save_idx and back_us.
47336         (get_next_seq_nocache): New function.
47337         (do_compare_nocache): New function.
47338         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
47339         when malloc fails.
47341 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
47343         [BZ #15754]
47344         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
47345         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
47346         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
47348         [BZ #15754]
47349         * elf/Makefile (tests): Add tst-ptrguard1.
47350         (tests-static): Add tst-ptrguard1-static.
47351         (tst-ptrguard1-ARGS): Define.
47352         (tst-ptrguard1-static-ARGS): Define.
47353         * elf/tst-ptrguard1.c: New file.
47354         * elf/tst-ptrguard1-static.c: New file.
47355         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
47356         * sysdeps/i386/stackguard-macros.h: Likewise.
47357         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47358         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47359         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47360         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47361         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47362         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47364 2013-09-23  Hector Marco  <hecmargi@upv.es>
47365             Ismael Ripoll  <iripoll@disca.upv.es>
47366             Carlos O'Donell  <carlos@redhat.com>
47368         [BZ #15754]
47369         * sysdeps/generic/stackguard-macros.h: Define
47370         __pointer_chk_guard_local and POINTER_CHK_GUARD.
47371         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
47372         Define __pointer_chk_guard_local.
47373         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
47374         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
47376 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
47378         [BZ #15859]
47379         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
47381 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
47383         * include/string.h (__ffs): Declare as hidden.
47384         * string/ffs.c (__ffs): Define as hidden.
47385         * sysdeps/i386/ffs.c (__ffs): Likewise.
47386         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
47387         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
47388         * sysdeps/s390/ffs.c (__ffs): Likewise.
47389         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
47391 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
47393         * NEWS: Mention malloc probes.
47395         * malloc/arena.c (new_heap): New memory_heap_new probe.
47396         (grow_heap): New memory_heap_more probe.
47397         (shrink_heap): New memory_heap_less probe.
47398         (heap_trim): New memory_heap_free probe.
47399         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
47400         (systrim): New memory_sbrk_less probe.
47401         * manual/probes.texi: Document them.
47403         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
47404         * manual/probes.texi: Document it.
47406         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
47407         (__libc_realloc): Add memory_realloc_retry probe.
47408         (__libc_memalign): Add memory_memalign_retry probe.
47409         (__libc_valloc): Add memory_valloc_retry probe.
47410         (__libc_pvalloc): Add memory_pvalloc_retry probe.
47411         (__libc_calloc): Add memory_calloc_retry probe.
47412         * manual/probes.texi: Document them.
47414         * malloc/arena.c (get_free_list): Add probe
47415         memory_arena_reuse_free_list.
47416         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
47417         and memory_arena_reuse.
47418         (arena_get2) [!PER_THREAD]: Likewise.
47419         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
47420         memory_arena_reuse_realloc.
47421         * manual/probes.texi: Document them.
47423         * malloc/malloc.c (__libc_free): Add
47424         memory_mallopt_free_dyn_thresholds probe.
47425         (__libc_mallopt): Add multiple memory_mallopt probes.
47426         * manual/probes.texi: Document them.
47428         * malloc/malloc.c: Include stap-probe.h.
47429         (__libc_mallopt): Add memory_mallopt probe.
47430         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
47431         * manual/probes.texi: New.
47432         * manual/Makefile (chapters): Add probes.
47433         * manual/threads.texi: Set next node.
47435 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
47437         [BZ #15963, #13985]
47438         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
47439         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
47440         Add `Chinese' to `nan' entry name.
47442 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47444         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
47445         (POLYNOMIAL): Likewise.
47446         (TAYLOR_SINCOS): Likewise.
47447         (TAYLOR_SLOW): Likewise.
47448         (__sin): Use TAYLOR_SINCOS.
47449         (__cos): Likewise.
47450         (slow): Use TAYLOR_SLOW.
47451         (sloww): Likewise.
47452         (bsloww): Likewise.
47453         (csloww): Likewise.
47455 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47457         * stdlib/strtod_l.c: Fix buffer overrun.
47459 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47461         * benchtests/Makefile (bench): Add sincos.
47462         * benchtests/bench-sincos.c: New file.
47464         * math/libm-test.inc (cos_test_data): New test inputs.
47465         (sin_test_data): Likewise.
47467         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
47468         macro.
47469         (__sin): Use it.
47470         (__cos): Likewise.
47471         (slow1): Likewise.
47472         (slow2): Likewise.
47473         (sloww1): Likewise.
47474         (sloww2): Likewise.
47475         (bsloww1): Likewise.
47476         (bsloww2): Likewise.
47477         (cslow2): Likewise.
47478         (csloww1): Likewise.
47479         (csloww2): Likewise.
47481         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
47482         function.
47483         (__sin): Use it.
47484         (__cos): Likewise.
47486         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
47487         gotos.
47488         (__cos): Likewise.
47490 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
47492         * config.h.in (HAVE_MIPS_NAN2008): New macro.
47493         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
47494         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
47495         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
47496         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
47497         * elf/cache.c (print_entry): Handle the new cache flags.
47499 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47500             Aldy Hernandez  <aldyh@redhat.com>
47502         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
47503         Change condition to [_SOFT_FLOAT].
47504         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
47505         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
47506         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
47507         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
47508         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
47509         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
47510         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
47511         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
47512         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
47513         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
47514         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
47515         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
47516         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
47517         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
47518         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
47519         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
47520         declaration.
47522 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47524         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
47525         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47526         (__longjmp): Use LOAD_GP to load saved GPRs.
47527         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
47528         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47529         (__sigsetjmp): Use SAVE_GP to save GPRs.
47531         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
47532         Do not append -msoft-float.
47533         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
47535 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47537         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
47539 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
47541         [BZ #15966]
47542         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
47543         (_FPU_GETCW): Use initial "__" on variable and field names but not
47544         on macro parameter name.
47545         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
47546         parentheses around reference to macro parameter.
47548 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
47550         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
47551         prototype.
47552         (ctype_startup): Use uint32_t in cast and sizeof for
47553         ctype->charnames.
47555 2013-09-11  Jia Liu  <proljc@gmail.com>
47557         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
47558         __daddr_t_defined.
47559         [__FreeBSD__]: Likewise.
47561 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
47563         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
47564         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
47565         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
47566         (strchr): Remove __strchr_sse42 ifunc selection.
47567         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
47568         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
47570 2013-09-11  Will Newton  <will.newton@linaro.org>
47572         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
47573         parameter to RES. Remove hardcoded 1000 value.
47574         * benchtests/bench-skeleton.c (main): Pass RES parameter
47575         to TIMING_INIT and multiply result by 1000.
47577 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47579         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47581 2013-09-11  Andreas Schwab  <schwab@suse.de>
47583         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
47584         if not defined.
47585         (O_TMPFILE) [__USE_GNU]: Define.
47586         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
47587         Define.
47589 2013-09-11  Will Newton  <will.newton@linaro.org>
47591         [BZ #15857]
47592         * malloc/malloc.c (__libc_memalign): Check the value of bytes
47593         does not overflow.
47595 2013-09-11  Will Newton  <will.newton@linaro.org>
47597         [BZ #15856]
47598         * malloc/malloc.c (__libc_valloc): Check the value of bytes
47599         does not overflow.
47601 2013-09-11  Will Newton  <will.newton@linaro.org>
47603         [BZ #15855]
47604         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
47605         does not overflow.
47607 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
47609         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
47610         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47611         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47612         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47613         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47615 2013-09-10  Allan McRae  <allan@archlinux.org>
47617         [BZ #15748]
47618         * manual/arith.texi (Parsing of Floats): Clarify
47619         cross-reference.
47621         [BZ #15849]
47622         * manual/install.texi (Running make install): Mention
47623         --enable-pt-chown.
47624         * INSTALL: Regenerated.
47626 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
47628         * csu/init-first.c (_init): Remove the !SHARED condition around
47629         FPU control word initialization.
47630         * elf/dl-support.c (_dl_fpu_control): New variable.
47631         (_dl_aux_init) <AT_FPUCW>: Initialize it.
47632         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
47633         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
47634         * math/test-fpucw-static.c: New file.
47635         * math/test-fpucw-ieee.c: New file.
47636         * math/test-fpucw-ieee-static.c: New file.
47637         * math/Makefile (tests): Add `test-fpucw-ieee' and
47638         `$(tests-static)'.
47639         (tests-static): New variable.
47640         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
47641         dependency to...
47642         [($(build-shared),yes)]
47643         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
47644         ... this.
47645         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
47646         New dependency.
47648 2013-09-09  Allan McRae  <allan@archlinux.org>
47650         [BZ #15939]
47651         * manual/string.texi (Collation Functions): Fix typo in
47652         strcoll example.
47653         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
47655         [BZ #15893]
47656         * stdlib/isomac.c (get_null_defines): Fix memory leak.
47658         [BZ #15892]
47659         * libio/memstream.c (open_memstream): Fix memory leak.
47660         * libio/wmemstream.c (open_wmemstream): Likewise.
47662         [BZ #15895]
47663         * nscd/netgroupcache.c: Fix nesting of ifdefs.
47665 2013-09-09  Will Newton  <will.newton@linaro.org>
47667         * malloc/Makefile: Add tst-realloc to tests.
47668         * malloc/tst-realloc.c: New file.
47670 2013-09-09  Allan McRae  <allan@archlinux.org>
47672         [BZ #15844]
47673         * COPYING: Update from GNU website to fix FSF address.
47674         * COPYING.LIB: Likewise.
47676 2013-09-06  David S. Miller  <davem@davemloft.net>
47678         * po/zh_TW.po: Update Chinese (traditional) translation from
47679         translation project.
47681 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
47682             Joseph Myers  <joseph@codesourcery.com>
47684         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
47685         "localeinfo.h".
47686         (obstack_chunk_alloc): New macro.
47687         (obstack_chunk_free): Likewise.
47688         (record_offset): New function.
47689         (init_locale_data): Likewise.
47690         (align_locale_data): Likewise.
47691         (add_locale_empty): Likewise.
47692         (add_locale_raw_data): Likewise.
47693         (add_locale_raw_obstack): Likewise.
47694         (add_locale_string): Likewise.
47695         (add_locale_wstring): Likewise.
47696         (add_locale_uint32): Likewise.
47697         (add_locale_uint32_array): Likewise.
47698         (add_locale_char): Likewise.
47699         (start_locale_structure): Likewise.
47700         (end_locale_structure): Likewise.
47701         (start_locale_prelude): Likewise.
47702         (end_locale_prelude): Likewise.
47703         (write_locale_data): Take locale_file structure rather than an
47704         iovec.
47705         * locale/programs/locfile.h: Include "obstack.h".
47706         (struct locale_file): Change to store locale file contents instead
47707         of header.
47708         (init_locale_data): New prototype.
47709         (align_locale_data): Likewise.
47710         (add_locale_empty): Likewise.
47711         (add_locale_raw_data): Likewise.
47712         (add_locale_raw_obstack): Likewise.
47713         (add_locale_string): Likewise.
47714         (add_locale_wstring): Likewise.
47715         (add_locale_uint32): Likewise.
47716         (add_locale_uint32_array): Likewise.
47717         (add_locale_char): Likewise.
47718         (start_locale_structure): Likewise.
47719         (end_locale_structure): Likewise.
47720         (start_locale_prelude): Likewise.
47721         (end_locale_prelude): Likewise.
47722         (write_locale_data): Update prototype.
47723         * locale/programs/3level.h (struct TABLE): Remove result field.
47724         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
47725         Use new locale_file interface.
47726         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
47727         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
47728         * locale/programs/ld-address.c (address_output): Use new
47729         locale_file interface.
47730         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
47731         NO_ADD_LOCALE.
47732         (collate_finish): Don't call collseq_table_finalize.
47733         (collate_output): Use new locale_file interface.
47734         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
47735         in file.
47736         (NO_FINALIZE): Change to NO_ADD_LOCALE.
47737         (TABLE): Move defines earlier in file.
47738         (ELEMENT): Likewise.
47739         (DEFAULT): Likewise.
47740         (wctrans_table_add): Move macro and inline function earlier in
47741         file.
47742         (struct wctype_table): Move type earlier in file.
47743         (add_locale_wctype_table): New static prototype.
47744         (struct locale_ctype_t): Use logical types instead of struct iovec
47745         pointers for members.
47746         (ctype_output): Use new locale_file interface.
47747         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
47748         new locale_file interface.
47749         (allocate_arrays): Update for use of new locale_file interface.
47750         * locale/programs/ld-identification.c (identification_output): Use
47751         new locale_file interface.
47752         * locale/programs/ld-measurement.c (measurement_output): Likewise.
47753         * locale/programs/ld-messages.c (messages_output): Likewise.
47754         * locale/programs/ld-monetary.c (monetary_output): Likewise.
47755         * locale/programs/ld-name.c (name_output): Likewise.
47756         * locale/programs/ld-numeric.c (numeric_output): Likewise.
47757         * locale/programs/ld-paper.c (paper_output): Likewise.
47758         * locale/programs/ld-telephone.c (telephone_output): Likewise.
47759         * locale/programs/ld-time.c (time_output): Likewise.
47761 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47763         * benchtests/Makefile: Add memrchr benchmark.
47764         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
47765         benchmark as memrchr.
47766         * benchtests/bench-memrchr-ifunc.c: New file.
47767         * benchtests/bench-memrchr.c: New file.
47769 2013-09-06   Will Newton  <will.newton@linaro.org>
47771         * benchtests/Makefile (string-bench): Add memcpy.
47773 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
47774             Cong Wang  <amwang@redhat.com>
47776         [BZ #15850]
47777         * sysdeps/unix/sysv/linux/bits/in.h
47778         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
47779         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
47780         before __USE_KERNEL_IPV6_DEFS uses.
47781         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
47782         IPPROTO_BEETPH.
47783         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
47784         sockaddr_in6, or ipv6_mreq.
47786 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47788         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
47789         memory access for final bytes in some large inputs.
47790         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
47792 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47794         * string/test-memrchr.c: New file.
47795         * string/test-memrchr-ifunc.c: New file.
47796         * string/Makefile: Add new memrchr testcase.
47798 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
47800         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
47801         fanotify_init returns EPERM.
47803 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
47805         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
47806         errors.
47807         (top level): Treat second token from macro or constant entries for
47808         allowed headers as allowed.
47809         * include/complex.h: Condition internal declarations on
47810         [!_ISOMAC].
47811         * include/fenv.h: Condition include of <stdbool.h> and internal
47812         declarations on [!_ISOMAC].
47814 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
47816         [BZ #15923]
47817         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
47819 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
47821         * configure.in (--enable-versioning): Remove configure option.
47822         (libc_cv_asm_symver_directive): Remove configure test.
47823         (libc_cv_ld_version_script_option): Likewise.
47824         (VERSIONING): Remove variable and AC_SUBST.
47825         (DO_VERSIONING): Remove AC_DEFINE.
47826         * configure: Regenerated.
47827         * config.h.in (DO_VERSIONING): Remove macro.
47828         * Makerules [$(versioning) = yes]: Change conditionals to
47829         [$(build-shared) = yes].
47830         * config.make.in (versioning): Remove variable.
47831         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
47832         [$(build-shared) = yes].
47833         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
47834         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
47835         * elf/Makefile [$(versioning) = yes]: Change conditionals to
47836         [$(build-shared) = yes].
47837         * extra-lib.mk [$(versioning) = yes]: Likewise.
47838         * hurd/Makefile [$(versioning) = yes]: Likewise.
47839         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
47840         [SHARED].
47841         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
47842         [SHARED].
47843         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
47844         [SHARED && !NO_HIDDEN].
47845         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
47846         [SHARED].
47847         [SHARED && DO_VERSIONING]: Likewise..
47848         * libio/Makefile [$(versioning) = yes]: Change conditionals to
47849         [$(build-shared) = yes].
47850         * manual/install.texi (--disable-versioning): Remove
47851         documentation.
47852         * INSTALL: Regenerated.
47853         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
47854         to [SHARED].
47855         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
47856         [$(build-shared) = yes].
47857         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
47858         * sysdeps/i386/i686/multiarch/strstr-c.c
47859         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
47860         [SHARED && !NO_HIDDEN].
47861         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
47862         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
47863         * sysdeps/powerpc/powerpc32/dl-machine.c
47864         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
47865         * sysdeps/powerpc/powerpc32/sysdep.h
47866         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
47867         to [SHARED && PIC && !NO_HIDDEN].
47868         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
47869         conditional to [SHARED].
47871 2013-09-04   Will Newton  <will.newton@linaro.org>
47873         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
47874         * benchtests/bench-string.h: Include bench-timing.h instead
47875         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
47876         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
47877         call to HP_TIMING_DIFF_INIT.
47878         * benchtests/bench-memccpy.c: Use bench-timing.h macros
47879         instead of hp-timing.h macros.
47880         * benchtests/bench-memchr.c: Likewise.
47881         * benchtests/bench-memcmp.c: Likewise.
47882         * benchtests/bench-memcpy.c: Likewise.
47883         * benchtests/bench-memmem.c: Likewise.
47884         * benchtests/bench-memmove.c: Likewise.
47885         * benchtests/bench-memset.c: Likewise.
47886         * benchtests/bench-rawmemchr.c: Likewise.
47887         * benchtests/bench-strcasecmp.c: Likewise.
47888         * benchtests/bench-strcasestr.c: Likewise.
47889         * benchtests/bench-strcat.c: Likewise.
47890         * benchtests/bench-strchr.c: Likewise.
47891         * benchtests/bench-strcmp.c: Likewise.
47892         * benchtests/bench-strcpy.c: Likewise.
47893         * benchtests/bench-strcpy_chk.c: Likewise.
47894         * benchtests/bench-strlen.c: Likewise.
47895         * benchtests/bench-strncasecmp.c: Likewise.
47896         * benchtests/bench-strncat.c: Likewise.
47897         * benchtests/bench-strncmp.c: Likewise.
47898         * benchtests/bench-strncpy.c: Likewise.
47899         * benchtests/bench-strnlen.c: Likewise.
47900         * benchtests/bench-strpbrk.c: Likewise.
47901         * benchtests/bench-strrchr.c: Likewise.
47902         * benchtests/bench-strspn.c: Likewise.
47903         * benchtests/bench-strstr.c: Likewise.
47905 2013-09-04  Will Newton  <will.newton@linaro.org>
47907         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
47909 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
47911         [BZ #15427]
47912         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
47913         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
47914         * math/libm-test.inc (lgamma_test_data): Add more tests.
47915         * sysdeps/i386/fpu/libm-test-ulps: Update.
47916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47918 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
47920         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
47921         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47922         Add ifunc.
47923         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47924         Add strcmp-sse2-unaligned
47925         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
47927 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47929         * Versions.def (libc): Add GLIBC_2.19.
47931 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47933         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
47934         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
47936 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
47938         [BZ #14155]
47939         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
47940         intermediate calculations in recurrence.
47941         (__ieee754_ynf): Likewise.
47942         * math/libm-test.inc (jn_test_data): Do not allow spurious
47943         underflow exception.  Add more tests.
47944         (yn_test_data): Add more tests.
47945         * sysdeps/i386/fpu/libm-test-ulps: Update.
47946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47948 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
47950         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
47952 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
47954         * csu/init-first.c: Fix then/than typos.
47955         * locale/programs/ld-collate.c: Likewise.
47956         * locale/programs/linereader.h: Likewise.
47957         * manual/charset.texi: Likewise.
47958         * manual/filesys.texi: Likewise.
47959         * manual/stdio.texi: Likewise.
47960         * manual/string.texi: Likewise.
47961         * stdlib/fmtmsg.c: Likewise.
47962         * sysdeps/i386/stpncpy.S: Likewise.
47963         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47964         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
47965         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47966         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
47968 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
47970         * elf/dl-open.c: Fix typos.
47971         * iconvdata/gbbig5.c: Likewise.
47972         * iconvdata/iso-2022-jp.c: Likewise.
47973         * iconv/gconv_int.h: Likewise.
47974         * iconv/loop.c: Likewise.
47975         * nis/rpcsvc/nis.h: Likewise.
47976         * resolv/ns_name.c: Likewise.
47977         * stdio-common/vfscanf.c: Likewise.
47978         * streams/stropts.h: Likewise.
47979         * sunrpc/rpc_thread.c: Likewise.
47980         * sysdeps/i386/strpbrk.S: Likewise.
47981         * sysdeps/ieee754/k_standard.c: Likewise.
47982         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47983         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47984         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
47985         * sysdeps/mach/hurd/profil.c: Likewise.
47986         * sysdeps/s390/dl-procinfo.h: Likewise.
47987         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
47988         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
47989         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
47990         * sysdeps/x86_64/dl-trampoline.S: Likewise.
47991         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47993 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
47995         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
47996         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
47998 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
48000         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
48001         aix specific files.
48002         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
48003         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
48004         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
48005         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
48006         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
48007         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
48008         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
48009         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
48011 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
48012             Roland McGrath  <roland@hack.frob.com>
48014         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
48015         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
48017 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48019         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
48020         __executable_start symbol instead of _start.
48022 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
48024         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
48025         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
48026         Move macros to...
48027         * sysdeps/gnu/ldsodefs.h: ... this new file.
48029         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
48030         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
48031         instead of ELFOSABI_LINUX.
48033         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
48034         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
48035         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
48036         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
48037         Likewise.
48038         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
48039         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
48040         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
48041         Likewise.
48042         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
48043         (ibm_extended_long_double): Add ieee_nan member.
48044         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
48045         (do_test): New function.
48047         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
48048         TEST_TRUNC.
48049         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
48050         functions, renamed from truncdfsf_test, trunctfsf_test,
48051         trunctfdf_test.
48052         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
48053         functions.
48054         (do_test): Run all these.
48056 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
48058         * argp/argp-help.c: Fix typos.
48059         * argp/argp-parse.c: Likewise.
48060         * debug/backtracesyms.c: Likewise.
48061         * elf/elf.h: Likewise.
48062         * malloc/malloc.c: Likewise.
48063         * nis/nis_print.c: Likewise.
48064         * resolv/res_comp.c: Likewise.
48065         * stdlib/stdlib.h: Likewise.
48066         * sunrpc/clnt_tcp.c: Likewise.
48067         * sunrpc/clnt_udp.c: Likewise.
48068         * sunrpc/clnt_unix.c: Likewise.
48069         * sysdeps/unix/bsd/ptsname.c: Likewise.
48070         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
48071         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
48072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
48073         Likewise.
48074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
48075         Likewise.
48076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
48077         Likewise.
48078         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
48080 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48082         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
48083         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48085 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
48087         [BZ #15897]
48088         * dlfcn/Makefile (tests): Add bug-dl-leaf.
48089         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
48090         ($(objpfx)bug-dl-leaf): New rule.
48091         ($(objpfx)bug-dl-leaf.so): Likewise.
48092         ($(objpfx)bug-dl-leaf.out): Likewise.
48093         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
48094         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
48095         * dlfcn/bug-dl-leaf.c: New test.
48096         * dlfcn/bug-dl-leaf-lib.c: Likewise.
48097         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
48098         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
48099         (dlclose): Likewise.
48100         (dlmopen): Likewise.
48102 2013-08-27  Roland McGrath  <roland@hack.frob.com>
48104         * include/netdb.h [!_ISOMAC]:
48105         Don't include <tls.h>.
48106         (h_errno, __libc_h_errno): Move declaration and macros out of
48107         [_LIBC_REENTRANT].
48109         * include/resolv.h [_RESOLV_H_]:
48110         Don't include <tls.h>.
48111         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
48112         * resolv/res_libc.c: Don't include <tls.h>.
48113         (_res): Use __attribute__ ((nocommon)) in place of
48114         __attribute__ ((section (".bss"))).
48116         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
48117         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
48119         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
48121         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
48122         only under [SIOCGIFCONF && SIOCGIFNETMASK].
48124         * resolv/res_mkquery.c: Include <sys/time.h>.
48126         * inet/ifreq.c: Moved to ...
48127         * sysdeps/unix/ifreq.c: ... here.
48128         * inet/ifreq.c: New file, true stub version.
48130         * socket/sa_len.c: New file.
48131         * socket/Makefile (aux): Add it.
48132         * sysdeps/unix/sysv/linux/Makefile
48133         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
48134         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
48135         and #include <socket/sa_len.c>.
48136         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
48137         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
48139         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
48140         * bits/socket.h: ... here.
48142         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
48143         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
48144         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
48146 2013-08-27  Andreas Schwab  <schwab@suse.de>
48148         [BZ #15736]
48149         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
48150         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
48151         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
48152         * string/test-strcasecmp.c (test_main): Run tests in several
48153         locales.
48154         * string/test-strncasecmp.c (test_main): Likewise.
48156         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
48157         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
48158         to __strcasecmp_nonascii and __strncasecmp_nonascii.
48159         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
48160         (__strncasecmp_ssse3) [PIC]: Likewise.
48162 2013-08-26  Roland McGrath  <roland@hack.frob.com>
48164         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
48166         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
48167         instead of explicitly declaring xdecrypt.
48168         * nis/nss_nis/nis-publickey.c: Likewise.
48170 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48172         [BZ #15890]
48173         * nscd/aicache.c: Include res_hconf.h.
48174         (addhstaiX): Initialize res_hconf.
48176 2013-08-26  Andreas Schwab  <schwab@suse.de>
48178         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
48179         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
48181 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48183         * nscd/aicache.c (addhstaiX): Fix indentation.
48185 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
48187         * configure.ac: Quote $build_pt_chown test.
48188         * configure: Regenerated.
48190 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
48192         [BZ #15532]
48193         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
48194         * math/s_cexpf.c (__cexpf): Likewise.
48195         * math/s_cexpl.c (__cexpl): Likewise.
48196         * math/libm-test.inc (cexp_test_data): Correct expected return
48197         value for NaN + i0.  Add another test.
48199 2013-08-22  David S. Miller  <davem@davemloft.net>
48201         * po/ca.po: Update Catalan translation from translation project.
48202         * po/uk.po: Add Ukrainian translations from translation project.
48204 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
48206         [BZ #15797]
48207         * math/s_fdim.c (__fdim): Check for infinite arguments if result
48208         is infinite, not alongside NaN test.
48209         * math/s_fdimf.c (__fdimf): Likewise.
48210         * math/s_fdiml.c (__fdiml): Likewise.
48211         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
48212         errno is unchanged.
48214 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
48216         * argp/argp-help.c: Fix typos.
48217         * crypt/speeds.c: Likewise.
48218         * csu/check_fds.c: Likewise.
48219         * elf/dl-load.c: Likewise.
48220         * elf/dl-open.c: Likewise.
48221         * elf/reldep3.c: Likewise.
48222         * elf/reldep.c: Likewise.
48223         * elf/sprof.c: Likewise.
48224         * iconv/iconv_charmap.c: Likewise.
48225         * iconv/skeleton.c: Likewise.
48226         * iconv/strtab.c: Likewise.
48227         * io/lockf64.c: Likewise.
48228         * libio/libioP.h: Likewise.
48229         * resolv/gai_notify.c: Likewise.
48230         * resolv/ns_name.c: Likewise.
48231         * resolv/ns_samedomain.c: Likewise.
48232         * resolv/res_send.c: Likewise.
48233         * stdlib/random.c: Likewise.
48234         * sunrpc/rpc/xdr.h: Likewise.
48235         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
48236         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48237         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48238         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48239         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48240         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48241         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48242         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48243         * sysdeps/mach/hurd/check_fds.c: Likewise.
48244         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
48245         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
48246         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48247         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
48248         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
48249         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
48250         * sysdeps/pthread/aio_notify.c: Likewise.
48251         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
48252         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
48253         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
48254         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48255         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
48257 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48259         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
48260         version if bit_Slow_SSE4_2 is set.
48261         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48262         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48264 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48266         [BZ #15867]
48267         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
48268         trampoline stack frame information.
48269         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
48270         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
48271         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
48272         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
48273         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
48274         * sysdeps/unix/sysv/linux/powerpc/init-first.c
48275         (_libc_vdso_platform_setup): Initialize the signal trampolines.
48276         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
48277         sa_flags value.
48278         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
48279         interrupting a syscall and set with option SA_SIGINFO.
48281 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
48283         [BZ #15531]
48284         * math/s_cproj.c (__cproj): Only return an infinity if one part of
48285         argument is infinite.
48286         * math/s_cprojf.c (__cprojf): Likewise.
48287         * math/s_cprojl.c (__cprojl): Likewise.
48288         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
48289         * math/libm-test.inc (cproj_test_data): Add more tests.
48291         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
48293         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
48294         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
48295         size.  Use __ffs to determine corresponding shift.
48297 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
48298             Roland McGrath  <roland@hack.frob.com>
48300         * Makefile (INSTALL): Remove trailing blank lines from output of
48301         makeinfo.
48303 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48305         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
48306         Align 32 bit compat elf_greg to 8 bytes.
48308 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
48310         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
48312 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48314         * string/strcoll_l.c (coll_seq): New structure.
48315         (get_next_seq_cached): New function.
48316         (get_next_seq): New function.
48317         (do_compare): New function.
48318         (STRCOLL): Use GNU style definition.  Simplify implementation
48319         by using get_next_seq, get_next_seq_cached and do_compare.
48321 2013-08-16  Florian Weimer  <fweimer@redhat.com>
48323         [BZ #14699]
48324         CVE-2013-4237
48325         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
48326         member.
48327         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
48328         member.
48329         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
48330         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
48331         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
48332         conditional.
48333         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
48334         GETDENTS_64BIT_ALIGNED.
48335         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
48336         * manual/filesys.texi (Reading/Closing Directory): Document
48337         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
48338         strongly.
48339         * manual/conf.texi (Limits for Files): Add portability note to
48340         NAME_MAX, PATH_MAX.
48341         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
48343 2013-08-13  Andreas Schwab  <schwab@suse.de>
48345         [BZ #15749]
48346         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
48347         of fabs.
48348         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
48349         LDBL_MAX_EXP >= 16384]: Add tests for it.
48351 2013-08-12  David S. Miller  <davem@davemloft.net>
48353         * version.h (RELEASE): Set to "development".
48354         (VERSION): Set to "2.18.90".
48355         * NEWS: Add 2.19 section.
48357 2013-08-03  David S. Miller  <davem@davemloft.net>
48359         * po/ko.po: Update Korean translation from translation project.
48361 2013-08-01  David S. Miller  <davem@davemloft.net>
48363         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
48364         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
48365         Bilka.
48367 2013-07-30  David S. Miller  <davem@davemloft.net>
48369         * po/fr.po: Update French translation from translation project.
48371 2013-07-28  David S. Miller  <davem@davemloft.net>
48373         * po/cs.po: Update Czech translation from translation project.
48375         * po/sv.po: Update Swedish translation from translation project.
48377 2013-07-27  David S. Miller  <davem@davemloft.net>
48379         * po/eo.po: Update Esperanto translation from translation project.
48381         * po/vi.po: Update Vietnamese translation from translation project.
48383         * po/de.po: Update German translation from translation project.
48385 2013-07-26  David S. Miller  <davem@davemloft.net>
48387         * po/bg.po: Update Bulgarian translation from translation project.
48389         * po/nl.po: Update Dutch translation from translation project.
48390         * po/pl.po: Update Polish translation from translation project.
48391         * po/ru.po: Update Russian translation from translation project.
48393 2013-07-24  David S. Miller  <davem@davemloft.net>
48395         * po/libc.pot: Update.
48397 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48399         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
48400         variable page size.
48401         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
48402         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
48403         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
48405 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48407         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
48409 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48410             Andreas Schwab  <schwab@suse.de>
48411             Roland McGrath  <roland@hack.frob.com>
48412             Joseph Myers  <joseph@codesourcery.com>
48413             Carlos O'Donell  <carlos@redhat.com>
48415         [BZ #15755]
48416         * config.h.in: Define HAVE_PT_CHOWN.
48417         * config.make.in (build-pt-chown): New variable.
48418         * configure.in (--enable-pt_chown): New configure option.
48419         * configure: Regenerate.
48420         * login/Makefile: Include Makeconfig.  Build pt_chown only if
48421         build-pt-chown is enabled.
48422         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
48423         pt_chown to fix pty ownership.
48424         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
48425         CLOSE_ALL_FDS.
48426         * manual/install.texi (Configuring and compiling): Mention
48427         --enable-pt_chown. Add @findex for grantpt.
48428         * INSTALL: Regenerate.
48430 2013-07-20  David S. Miller  <davem@davemloft.net>
48432         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
48433         difference between 32-bit and 64-bit.
48435 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
48437         [BZ #15711]
48438         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
48439         Avoid system header dependency with -ffreestanding.
48440         ($(objpfx)bits/syscall%d): Likewise.
48442 2013-07-13  David S. Miller  <davem@davemloft.net>
48444         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
48445         underflows from atanl/atan2l due to bug 15319.
48446         (casinh_test_data): Likewise.
48448 2013-07-07  David S. Miller  <davem@davemloft.net>
48450         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
48452 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
48454         * sysdeps/i386/fpu/libm-test-ulps: Update.
48455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48457 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48459         * configure.in (--enable-lock-elision): Fix message text.
48460         * INSTALL: Regenerate.
48461         * configure: Regenerate.
48463 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48465         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48467 2013-07-03  Andreas Jaeger  <aj@suse.de>
48469         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
48470         define.
48471         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
48472         (ptrace_peeksiginfo_args): Add.
48473         (__ptrace_peeksiginfo_flags): Add.
48474         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48475         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48476         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48478 2013-07-03  Allan McRae  <allan@archlinux.org>
48480         * sysdeps/i386/fpu/libm-test-ulps: Update.
48482 2013-07-02  David S. Miller  <davem@davemloft.net>
48484         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48486 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
48488         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48490 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48492         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
48493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48495 2013-07-02  Andi Kleen <ak@linux.intel.com>
48497         * config.h.in (ENABLE_LOCK_ELISION): Add.
48498         * configure.in (--enable-lock-elision): Add option.
48499         * manual/install.texi: Document --enable lock elision.
48500         * configure: Regenerate
48501         * INSTALL: Regenerate.
48503 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
48505         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
48506         SSE4.2 strcasecmp for libc.a.
48507         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
48509 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48511         [BZ #13304]
48512         * soft-fp/op-common.h (_FP_FMA): New macro.
48513         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
48514         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
48515         (_FP_MUL_MEAT_1_imm): ... here.
48516         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
48517         (_FP_MUL_MEAT_1_wide): ... here.
48518         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
48519         (_FP_MUL_MEAT_1_hard): ... here.
48520         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
48521         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
48522         (_FP_MUL_MEAT_2_wide): ... here.
48523         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
48524         (_FP_MUL_MEAT_2_wide_3mul): ... here.
48525         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
48526         (_FP_MUL_MEAT_2_gmp): ... here.
48527         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
48528         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
48529         (_FP_MUL_MEAT_4_wide): ... here.
48530         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
48531         (_FP_MUL_MEAT_4_gmp): ... here.
48532         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
48533         (_FP_WFRACBITS_DW_S): Likewise.
48534         (_FP_WFRACXBITS_DW_S): Likewise.
48535         (_FP_HIGHBIT_DW_S): Likewise.
48536         (FP_FMA_S): Likewise.
48537         (_FP_FRAC_HIGH_DW_S): Likewise.
48538         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
48539         (_FP_WFRACBITS_DW_D): Likewise.
48540         (_FP_WFRACXBITS_DW_D): Likewise.
48541         (_FP_HIGHBIT_DW_D): Likewise.
48542         (FP_FMA_D): Likewise.
48543         (_FP_FRAC_HIGH_DW_D): Likewise.
48544         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
48545         (_FP_WFRACBITS_DW_E): Likewise.
48546         (_FP_WFRACXBITS_DW_E): Likewise.
48547         (_FP_HIGHBIT_DW_E): Likewise.
48548         (FP_FMA_E): Likewise.
48549         (_FP_FRAC_HIGH_DW_E): Likewise.
48550         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
48551         (_FP_WFRACBITS_DW_Q): Likewise.
48552         (_FP_WFRACXBITS_DW_Q): Likewise.
48553         (_FP_HIGHBIT_DW_Q): Likewise.
48554         (FP_FMA_Q): Likewise.
48555         (_FP_FRAC_HIGH_DW_Q): Likewise.
48556         * soft-fp/fmasf4.c: New file.
48557         * soft-fp/fmadf4.c: Likewise.
48558         * soft-fp/fmatf4.c: Likewise.
48560 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48562         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48563         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
48564         Silvermont.
48565         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
48566         macro.
48567         (index_Slow_SSE4_2): Likewise.
48568         (index_Prefer_PMINUB_for_stringop): Likewise.
48569         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
48570         bit_Slow_SSE4_2 is set.
48571         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
48572         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48574 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48576         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
48577         rtld_global._dl_hwcap2.
48578         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
48579         POWER8.
48580         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
48581         POWER8 feature descriptions defined in _dl_hwcap2.
48582         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
48583         string handling for POWER8 feature bits.
48584         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
48585         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
48586         _dl_powerpc_cap_flags.
48587         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
48588         * sysdeps/powerpc/rtld-global-offsets.sym
48589         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
48590         _dl_hwcap2 in the rtld_global_ro structure.
48592 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48594         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
48595         hardware capabilities in support of AT_HWCAP2.
48596         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
48597         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
48598         GLRO(dl_hwcap2).
48599         (_dl_show_auxv): Add support for calling _dl_procinfo to display
48600         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
48601         explicitly the unknown a_type display mechanism is used.
48602         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
48603         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
48604         struct member.
48605         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
48606         to macro prototype for AT_HWCAP2 support.
48607         * sysdeps/i386/dl-procinfo.h: Likewise.
48608         * sysdeps/s390/dl-procinfo.h: Likewise.
48609         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
48610         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
48611         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
48612         return -1 for unknown a_type display fallback.
48613         * sysdeps/sparc/dl-procinfo.h: Likewise.
48614         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
48615         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
48617 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
48619         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
48620         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
48622 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
48624         [BZ #12492]
48625         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
48626         mprotect making __stack_prot writable.
48628 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
48629             Joseph Myers  <joseph@codesourcery.com>
48631         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
48632         as being properly aligned.
48634 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
48636         * dlfcn/modstatic5.c: New file.
48637         * dlfcn/tststatic5.c: New file.
48638         * dlfcn/Makefile (tests): Add tststatic5.
48639         (tests-static): Likewise.
48640         (modules-names): Add modstatic5.
48641         (tststatic5-ENV): New variable.
48642         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
48644         [BZ #15022]
48645         * elf/dl-support.c (_dl_main_map): New variable.
48646         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
48647         (_dl_nns, _dl_load_adds): Set to 1.
48648         (_dl_initial_searchlist): Refer to _dl_main_map.
48649         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
48650         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
48651         call to _dl_get_origin.
48652         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
48653         around call_map.
48654         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
48655         * dlfcn/modstatic3.c: New file.
48656         * dlfcn/tststatic3.c: New file.
48657         * dlfcn/tststatic4.c: New file.
48658         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
48659         (tests-static): Likewise.
48660         (modules-names): Add modstatic3.
48661         (tststatic3-ENV, tststatic4-ENV): New variables.
48662         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
48663         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
48665 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
48667         * configure.in (CC): Require GCC version 4.4 or later.
48668         * configure: Regenerated.
48669         * manual/install.texi (Tools for Compilation): Update GCC version
48670         requirement.
48671         * INSTALL: Regenerated.
48673 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48675         [BZ #15674]
48676         * string/test-memcmp.c (check2): New.
48677         (main): Call check2.
48679         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
48681 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
48683         [BZ #15022]
48684         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
48685         over to...
48686         (dl_open_worker) [!SHARED]: ... here.
48688 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48690         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
48692 2013-06-25  Richard Henderson  <rth@redhat.com>
48694         * locale/programs/locarchive.c: Include <libc-internal.h>
48696 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
48698         * manual/texinfo.tex: Update to version 2013-06-21.17, with
48699         trailing whitespace removed.
48701 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
48703         [BZ #10283]
48704         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
48705         * locale/programs/locarchive.c: Include libc-mmap.h.
48706         (prepare_address_space): Take two new outputs (the mmap base and len).
48707         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
48708         values.
48709         (create_archive): Declare new mmap base and len values for
48710         prepare_address_space, and store the result in ah.
48711         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
48712         (enlarge_archive): If ah->mmap_base is not NULL, use that and
48713         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48714         Declare new mmap base and len values for
48715         prepare_address_space, and store the result in new_ah.
48716         (open_archive): Declare new mmap base and len values for
48717         prepare_address_space, and store the result in ah.
48718         (close_archive): If ah->mmap_base is not NULL, use that and
48719         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48720         * sysdeps/generic/libc-mmap.h: New file.
48722 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
48724         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
48725         (ALIGN_UP): Likewise.
48726         (PTR_ALIGN_DOWN): Likewise.
48727         (PTR_ALIGN_UP): Likewise.
48729 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48731         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
48732         entry mapped to PPC_PLATFORM_POWER8.
48733         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
48734         POWER8.
48735         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
48736         (_dl_string_platform): Add case for exporting platform position for
48737         POWER8.
48738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
48739         search path to sysdeps/powerpc/powerpc32/power8 directory.
48740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
48741         search path to sysdeps/powerpc/powerpc64/power8 directory.
48742         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
48743         power7 directories.
48744         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
48745         power7 directories.
48747 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48749         * INSTALL: Regenerate.
48751         * nscd/connections.c (nscd_init): Fix comment.
48753 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
48755         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
48757         [BZ #15667]
48758         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
48759         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
48761 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
48763         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
48764         DL_DST_REQ_STATIC.
48765         (DL_DST_REQ_STATIC): Remove macro.
48767 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
48769         [BZ #7006]
48770         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
48771         with a shift of 0 bits.
48773 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
48775         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
48776         $(tststatic-ENV).
48778 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48780         [BZ #15655]
48781         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
48783 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48785         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
48786         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
48787         accepts -fno-tree-loop-distribute-patterns.
48788         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
48789         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
48790         recursive call.
48791         * string/memset.c (memset): Likewise.
48792         * string/test-memmove.c (simple_memmove): Disable loop transformation
48793         to library calls.
48794         * string/test-memset.c (simple_memset): Likewise.
48795         * benchtests/bench-memmove.c (simple_memmove): Likewise.
48796         * benchtests/bench-memset.c (simple_memset): Likewise.
48797         * configure: Regenerated.
48799 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
48801         * math/test-misc.c (main): Ignore fesetround failure when failures
48802         of subsequent rounding tests would be ignored.
48804         [BZ #15654]
48805         * math/fedisblxcpt.c (fedisableexcept): Return 0.
48806         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
48807         * math/fegetenv.c (__fegetenv): Return 0.
48808         * math/fegetexcept.c (fegetexcept): Return 0.
48809         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
48810         FE_TONEAREST.
48811         * math/feholdexcpt.c (feholdexcept): Return 0.
48812         * math/fesetenv.c (__fesetenv): Return 0.
48813         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
48814         argument FE_TONEAREST.
48815         * math/feupdateenv.c (__feupdateenv): Return 0.
48816         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
48818 2013-06-18  Roland McGrath  <roland@hack.frob.com>
48820         * elf/rtld-Rules (rtld-compile-command.S): New variable.
48821         (rtld-compile-command.s, rtld-compile-command.c): New variables.
48822         ($(objpfx)rtld-%.os rules): Use them.
48824 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48826         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
48827         fields.
48829 2013-06-17  Roland McGrath  <roland@hack.frob.com>
48831         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
48832         length of target pattern, then descending length of dependency pattern.
48833         * configure.in (AWK): Require gawk 3.1.2 or newer.
48834         * manual/install.texi (Tools for Compilation): Say that we do.
48835         * configure: Regenerated.
48837         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
48838         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
48839         * scripts/sysd-rules.awk: ... this new script.
48840         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
48841         than a glob-style pattern.
48843 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
48845         * math/test-misc.c (main): Do not treat incorrectly rounded
48846         conversions as failure unless ROUNDING_TESTS passes.
48848 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
48850         [BZ #15631]
48851         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
48852         restore exception state around main square root computation, then
48853         check for inexactness explicitly.
48855         * math/libm-test.inc (fma_test_data): Add another test.
48857 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48859         * manual/threads.texi (Non-POSIX Extensions): New document
48860         node.  Document pthread_getattr_default_np and
48861         pthread_setattr_default_np.
48863         * Versions.def (libpthread): Add GLIBC_2.18.
48864         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
48865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48866         Likewise.
48867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48868         Likewise.
48869         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48870         Likewise.
48871         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48872         Likewise.
48873         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
48874         Likewise.
48875         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48876         Likewise.
48877         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48878         Likewise.
48879         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48880         Likewise.
48881         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48882         Likewise.
48884 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48886         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48887         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
48889 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48890             H.J. Lu  <hjl.tools@gmail.com>
48892         [BZ #15627]
48893         * sysdeps/x86_64/rtld-memset.c: Remove file.
48894         * sysdeps/x86_64/rtld-memset.S: New file.
48896 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
48898         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
48899         (test_in_one_mode): Take arguments for whether the rounding mode
48900         is supported for each floating-point type.
48901         (do_test): Pass new arguments to test_in_one_mode using
48902         ROUNDING_TESTS.
48904 2013-06-13  Roland McGrath  <roland@hack.frob.com>
48906         * posix/tst-waitid.c (do_test): Distinguish different instances of
48907         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
48908         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
48909         before entering the kernel for waitpid.
48911 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48913         * NEWS: Fix note on clock function precision.  Text by Roland
48914         McGrath.
48916 2013-06-13  Roland McGrath  <roland@hack.frob.com>
48918         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
48919         it into place only when and if the sanity check passes.
48921 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
48923         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
48924         output for whether conversion result is exact.  Take argument
48925         indicating whether type is IBM long double.
48926         (round_for_all): Change need_exact field to ibm_ld.
48927         * stdlib/tst-strtod-round.c (struct exactness): New type.
48928         (struct test): Change bool ld_ok field to struct exactness exact.
48929         (TEST): Update all definitions for change to field.
48930         (tests): Regenerate array contents.
48931         (test_in_one_mode): Take pointer to new field instead of old ld_ok
48932         field value.  Check for IBM long double here.
48933         (do_test): Update calls to test_in_one_mode.
48935 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48937         [BZ #12515]
48938         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
48939         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
48941 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48943         [BZ #15605]
48944         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
48945         generated by the compiler on loop optimizations.
48946         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
48947         general definitions.
48949 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
48951         * math/bug-nextafter.c: Include <math-tests.h>.
48952         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48953         the relevant type.
48954         * math/bug-nexttoward.c: Include <math-tests.h>.
48955         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48956         the relevant type.
48957         * math/test-misc.c: Include <math-tests.h>.
48958         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48959         the relevant type.
48961 2013-06-12  Andreas Jaeger  <aj@suse.de>
48963         * po/ia.po: Update Interlingua translation from translation
48964         project.
48966 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48968         * include/fenv.h: Include stdbool.h.
48969         (struct rm_ctx): New structure.
48970         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
48971         Define macro.
48972         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
48973         (SET_RESTORE_ROUNDF): Likewise.
48974         (SET_RESTORE_ROUNDL): Likewise.
48975         (SET_RESTORE_ROUND_NOEX): Likewise.
48976         (SET_RESTORE_ROUND_NOEXF): Likewise.
48977         (SET_RESTORE_ROUND_NOEXL): Likewise.
48978         (SET_RESTORE_ROUND_53BIT): Likewise.
48979         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
48980         (libc_feresetround_noexf_ctx): Likewise.
48981         (libc_feresetround_noexl_ctx): Likewise.
48982         (libc_feholdsetround_53bit_ctx): Likewise.
48983         (libc_feresetround_53bit_ctx): Likewise.
48984         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
48985         (libc_feholdexcept_setround_sse_ctx): New function.
48986         (libc_fesetenv_sse_ctx): Likewise.
48987         (libc_feupdateenv_sse_ctx): Likewise.
48988         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
48989         (libc_feholdexcept_setround_387_ctx): Likewise.
48990         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
48991         (libc_feholdsetround_387_prec_ctx): Likewise.
48992         (libc_feholdsetround_387_ctx): Likewise.
48993         (libc_feholdsetround_387_53bit_ctx): Likewise.
48994         (libc_feholdsetround_sse_ctx): Likewise.
48995         (libc_feresetround_sse_ctx): Likewise.
48996         (libc_feresetround_387_ctx): Likewise.
48997         (libc_feupdateenv_387_ctx): Likewise.
48998         (libc_feholdexcept_setroundf_ctx): Define macro.
48999         (libc_fesetenvf_ctx): Likewise.
49000         (libc_feupdateenvf_ctx): Likewise.
49001         (libc_feholdsetroundf_ctx): Likewise.
49002         (libc_feresetroundf_ctx): Likewise.
49003         (libc_feholdexcept_setround_ctx): Likewise.
49004         (libc_fesetenv_ctx): Likewise.
49005         (libc_feupdateenv_ctx): Likewise.
49006         (libc_feholdsetround_ctx): Likewise.
49007         (libc_feresetround_ctx): Likewise.
49008         (libc_feholdexcept_setroundl_ctx): Likewise.
49009         (libc_feupdateenvl_ctx): Likewise.
49010         (libc_feholdsetroundl_ctx): Likewise.
49011         (libc_feresetroundl_ctx): Likewise.
49012         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
49013         (libc_feresetround_53bit_ctx): Likewise.
49015 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49017         * locale/iso-639.def: Convert to UTF-8.
49019 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
49021         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
49022         (EXCEPTION_TESTS_double): Likewise.
49023         (EXCEPTION_TESTS_long_double): Likewise.
49024         (EXCEPTION_TESTS): Likewise.
49025         * math/libm-test.inc (test_exceptions): Only test exceptions if
49026         EXCEPTION_TESTS (FLOAT).
49028 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49030         * benchtests/Makefile (string-bench): Add strcpy_chk and
49031         stpcpy_chk.
49032         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
49033         * benchtests/bench-stpcpy_chk.c: New file.
49034         * benchtests/bench-strcpy_chk-ifunc.c: New file.
49035         * benchtests/bench-strcpy_chk.c: New file.
49036         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
49037         code.
49038         (do_test): Likewise.
49040 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49042         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
49043         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
49044         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
49045         with tabs where appropriate.
49046         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
49047         dl-procinfo.h.
49048         [PPC_PLATFORM_PPC440]: Likewise.
49049         [PPC_PLATFORM_PPC464]: Likewise.
49050         [PPC_PLATFORM_PPC476]: Likewise.
49051         (_dl_string_platform): Add support for detecting ppc405, ppc440,
49052         ppc464, and ppc476 platform strings merging from ports/
49053         dl-procinfo.h.
49055 2013-06-11  Andreas Schwab  <schwab@suse.de>
49057         [BZ #14991]
49058         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
49059         (from_ucs4_idx): Regenerate.
49060         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
49061         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
49062         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
49063         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
49064         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
49065         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
49066         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
49067         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
49068         from FROM_LOOP and TO_LOOP specific macros.
49069         (BODY): Handle combining characters.
49070         * iconvdata/BIG5HKSCS.irreversible: Update.
49071         * iconvdata/BIG5HKSCS.precomposed: New file.
49072         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
49073         characters.
49074         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
49076 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49078         * include/sys/time.h: Fix indentation and add copyright header.
49080         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
49081         (do_test): Likewise.
49082         * string/test-memchr.c (do_one_test): Likewise.
49083         (do_test): Likewise.
49084         * string/test-memcmp.c (do_one_test): Likewise.
49085         (do_test): Likewise.
49086         * string/test-memcpy.c (do_one_test): Likewise.
49087         (do_test): Likewise.
49088         * string/test-memmem.c (do_one_test): Likewise.
49089         (do_test): Likewise.
49090         (do_random_tests): Likewise.
49091         * string/test-memmove.c (do_one_test): Likewise.
49092         (do_test): Likewise.
49093         * string/test-memset.c (do_one_test): Likewise.
49094         (do_test): Likewise.
49095         * string/test-rawmemchr.c (do_one_test): Likewise.
49096         (do_test): Likewise.
49097         * string/test-strcasecmp.c (do_one_test): Likewise.
49098         (do_test): Likewise.
49099         * string/test-strcasestr.c (do_one_test): Likewise.
49100         (do_test): Likewise.
49101         * string/test-strcat.c (do_one_test): Likewise.
49102         (do_test): Likewise.
49103         * string/test-strchr.c (do_one_test): Likewise.
49104         (do_test): Likewise.
49105         * string/test-strcmp.c (do_one_test): Likewise.
49106         (do_test): Likewise.
49107         * string/test-strcpy.c (do_one_test): Likewise.
49108         (do_test): Likewise.
49109         * string/test-string.h: Likewise.
49110         (test_init): Likewise.
49111         * string/test-strlen.c (do_one_test): Likewise.
49112         (do_test): Likewise.
49113         * string/test-strncasecmp.c (do_one_test): Likewise.
49114         (do_test): Likewise.
49115         * string/test-strncat.c (do_one_test): Likewise.
49116         (do_test): Likewise.
49117         * string/test-strncmp.c (do_one_test): Likewise.
49118         (do_test_limit): Likewise.
49119         (do_test): Likewise.
49120         * string/test-strncpy.c (do_one_test): Likewise.
49121         (do_test): Likewise.
49122         * string/test-strnlen.c (do_one_test): Likewise.
49123         (do_test): Likewise.
49124         * string/test-strpbrk.c (do_one_test): Likewise.
49125         (do_test): Likewise.
49126         * string/test-strrchr.c (do_one_test): Likewise.
49127         (do_test): Likewise.
49128         * string/test-strspn.c (do_one_test): Likewise.
49129         (do_test): Likewise.
49130         * string/test-strstr.c (do_one_test): Likewise.
49131         (do_test): Likewise.
49133         * benchtests/Makefile (string-bench): Add string benchmarks.
49134         * benchtests/bench-bcopy-ifunc.c: New file.
49135         * benchtests/bench-bcopy.c: New file.
49136         * benchtests/bench-bzero-ifunc.c: New file.
49137         * benchtests/bench-bzero.c: New file.
49138         * benchtests/bench-memccpy-ifunc.c: New file.
49139         * benchtests/bench-memccpy.c: New file.
49140         * benchtests/bench-memchr-ifunc.c: New file.
49141         * benchtests/bench-memchr.c: New file.
49142         * benchtests/bench-memcmp-ifunc.c: New file.
49143         * benchtests/bench-memcmp.c: New file.
49144         * benchtests/bench-memmem-ifunc.c: New file.
49145         * benchtests/bench-memmem.c: New file.
49146         * benchtests/bench-memmove-ifunc.c: New file.
49147         * benchtests/bench-memmove.c: New file.
49148         * benchtests/bench-mempcpy-ifunc.c: New file.
49149         * benchtests/bench-mempcpy.c: New file.
49150         * benchtests/bench-memset-ifunc.c: New file.
49151         * benchtests/bench-memset.c: New file.
49152         * benchtests/bench-rawmemchr-ifunc.c: New file.
49153         * benchtests/bench-rawmemchr.c: New file.
49154         * benchtests/bench-stpcpy-ifunc.c: New file.
49155         * benchtests/bench-stpcpy.c: New file.
49156         * benchtests/bench-stpncpy-ifunc.c: New file.
49157         * benchtests/bench-stpncpy.c: New file.
49158         * benchtests/bench-strcasecmp-ifunc.c: New file.
49159         * benchtests/bench-strcasecmp.c: New file.
49160         * benchtests/bench-strcasestr-ifunc.c: New file.
49161         * benchtests/bench-strcasestr.c: New file.
49162         * benchtests/bench-strcat-ifunc.c: New file.
49163         * benchtests/bench-strcat.c: New file.
49164         * benchtests/bench-strchr-ifunc.c: New file.
49165         * benchtests/bench-strchr.c: New file.
49166         * benchtests/bench-strchrnul-ifunc.c: New file.
49167         * benchtests/bench-strchrnul.c: New file.
49168         * benchtests/bench-strcmp-ifunc.c: New file.
49169         * benchtests/bench-strcmp.c: New file.
49170         * benchtests/bench-strcpy-ifunc.c: New file.
49171         * benchtests/bench-strcpy.c: New file.
49172         * benchtests/bench-strcspn-ifunc.c: New file.
49173         * benchtests/bench-strcspn.c: New file.
49174         * benchtests/bench-strlen-ifunc.c: New file.
49175         * benchtests/bench-strlen.c: New file.
49176         * benchtests/bench-strncasecmp-ifunc.c: New file.
49177         * benchtests/bench-strncasecmp.c: New file.
49178         * benchtests/bench-strncat-ifunc.c: New file.
49179         * benchtests/bench-strncat.c: New file.
49180         * benchtests/bench-strncmp-ifunc.c: New file.
49181         * benchtests/bench-strncmp.c: New file.
49182         * benchtests/bench-strncpy-ifunc.c: New file.
49183         * benchtests/bench-strncpy.c: New file.
49184         * benchtests/bench-strnlen-ifunc.c: New file.
49185         * benchtests/bench-strnlen.c: New file.
49186         * benchtests/bench-strpbrk-ifunc.c: New file.
49187         * benchtests/bench-strpbrk.c: New file.
49188         * benchtests/bench-strrchr-ifunc.c: New file.
49189         * benchtests/bench-strrchr.c: New file.
49190         * benchtests/bench-strspn-ifunc.c: New file.
49191         * benchtests/bench-strspn.c: New file.
49192         * benchtests/bench-strstr-ifunc.c: New file.
49193         * benchtests/bench-strstr.c: New file.
49195         * benchtests/Makefile: Disable parallel execution of targets.
49196         (string-bench): Add memcpy.
49197         (benchset): New variable to store a list of benchmark sets.
49198         (bench-func): Renamed from bench.
49199         (bench-set): New target.
49200         (bench): Depend on bench-func and bench-set.
49201         * benchtests/README: Add section on benchmark sets.
49202         * benchtests/bench-memcpy-ifunc.c: New file.
49203         * benchtests/bench-memcpy.c: New file.
49204         * benchtests/bench-string.h: New file.
49206 2013-06-11  Andreas Schwab  <schwab@suse.de>
49208         [BZ #15577]
49209         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
49210         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
49211         values in the triple.
49212         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
49213         terminator in the group key.
49215 2013-06-11  Andreas Jaeger  <aj@suse.de>
49217         * po/zh_TW.po: Update Chinese (traditional) translation from
49218         translation project.
49220 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49222         * include/time.h (__clock_gettime): Add libc_hidden_proto.
49223         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
49224         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
49225         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
49226         (clock_getcpuclockid): Likewise.
49227         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
49228         Add weak_alias and libc_hidden_def.
49229         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
49230         * rt/clock_gettime.c (clock_gettime): Rename to
49231         __clock_gettime.  Add weak_alias and libc_hidden_def.
49232         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
49233         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
49234         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
49235         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
49236         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
49237         Likewise.
49238         * rt/clock_settime.c (clock_settime): Rename to
49239         __clock_settime.  Add weak_alias and libc_hidden_def.
49240         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
49242 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
49244         * mach/err_boot.sub: Remove trailing whitespace.
49245         * mach/err_ipc.sub: Likewise.
49246         * mach/err_mach.sub: Likewise.
49248         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
49249         (ROUNDING_TESTS_double): Likewise.
49250         (ROUNDING_TESTS_long_double): Likewise.
49251         (ROUNDING_TESTS): Likewise.
49252         * math/libm-test.inc: Include <math-tests.h>.
49253         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
49254         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
49255         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
49256         (IF_ROUND_INIT_FE_UPWARD): Likewise.
49258 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49260         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
49261         of assigning.
49263 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
49265         * sysdeps/gnu/errlist.awk: Do not generate space at end of
49266         otherwise empty TRANS lines.
49267         * sysdeps/gnu/errlist.c: Regenerated.
49269         * catgets/gencat.c (error_print): Use (void) in function
49270         definition.
49271         * crypt/crypt_util.c (__init_des): Likewise.
49272         * crypt/speeds.c (Stop): Likewise.
49273         (main): Likewise.
49274         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
49275         * inet/ruserpass.c (token): Likewise.
49276         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
49277         * intl/localealias.c (extend_alias_table): Likewise.
49278         * intl/plural-exp.c (init_germanic_plural): Likewise.
49279         * libio/fcloseall.c (__fcloseall): Likewise.
49280         * libio/genops.c (_IO_flush_all): Likewise.
49281         (_IO_flush_all_linebuffered): Likewise.
49282         (_IO_cleanup): Likewise.
49283         (_IO_iter_begin): Likewise.
49284         (_IO_iter_end): Likewise.
49285         (_IO_list_lock): Likewise.
49286         (_IO_list_unlock): Likewise.
49287         (_IO_list_resetlock): Likewise.
49288         * libio/getchar.c (getchar): Likewise.
49289         * libio/getchar_u.c (getchar_unlocked): Likewise.
49290         * libio/getwchar.c (getwchar): Likewise.
49291         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
49292         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
49293         * login/getpt.c (__getpt): Likewise.
49294         * login/tst-utmp.c (main): Likewise.
49295         * malloc/hooks.c (__malloc_check_init): Likewise.
49296         * malloc/malloc.c (__malloc_stats): Likewise.
49297         * malloc/mtrace.c (tr_break): Likewise.
49298         (mtrace): Likewise.
49299         (muntrace): Likewise.
49300         * misc/fstab.c (endfsent): Likewise.
49301         * misc/getclktck.c (__getclktck): Likewise.
49302         * misc/getdtsz.c (__getdtablesize): Likewise.
49303         * misc/gethostid.c (gethostid): Likewise.
49304         * misc/getpagesize.c (__getpagesize): Likewise.
49305         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
49306         (__get_nprocs): Likewise.
49307         (__get_phys_pages): Likewise.
49308         (__get_avphys_pages): Likewise.
49309         * misc/getttyent.c (getttyent): Likewise.
49310         (setttyent): Likewise.
49311         (endttyent): Likewise.
49312         * misc/getusershell.c (getusershell): Likewise.
49313         (endusershell): Likewise.
49314         (setusershell): Likewise.
49315         (initshells): Likewise.
49316         * misc/hsearch.c (__hdestroy): Likewise.
49317         * misc/sync.c (sync): Likewise.
49318         * misc/syslog.c (closelog_internal): Likewise.
49319         (closelog): Likewise.
49320         * misc/ttyslot.c (ttyslot): Likewise.
49321         * misc/vhangup.c (vhangup): Likewise.
49322         * posix/fork.c (__fork): Likewise.
49323         * posix/getegid.c (__getegid): Likewise.
49324         * posix/geteuid.c (__geteuid): Likewise.
49325         * posix/getgid.c (__getgid): Likewise.
49326         * posix/getpid.c (__getpid): Likewise.
49327         * posix/getppid.c (__getppid): Likewise.
49328         * posix/getuid.c (__getuid): Likewise.
49329         * posix/pause.c (pause): Likewise.
49330         * posix/setpgrp.c (setpgrp): Likewise.
49331         * posix/setsid.c (__setsid): Likewise.
49332         * posix/test-vfork.c (noop): Likewise.
49333         * resolv/gethnamaddr.c (_endhtent): Likewise.
49334         (_gethtent): Likewise.
49335         (ht_endhostent): Likewise.
49336         (gethostent): Likewise.
49337         (dns_service): Likewise.
49338         * stdlib/drand48.c (drand48): Likewise.
49339         * stdlib/lrand48.c (lrand48): Likewise.
49340         * stdlib/mrand48.c (mrand48): Likewise.
49341         * stdlib/rand.c (rand): Likewise.
49342         * stdlib/random.c (__random): Likewise.
49343         * stdlib/setenv.c (clearenv): Likewise.
49344         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
49345         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
49346         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
49347         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
49348         (__get_nprocs): Likewise.
49349         (__get_phys_pages): Likewise.
49350         (__get_avphys_pages): Likewise.
49351         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
49352         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
49353         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
49354         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
49355         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
49356         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
49357         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
49358         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
49359         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
49360         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
49361         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
49362         * sysdeps/mach/hurd/sync.c (sync): Likewise.
49363         * sysdeps/posix/clock.c (clock): Likewise.
49364         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
49365         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
49366         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
49367         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
49368         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
49369         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
49370         (__get_nprocs_conf): Likewise.
49371         (__get_phys_pages): Likewise.
49372         (__get_avphys_pages): Likewise.
49373         * time/clock.c (clock): Likewise.
49374         * time/tzset.c (__tzname_max): Likewise.
49376 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
49378         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
49379         (__bswap_32): Do not use "register".
49380         * crypt/crypt.c (_ufc_doit_r): Likewise.
49381         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
49382         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
49383         * gmon/gmon.c (__monstartup): Likewise.
49384         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
49385         * hurd/hurdmalloc.c (more_memory): Likewise.
49386         (malloc): Likewise.
49387         (free): Likewise.
49388         (realloc): Likewise.
49389         (malloc_fork_prepare): Likewise.
49390         (malloc_fork_parent): Likewise.
49391         (malloc_fork_child): Likewise.
49392         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
49393         (_svcauth_des): Likewise.
49394         * inet/inet_lnaof.c (inet_lnaof): Likewise.
49395         * inet/inet_net.c (inet_network): Likewise.
49396         * inet/inet_netof.c (inet_netof): Likewise.
49397         * inet/rcmd.c (__validuser2_sa): Likewise.
49398         * io/fts.c (fts_open): Likewise.
49399         (fts_load): Likewise.
49400         (fts_close): Likewise.
49401         (fts_read): Likewise.
49402         (fts_children): Likewise.
49403         (fts_build): Likewise.
49404         (fts_stat): Likewise.
49405         (fts_sort): Likewise.
49406         (fts_alloc): Likewise.
49407         (fts_lfree): Likewise.
49408         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
49409         (_IO_file_xsgetn): Likewise.
49410         (_IO_file_xsgetn_mmap): Likewise.
49411         * libio/iofopncook.c (_IO_cookie_read): Likewise.
49412         (_IO_cookie_write): Likewise.
49413         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
49414         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
49415         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
49416         * malloc/obstack.c (_obstack_begin): Likewise.
49417         (_obstack_begin_1): Likewise.
49418         (_obstack_newchunk): Likewise.
49419         (_obstack_allocated_p): Likewise.
49420         (obstack_free): Likewise.
49421         (_obstack_memory_used): Likewise.
49422         * misc/getttyent.c (getttynam): Likewise.
49423         (getttyent): Likewise.
49424         (skip): Likewise.
49425         (value): Likewise.
49426         * misc/getusershell.c (initshells): Likewise.
49427         * misc/syslog.c (__vsyslog_chk): Likewise.
49428         * misc/ttyslot.c (ttyslot): Likewise.
49429         * nis/nis_hash.c (__nis_hash): Likewise.
49430         * posix/fnmatch_loop.c (FCT): Likewise.
49431         * posix/getconf.c (print_all): Likewise.
49432         (main): Likewise.
49433         * posix/getopt.c (exchange): Likewise.
49434         * posix/glob.c (globfree): Likewise.
49435         (prefix_array): Likewise.
49436         (__glob_pattern_type): Likewise.
49437         * resolv/arpa/nameser.h (NS_GET16): Likewise.
49438         (NS_GET32): Likewise.
49439         (NS_PUT16): Likewise.
49440         (NS_PUT32): Likewise.
49441         * resolv/gethnamaddr.c (getanswer): Likewise.
49442         (gethostbyname2): Likewise.
49443         (gethostbyaddr): Likewise.
49444         (_gethtent): Likewise.
49445         (_gethtbyname2): Likewise.
49446         (_gethtbyaddr): Likewise.
49447         * resolv/ns_print.c (dst_s_get_int16): Likewise.
49448         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
49449         * resolv/res_init.c (__res_vinit): Likewise.
49450         (net_mask): Likewise.
49451         * resolv/res_mkquery.c (outchar): Likewise.
49452         (PRINT): Likewise.
49453         * stdio-common/printf_fp.c (outchar): Likewise.
49454         (PRINT): Likewise.
49455         * stdio-common/printf_fphex.c (outchar): Likewise.
49456         (PRINT): Likewise.
49457         * stdio-common/printf_size.c (outchar): Likewise.
49458         (PRINT): Likewise.
49459         * stdio-common/test_rdwr.c (main): Likewise.
49460         * stdio-common/tfformat.c (matches): Likewise.
49461         * stdio-common/vfprintf.c (outchar): Likewise.
49462         (printf_unknown): Likewise.
49463         (buffered_vfprintf): Likewise.
49464         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
49465         * stdio-common/xbug.c (AppendToBuffer): Likewise.
49466         (ReadFile): Likewise.
49467         * stdlib/qsort.c (SWAP): Likewise.
49468         (_quicksort): Likewise.
49469         * stdlib/setenv.c (__add_to_environ): Likewise.
49470         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
49471         * stdlib/strtol_l.c (__strtol_l): Likewise.
49472         * stdlib/tst-strtod.c (main): Likewise.
49473         * stdlib/tst-strtol.c (main): Likewise.
49474         * stdlib/tst-strtoll.c (main): Likewise.
49475         * string/bits/string2.h (__strcmp_cc): Likewise.
49476         (__strcmp_cg): Likewise.
49477         (__strcspn_c1): Likewise.
49478         (__strcspn_c2): Likewise.
49479         (__strcspn_c3): Likewise.
49480         (__strspn_c1): Likewise.
49481         (__strspn_c2): Likewise.
49482         (__strspn_c3): Likewise.
49483         (__strsep_1c): Likewise.
49484         (__strsep_2c): Likewise.
49485         (__strsep_3c): Likewise.
49486         * string/memccpy.c (__memccpy): Likewise.
49487         * string/stpcpy.c (__stpcpy): Likewise.
49488         * string/strcmp.c (strcmp): Likewise.
49489         * string/strrchr.c (strrchr): Likewise.
49490         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
49491         Likewise.
49492         * sysdeps/mach/hurd/getcwd.c
49493         (_hurd_canonicalize_directory_name_internal): Likewise.
49494         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
49495         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
49496         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
49497         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
49498         Likewise, in both definitions.
49499         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
49500         definitions.
49501         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
49502         64] (__bswap_64): Likewise.
49503         * time/test_time.c (main): Likewise.
49504         * time/tzfile.c (__tzfile_read): Likewise.
49505         (__tzfile_compute): Likewise.
49506         * time/tzset.c (__tzset_parse_tz): Likewise.
49507         (tzset_internal): Likewise.
49508         (compute_change): Likewise.
49509         * wcsmbs/wcscat.c (__wcscat): Likewise.
49510         * wcsmbs/wcschr.c (wcschr): Likewise.
49511         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
49512         * wcsmbs/wcscspn.c (wcscspn): Likewise.
49513         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
49514         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
49515         * wcsmbs/wcsspn.c (wcsspn): Likewise.
49516         * wcsmbs/wcsstr.c (wcsstr): Likewise.
49517         * wcsmbs/wmemchr.c (wmemchr): Likewise.
49518         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49519         * wcsmbs/wmemset.c (wmemset): Likewise.
49521 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
49523         * scripts/config.guess: Update to version 2013-05-16.
49524         * scripts/config.sub: Update to version 2013-04-24.
49525         * scripts/install-sh: Update to version 2011-11-20.07.
49526         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
49527         * scripts/move-if-change: Update to version 2012-01-06 07:23.
49529 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
49531         * debug/fgetws_u_chk.c: Fix leading whitespaces.
49532         * elf/sln.c: Likewise.
49533         * hurd/hurd/ioctl.h: Likewise.
49534         * hurd/hurdmalloc.c: Likewise.
49535         * hurd/xattr.c: Likewise.
49536         * include/shlib-compat.h: Likewise.
49537         * inet/ruserpass.c: Likewise.
49538         * libio/iofgets_u.c: Likewise.
49539         * libio/iofgetws_u.c: Likewise.
49540         * locale/programs/ld-identification.c: Likewise.
49541         * locale/programs/ld-time.c: Likewise.
49542         * mach/msg-destroy.c: Likewise.
49543         * nss/nss_files/files-netgrp.c: Likewise.
49544         * resolv/res_data.c: Likewise.
49545         * soft-fp/op-1.h: Likewise.
49546         * soft-fp/op-2.h: Likewise.
49547         * soft-fp/op-4.h: Likewise.
49548         * soft-fp/op-common.h: Likewise.
49549         * stdio-common/printf_fphex.c: Likewise.
49550         * stdlib/strtod_l.c: Likewise.
49551         * sunrpc/rpc/clnt.h: Likewise.
49552         * sysdeps/generic/framestate.c: Likewise.
49553         * sysdeps/i386/bsd-_setjmp.S: Likewise.
49554         * sysdeps/i386/bsd-setjmp.S: Likewise.
49555         * sysdeps/i386/__longjmp.S: Likewise.
49556         * sysdeps/i386/setjmp.S: Likewise.
49557         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49558         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49559         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49560         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49561         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49562         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
49563         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49564         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49565         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49566         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
49567         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
49568         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
49569         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
49570         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
49571         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
49572         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49573         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
49574         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
49575         * sysdeps/ieee754/support.c: Likewise.
49576         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49577         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
49578         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
49579         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
49580         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
49581         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
49582         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
49583         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
49584         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
49585         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
49586         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
49587         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
49588         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
49589         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
49590         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
49591         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
49592         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
49593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
49595 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
49597         * posix/transbug.c: Remove executable mode.
49599 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
49601         * crypt/speeds.c: Remove trailing whitespace.
49602         * dlfcn/default.c: Likewise.
49603         * elf/ifuncdep2.c: Likewise.
49604         * elf/ifuncmain1.c: Likewise.
49605         * elf/ifuncmain1vis.c: Likewise.
49606         * elf/testobj.h: Likewise.
49607         * elf/tst-stackguard1.c: Likewise.
49608         * gmon/sys/gmon.h: Likewise.
49609         * hurd/hurdmsg.c: Likewise.
49610         * hurd/new-fd.c: Likewise.
49611         * hurd/ports-get.c: Likewise.
49612         * iconvdata/ibm1008_420.c: Likewise.
49613         * inet/tst-getni1.c: Likewise.
49614         * inet/tst-getni2.c: Likewise.
49615         * libio/ioungetc.c: Likewise.
49616         * libio/wfiledoalloc.c: Likewise.
49617         * manual/libm-err-tab.pl: Likewise.
49618         * math/w_dremf.c: Likewise.
49619         * misc/ftruncate.c: Likewise.
49620         * posix/bug-glob2.c: Likewise.
49621         * posix/tst-pcre.c: Likewise.
49622         * posix/wait4.c: Likewise.
49623         * resolv/README: Likewise.
49624         * resolv/res_debug.h: Likewise.
49625         * resolv/tst-inet_ntop.c: Likewise.
49626         * setjmp/bug269-setjmp.c: Likewise.
49627         * soft-fp/extended.h: Likewise.
49628         * soft-fp/op-1.h: Likewise.
49629         * soft-fp/op-2.h: Likewise.
49630         * soft-fp/op-4.h: Likewise.
49631         * soft-fp/op-8.h: Likewise.
49632         * soft-fp/testit.c: Likewise.
49633         * stdio-common/bug16.c: Likewise.
49634         * stdlib/random.c: Likewise.
49635         * sunrpc/rpcsvc/rquota.x: Likewise.
49636         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
49637         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49638         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49639         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49640         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49641         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49642         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49643         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49644         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49645         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49646         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49647         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
49648         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49649         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
49650         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49651         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
49652         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
49653         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49654         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
49655         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49656         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49657         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49658         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
49659         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
49660         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
49661         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
49662         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
49663         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49664         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49665         * sysdeps/ieee754/s_lib_version.c: Likewise.
49666         * sysdeps/mach/hurd/check_fds.c: Likewise.
49667         * sysdeps/mach/hurd/getsockname.c: Likewise.
49668         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
49669         * sysdeps/mach/hurd/recvfrom.c: Likewise.
49670         * sysdeps/powerpc/bits/link.h: Likewise.
49671         * sysdeps/powerpc/dl-procinfo.c: Likewise.
49672         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
49673         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
49674         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
49675         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
49676         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
49677         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
49678         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
49679         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
49680         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49681         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
49682         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
49683         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
49684         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49685         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49686         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49687         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
49688         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
49689         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49690         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49691         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49692         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
49693         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49694         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
49695         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
49696         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
49697         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
49698         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49699         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49700         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
49701         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
49702         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
49703         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49704         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49705         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
49706         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
49707         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
49708         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
49709         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
49710         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
49711         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
49712         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
49713         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
49714         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
49715         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
49716         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
49717         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
49718         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
49719         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
49720         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
49721         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49722         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49723         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49724         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49725         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
49726         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
49727         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
49728         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49729         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
49730         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
49731         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
49732         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
49733         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
49734         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49735         * sysdeps/powerpc/sysdep.h: Likewise.
49736         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49737         * sysdeps/s390/s390-64/sub_n.S: Likewise.
49738         * sysdeps/sh/dl-trampoline.S: Likewise.
49739         * sysdeps/sh/memset.S: Likewise.
49740         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
49741         * sysdeps/sh/strlen.S: Likewise.
49742         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
49743         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
49744         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
49745         * sysdeps/sparc/sparc32/rem.S: Likewise.
49746         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
49747         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
49748         * sysdeps/sparc/sparc32/strchr.S: Likewise.
49749         * sysdeps/sparc/sparc32/udiv.S: Likewise.
49750         * sysdeps/sparc/sparc32/urem.S: Likewise.
49751         * sysdeps/sparc/sparc64/add_n.S: Likewise.
49752         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49753         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
49754         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
49755         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
49756         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
49757         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
49758         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
49759         * sysdeps/unix/bsd/times.c: Likewise.
49760         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
49761         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
49762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
49763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
49764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
49765         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
49766         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
49767         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
49768         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
49769         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
49770         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
49771         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
49772         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
49773         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49774         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
49775         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
49776         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
49777         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
49778         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
49779         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
49780         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
49781         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
49782         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49783         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
49784         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
49785         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
49786         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
49787         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49788         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
49789         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
49790         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
49791         * sysdeps/x86_64/strcspn.S: Likewise.
49793 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49795         * locale/C-translit.h: Revert #include <stdint.h> because this is a
49796         generated file.  Regenerate properly from gen-translit.pl.
49797         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
49798         locale/C-translit.h.
49800 2013-06-05  Andreas Schwab  <schwab@suse.de>
49802         [BZ #15100]
49803         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
49804         week as 6 instead of -1.
49805         * time/tst-strptime.c (day_tests): Add test case.
49807 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49809         * sysdeps/generic/math_private.h
49810         (libc_feholdexcept_setround_53bit): Replace with
49811         libc_feholdsetround_53bit.
49812         (libc_feupdateenv_53bit): Replace with
49813         libc_feresetround_53bit.
49814         (SET_RESTORE_ROUND_53BIT): Adjust.
49816 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49818         * string/test-strchrnul.c: Add copyright header.
49820         * posix/tst-getaddrinfo4.c: Increase test timeout.
49822 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
49824         [BZ #15536]
49825         * math/libm-test.inc (MAX_EXP): Remove
49826         (MIN_EXP): Define.
49827         (ulp): Use MIN_EXP - MANT_DIG.
49828         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
49830 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
49832         * po/be.po: Revert last change.
49833         * po/zh_CN.po: Likewise.
49834         * po/header.pot: Likewise.
49836 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
49838         * Makefile ($(common-objpfx)linkobj/libc.so): Define
49839         link-libc-deps to empty as target-specific variable.
49840         * Makerules (link-libc-args): New variable.
49841         (libc-for-link): Likewise.
49842         (link-libc-deps): Likewise.
49843         (lib%.so): Depend on $(link-libc-deps).  Link with
49844         $(link-libc-args).
49845         (build-module): Link with $(link-libc-args).
49846         (build-module-asneeded): Likewise.
49847         (build-module-helper-objlist): Filter out $(link-libc-deps) from
49848         list of objects.
49849         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
49850         target-specific variable.
49851         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
49852         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
49853         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
49854         libc.
49855         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
49856         libc and ld.so.
49857         ($(objpfx)libpcprofile.so): Likewise.
49858         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
49859         libc_nonshared.a.
49860         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
49861         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
49862         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
49863         $(link-libc-deps).
49864         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
49865         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
49866         * login/Makefile ($(objpfx)libutil.so): Likewise.
49867         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
49868         * math/Makefile ($(objpfx)libm.so): Likewise.
49869         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
49870         $(objpfx)libnsl.so): Define libc-for-link as target-specific
49871         variable instead of depending directly on libc.
49872         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
49873         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
49874         $(link-libc-deps).
49875         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
49876         libc.
49877         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
49878         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
49879         ($(objpfx)libanl.so): Likewise.
49880         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
49881         ld.so.
49882         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
49883         $(link-libc-deps).
49884         * sysdeps/i386/fpu/Makefile: Remove file.
49885         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
49886         ($(objpfx)libm.so): Remove dependency on ld.so.
49888 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
49890         [BZ # 15553]
49891         * nis/yp_xdr.c (XDRMAXNAME): Define.
49892         (XDRMAXRECORD): Define.
49893         (xdr_domainname): Use XDRMAXNAME.
49894         (xdr_mapname): Likewise.
49895         (xdr_peername): Likewise.
49896         (xdr_keydat): Use XDRMAXRECORD.
49897         (xdr_valdat): Likewise.
49899 2013-05-30  Jeff Law  <law@redhat.com>
49901         [BZ #14256]
49902         * manual/errno.texi (ESTALE): Update to account for more than
49903         just NFS file systems.
49904         * sysdeps/gnu/errlist.c: Regenerated.
49906 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49908         [BZ #15465]
49909         * elf/Makefile (tests): Add tst-null-argv.
49910         (modules-names):  Add tst-null-argv-lib.
49911         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
49912         (tst-null-argv-ENV): Set environment for tst-null-argv.
49913         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
49914         (RTLD_PROGNAME): New macro.
49915         * elf/tst-null-argv.c: New test case.
49916         * elf/tst-null-argv-lib.c: Library for test case.
49917         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
49918         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
49919         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
49920         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
49921         * elf/dl-init.c (call_init): Likewise.
49922         (_dl_init): Likewise.
49923         * elf/dl-load.c (print_search_path): Likewise.
49924         (_dl_map_object): Likewise.
49925         * elf/dl-lookup.c (do_lookup_x): Likewise.
49926         (add_dependency): Likewise.
49927         (_dl_lookup_symbol_x): Likewise.
49928         (_dl_debug_bindings): Likewise.
49929         * elf/dl-open.c (_dl_show_scope): Likewise.
49930         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
49931         * elf/dl-version.c (match_symbol): Likewise.
49932         (_dl_check_map_versions): Likewise.
49933         * elf/rtld.c (dl_main): Likewise.
49934         (print_unresolved): Use RTLD_PROGNAME.
49935         (print_missing_version): Likewise.
49936         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
49937         (elf_machine_rela): Likewise.
49938         * sysdeps/powerpc/powerpc32/dl-machine.c
49939         (__process_machine_rela): Likewise.
49940         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49941         Likewise.
49942         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
49943         Likewise.
49944         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
49945         Likewise.
49946         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49947         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
49948         Likewise.
49949         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
49950         Likewise.
49951         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49953 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
49955         * po/be.po: Add descriptive title.
49956         * po/zh_CN.po: Likewise.
49957         * po/header.pot: Likewise.
49959 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
49961         * locale/programs/locarchive.c (create_archive): Inlucde fname in
49962         error message.
49963         (enlarge_archive): Likewise.
49965 2013-05-28  Ben North  <ben@redfrontdoor.org>
49967         * manual/arith.texi (frexp): It is the magnitude of the return
49968         value which lies in [0.5, 1), not the return value itself.
49970 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49972         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49974 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
49976         * stdio-common/bug26.c (main): Correct fscanf template.
49978         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
49979         declare _dl_skip_args.
49981         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
49982         Don't declare.
49984         * manual/platform.texi: Add missing @end deftypefun.
49986 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
49988         [BZ #15529]
49989         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
49990         bit of mantissa of 2^16382.
49991         * math/libm-test.inc (hypot_test_data): Add more tests.
49993         * math/libm-test.inc: Add drem and pow10 to list of tested
49994         functions.
49995         (pow10_test): New function.
49996         (drem_test): Likewise.
49997         (drem_test_tonearest): Likewise.
49998         (drem_test_towardzero): Likewise.
49999         (drem_test_downward): Likewise.
50000         (drem_test_upward): Likewise.
50001         (main): Call the new functions.
50003         * math/libm-test.inc (finite_test_data): Remove.
50004         (finite_test): Run tests from isfinite_test_data.
50005         (gamma_test_data): Remove.
50006         (gamma_test): Run tests from lgamma_test_data.
50007         * sysdeps/i386/fpu/libm-test-ulps: Update.
50008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50010 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50012         * manual/platform.texi: Add PowerPC PPR function set documentation.
50013         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
50014         implementation.
50016 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
50018         * math/libm-test.inc (MAX_EXP): Define.
50019         (ULPDIFF): Define.
50020         (ulp): New function.
50021         (check_float_internal): Use ULPDIFF.
50022         (cpow_test): Disable failing test.
50023         (check_ulp): Test ulp() implemetnation.
50024         (main): Call check_ulp before starting tests.
50026 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
50028         * math/gen-libm-test.pl (generate_testfile): Do not handle
50029         START_DATA and END_DATA.
50030         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
50031         END_DATA.
50032         (acos_tonearest_test_data): Likewise.
50033         (acos_towardzero_test_data): Likewise.
50034         (acos_downward_test_data): Likewise.
50035         (acos_upward_test_data): Likewise.
50036         (acosh_test_data): Likewise.
50037         (asin_test_data): Likewise.
50038         (asin_tonearest_test_data): Likewise.
50039         (asin_towardzero_test_data): Likewise.
50040         (asin_downward_test_data): Likewise.
50041         (asin_upward_test_data): Likewise.
50042         (asinh_test_data): Likewise.
50043         (atan_test_data): Likewise.
50044         (atanh_test_data): Likewise.
50045         (atan2_test_data): Likewise.
50046         (cabs_test_data): Likewise.
50047         (cacos_test_data): Likewise.
50048         (cacosh_test_data): Likewise.
50049         (carg_test_data): Likewise.
50050         (casin_test_data): Likewise.
50051         (casinh_test_data): Likewise.
50052         (catan_test_data): Likewise.
50053         (catanh_test_data): Likewise.
50054         (cbrt_test_data): Likewise.
50055         (ccos_test_data): Likewise.
50056         (ccosh_test_data): Likewise.
50057         (ceil_test_data): Likewise.
50058         (cexp_test_data): Likewise.
50059         (cimag_test_data): Likewise.
50060         (clog_test_data): Likewise.
50061         (clog10_test_data): Likewise.
50062         (conj_test_data): Likewise.
50063         (copysign_test_data): Likewise.
50064         (cos_test_data): Likewise.
50065         (cos_tonearest_test_data): Likewise.
50066         (cos_towardzero_test_data): Likewise.
50067         (cos_downward_test_data): Likewise.
50068         (cos_upward_test_data): Likewise.
50069         (cosh_test_data): Likewise.
50070         (cosh_tonearest_test_data): Likewise.
50071         (cosh_towardzero_test_data): Likewise.
50072         (cosh_downward_test_data): Likewise.
50073         (cosh_upward_test_data): Likewise.
50074         (cpow_test_data): Likewise.
50075         (cproj_test_data): Likewise.
50076         (creal_test_data): Likewise.
50077         (csin_test_data): Likewise.
50078         (csinh_test_data): Likewise.
50079         (csqrt_test_data): Likewise.
50080         (ctan_test_data): Likewise.
50081         (ctan_tonearest_test_data): Likewise.
50082         (ctan_towardzero_test_data): Likewise.
50083         (ctan_downward_test_data): Likewise.
50084         (ctan_upward_test_data): Likewise.
50085         (ctanh_test_data): Likewise.
50086         (ctanh_tonearest_test_data): Likewise.
50087         (ctanh_towardzero_test_data): Likewise.
50088         (ctanh_downward_test_data): Likewise.
50089         (ctanh_upward_test_data): Likewise.
50090         (erf_test_data): Likewise.
50091         (erfc_test_data): Likewise.
50092         (exp_test_data): Likewise.
50093         (exp_tonearest_test_data): Likewise.
50094         (exp_towardzero_test_data): Likewise.
50095         (exp_downward_test_data): Likewise.
50096         (exp_upward_test_data): Likewise.
50097         (exp10_test_data): Likewise.
50098         (exp2_test_data): Likewise.
50099         (expm1_test_data): Likewise.
50100         (fabs_test_data): Likewise.
50101         (fdim_test_data): Likewise.
50102         (finite_test_data): Likewise.
50103         (floor_test_data): Likewise.
50104         (fma_test_data): Likewise.
50105         (fma_towardzero_test_data): Likewise.
50106         (fma_downward_test_data): Likewise.
50107         (fma_upward_test_data): Likewise.
50108         (fmax_test_data): Likewise.
50109         (fmin_test_data): Likewise.
50110         (fmod_test_data): Likewise.
50111         (fpclassify_test_data): Likewise.
50112         (frexp_test_data): Likewise.
50113         (gamma_test_data): Likewise.
50114         (hypot_test_data): Likewise.
50115         (ilogb_test_data): Likewise.
50116         (isfinite_test_data): Likewise.
50117         (isgreater_test_data): Likewise.
50118         (isgreaterequal_test_data): Likewise.
50119         (isinf_test_data): Likewise.
50120         (isless_test_data): Likewise.
50121         (islessequal_test_data): Likewise.
50122         (islessgreater_test_data): Likewise.
50123         (isnan_test_data): Likewise.
50124         (isnormal_test_data): Likewise.
50125         (issignaling_test_data): Likewise.
50126         (isunordered_test_data): Likewise.
50127         (j0_test_data): Likewise.
50128         (j1_test_data): Likewise.
50129         (jn_test_data): Likewise.
50130         (ldexp_test_data): Likewise.
50131         (lgamma_test_data): Likewise.
50132         (lrint_test_data): Likewise.
50133         (lrint_tonearest_test_data): Likewise.
50134         (lrint_towardzero_test_data): Likewise.
50135         (lrint_downward_test_data): Likewise.
50136         (lrint_upward_test_data): Likewise.
50137         (llrint_test_data): Likewise.
50138         (llrint_tonearest_test_data): Likewise.
50139         (llrint_towardzero_test_data): Likewise.
50140         (llrint_downward_test_data): Likewise.
50141         (llrint_upward_test_data): Likewise.
50142         (log_test_data): Likewise.
50143         (log10_test_data): Likewise.
50144         (log1p_test_data): Likewise.
50145         (log2_test_data): Likewise.
50146         (logb_test_data): Likewise.
50147         (logb_downward_test_data): Likewise.
50148         (lround_test_data): Likewise.
50149         (llround_test_data): Likewise.
50150         (modf_test_data): Likewise.
50151         (nearbyint_test_data): Likewise.
50152         (nextafter_test_data): Likewise.
50153         (nexttoward_test_data): Likewise.
50154         (pow_test_data): Likewise.
50155         (pow_tonearest_test_data): Likewise.
50156         (pow_towardzero_test_data): Likewise.
50157         (pow_downward_test_data): Likewise.
50158         (pow_upward_test_data): Likewise.
50159         (remainder_test_data): Likewise.
50160         (remainder_tonearest_test_data): Likewise.
50161         (remainder_towardzero_test_data): Likewise.
50162         (remainder_downward_test_data): Likewise.
50163         (remainder_upward_test_data): Likewise.
50164         (remquo_test_data): Likewise.
50165         (rint_test_data): Likewise.
50166         (rint_tonearest_test_data): Likewise.
50167         (rint_towardzero_test_data): Likewise.
50168         (rint_downward_test_data): Likewise.
50169         (rint_upward_test_data): Likewise.
50170         (round_test_data): Likewise.
50171         (scalb_test_data): Likewise.
50172         (scalbn_test_data): Likewise.
50173         (scalbln_test_data): Likewise.
50174         (signbit_test_data): Likewise.
50175         (sin_test_data): Likewise.
50176         (sin_tonearest_test_data): Likewise.
50177         (sin_towardzero_test_data): Likewise.
50178         (sin_downward_test_data): Likewise.
50179         (sin_upward_test_data): Likewise.
50180         (sincos_test_data): Likewise.
50181         (sinh_test_data): Likewise.
50182         (sinh_tonearest_test_data): Likewise.
50183         (sinh_towardzero_test_data): Likewise.
50184         (sinh_downward_test_data): Likewise.
50185         (sinh_upward_test_data): Likewise.
50186         (sqrt_test_data): Likewise.
50187         (tan_test_data): Likewise.
50188         (tan_tonearest_test_data): Likewise.
50189         (tan_towardzero_test_data): Likewise.
50190         (tan_downward_test_data): Likewise.
50191         (tan_upward_test_data): Likewise.
50192         (tanh_test_data): Likewise.
50193         (tgamma_test_data): Likewise.
50194         (trunc_test_data): Likewise.
50195         (y0_test_data): Likewise.
50196         (y1_test_data): Likewise.
50197         (yn_test_data): Likewise.
50198         (significand_test_data): Likewise.
50200         * math/gen-libm-test.pl (@functions): Remove variable.
50201         (generate_testfile): Don't handle START and END lines.
50202         * math/libm-test.inc (START): New macro.
50203         (END): Likewise.
50204         (END_COMPLEX): Likewise.
50205         (acos_test): Use END macro without arguments.
50206         (acos_test_tonearest): Likewise.
50207         (acos_test_towardzero): Likewise.
50208         (acos_test_downward): Likewise.
50209         (acos_test_upward): Likewise.
50210         (acosh_test): Likewise.
50211         (asin_test): Likewise.
50212         (asin_test_tonearest): Likewise.
50213         (asin_test_towardzero): Likewise.
50214         (asin_test_downward): Likewise.
50215         (asin_test_upward): Likewise.
50216         (asinh_test): Likewise.
50217         (atan_test): Likewise.
50218         (atanh_test): Likewise.
50219         (atan2_test): Likewise.
50220         (cabs_test): Likewise.
50221         (cacos_test): Use END_COMPLEX macro without arguments.
50222         (cacosh_test): Likewise.
50223         (carg_test): Use END macro without arguments.
50224         (casin_test): Use END_COMPLEX macro without arguments.
50225         (casinh_test): Likewise.
50226         (catan_test): Likewise.
50227         (catanh_test): Likewise.
50228         (cbrt_test): Use END macro without arguments.
50229         (ccos_test): Use END_COMPLEX macro without arguments.
50230         (ccosh_test): Likewise.
50231         (ceil_test): Use END macro without arguments.
50232         (cexp_test): Use END_COMPLEX macro without arguments.
50233         (cimag_test): Use END macro without arguments.
50234         (clog_test): Use END_COMPLEX macro without arguments.
50235         (clog10_test): Likewise.
50236         (conj_test): Likewise.
50237         (copysign_test): Use END macro without arguments.
50238         (cos_test): Likewise.
50239         (cos_test_tonearest): Likewise.
50240         (cos_test_towardzero): Likewise.
50241         (cos_test_downward): Likewise.
50242         (cos_test_upward): Likewise.
50243         (cosh_test): Likewise.
50244         (cosh_test_tonearest): Likewise.
50245         (cosh_test_towardzero): Likewise.
50246         (cosh_test_downward): Likewise.
50247         (cosh_test_upward): Likewise.
50248         (cpow_test): Use END_COMPLEX macro without arguments.
50249         (cproj_test): Likewise.
50250         (creal_test): Use END macro without arguments.
50251         (csin_test): Use END_COMPLEX macro without arguments.
50252         (csinh_test): Likewise.
50253         (csqrt_test): Likewise.
50254         (ctan_test): Likewise.
50255         (ctan_test_tonearest): Likewise.
50256         (ctan_test_towardzero): Likewise.
50257         (ctan_test_downward): Likewise.
50258         (ctan_test_upward): Likewise.
50259         (ctanh_test): Likewise.
50260         (ctanh_test_tonearest): Likewise.
50261         (ctanh_test_towardzero): Likewise.
50262         (ctanh_test_downward): Likewise.
50263         (ctanh_test_upward): Likewise.
50264         (erf_test): Use END macro without arguments.
50265         (erfc_test): Likewise.
50266         (exp_test): Likewise.
50267         (exp_test_tonearest): Likewise.
50268         (exp_test_towardzero): Likewise.
50269         (exp_test_downward): Likewise.
50270         (exp_test_upward): Likewise.
50271         (exp10_test): Likewise.
50272         (exp2_test): Likewise.
50273         (expm1_test): Likewise.
50274         (fabs_test): Likewise.
50275         (fdim_test): Likewise.
50276         (finite_test): Likewise.
50277         (floor_test): Likewise.
50278         (fma_test): Likewise.
50279         (fma_test_towardzero): Likewise.
50280         (fma_test_downward): Likewise.
50281         (fma_test_upward): Likewise.
50282         (fmax_test): Likewise.
50283         (fmin_test): Likewise.
50284         (fmod_test): Likewise.
50285         (fpclassify_test): Likewise.
50286         (frexp_test): Likewise.
50287         (gamma_test): Likewise.
50288         (hypot_test): Likewise.
50289         (ilogb_test): Likewise.
50290         (isfinite_test): Likewise.
50291         (isgreater_test): Likewise.
50292         (isgreaterequal_test): Likewise.
50293         (isinf_test): Likewise.
50294         (isless_test): Likewise.
50295         (islessequal_test): Likewise.
50296         (islessgreater_test): Likewise.
50297         (isnan_test): Likewise.
50298         (isnormal_test): Likewise.
50299         (issignaling_test): Likewise.
50300         (isunordered_test): Likewise.
50301         (j0_test): Likewise.
50302         (j1_test): Likewise.
50303         (jn_test): Likewise.
50304         (ldexp_test): Likewise.
50305         (lgamma_test): Likewise.
50306         (lrint_test): Likewise.
50307         (lrint_test_tonearest): Likewise.
50308         (lrint_test_towardzero): Likewise.
50309         (lrint_test_downward): Likewise.
50310         (lrint_test_upward): Likewise.
50311         (llrint_test): Likewise.
50312         (llrint_test_tonearest): Likewise.
50313         (llrint_test_towardzero): Likewise.
50314         (llrint_test_downward): Likewise.
50315         (llrint_test_upward): Likewise.
50316         (log_test): Likewise.
50317         (log10_test): Likewise.
50318         (log1p_test): Likewise.
50319         (log2_test): Likewise.
50320         (logb_test): Likewise.
50321         (logb_test_downward): Likewise.
50322         (lround_test): Likewise.
50323         (llround_test): Likewise.
50324         (modf_test): Likewise.
50325         (nearbyint_test): Likewise.
50326         (nextafter_test): Likewise.
50327         (nexttoward_test): Likewise.
50328         (pow_test): Likewise.
50329         (pow_test_tonearest): Likewise.
50330         (pow_test_towardzero): Likewise.
50331         (pow_test_downward): Likewise.
50332         (pow_test_upward): Likewise.
50333         (remainder_test): Likewise.
50334         (remainder_test_tonearest): Likewise.
50335         (remainder_test_towardzero): Likewise.
50336         (remainder_test_downward): Likewise.
50337         (remainder_test_upward): Likewise.
50338         (remquo_test): Likewise.
50339         (rint_test): Likewise.
50340         (rint_test_tonearest): Likewise.
50341         (rint_test_towardzero): Likewise.
50342         (rint_test_downward): Likewise.
50343         (rint_test_upward): Likewise.
50344         (round_test): Likewise.
50345         (scalb_test): Likewise.
50346         (scalbn_test): Likewise.
50347         (scalbln_test): Likewise.
50348         (signbit_test): Likewise.
50349         (sin_test): Likewise.
50350         (sin_test_tonearest): Likewise.
50351         (sin_test_towardzero): Likewise.
50352         (sin_test_downward): Likewise.
50353         (sin_test_upward): Likewise.
50354         (sincos_test): Likewise.
50355         (sinh_test): Likewise.
50356         (sinh_test_tonearest): Likewise.
50357         (sinh_test_towardzero): Likewise.
50358         (sinh_test_downward): Likewise.
50359         (sinh_test_upward): Likewise.
50360         (sqrt_test): Likewise.
50361         (tan_test): Likewise.
50362         (tan_test_tonearest): Likewise.
50363         (tan_test_towardzero): Likewise.
50364         (tan_test_downward): Likewise.
50365         (tan_test_upward): Likewise.
50366         (tanh_test): Likewise.
50367         (tgamma_test): Likewise.
50368         (trunc_test): Likewise.
50369         (y0_test): Likewise.
50370         (y1_test): Likewise.
50371         (yn_test): Likewise.
50372         (significand_test): Likewise.
50374 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
50376         [BZ #15381]
50377         * libio/genops.c (_IO_no_init): Initialize wide struct info.
50379 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
50381         [BZ #14894]
50382         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
50383         __ppc_mdoio and __ppc_mdoom.
50384         * manual/platform.texi: Document new functions __ppc_yield,
50385         __ppc_mdoio and __ppc_mdoom.
50387 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
50389         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
50390         (main): Mention "tls" pseudo-hwcap is legacy.
50391         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
50393 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50395         * math/gen-libm-test.pl (parse_args): Output only string of
50396         arguments as text for test name, not full call or descriptions of
50397         tests for extra outputs.
50398         (generate_testfile): Do not pass function name to parse_args.
50399         Generate this_func variable from START.
50400         * math/libm-test.inc (struct test_f_f_data): Rename test_name
50401         field to arg_str.
50402         (struct test_ff_f_data): Likewise.
50403         (test_ff_f_data_nexttoward): Likewise.
50404         (struct test_fi_f_data): Likewise.
50405         (struct test_fl_f_data): Likewise.
50406         (struct test_if_f_data): Likewise.
50407         (struct test_fff_f_data): Likewise.
50408         (struct test_c_f_data): Likewise.
50409         (struct test_f_f1_data): Likewise.  Remove field extra_name.
50410         (struct test_fF_f1_data): Likewise.
50411         (struct test_ffI_f1_data): Likewise.
50412         (struct test_c_c_data): Rename test_name field to arg_str.
50413         (struct test_cc_c_data): Likewise.
50414         (struct test_f_i_data): Likewise.
50415         (struct test_ff_i_data): Likewise.
50416         (struct test_f_l_data): Likewise.
50417         (struct test_f_L_data): Likewise.
50418         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
50419         and extra2_name.
50420         (COMMON_TEST_SETUP): New macro.
50421         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
50422         (COMMON_TEST_CLEANUP): Likewise.
50423         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
50424         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
50425         macros.
50426         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
50427         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
50428         macros.
50429         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
50430         (RUN_TEST_fff_f): Take argument string.  Call new setup and
50431         cleanup macros.
50432         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
50433         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
50434         macros.
50435         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
50436         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
50437         macros.
50438         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50439         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
50440         cleanup macros.
50441         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50442         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
50443         cleanup macros.
50444         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50445         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
50446         cleanup macros.
50447         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50448         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
50449         macros.
50450         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
50451         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
50452         macros.
50453         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
50454         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
50455         macros.
50456         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
50457         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
50458         cleanup macros.
50459         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
50460         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
50461         cleanup macros.
50462         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
50463         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
50464         macros.
50465         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
50466         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
50467         cleanup macros.
50468         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
50469         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
50470         macros.
50471         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
50472         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
50473         macros.
50474         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
50475         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
50476         cleanup macros.
50477         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
50479 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
50481         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
50482         to _sifields.sigfault.
50483         (si_addr_lsb): Define new macro.
50484         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50485         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50486         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
50488 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
50490         [BZ #15441]
50491         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
50492         returns -1.
50493         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
50494         null return -1.
50495         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
50496         loading the domain.
50498 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50500         * math/gen-libm-test.pl (parse_args): Do not include expected
50501         result in test name.
50502         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
50503         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50504         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50505         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50506         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50509 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50511         * benchtests/Makefile: Sort function entries.
50513         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
50514         tanh, asinh, acosh, atanh.
50515         * benchtests/acos-inputs: New file.
50516         * benchtests/acosh-inputs: New file.
50517         * benchtests/asin-inputs: New file.
50518         * benchtests/asinh-inputs: New file.
50519         * benchtests/atanh-inputs: New file.
50520         * benchtests/cosh-inputs: New file.
50521         * benchtests/log-inputs: New file.
50522         * benchtests/sinh-inputs: New file.
50523         * benchtests/tanh-inputs: New file.
50525 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
50527         [BZ #15339]
50528         * posix/tst-getaddrinfo4.c: New test.
50529         * posix/Makefile (tests): Add it.
50531 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50533         [BZ #15339]
50534         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
50535         when no services were used.
50536         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
50537         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
50539 2013-05-21  Andreas Schwab  <schwab@suse.de>
50541         [BZ #15014]
50542         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
50543         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
50544         successful.
50545         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
50546         redundant variable declarations and reallocation of buffer when
50547         parsing as IPv6 address.  Always set NSS status when called from
50548         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
50549         buffer too small.  Correct computation of needed size.
50550         * nss/Makefile (tests): Add test-digits-dots.
50551         * nss/test-digits-dots.c: New test.
50553 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50555         * benchtests/Makefile: Remove instructions for adding
50556         benchmark tests.
50557         * benchtests/README: New file to explain how to execute and
50558         enhance the benchmark tests.
50560 2013-05-21  Andreas Schwab  <schwab@suse.de>
50562         [BZ #15493]
50563         * setjmp/Makefile (tests): Add tst-sigsetjmp.
50564         * setjmp/tst-sigsetjmp.c: New test.
50566 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50568         * sysdeps/x86_64/memset.S (memset): New implementation.
50569         (__bzero): Likewise.
50570         (__memset_tail): New function.
50572 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50574         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
50575         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
50576         __memcpy_sse2_unaligned ifunc selection.
50577         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50578         Add memcpy-sse2-unaligned.S.
50579         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50580         Add: __memcpy_sse2_unaligned.
50582 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
50584         [BZ #15490]
50585         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
50586         math_force_eval before restoring floating-point envrionment.
50587         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
50588         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
50589         Likewise.
50590         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
50591         <math_private.h>.
50592         (__nearbyintl): Use math_force_eval before restoring
50593         floating-point environment.
50594         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
50596         * math/gen-libm-test.pl (special_functions): Remove.
50597         (parse_args): Don't handle TEST_extra.  Handle functions with no
50598         return value.
50599         * math/libm-test.inc (struct test_sincos_data): Replace with
50600         struct test_fFF_11_data.
50601         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
50602         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
50603         (sincos_test_data): Change element type to struct
50604         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
50605         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
50606         RUN_TEST_LOOP_sincos.
50607         * math/README.libm-test: Don't mention special handling of
50608         individual functions.
50609         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
50610         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50611         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50612         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50613         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50616         * math/gen-libm-test.pl (get_variable): Remove function.
50617         (parse_args): Don't show pointer parameters to call in test
50618         names.  Use "extra output N" in test names for extra outputs
50619         rather than naming variables.
50621 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
50623         [BZ #15488]
50624         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
50625         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
50626         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
50627         double tests.
50628         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
50629         disable.
50630         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
50631         check_long_double.
50633         * math/gen-libm-test.pl (@tests): Remove variable.
50634         ($count): Likewise.
50635         (new_test): Remove function.
50636         (show_exceptions): New function.
50637         (special_functions): Use show_exceptions instead of new_test.
50638         (parse_args): Likewise.
50639         (generate_testfile): Pass only function name in generated call to
50640         print_max_error or print_complex_max_error.
50641         (get_ulps): Do not handle complex tests specially.
50642         (output_test): Rename to ...
50643         (get_all_ulps_for_test): ... this.  Return a string rather than
50644         printing to a file.  Require ulps to be present.
50645         (output_ulps): Generate arrays rather than #defines.
50646         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
50647         (struct ulp_data): New type.
50648         (BUILD_COMPLEX_ULP): Remove macro.
50649         (compare_ulp_data): New function.
50650         (find_ulps): Likewise.
50651         (find_test_ulps): Likewise.
50652         (find_function_ulps): Likewise.
50653         (find_complex_function_ulps): Likewise.
50654         (print_max_error): Determine allowed ulps using
50655         find_function_ulps.
50656         (print_complex_max_error): Determine allowed ulps using
50657         find_complex_function_ulps.
50658         (check_float_internal): Determine max ulps using find_test_ulps.
50659         (check_float): Do not take max_ulp parameter.  Update call to
50660         check_float_internal.
50661         (check_complex): Likewise.
50662         (check_int): Do not take max_ulp parameter.
50663         (check_long): Likewise.
50664         (check_bool): Likewise.
50665         (check_longlong): Likewise.
50666         (struct test_f_f_data): Remove max_ulp field.
50667         (struct test_ff_f_data): Likewise.
50668         (struct test_ff_f_data_nexttoward): Likewise.
50669         (struct test_fi_f_data): Likewise.
50670         (struct test_fl_f_data): Likewise.
50671         (struct test_if_f_data): Likewise.
50672         (struct test_fff_f_data): Likewise.
50673         (struct test_c_f_data): Likewise.
50674         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
50675         (struct test_fF_f1_data): Likewise.
50676         (struct test_ffI_f1_data): Likewise.
50677         (struct test_c_c_data): Remove max_ulp field.
50678         (struct test_cc_c_data): Likewise.
50679         (struct test_f_i_data): Likewise.
50680         (struct test_ff_i_data): Likewise.
50681         (struct test_f_l_data): Likewise.
50682         (struct test_f_L_data): Likewise.
50683         (struct test_sincos_data): Likewise.
50684         (RUN_TEST_f_f): Do not handle ulps.
50685         (RUN_TEST_LOOP_f_f): Likewise.
50686         (RUN_TEST_2_f): Likewise.
50687         (RUN_TEST_LOOP_2_f): Likewise.
50688         (RUN_TEST_fff_f): Likewise.
50689         (RUN_TEST_LOOP_fff_f): Likewise.
50690         (RUN_TEST_c_f): Likewise.
50691         (RUN_TEST_LOOP_c_f): Likewise.
50692         (RUN_TEST_f_f1): Likewise.
50693         (RUN_TEST_LOOP_f_f1): Likewise.
50694         (RUN_TEST_fF_f1): Likewise.
50695         (RUN_TEST_LOOP_fF_f1): Likewise.
50696         (RUN_TEST_fI_f1): Likewise.
50697         (RUN_TEST_LOOP_fI_f1): Likewise.
50698         (RUN_TEST_ffI_f1): Likewise.
50699         (RUN_TEST_LOOP_ffI_f1): Likewise.
50700         (RUN_TEST_c_c): Likewise.
50701         (RUN_TEST_LOOP_c_c): Likewise.
50702         (RUN_TEST_cc_c): Likewise.
50703         (RUN_TEST_LOOP_cc_c): Likewise.
50704         (RUN_TEST_f_i): Likewise.
50705         (RUN_TEST_LOOP_f_i): Likewise.
50706         (RUN_TEST_f_i_tg): Likewise.
50707         (RUN_TEST_LOOP_f_i_tg): Likewise.
50708         (RUN_TEST_ff_i_tg): Likewise.
50709         (RUN_TEST_LOOP_ff_i_tg): Likewise.
50710         (RUN_TEST_f_b): Likewise.
50711         (RUN_TEST_LOOP_f_b): Likewise.
50712         (RUN_TEST_f_b_tg): Likewise.
50713         (RUN_TEST_LOOP_f_b_tg): Likewise.
50714         (RUN_TEST_f_l): Likewise.
50715         (RUN_TEST_LOOP_f_l): Likewise.
50716         (RUN_TEST_f_L): Likewise.
50717         (RUN_TEST_LOOP_f_L): Likewise.
50718         (RUN_TEST_sincos): Likewise.
50719         (RUN_TEST_LOOP_sincos): Likewise.
50721 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
50723         [BZ #15480]
50724         [BZ #15485]
50725         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
50726         main case of finite arguments, set rounding mode to FE_TONEAREST
50727         and discard exceptions.
50728         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
50729         exceptions.
50730         (remainder_tonearest_test_data): New variable.
50731         (remainder_test_tonearest): New function.
50732         (remainder_towardzero_test_data): New variable.
50733         (remainder_test_towardzero): New function.
50734         (remainder_downward_test_data): New variable.
50735         (remainder_test_downward): New function.
50736         (remainder_upward_test_data): New variable.
50737         (remainder_test_upward): New function.
50738         (main): Call the new test functions.
50740         * math/libm-test.inc (struct test_f_f1_data): Remove field
50741         extra_init.
50742         (struct test_fF_f1_data): Likewise.
50743         (struct test_ffI_f1_data): Likewise.
50744         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
50745         based on value of EXTRA_EXPECTED.
50746         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50747         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
50748         EXTRA_VAR based on value of EXTRA_EXPECTED.
50749         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50750         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
50751         EXTRA_VAR based on value of EXTRA_EXPECTED.
50752         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50753         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
50754         EXTRA_VAR based on value of EXTRA_EXPECTED.
50755         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50756         * math/gen-libm-test.pl (parse_args): Don't output initializers
50757         for extra output values.
50759         * math/libm-test.inc (check_int): Expect result to be exactly
50760         equal to expected value and do not handle ulps.
50761         (check_long): Likewise.
50762         (check_longlong): Likewise.
50764         * math/libm-test.inc (ceil_test_data): Test for "inexact"
50765         exceptions.
50766         (cimag_test_data): Likewise.
50767         (conj_test_data): Likewise.
50768         (copysign_test_data): Likewise.
50769         (cproj_test_data): Likewise.
50770         (creal_test_data): Likewise.
50771         (fabs_test_data): Likewise.
50772         (fdim_test_data): Likewise.
50773         (finite_test_data): Likewise.
50774         (floor_test_data): Likewise.
50775         (fmax_test_data): Likewise.
50776         (fmin_test_data): Likewise.
50777         (fmod_test_data): Likewise.
50778         (fpclassify_test_data): Likewise.
50779         (frexp_test_data): Likewise.
50780         (ilogb_test_data): Likewise.
50781         (isfinite_test_data): Likewise.
50782         (isgreater_test_data): Likewise.
50783         (isgreaterequal_test_data): Likewise.
50784         (isinf_test_data): Likewise.
50785         (isless_test_data): Likewise.
50786         (islessequal_test_data): Likewise.
50787         (islessgreater_test_data): Likewise.
50788         (isnan_test_data): Likewise.
50789         (isnormal_test_data): Likewise.
50790         (issignaling_test_data): Likewise.
50791         (isunordered_test_data): Likewise.
50792         (ldexp_test_data): Likewise.
50793         (lrint_test_data): Likewise.
50794         (lrint_test_data) [TEST_FLOAT]: Disable one test.
50795         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
50796         (lrint_tonearest_test_data): Test for "inexact" exceptions.
50797         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
50798         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
50799         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
50800         test input.
50801         (lrint_towardzero_test_data): Test for "inexact" exceptions.
50802         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
50803         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
50804         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
50805         that test input.
50806         (lrint_downward_test_data): Test for "inexact" exceptions.
50807         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
50808         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
50809         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
50810         test input.
50811         (lrint_upward_test_data): Test for "inexact" exceptions.
50812         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
50813         test input.
50814         (llrint_test_data): Test for "inexact" exceptions.
50815         (llrint_test_data) [TEST_FLOAT]: Disable one test.
50816         (llrint_tonearest_test_data): Test for "inexact" exceptions.
50817         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
50818         (llrint_towardzero_test_data): Test for "inexact" exceptions.
50819         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
50820         (llrint_downward_test_data): Test for "inexact" exceptions.
50821         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
50822         (llrint_upward_test_data): Test for "inexact" exceptions.
50823         (logb_test_data): Likewise.
50824         (logb_downward_test_data): Likewise.
50825         (nextafter_test_data): Likewise.
50826         (nexttoward_test_data): Likewise.
50827         (remainder_test_data): Likewise.
50828         (remquo_test_data): Likewise.
50829         (scalbn_test_data): Likewise.
50830         (scalbln_test_data): Likewise.
50831         (signbit_test_data): Likewise.
50832         (sqrt_test_data): Likewise.
50833         (significand_test_data): Likewise.
50835 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50837         [BZ #15424]
50838         * benchtests/bench-modf.c (struct args): Mark arg0 as
50839         volatile.
50840         * scripts/bench.pl: Mark members of struct args as volatile.
50842 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50844         [BZ # 15497]
50845         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
50846         negative infinity on POWER6 or lower.
50847         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
50849 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
50851         [BZ #15442]
50852         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
50853         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
50854         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
50855         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
50856         (_FP_SETQNAN): New macro.
50857         (_FP_SETQNAN_SEMIRAW): Likewise.
50858         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
50859         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
50860         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
50861         (FP_EXTEND): Use _FP_FRAC_SNANP.
50862         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
50863         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
50864         into account.
50865         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
50866         New macro.
50867         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
50868         Likewise.
50870 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50872         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
50873         with DIVIDE_BY_ZERO_EXCEPTION.
50874         (gamma_test_data): Likewise.
50875         (lgamma_test_data): Likewise.
50876         (log_test_data): Likewise.
50877         (log10_test_data): Likewise.
50878         (log2_test_data): Likewise.
50879         (tgamma_test_data): Likewise.
50881         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
50882         (acos_test_tonearest): Likewise.
50883         (acos_test_towardzero): Likewise.
50884         (acos_test_downward): Likewise.
50885         (acos_test_upward): Likewise.
50886         (acosh_test): Likewise.
50887         (asin_test): Likewise.
50888         (asin_test_tonearest): Likewise.
50889         (asin_test_towardzero): Likewise.
50890         (asin_test_downward): Likewise.
50891         (asin_test_upward): Likewise.
50892         (asinh_test): Likewise.
50893         (atan_test): Likewise.
50894         (atanh_test): Likewise.
50895         (atan2_test): Likewise.
50896         (cabs_test): Likewise.
50897         (cacos_test): Likewise.
50898         (cacosh_test): Likewise.
50899         (casin_test): Likewise.
50900         (casinh_test): Likewise.
50901         (catan_test): Likewise.
50902         (catanh_test): Likewise.
50903         (cbrt_test): Likewise.
50904         (ccos_test): Likewise.
50905         (ccosh_test): Likewise.
50906         (cexp_test): Likewise.
50907         (clog_test): Likewise.
50908         (clog10_test): Likewise.
50909         (cos_test): Likewise.
50910         (cos_test_tonearest): Likewise.
50911         (cos_test_towardzero): Likewise.
50912         (cos_test_downward): Likewise.
50913         (cos_test_upward): Likewise.
50914         (cosh_test): Likewise.
50915         (cosh_test_tonearest): Likewise.
50916         (cosh_test_towardzero): Likewise.
50917         (cosh_test_downward): Likewise.
50918         (cosh_test_upward): Likewise.
50919         (cpow_test): Likewise.
50920         (csin_test): Likewise.
50921         (csinh_test): Likewise.
50922         (csqrt_test): Likewise.
50923         (ctan_test): Likewise.
50924         (ctan_test_tonearest): Likewise.
50925         (ctan_test_towardzero): Likewise.
50926         (ctan_test_downward): Likewise.
50927         (ctan_test_upward): Likewise.
50928         (ctanh_test): Likewise.
50929         (ctanh_test_tonearest): Likewise.
50930         (ctanh_test_towardzero): Likewise.
50931         (ctanh_test_downward): Likewise.
50932         (ctanh_test_upward): Likewise.
50933         (erf_test): Likewise.
50934         (erfc_test): Likewise.
50935         (exp_test): Likewise.
50936         (exp_test_tonearest): Likewise.
50937         (exp_test_towardzero): Likewise.
50938         (exp_test_downward): Likewise.
50939         (exp_test_upward): Likewise.
50940         (exp10_test): Likewise.
50941         (exp2_test): Likewise.
50942         (expm1_test): Likewise.
50943         (fmod_test): Likewise.
50944         (gamma_test): Likewise.
50945         (hypot_test): Likewise.
50946         (j0_test): Likewise.
50947         (j1_test): Likewise.
50948         (jn_test): Likewise.
50949         (lgamma_test): Likewise.
50950         (log_test): Likewise.
50951         (log10_test): Likewise.
50952         (log1p_test): Likewise.
50953         (log2_test): Likewise.
50954         (logb_test_downward): Likewise.
50955         (pow_test): Likewise.
50956         (pow_test_tonearest): Likewise.
50957         (pow_test_towardzero): Likewise.
50958         (pow_test_downward): Likewise.
50959         (pow_test_upward): Likewise.
50960         (remainder_test): Likewise.
50961         (remquo_test): Likewise.
50962         (sin_test): Likewise.
50963         (sin_test_tonearest): Likewise.
50964         (sin_test_towardzero): Likewise.
50965         (sin_test_downward): Likewise.
50966         (sin_test_upward): Likewise.
50967         (sincos_test): Likewise.
50968         (sinh_test): Likewise.
50969         (sinh_test_tonearest): Likewise.
50970         (sinh_test_towardzero): Likewise.
50971         (sinh_test_downward): Likewise.
50972         (sinh_test_upward): Likewise.
50973         (sqrt_test): Likewise.
50974         (tan_test): Likewise.
50975         (tan_test_tonearest): Likewise.
50976         (tan_test_towardzero): Likewise.
50977         (tan_test_downward): Likewise.
50978         (tan_test_upward): Likewise.
50979         (tanh_test): Likewise.
50980         (tgamma_test): Likewise.
50981         (y0_test): Likewise.
50982         (y1_test): Likewise.
50983         (yn_test): Likewise.
50985         * math/gen-libm-test.pl (adjust_arg): Remove function.
50986         (special_function): Remove argument $in_func.  Only handle
50987         generating output for tables of tests, not inside functions.
50988         (parse_args): Likewise.
50989         (generate_testfile): Remove variable $in_func.  Update call to
50990         parse_args.
50991         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
50992         (MINUS_ZERO_INIT): Rename macro to minus_zero.
50993         (PLUS_INFTY_INIT): Rename macro to plus_infty.
50994         (MINUS_INFTY_INIT): Rename macro to minus_infty.
50995         (QNAN_VALUE_INIT): Rename macro to qnan_value.
50996         (MAX_VALUE_INIT): Rename macro to max_value.
50997         (MIN_VALUE_INIT): Rename macro to min_value.
50998         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
50999         (plus_zero): Remove variable.
51000         (minus_zero): Likewise.
51001         (plus_infty): Likewise.
51002         (minus_infty): Likewise.
51003         (qnan_value): Likewise.
51004         (max_value): Likewise.
51005         (min_value): Likewise.
51006         (min_subnorm_value): Likewise.
51008 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51010         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
51011         uint64_t or uint32_t usage.
51012         * crypt/sha256-block.c: Likewise.
51013         * crypt/sha256-crypt.c: Likewise.
51014         * crypt/sha256.c: Likewise.
51015         * crypt/sha512-block.c: Likewise.
51016         * crypt/sha512-crypt.c: Likewise.
51017         * crypt/sha512.c: Likewise.
51018         * debug/backtrace-tst.c: Likewise.
51019         * debug/pcprofiledump.c: Likewise.
51020         * elf/cache.c: Likewise.
51021         * elf/dl-cache.c: Likewise.
51022         * elf/dl-misc.c: Likewise.
51023         * elf/dl-profile.c: Likewise.
51024         * elf/dl-support.c: Likewise.
51025         * elf/ldconfig.c: Likewise.
51026         * elf/sprof.c: Likewise.
51027         * iconv/dummy-repertoire.c: Likewise.
51028         * iconv/iconv_charmap.c: Likewise.
51029         * iconv/skeleton.c: Likewise.
51030         * iconvdata/8bit-generic.c: Likewise.
51031         * iconvdata/cp737.h: Likewise.
51032         * iconvdata/cp775.h: Likewise.
51033         * iconvdata/ibm1008.h: Likewise.
51034         * iconvdata/ibm1025.h: Likewise.
51035         * iconvdata/ibm1046.h: Likewise.
51036         * iconvdata/ibm1097.h: Likewise.
51037         * iconvdata/ibm1112.h: Likewise.
51038         * iconvdata/ibm1122.h: Likewise.
51039         * iconvdata/ibm1123.h: Likewise.
51040         * iconvdata/ibm1124.h: Likewise.
51041         * iconvdata/ibm1129.h: Likewise.
51042         * iconvdata/ibm1130.h: Likewise.
51043         * iconvdata/ibm1132.h: Likewise.
51044         * iconvdata/ibm1133.h: Likewise.
51045         * iconvdata/ibm1137.h: Likewise.
51046         * iconvdata/ibm1140.h: Likewise.
51047         * iconvdata/ibm1141.h: Likewise.
51048         * iconvdata/ibm1142.h: Likewise.
51049         * iconvdata/ibm1143.h: Likewise.
51050         * iconvdata/ibm1144.h: Likewise.
51051         * iconvdata/ibm1145.h: Likewise.
51052         * iconvdata/ibm1146.h: Likewise.
51053         * iconvdata/ibm1147.h: Likewise.
51054         * iconvdata/ibm1148.h: Likewise.
51055         * iconvdata/ibm1149.h: Likewise.
51056         * iconvdata/ibm1153.h: Likewise.
51057         * iconvdata/ibm1154.h: Likewise.
51058         * iconvdata/ibm1155.h: Likewise.
51059         * iconvdata/ibm1156.h: Likewise.
51060         * iconvdata/ibm1157.h: Likewise.
51061         * iconvdata/ibm1158.h: Likewise.
51062         * iconvdata/ibm1160.h: Likewise.
51063         * iconvdata/ibm1161.h: Likewise.
51064         * iconvdata/ibm1162.h: Likewise.
51065         * iconvdata/ibm1163.h: Likewise.
51066         * iconvdata/ibm1164.h: Likewise.
51067         * iconvdata/ibm1166.h: Likewise.
51068         * iconvdata/ibm1167.h: Likewise.
51069         * iconvdata/ibm12712.h: Likewise.
51070         * iconvdata/ibm1390.h: Likewise.
51071         * iconvdata/ibm1399.h: Likewise.
51072         * iconvdata/ibm16804.h: Likewise.
51073         * iconvdata/ibm4517.h: Likewise.
51074         * iconvdata/ibm4899.h: Likewise.
51075         * iconvdata/ibm4909.h: Likewise.
51076         * iconvdata/ibm4971.h: Likewise.
51077         * iconvdata/ibm5347.h: Likewise.
51078         * iconvdata/ibm803.h: Likewise.
51079         * iconvdata/ibm856.h: Likewise.
51080         * iconvdata/ibm901.h: Likewise.
51081         * iconvdata/ibm902.h: Likewise.
51082         * iconvdata/ibm9030.h: Likewise.
51083         * iconvdata/ibm9066.h: Likewise.
51084         * iconvdata/ibm921.h: Likewise.
51085         * iconvdata/ibm922.h: Likewise.
51086         * iconvdata/ibm9448.h: Likewise.
51087         * iconvdata/isiri-3342.h: Likewise.
51088         * iconvdata/jis0201.h: Likewise.
51089         * include/link.h: Likewise.
51090         * include/netdb.h: Likewise.
51091         * inet/check_native.c: Likewise.
51092         * inet/check_pf.c: Likewise.
51093         * inet/getipv4sourcefilter.c: Likewise.
51094         * inet/getnameinfo.c: Likewise.
51095         * inet/getsourcefilter.c: Likewise.
51096         * inet/htonl.c: Likewise.
51097         * inet/setipv4sourcefilter.c: Likewise.
51098         * inet/setsourcefilter.c: Likewise.
51099         * inet/test-inet6_opt.c: Likewise.
51100         * inet/tst-network.c: Likewise.
51101         * locale/C-collate.c: Likewise.
51102         * locale/C-ctype.c: Likewise.
51103         * locale/C-time.c: Likewise.
51104         * locale/C-translit.h: Likewise.
51105         * locale/loadarchive.c: Likewise.
51106         * locale/programs/3level.h: Likewise.
51107         * locale/programs/charmap.c: Likewise.
51108         * locale/programs/charmap.h: Likewise.
51109         * locale/programs/ld-address.c: Likewise.
51110         * locale/programs/ld-collate.c: Likewise.
51111         * locale/programs/ld-ctype.c: Likewise.
51112         * locale/programs/ld-identification.c: Likewise.
51113         * locale/programs/ld-measurement.c: Likewise.
51114         * locale/programs/ld-messages.c: Likewise.
51115         * locale/programs/ld-monetary.c: Likewise.
51116         * locale/programs/ld-name.c: Likewise.
51117         * locale/programs/ld-numeric.c: Likewise.
51118         * locale/programs/ld-paper.c: Likewise.
51119         * locale/programs/ld-telephone.c: Likewise.
51120         * locale/programs/ld-time.c: Likewise.
51121         * locale/programs/linereader.c: Likewise.
51122         * locale/programs/locale.c: Likewise.
51123         * locale/programs/locarchive.c: Likewise.
51124         * locale/programs/locfile.h: Likewise.
51125         * locale/programs/repertoire.c: Likewise.
51126         * locale/programs/simple-hash.c: Likewise.
51127         * locale/programs/simple-hash.h: Likewise.
51128         * malloc/memusage.c: Likewise.
51129         * malloc/memusagestat.c: Likewise.
51130         * nis/nis_defaults.c: Likewise.
51131         * nis/nis_hash.c: Likewise.
51132         * nis/nis_print.c: Likewise.
51133         * nis/nis_xdr.c: Likewise.
51134         * nscd/connections.c: Likewise.
51135         * nscd/hstcache.c: Likewise.
51136         * nscd/nscd_gethst_r.c: Likewise.
51137         * nscd/nscd_getserv_r.c: Likewise.
51138         * nscd/nscd_helper.c: Likewise.
51139         * nscd/servicescache.c: Likewise.
51140         * nss/makedb.c: Likewise.
51141         * nss/nss_db/db-XXX.c: Likewise.
51142         * nss/nss_db/db-initgroups.c: Likewise.
51143         * nss/nss_db/db-netgrp.c: Likewise.
51144         * nss/nss_files/files-network.c: Likewise.
51145         * nss/nss_files/files-parse.c: Likewise.
51146         * posix/bug-regex5.c: Likewise.
51147         * posix/fnmatch_loop.c: Likewise.
51148         * posix/regcomp.c: Likewise.
51149         * posix/regexec.c: Likewise.
51150         * posix/tst-rfc3484-2.c: Likewise.
51151         * posix/tst-rfc3484-3.c: Likewise.
51152         * posix/tst-rfc3484.c: Likewise.
51153         * resolv/nss_dns/dns-canon.c: Likewise.
51154         * resolv/nss_dns/dns-network.c: Likewise.
51155         * resolv/res_init.c: Likewise.
51156         * resolv/res_mkquery.c: Likewise.
51157         * resolv/tst-aton.c: Likewise.
51158         * stdlib/cxa_atexit.c: Likewise.
51159         * stdlib/cxa_finalize.c: Likewise.
51160         * stdlib/gen-fpioconst.c: Likewise.
51161         * stdlib/strtol_l.c: Likewise.
51162         * string/tst-endian.c: Likewise.
51163         * sunrpc/auth_des.c: Likewise.
51164         * sunrpc/clnt_udp.c: Likewise.
51165         * sunrpc/rtime.c: Likewise.
51166         * sunrpc/svcauth_des.c: Likewise.
51167         * sunrpc/xdr.c: Likewise.
51168         * sunrpc/xdr_intXX_t.c: Likewise.
51169         * sunrpc/xdr_rec.c: Likewise.
51170         * sysdeps/generic/ldconfig.h: Likewise.
51171         * sysdeps/generic/ldsodefs.h: Likewise.
51172         * sysdeps/generic/memusage.h: Likewise.
51173         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
51174         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
51175         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
51176         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
51177         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51178         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51179         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
51180         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
51181         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51182         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51183         * sysdeps/posix/getaddrinfo.c: Likewise.
51184         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51185         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51186         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51187         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51188         * sysdeps/powerpc/test-gettimebase.c: Likewise.
51189         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
51190         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
51191         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
51192         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
51193         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
51194         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51195         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51196         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
51197         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
51198         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
51199         * sysdeps/x86_64/dl-tls.h: Likewise.
51200         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
51201         * time/alt_digit.c: Likewise.
51202         * time/era.c: Likewise.
51203         * wcsmbs/tst-c16c32-1.c: Likewise.
51205 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51207         * math/libm-test.inc (struct test_sincos_data): New type.
51208         (RUN_TEST_LOOP_sincos): New macro.
51209         (sincos_test_data): New variable.
51210         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
51212 2013-05-16  Richard Henderson  <rth@redhat.com>
51214         * math/atest-exp2.c (LIMB64): New macro.
51215         (CONSTSZ): New macro.
51216         (mp_exp1, mp_exp_m1, mp_log2): New variables.
51217         (hexdig): Move ...
51218         (print_mpn_fp): ... to function scope.
51219         (read_mpn_hex): Remove.
51220         (get_log2): Remove.
51221         (exp2_mpn): Use mp_log2.
51222         (main): Use mp_exp1.
51224 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51226         * math/libm-test.inc: Remove comment about not testing "inexact"
51227         exceptions.
51228         (INEXACT_EXCEPTION): New macro.
51229         (NO_INEXACT_EXCEPTION): Likewise.
51230         (INVALID_EXCEPTION_OK): Update value.
51231         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51232         (OVERFLOW_EXCEPTION_OK): Likewise.
51233         (UNDERFLOW_EXCEPTION_OK): Likewise.
51234         (IGNORE_ZERO_INF_SIGN): Likewise.
51235         (ERRNO_UNCHANGED): Likewise.
51236         (ERRNO_EDOM): Likewise.
51237         (ERRNO_ERANGE): Likewise.
51238         (test_exceptions): Handle testing "inexact" exceptions.
51239         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
51240         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
51241         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
51242         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
51243         INEXACT_EXCEPTION.
51244         (rint_towardzero_test_data): Likewise.
51245         (rint_downward_test_data): Likewise.
51246         (rint_upward_test_data): Likewise.
51248         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
51249         with OVERFLOW_EXCEPTION.
51250         (exp10_test_data): Likewise.
51251         (exp2_test_data): Likewise.
51252         (expm1_test_data): Likewise.
51253         (lgamma_test_data): Likewise.
51254         (pow_test_data): Likewise.
51255         (tgamma_test_data): Likewise.
51256         (yn_test_data): Remove duplicate test of overflow.
51258         * math/libm-test.inc (struct test_cc_c_data): New type.
51259         (RUN_TEST_LOOP_cc_c): New macro.
51260         (cpow_test_data): New variable.
51261         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
51263         * math/libm-test.inc (struct test_f_L_data): New type.
51264         (RUN_TEST_LOOP_f_L): New macro.
51265         (llrint_test_data): New variable.
51266         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
51267         (llrint_tonearest_test_data): New variable.
51268         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
51269         (llrint_towardzero_test_data): New variable.
51270         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
51271         (llrint_downward_test_data): New variable.
51272         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
51273         (llrint_upward_test_data): New variable.
51274         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
51275         (llround_test_data): New variable.
51276         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
51278 2013-05-13  Peter Collingbourne  <pcc@google.com>
51280         * math/atest-exp2.c (get_log2): Remove const attribute.
51282 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
51284         * math/libm-test.inc (struct test_f_l_data): New type.
51285         (RUN_TEST_LOOP_f_l): New macro.
51286         (lrint_test_data): New variable.
51287         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
51288         (lrint_tonearest_test_data): New variable.
51289         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
51290         (lrint_towardzero_test_data): New variable.
51291         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
51292         (lrint_downward_test_data): New variable.
51293         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
51294         (lrint_upward_test_data): New variable.
51295         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
51296         (lround_test_data): New variable.
51297         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
51299 2013-05-15  Peter Collingbourne  <pcc@google.com>
51301         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
51302         (EXTRACT_WORDS64) Use where appropriate.
51303         (INSERT_WORDS64) Likewise.
51305         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
51306         constraints with x constraints.
51307         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
51309         * malloc/obstack.c (_obstack_compat): Add initializer.
51311 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
51313         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
51314         si_trapno and add si_addr_lsb to _sifields.sigfault.
51315         (si_trapno): Remove macro.
51316         (si_addr_lsb): Define new macro.
51317         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
51319 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
51321         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
51322         instead of TEST_f_l.
51323         (llrint_test_tonearest): Likewise.
51324         (llrint_test_towardzero): Likewise.
51325         (llrint_test_downward): Likewise.
51326         (llrint_test_upward): Likewise.
51327         (llround_test): Likewise.
51329         * math/libm-test.inc (struct test_f_i_data): Add comment.
51330         (RUN_TEST_LOOP_f_b): New macro.
51331         (RUN_TEST_LOOP_f_b_tg): Likewise.
51332         (finite_test_data): New variable.
51333         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
51334         (isfinite_test_data): New variable.
51335         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51336         (isinf_test_data): New variable.
51337         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51338         (isnan_test_data): New variable.
51339         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51340         (isnormal_test_data): New variable.
51341         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51342         (issignaling_test_data): New variable.
51343         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51344         (signbit_test_data): New variable.
51345         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51347         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
51348         with INVALID_EXCEPTION.
51349         (acosh_test_data): Likewise.
51350         (asin_test_data): Likewise.
51351         (atanh_test_data): Likewise.
51352         (fmod_test_data): Likewise.
51353         (log_test_data): Likewise.
51354         (log10_test_data): Likewise.
51355         (log2_test_data): Likewise.
51356         (pow_test_data): Likewise.
51357         (sqrt_test_data): Likewise.
51358         (y0_test_data): Likewise.
51359         (y1_test_data): Likewise.
51360         (yn_test_data): Likewise.
51362         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
51363         function contents.
51365         * math/libm-test.inc (struct test_ff_i_data): New type.
51366         (RUN_TEST_LOOP_ff_i_tg): New macro.
51367         (isgreater_test_data): New variable.
51368         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51369         (isgreaterequal_test_data): New variable.
51370         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51371         (isless_test_data): New variable.
51372         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51373         (islessequal_test_data): New variable.
51374         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51375         (islessgreater_test_data): New variable.
51376         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51377         (isunordered_test_data): New variable.
51378         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51380 2013-05-14  David S. Miller  <davem@davemloft.net>
51382         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51384 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
51386         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
51388         * math/libm-test.inc (struct test_fF_f1_data): Change type of
51389         extra_test to int.
51390         (struct test_f_i_data): Change type of max_ulp to int.
51392         * math/libm-test.inc (test_ffI_f1_data): New type.
51393         (RUN_TEST_LOOP_ffI_f1): New macro.
51394         (remquo_test_data): New variable.
51395         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
51397         * setjmp/tst-setjmp-fp.c: New file.
51398         * setjmp/Makefile (tests): Add tst-setjmp-fp.
51399         (link-libm): New variable.
51400         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
51402         * math/libm-test.inc (struct test_f_i_data): New type.
51403         (RUN_TEST_LOOP_f_i): New macro.
51404         (RUN_TEST_LOOP_f_i_tg): Likewise.
51405         (fpclassify_test_data): New variable.
51406         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
51407         (ilogb_test_data): New variable.
51408         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
51410         * math/libm-test.inc (scalbln_test): Correct function name in END
51411         call.
51413         * math/libm-test.inc (struct test_f_f1_data): Add comment.
51414         (RUN_TEST_LOOP_fI_f1): New macro.
51415         (frexp_test_data): New variable.
51416         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
51418         * math/libm-test.inc (struct test_fF_f1_data): New type.
51419         (RUN_TEST_LOOP_fF_f1): New macro.
51420         (modf_test_data): New variable.
51421         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
51423         * math/libm-test.inc (struct test_f_f1_data): New type.
51424         (RUN_TEST_LOOP_f_f1): New macro.
51425         (gamma_test_data): New variable.
51426         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51427         (lgamma_test_data): New variable.
51428         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51430 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
51432         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
51433         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
51434         (main): Comment "tls" pseudo-hwcap.
51436 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
51438         * math/libm-test.inc (struct test_fl_f_data): New type.
51439         (RUN_TEST_LOOP_fl_f): New variable.
51440         (scalbln_test_data): New variable.
51441         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
51443         * math/libm-test.inc (struct test_fi_f_data): New type.
51444         (RUN_TEST_LOOP_fi_f): New macro.
51445         (ldexp_test_data): New variable.
51446         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
51447         (scalbn_test_data): New variable.
51448         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
51450         * math/libm-test.inc (struct test_c_f_data): New type.
51451         (RUN_TEST_LOOP_c_f): New macro.
51452         (cabs_test_data): New variable.
51453         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
51454         (carg_test_data): New variable.
51455         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
51456         (cimag_test_data): New variable.
51457         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
51458         (creal_test_data): New variable.
51459         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
51461         * math/libm-test.inc (struct test_if_f_data): New type.
51462         (RUN_TEST_LOOP_if_f): New macro.
51463         (jn_test_data): New variable.
51464         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
51465         (yn_test_data): New variable.
51466         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
51468         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
51470 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51472         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
51473         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
51475 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51477         * benchtests/Makefile (CPPFLAGS-nonlib): Add
51478         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
51479         (bench-deps): Add bench-timing.h.
51480         * benchtests-bench-skeleton.c: Include bench-timing.h.
51481         (main): Use TIMING_* macros instead of clock_gettime.
51482         * benchtests/bench-timing.h: New file.
51484         [BZ #14582]
51485         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
51486         Renamed from _LIB_VERSION.
51487         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
51489 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
51491         * math/libm-test.inc (struct test_fff_f_data): New type.
51492         (RUN_TEST_LOOP_fff_f): New macro.
51493         (fma_test_data): New variable.
51494         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
51495         (fma_towardzero_test_data): New variable.
51496         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
51497         (fma_downward_test_data): New variable.
51498         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
51499         (fma_upward_test_data): New variable.
51500         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
51502         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
51503         (struct test_c_c_data): New type.
51504         (RUN_TEST_LOOP_c_c): New macro.
51505         (cacos_test_data): New variable.
51506         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
51507         (cacosh_test_data): New variable.
51508         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
51509         (casin_test_data): New variable.
51510         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
51511         (casinh_test_data): New variable.
51512         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
51513         (catan_test_data): New variable.
51514         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
51515         (catanh_test_data): New variable.
51516         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
51517         (ccos_test_data): New variable.
51518         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
51519         (ccosh_test_data): New variable.
51520         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
51521         (cexp_test_data): New variable.
51522         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
51523         (clog_test_data): New variable.
51524         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
51525         (clog10_test_data): New variable.
51526         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
51527         (conj_test_data): New variable.
51528         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
51529         (cproj_test_data): New variable.
51530         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
51531         (csin_test_data): New variable.
51532         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
51533         (csinh_test_data): New variable.
51534         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
51535         (csqrt_test_data): New variable.
51536         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
51537         (ctan_test_data): New variable.
51538         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
51539         (ctan_tonearest_test_data): New variable.
51540         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51541         (ctan_towardzero_test_data): New variable.
51542         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51543         (ctan_downward_test_data): New variable.
51544         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51545         (ctan_upward_test_data): New variable.
51546         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51547         (ctanh_test_data): New variable.
51548         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
51549         (ctanh_tonearest_test_data): New variable.
51550         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51551         (ctanh_towardzero_test_data): New variable.
51552         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51553         (ctanh_downward_test_data): New variable.
51554         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51555         (ctanh_upward_test_data): New variable.
51556         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51557         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
51558         of BUILD_COMPLEX.
51560         * math/libm-test.inc (struct test_ff_f_data): New type.
51561         (struct test_ff_f_data_nexttoward): Likewise.
51562         (RUN_TEST_LOOP_2_f): New macro.
51563         (RUN_TEST_LOOP_ff_f): Likewise.
51564         (atan2_test_data): New variable.
51565         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
51566         (copysign_test_data): New variable.
51567         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
51568         (fdim_test_data): New variable.
51569         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
51570         (fmax_test_data): New variable.
51571         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
51572         (fmin_test_data): New variable.
51573         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
51574         (fmod_test_data): New variable.
51575         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
51576         (hypot_test_data): New variable.
51577         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
51578         (nextafter_test_data): New variable.
51579         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
51580         (nexttoward_test_data): New variable.
51581         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
51582         (pow_test_data): New variable.
51583         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
51584         (pow_tonearest_test_data): New variable.
51585         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
51586         (pow_towardzero_test_data): New variable.
51587         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
51588         (pow_downward_test_data): New variable.
51589         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
51590         (pow_upward_test_data): New variable.
51591         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
51592         (remainder_test_data): New variable.
51593         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
51594         (scalb_test_data): New variable.
51595         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
51596         * sysdeps/i386/fpu/libm-test-ulps: Update.
51598 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
51600         * math/libm-test.inc (fma_test): Use max_value instead of local
51601         variable fltmax.
51602         (nextafter_test): Likewise.
51604         * math/libm-test.inc (acos_towardzero_test_data): New variable.
51605         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51606         (acos_downward_test_data): New variable.
51607         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51608         (acos_upward_test_data): New variable.
51609         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51610         (acosh_test_data): New variable.
51611         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
51612         (asin_test_data): New variable.
51613         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
51614         (asin_tonearest_test_data): New variable.
51615         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51616         (asin_towardzero_test_data): New variable.
51617         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51618         (asin_downward_test_data): New variable.
51619         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51620         (asin_upward_test_data): New variable.
51621         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51622         (asinh_test_data): New variable.
51623         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
51624         (atan_test_data): New variable.
51625         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
51626         (atanh_test_data): New variable.
51627         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
51628         (cbrt_test_data): New variable.
51629         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
51630         (ceil_test_data): New variable.
51631         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
51632         (cos_test_data): New variable.
51633         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
51634         (cos_tonearest_test_data): New variable.
51635         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51636         (cos_towardzero_test_data): New variable.
51637         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51638         (cos_downward_test_data): New variable.
51639         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51640         (cos_upward_test_data): New variable.
51641         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51642         (cosh_test_data): New variable.
51643         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
51644         (cosh_tonearest_test_data): New variable.
51645         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51646         (cosh_towardzero_test_data): New variable.
51647         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51648         (cosh_downward_test_data): New variable.
51649         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51650         (cosh_upward_test_data): New variable.
51651         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51652         (erf_test_data): New variable.
51653         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
51654         (erfc_test_data): New variable.
51655         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
51656         (exp_test_data): New variable.
51657         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
51658         (exp_tonearest_test_data): New variable.
51659         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51660         (exp_towardzero_test_data): New variable.
51661         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51662         (exp_downward_test_data): New variable.
51663         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51664         (exp_upward_test_data): New variable.
51665         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51666         (exp10_test_data): New variable.
51667         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
51668         (exp2_test_data): New variable.
51669         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
51670         (expm1_test_data): New variable.
51671         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
51672         (fabs_test_data): New variable.
51673         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
51674         (floor_test_data): New variable.
51675         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
51676         (j0_test_data): New variable.
51677         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
51678         (j1_test_data): New variable.
51679         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
51680         (log_test_data): New variable.
51681         (log_test): Run tests with RUN_TEST_LOOP_f_f.
51682         (log10_test_data): New variable.
51683         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
51684         (log1p_test_data): New variable.
51685         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
51686         (log2_test_data): New variable.
51687         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
51688         (logb_test_data): New variable.
51689         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
51690         (logb_downward_test_data): New variable.
51691         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51692         (nearbyint_test_data): New variable.
51693         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
51694         (rint_test_data): New variable.
51695         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
51696         (rint_tonearest_test_data): New variable.
51697         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51698         (rint_towardzero_test_data): New variable.
51699         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51700         (rint_downward_test_data): New variable.
51701         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51702         (rint_upward_test_data): New variable.
51703         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51704         (round_test_data): New variable.
51705         (round_test): Run tests with RUN_TEST_LOOP_f_f.
51706         (sin_test_data): New variable.
51707         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
51708         (sin_tonearest_test_data): New variable.
51709         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51710         (sin_towardzero_test_data): New variable.
51711         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51712         (sin_downward_test_data): New variable.
51713         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51714         (sin_upward_test_data): New variable.
51715         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51716         (sinh_test_data): New variable.
51717         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
51718         (sinh_tonearest_test_data): New variable.
51719         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51720         (sinh_towardzero_test_data): New variable.
51721         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51722         (sinh_downward_test_data): New variable.
51723         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51724         (sinh_upward_test_data): New variable.
51725         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51726         (sqrt_test_data): New variable.
51727         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
51728         (tan_test_data): New variable.
51729         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
51730         (tan_tonearest_test_data): New variable.
51731         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51732         (tan_towardzero_test_data): New variable.
51733         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51734         (tan_downward_test_data): New variable.
51735         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51736         (tan_upward_test_data): New variable.
51737         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51738         (tanh_test_data): New variable.
51739         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
51740         (tgamma_test_data): New variable.
51741         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
51742         (trunc_test_data): New variable.
51743         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
51744         (y0_test_data): New variable.
51745         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
51746         (y1_test_data): New variable.
51747         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
51748         (significand_test_data): New variable.
51749         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
51751 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
51753         [BZ #12387]
51754         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
51756 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
51758         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
51760 2013-05-10  Andreas Jaeger  <aj@suse.de>
51762         [BZ #15448]
51763         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
51764         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
51766 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
51768         * math/gen-libm-test.pl (adjust_arg): New function.
51769         (special_functions): Handle generating output in both functions
51770         and arrays.
51771         (parse_args): Likewise.
51772         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
51773         $in_func argument to parse_args.
51774         * math/libm-test.inc (struct test_f_f_data): New type.
51775         (IF_ROUND_INIT_): New macro.
51776         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
51777         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
51778         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
51779         (IF_ROUND_INIT_FE_UPWARD): Likewise.
51780         (ROUND_RESTORE_): Likewise.
51781         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
51782         (ROUND_RESTORE_FE_TONEAREST): Likewise.
51783         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
51784         (ROUND_RESTORE_FE_UPWARD): Likewise.
51785         (RUN_TEST_LOOP_f_f): New macro.
51786         (acos_test_data): New variable.
51787         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
51788         (acos_tonearest_test_data): New variable.
51789         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51791 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51793         * benchtests/bench-skeleton.c (startup): Fix coding style.
51795 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
51797         [BZ #6809]
51798         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
51799         negative infinity argument.
51800         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
51801         negative infinity argument.
51802         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
51803         negative infinity argument.
51804         * math/libm-test.inc (tgamma_test): Expect errno to be set for
51805         domain errors.
51807 2013-05-10  Florian Weimer  <fweimer@redhat.com>
51809         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
51810         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
51811         * iconv/iconv_prog.c (main): Likewise.
51812         * locale/programs/charmap-dir.c (charmap_readdir)
51813         (fopen_uncompressed): Likewise.
51814         * locale/programs/locfile.c (siblings_uncached)
51815         (write_locale_data): Use lstat64 instead of lstat.
51816         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
51817         stat.
51819 2013-05-10  Andreas Jaeger  <aj@suse.de>
51821         [BZ #15395]
51822         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
51823         localization.
51824         Include <locale.h>.
51826 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
51828         * elf/dl-close.c (_dl_close_worker): Add comments.
51830 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
51832         [BZ #15359]
51833         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
51834         high part of pi/2.
51835         (__ieee754_rem_pio2l): Update comments.
51837         [BZ #15429]
51838         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
51839         high part of pi/2.
51840         (__ieee754_rem_pio2l): Update comments.
51842         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
51843         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
51845         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
51846         M_PI_4l.
51848         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
51849         (M_PI_34_LOG10El): Likewise.
51850         (M_PI2_LOG10El): Likewise.
51851         (M_PI4_LOG10El): Likewise.
51852         (M_PI_LOG10El): Likewise.
51854 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51856         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51858 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
51860         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
51861         (MINUS_ZERO_INIT): Likewise.
51862         (PLUS_INFTY_INIT): Likewise.
51863         (MINUS_INFTY_INIT): Likewise.
51864         (QNAN_VALUE_INIT): Likewise.
51865         (MAX_VALUE_INIT): Likewise.
51866         (MIN_VALUE_INIT): Likewise.
51867         (MIN_SUBNORM_VALUE_INIT): Likewise.
51868         (plus_zero): Initialize with PLUS_ZERO_INIT.
51869         (minus_zero): Initialize with MINUS_ZERO_INIT.
51870         (plus_infty): Initialize with PLUS_INFTY_INIT.
51871         (minus_infty): Initialize with MINUS_INFTY_INIT.
51872         (qnan_value): Initialize with QNAN_VALUE_INIT.
51873         (max_value): Initialize with MAX_VALUE_INIT.
51874         (min_value): Initialize with MIN_VALUE_INIT.
51875         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
51877         * math/libm-test.inc (RUN_TEST_if_f): New macro.
51878         (jn_test): Use TEST_if_f instead of TEST_ff_f.
51879         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
51880         (yn_test): Use TEST_if_f instead of TEST_ff_f.
51882         * math/libm-test.inc (RUN_TEST_f_f): New macro.
51883         (RUN_TEST_2_f): Likewise.
51884         (RUN_TEST_ff_f): Likewise.
51885         (RUN_TEST_fi_f): Likewise.
51886         (RUN_TEST_fl_f): Likewise.
51887         (RUN_TEST_fff_f): Likewise.
51888         (RUN_TEST_c_f): Likewise.
51889         (RUN_TEST_f_f1): Likewise.
51890         (RUN_TEST_fF_f1): Likewise.
51891         (RUN_TEST_fI_f1): Likewise.
51892         (RUN_TEST_ffI_f1): Likewise.
51893         (RUN_TEST_c_c): Likewise.
51894         (RUN_TEST_cc_c): Likewise.
51895         (RUN_TEST_f_i): Likewise.
51896         (RUN_TEST_f_i_tg): Likewise.
51897         (RUN_TEST_ff_i_tg): Likewise.
51898         (RUN_TEST_f_b): Likewise.
51899         (RUN_TEST_f_b_tg): Likewise.
51900         (RUN_TEST_f_l): Likewise.
51901         (RUN_TEST_f_L): Likewise.
51902         (RUN_TEST_sincos): Likewise.
51903         * math/gen-libm-test.pl (new_test): Take new argument to indicate
51904         whether to show exceptions.  Do not include ");\n" in return
51905         value.
51906         (special_functions): Output call to RUN_TEST_sincos instead of
51907         check_float calls.  Update calls to new_test.
51908         (parse_args): Output call to single RUN_TEST_* macro instead of
51909         check_* calls and other assignments.  Update calls to new_test.
51911         [BZ #2546]
51912         [BZ #2560]
51913         [BZ #5159]
51914         [BZ #15426]
51915         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
51916         input to result for tgamma overflow.
51917         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
51918         (gamma_coeff): New variable.
51919         (NCOEFF): New macro.
51920         (gamma_positive): New function.
51921         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
51922         underflow here.  Use gamma_positive instead of exp (lgamma) for
51923         other arguments.
51924         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
51925         (gamma_coeff): New variable.
51926         (NCOEFF): New macro.
51927         (gammaf_positive): New function.
51928         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
51929         underflow here.  Use gamma_positive instead of exp (lgamma) for
51930         other arguments.
51931         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
51932         (gamma_coeff): New variable.
51933         (NCOEFF): New macro.
51934         (gammal_positive): New function.
51935         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
51936         underflow here.  Use gamma_positive instead of exp (lgamma) for
51937         other arguments.
51938         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
51939         (gamma_coeff): New variable.
51940         (NCOEFF): New macro.
51941         (gammal_positive): New function.
51942         (__ieee754_gammal_r): Handle positive infinity, overflow and
51943         underflow here.  Handle NaN the same as positive infinity.  Remove
51944         check x < 0xffffffff for negative integers.  Use gamma_positive
51945         instead of exp (lgamma) for other arguments.
51946         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
51947         (gamma_coeff): New variable.
51948         (NCOEFF): New macro.
51949         (gammal_positive): New function.
51950         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
51951         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
51952         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
51953         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
51954         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
51955         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
51956         * sysdeps/generic/math_private.h (__gamma_productf): New
51957         prototype.
51958         (__gamma_product): Likewise.
51959         (__gamma_productl): Likewise.
51960         * math/Makefile (libm-calls): Add gamma_product.
51961         * math/libm-test.inc (tgamma_test): Add more tests.
51962         * sysdeps/i386/fpu/libm-test-ulps: Update.
51963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51965 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
51967         * benchtests/bench-skeleton.c (main): Preheat CPU.
51969 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
51971         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
51973 2013-05-07  Roland McGrath  <roland@hack.frob.com>
51975         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
51976         and _dl_skip_args_internal.
51978 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
51980         * manual/message.texi (Message Translation): Talk about users.
51981         Message to key mapping impacts design.
51983 2013-05-06  Roland McGrath  <roland@hack.frob.com>
51985         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
51987         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
51989         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
51990         * sysdeps/wordsize-64/glob64.c: ... here.
51992         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
51993         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
51994         New macros.
51996         * debug/getlogin_r_chk.c: Moved to ...
51997         * login/getlogin_r_chk.c: ... here.
51998         * debug/Makefile (routines): Move getlogin_r_chk to ...
51999         * login/Makefile (routines): ... here.
52000         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
52001         * login/Versions (libc: GLIBC_2.4): ... here.
52003         * io/poll.c (__poll): Renamed from poll.
52004         Add libc_hidden_def.
52005         (poll): Define as weak alias.
52007         * debug/ptsname_r_chk.c: Moved to ...
52008         * login/ptsname_r_chk.c: ... here.
52009         * debug/Makefile (routines): Move ptsname_r_chk to ...
52010         * login/Makefile (routines): ... here.
52011         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
52012         * login/Versions (libc: GLIBC_2.4): ... here.
52014         * posix/getlogin.c: Moved to ...
52015         * login/getlogin.c: ... here.
52016         * posix/getlogin_r.c: Moved to ...
52017         * login/getlogin_r.c: ... here.
52018         * posix/getlogin_r.c: Moved to ...
52019         * login/getlogin_r.c: ... here.
52020         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
52021         * login/Makefile (routines): ... here.
52022         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
52023         * login/Versions (libc: GLIBC_2.0): ... here.
52025         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
52026         (setrlimit): Define as weak alias.
52028         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
52029         Call __ names for open, ftruncate, and close.
52030         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
52031         (truncate): Define as weak alias.
52033 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
52035         * math/gen-libm-test.pl (parse_args): Initialize x before each
52036         test of frexp, modf and remquo.
52038         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
52039         test signgam value.
52041 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52043         [BZ #15418]
52044         [BZ #15419]
52045         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
52046         internal tests.
52047         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52049 2013-05-06  Roland McGrath  <roland@hack.frob.com>
52051         * elf/dl-writev.h: New file.
52052         * elf/dl-misc.c: Include it.
52053         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
52054         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
52056 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
52058         * math/libm-test.inc (noXFails): Remove variable.
52059         (noXPasses): Likewise.
52060         (BUILD_COMPLEX_INT): Remove macro.
52061         (print_screen): Remove xfail argument.
52062         (print_screen_max_error): Likewise.
52063         (update_stats): Likewise.
52064         (print_max_error): Likewise.  Update calls to other affected
52065         functions.
52066         (print_complex_max_error): Likewise.
52067         (test_single_exception): Update calls to print_screen.
52068         (test_single_errno): Likewise.
52069         (check_float_internal): Remove xfail argument.  Update calls to
52070         other affected functions.
52071         (check_float): Likewise.
52072         (check_complex): Likewise.
52073         (check_int): Likewise.
52074         (check_long): Likewise.
52075         (check_bool): Likewise.
52076         (check_longlong): Likewise.
52077         (main): Don't print noXFails and noXPasses.
52078         * math/gen-libm-test.pl (top level): Don't mention expected
52079         failure handling in comment.
52080         (new_test): Don't handle expected failures.
52081         (parse_args): Don't mention expected failure handling in comment.
52082         (generate_testfile): Don't handle expected failures.
52083         (parse_ulps): Likewise.
52084         (print_ulps_file): Likewise.
52085         (get_failure): Remove function.
52086         (output_test): Don't handle expected failures.
52087         * make/README.libm-test: Don't mention expected failure handling.
52089         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
52090         (minus_zero): Likewise.
52091         (plus_infty): Likewise.
52092         (minus_infty): Likewise.
52093         (qnan_value): Likewise.
52094         (max_value): Likewise.
52095         (min_value): Likewise.
52096         (min_subnorm_value): Likewise.
52097         (initialize): Do not initialize those variables dynamically.
52099 2013-05-03  Roland McGrath  <roland@hack.frob.com>
52101         * io/open.c (__open_2): Moved to ...
52102         * io/open_2.c: ... this new file.
52103         * io/open64.c (__open64_2): Moved to ...
52104         * io/open64_2.c: ... this new file.
52105         * io/openat.c (__openat_2): Moved to ...
52106         * io/openat_2.c: ... this new file.
52107         * io/openat64.c (__openat64_2): Moved to ...
52108         * io/openat64_2.c: ... this new file.
52109         * io/Makefile (routines): Add them.
52110         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
52111         * sysdeps/unix/sysv/linux/open_2.c: File removed.
52112         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
52113         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
52114         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
52115         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
52116         (__openat64): Add hidden_ver.
52117         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
52118         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
52120         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
52121         Separately conditionalize setting of GLRO(dl_sysinfo) so
52122         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
52123         as well, but the actual setting is only under [NEED_DL_SYSINFO].
52125 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52127         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
52128         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
52129         definition.
52130         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
52131         * sysdeps/unix/sysv/linux/powerpc/init-first.c
52132         (_libc_vdso_platform_setup): Add __vdso_time initialization.
52133         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
52134         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
52136 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
52138         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
52139         test signgam value.
52141         * math/libm-test.inc (hypot_test): Do not use
52142         IGNORE_ZERO_INF_SIGN.
52144 2013-05-03  Andreas Jaeger  <aj@suse.de>
52146         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
52147         Linux 3.9.
52148         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
52149         (PF_MAX): Adjust for VSOCK change.
52151 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52153         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52155 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
52157         [BZ #15264]
52158         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
52159         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
52160         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
52162 2013-05-02  David S. Miller  <davem@davemloft.net>
52164         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52166 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
52168         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
52170 2013-05-01  Roland McGrath  <roland@hack.frob.com>
52172         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
52174 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
52176         [BZ #14952]
52177         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
52178         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
52179         Use __attribute__ ((__gnu_inline__)).
52180         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
52181         Don't use __attribute__ ((__gnu_inline__)).
52183 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
52185         [BZ #15423]
52186         * math/s_catan.c (__catan): Handle small real or imaginary part of
52187         input specially to avoid spurious underflow.
52188         * math/s_catanf.c (__catanf): Likewise.
52189         * math/s_catanh.c (__catanh): Likewise.
52190         * math/s_catanhf.c (__catanhf): Likewise.
52191         * math/s_catanhl.c (__catanhl): Likewise.
52192         * math/s_catanl.c (__catanl): Likewise.
52193         * math/libm-test.inc (catan_test): Add more tests.
52194         (catanh_test): Likewise.
52195         * sysdeps/i386/fpu/libm-test-ulps: Update.
52196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52198 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52200         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52202 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
52204         [BZ #15416]
52205         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
52206         accurately for denominator in atan2.
52207         * math/s_catanf.c (__catanf): Likewise.
52208         * math/s_catanh.c (__catanh): Likewise.
52209         * math/s_catanhf.c (__catanhf): Likewise.
52210         * math/s_catanhl.c (__catanhl): Likewise.
52211         * math/s_catanl.c (__catanl): Likewise.
52212         * math/libm-test.inc (catan_test): Add more tests.
52213         (catanh_test): Likewise.
52214         * sysdeps/i386/fpu/libm-test-ulps: Update.
52215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52217 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52219         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
52221         * benchtests/Makefile (bench): Remove slow benchmarks.
52222         * benchtests/atan-inputs: Add slow benchmark inputs.
52223         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
52224         (BENCH_FUNC): Accept variant offset.
52225         (VARIANT): Define.
52226         * benchtests/bench-skeleton.c (main): Run benchmark for each
52227         variant.
52228         * benchtests/cos-inputs: Add slow benchmark inputs.
52229         * benchtests/exp-inputs: Likewise.
52230         * benchtests/pow-inputs: Likewise.
52231         * benchtests/sin-inputs: Likewise.
52232         * benchtests/slowatan-inputs: Remove.
52233         * benchtests/slowatan.c: Remove.
52234         * benchtests/slowcos-inputs: Remove.
52235         * benchtests/slowcos.c: Remove.
52236         * benchtests/slowexp-inputs: Remove.
52237         * benchtests/slowexp.c: Remove.
52238         * benchtests/slowpow-inputs: Remove.
52239         * benchtests/slowpow.c: Remove.
52240         * benchtests/slowsin-inputs: Remove.
52241         * benchtests/slowsin.c: Remove.
52242         * benchtests/slowtan-inputs: Remove.
52243         * benchtests/slowtan.c: Remove.
52244         * benchtests/tan-inputs: Add slow benchmark inputs.
52245         * scripts/bench.pl: Parse comments and directives.
52247         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
52248         in CPPFLAGS.
52249         ($(objpfx)bench-%.c): Remove *-ITER.
52250         * benchtests/bench-modf.c: Remove definition of ITER.
52251         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
52252         (main): Loop for DURATION seconds instead of fixed number of
52253         iterations.
52254         * scripts/bench.pl: Don't expect iterations in parameters.
52256 2013-04-29  Roland McGrath  <roland@hack.frob.com>
52258         * io/fchdir.c (__fchdir): Renamed from fchdir.
52259         (fchdir): Define as weak alias.
52261 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
52263         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
52264         (ERRNO_EDOM): Likewise.
52265         (ERRNO_ERANGE): Likewise.
52266         (noErrnoTests): New variable.
52267         (init_max_error): Set errno to 0.
52268         (test_single_errno): New function.
52269         (test_errno): Likewise.
52270         (check_float_internal): Call test_errno.  Set errno to 0.
52271         (check_complex): Refer to errno tests in comment.
52272         (check_int): Call test_errno.  Set errno to 0.
52273         (check_long): Likewise.
52274         (check_bool): Likewise.
52275         (check_longlong): Likewise.
52276         (cos_test): Use ERRNO_* flags for errno tests instead of
52277         check_int.
52278         (expm1_test): Likewise.
52279         (fmod_test): Likewise.
52280         (ilogb_test): Likewise.
52281         (lgamma_test): Likewise.
52282         (pow_test): Likewise.
52283         (remainder_test): Likewise.
52284         (sin_test): Likewise.
52285         (tan_test): Likewise.
52286         (yn_test): Likewise.
52287         (initialize): Set errno to 0.
52288         (main): Print number of errno tests.
52289         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
52291 2013-04-29  Andreas Jaeger  <aj@suse.de>
52293         [BZ #15084]
52294         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
52295         and RES_USEVC.
52297         [BZ #15085]
52298         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
52299         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
52300         unimplemented.
52302         [BZ #15380]
52303         * stdlib/random.c (__initstate): Return NULL if
52304         __initstate fails.
52306         [BZ #15086]
52307         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
52308         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
52309         RES_SNGLKUPREOP.
52311 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52313         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52315 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
52317         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
52318         of individual tests.
52319         (casin_test): Likewise.
52320         (casinh_test): Likewise.
52322 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
52324         [BZ #15409]
52325         * math/s_catan.c (__catan): Handle arguments with large real or
52326         imaginary part separately without squaring.
52327         * math/s_catanf.c (__catanf): Likewise.
52328         * math/s_catanh.c (__catanh): Likewise.
52329         * math/s_catanhf.c (__catanhf): Likewise.
52330         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52331         and redefine.
52332         (__catanhl): Handle arguments with large real or imaginary part
52333         separately without squaring.
52334         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52335         and redefine.
52336         (__catanl): Handle arguments with large real or imaginary part
52337         separately without squaring.
52338         * math/libm-test.inc (catan_test): Add more tests.
52339         (catanh_test): Likewise.
52340         * sysdeps/i386/fpu/libm-test-ulps: Update.
52341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52343 2013-04-27  Andreas Jaeger  <aj@suse.de>
52345         [BZ #15007]
52346         * stdlib/stdlib.h: Update guards for qecvt.
52347         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
52348         <stdlib.h>.
52350 2013-04-27  Allan McRae  <allan@archlinux.org>
52352         * sysdeps/i386/fpu/libm-test-ulps: Update.
52354 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
52356         [BZ #15406]
52357         * math/s_catan.c: Include <float.h>.
52358         (__catan): Ensure underflow exception occurs for underflowed
52359         result.
52360         * math/s_catanf.c: Include <float.h>.
52361         (__catanf): Ensure underflow exception occurs for underflowed
52362         result.
52363         * math/s_catanh.c: Include <float.h>.
52364         (__catanh): Ensure underflow exception occurs for underflowed
52365         result.
52366         * math/s_catanhf.c: Include <float.h>.
52367         (__catanhf): Ensure underflow exception occurs for underflowed
52368         result.
52369         * math/s_catanhl.c: Include <float.h>.
52370         (__catanhl): Ensure underflow exception occurs for underflowed
52371         result.
52372         * math/s_catanl.c: Include <float.h>.
52373         (__catanl): Ensure underflow exception occurs for underflowed
52374         result.
52375         * math/libm-test.inc (catan_test): Add more tests.
52376         (catanh_test): Likewise.
52378         [BZ #15405]
52379         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
52380         underflowed result.
52381         * math/s_ccoshf.c (__ccoshf): Likewise.
52382         * math/s_ccoshl.c (__ccoshl): Likewise.
52383         * math/s_csin.c (__csin): Likewise.
52384         * math/s_csinf.c (__csinf): Likewise.
52385         * math/s_csinh.c (__csinh): Likewise.
52386         * math/s_csinhf.c (__csinhf): Likewise.
52387         * math/s_csinhl.c (__csinhl): Likewise.
52388         * math/s_csinl.c (__csinl): Likewise.
52389         * math/libm-test.inc (ccos_test): Add more tests.
52390         (ccosh_test): Likewise.
52391         (csin_test): Likewise.
52392         (csinh_test): Likewise.
52394 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52396         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
52397         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
52398         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
52399         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
52400         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
52401         powerpc/power5+/fpu folders.
52402         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
52405 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
52407         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52409 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
52411         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
52412         additions to variable.
52413         [$(config-machine) = x86_64] (modules-names): Likewise.
52414         ($(objpfx)tst-audit3): Remove dependency.
52415         ($(objpfx)tst-audit3.out): Likewise.
52416         ($(objpfx)tst-audit4): Likewise.
52417         ($(objpfx)tst-audit4.out): Likewise.
52418         ($(objpfx)tst-audit5): Likewise.
52419         ($(objpfx)tst-audit5.out): Likewise.
52420         ($(objpfx)tst-audit6): Likewise.
52421         ($(objpfx)tst-audit6.out): Likewise.
52422         ($(objpfx)tst-audit7): Likewise.
52423         ($(objpfx)tst-audit7.out): Likewise.
52424         (tst-audit3-ENV): Remove variable.
52425         (tst-audit4-ENV): Likewise.
52426         (tst-audit5-ENV): Likewise.
52427         (tst-audit6-ENV): Likewise.
52428         (tst-audit7-ENV): Likewise.
52429         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
52430         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
52431         addition to variable.
52432         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
52433         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
52434         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
52435         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
52436         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
52437         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
52438         tst-audit3, tst-audit4 and tst-audit5.
52439         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
52440         tst-audit6 and tst-audit7.
52441         [$(subdir) = elf] (modules-names): Add audit modules for those
52442         tests.
52443         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
52444         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
52445         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
52446         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
52447         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
52448         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
52449         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
52450         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
52451         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
52452         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
52453         [$(subdir) = elf] (tst-audit3-ENV): New variable.
52454         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
52455         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
52456         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
52457         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
52458         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
52459         Likewise.
52460         [$(subdir) = elf && $(config-cflags-avx) = yes]
52461         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
52462         [$(subdir) = elf && $(config-cflags-avx) = yes]
52463         (CFLAGS-tst-auditmod4a.c): Likewise.
52464         [$(subdir) = elf && $(config-cflags-avx) = yes]
52465         (CFLAGS-tst-auditmod4b.c): Likewise.
52466         [$(subdir) = elf && $(config-cflags-avx) = yes]
52467         (CFLAGS-tst-auditmod6b.c): Likewise.
52468         [$(subdir) = elf && $(config-cflags-avx) = yes]
52469         (CFLAGS-tst-auditmod6c.c): Likewise.
52470         [$(subdir) = elf && $(config-cflags-avx) = yes]
52471         (CFLAGS-tst-auditmod7b.c): Likewise.
52472         * elf/tst-audit3.c: Move to ...
52473         * sysdeps/x86_64/tst-audit3.c: ... here.
52474         * elf/tst-audit4.c: Move to ...
52475         * sysdeps/x86_64/tst-audit4.c: ... here.
52476         * elf/tst-audit5.c: Move to ...
52477         * sysdeps/x86_64/tst-audit5.c: ... here.
52478         * elf/tst-audit6.c: Move to ...
52479         * sysdeps/x86_64/tst-audit6.c: ... here.
52480         * elf/tst-audit7.c: Move to ...
52481         * sysdeps/x86_64/tst-audit7.c: ... here.
52482         * elf/tst-auditmod3a.c: Move to ...
52483         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
52484         * elf/tst-auditmod3b.c: Move to ...
52485         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
52486         * elf/tst-auditmod4a.c: Move to ...
52487         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
52488         * elf/tst-auditmod4b.c: Move to ...
52489         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
52490         * elf/tst-auditmod5a.c: Move to ...
52491         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
52492         * elf/tst-auditmod5b.c: Move to ...
52493         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
52494         * elf/tst-auditmod6a.c: Move to ...
52495         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
52496         * elf/tst-auditmod6b.c: Move to ...
52497         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
52498         * elf/tst-auditmod6c.c: Move to ...
52499         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
52500         * elf/tst-auditmod7a.c: Move to ...
52501         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
52502         * elf/tst-auditmod7b.c: Move to ...
52503         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
52505 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
52507         [BZ #15366]
52508         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
52509         define unconditionally.
52510         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
52511         define unconditionally.
52512         (INT8_C, INT16_C, etc.): Likewise.
52514 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
52516         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
52517         __ehdr_start with hidden visibility.
52519         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
52521 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
52523         * math/libm-test.inc (cos_test): Use accurate hex constants.
52524         (sincost_test): Likewise.
52526 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
52528         * math/libm-test.inc (catan_test): Add more tests.
52529         (catanh_test): Likewise.
52531         * math/s_catanf.c (__catanf): Use suffixed floating-point
52532         constants.
52533         * math/s_catanhf.c (__catanhf): Likewise.
52534         * math/s_catanhl.c (__catanhl): Likewise.
52535         * math/s_catanl.c (__catanl): Likewise.
52537         [BZ #15394]
52538         * math/s_catan.c (__catan): Calculate imaginary part of result
52539         with log1p not log unless computing log of number close to 0.
52540         * math/s_catanf.c (__catanf): Likewise.
52541         * math/s_catanl.c (__catanl): Likewise.
52542         * math/s_catanh.c (__catanh): Calculate real part of result with
52543         log1p not log unless computing log of number close to 0.
52544         * math/s_catanhf.c (__catanhf): Likewise.
52545         * math/s_catanhl.c (__catanhl): Likewise.
52546         * math/libm-test.inc (catan_test): Add more tests.
52547         (catanh_test): Likewise.
52548         * sysdeps/i386/fpu/libm-test-ulps: Update.
52549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52551 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52553         * benchtests/Makefile: Mention files in which fast and slow
52554         paths of math functions are implemented.
52556 2013-04-23  Roland McGrath  <roland@hack.frob.com>
52558         * sysdeps/posix/timespec_get.c: New file.
52560 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52562         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
52563         POWER.
52564         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
52565         for POWER.
52566         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
52567         powerpc/power5/fpu folders.
52568         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
52569         * benchtests/Makefile: Add modf testcase.
52570         * benchtests/bench-modf.c: New file: Benchmark test for mo
52572 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
52574         [BZ #14888]
52575         * time/Makefile (tests): Add tst-strptime-whitespace.
52576         * time/strptime_l.c (get_number): Use ISSPACE.
52577         (__strptime_internal): Likewise.
52578         * time/tst-strptime-whitespace.c: New test case.
52580 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
52582         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
52583         member.
52584         (_nss_files_init): Set it here.
52586 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
52588         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
52589         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
52590         unsigned.
52592 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
52594         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
52596 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52598         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
52599         size just once.
52601 2013-04-21  David S. Miller  <davem@davemloft.net>
52603         * po/ru.po: Update Russion translation from translation project.
52605 2013-04-17  Adam Conrad  <adconrad@0c3.net>
52607         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
52608         and setfsgid.
52610 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
52612         * configure.in: Remove i386 configure warning. Remove i386 case.
52613         * configure: Regenerate.
52614         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
52615         Add example to error message.
52616         * sysdeps/i386/configure: Regenerate.
52618 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52620         * benchtests/Makefile (bench): Add cos, tan, slowcos and
52621         slowtan.
52622         * benchtests/cos-inputs: New file.
52623         * benchtests/slowcos-inputs: New file.
52624         * benchtests/slowcos.c: New file.
52625         * benchtests/slowtan-inputs: New file.
52626         * benchtests/slowtan.c: New file.
52627         * benchtests/tan-inputs: New file.
52629 2013-04-16  Roland McGrath  <roland@hack.frob.com>
52631         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
52632         considered kosher.
52634 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52636         * benchtests/Makefile: Include cppflags-iterator.mk to add
52637         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
52639         * Makefile.in (bench-clean): New target.
52640         * benchtests/Makefile (bench-clean): Likewise.
52642 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
52644         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
52646 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
52648         * stdio-common/tstdiomisc.c: Fix coding-style violation.
52650 2013-04-15  Andreas Schwab  <schwab@suse.de>
52652         * nscd/grpcache.c (cache_addgr): Properly check for short write.
52653         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52654         * nscd/pwdcache.c (cache_addpw): Likewise.
52655         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
52656         more than recsize.
52658 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52660         * benchtests/Makefile (bench): Write all output to
52661         bench-out.tmp together.
52663 2013-04-15  Andreas Schwab  <schwab@suse.de>
52665         * nscd/nscd.c (main): Don't fork again after closing files.
52667 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52669         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
52671         * benchtests/Rules (bench-deps): Collect dependencies into a
52672         single variable.  Add Makefile to dependencies.
52673         ($(objpfx)bench-%.c): Depend on bench-deps.
52675 2013-04-12  Roland McGrath  <roland@hack.frob.com>
52676             Xavier Roche  <roche+kml2@exalead.com>
52678         [BZ #15361]
52679         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
52680         just that it's a file descriptor.
52681         * manual/llio.texi (Synchronizing AIO Operations): Update description
52682         for EBADF error from aio_fsync.
52684 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52686         * Rules (bench): Move target definition...
52687         * benchtests/Makefile: ... here.
52689 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
52691         * math/libm-test.inc (cos_test): Fix PI/2 test.
52692         (sincos_test): Likewise.
52693         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
52694         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
52696 2013-04-11  Andreas Schwab  <schwab@suse.de>
52698         [BZ #13988]
52699         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
52700         accept exponent character only when digits were seen.
52701         * stdio-common/Makefile (tests): Add bug26.
52702         * stdio-common/bug26.c: New file.
52704         [BZ #14293]
52705         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
52706         non-freeable.
52708 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52710         * Makeconfig (rtld-prefix): Define built linker prefix.
52711         * Rules (run-bench): Use it.
52712         * math/Makefile (run-regen-ulps): Likewise.
52714         * Rules (bench): Remove eval.
52716 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52717             Roland McGrath  <roland@hack.frob.com>
52718             Ondrej Bilka  <neleai@seznam.cz>
52720         [BZ #15346]
52721         * time/getdate.c: Include ctype.h and alloca.h.
52722         (__getdate_r): Trim leading and trailing spaces of input.
52723         * time/tst-getdate.c (tests): Add tests with leading and
52724         trailing spaces.
52726 2013-04-08  Roland McGrath  <roland@hack.frob.com>
52728         [BZ #14280]
52729         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
52730         when computing value.
52732 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52734         * math/README.libm-test (How can I generate "libm-test-ulps"?):
52735         Use testrun.sh to run libm tests.
52737         [BZ #15309]
52738         * elf/dl-open.c (dl_open_worker): memset all of seen array.
52740 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
52742         [BZ #15264]
52743         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
52745 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52747         * Makefile.in (regen-ulps): New target.
52748         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
52749         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
52750         [ifneq (no,$(PERL)] (regen-ulps): New target.
52751         [ifeq (no,$(PERL)] (regen-ulps): New target.
52752         * math/libm-test.inc (ulps_file_name): Define.
52753         (output_dir): New variable.
52754         (options): Add "output-dir" option.
52755         (parse_opt): Handle 'o' case.
52756         (main): If output_dir is non-NULL use it as a prefix
52757         otherwise use "".
52758         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
52760 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52762         [BZ #10060, #10062]
52763         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
52764         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
52765         fail configure if __sync_val_compare_and_swap is not inlined.
52766         * sysdeps/i386/configure: Regenerate.
52767         * configure.in: Build for i686 when configured for i386.
52768         * configure: Regenerate.
52769         * README: Remove i386 reference.
52771 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52773         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
52774         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52776 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52778         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
52779         (lmsnanval): New variables.
52780         (F): Add conversion tests.
52781         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
52782         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
52784         * stdio-common/tstdiomisc.c (F): Properly collect individual
52785         tests' results.
52787         [BZ #14686, #15336]
52788         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
52789         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
52790         Instead, use input NaN values or generate a qNaN by arithmetic
52791         operation.  Also fix bugs to comply with the standard.
52792         * math/libm-test.inc (remainder_test): Add more tests.
52794         [BZ #15335, #15342]
52795         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
52796         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
52797         input NaN values or generate a qNaN by arithmetic operation.
52799         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
52800         unreachable code.
52802         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
52803         definitions.
52805 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
52807         [BZ #14478]
52808         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
52809         underflowed result.
52810         * math/s_cexpf.c (__cexpf): Likewise.
52811         * math/s_cexpl.c (__cexpl): Likewise.
52812         * math/libm-test.inc (cexp_test): Add more tests.
52814 2013-04-03  Andreas Schwab  <schwab@suse.de>
52816         [BZ #15330]
52817         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
52818         order arrays from heap if bigger than alloca cutoff.
52820 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
52822         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
52823         (SNAN_TESTS_double): Refer to GCC PR56831.
52824         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
52825         GCC PR56828.
52827 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52829         * Rules (bench): Move bench.out after the run is complete.
52831         * Rules (bench): Echo currently running benchmark.
52833         * benchtests/Makefile (bench): Add atan and slowatan.
52834         * benchtests/atan-inputs: New file.
52835         * benchtests/slowatan-inputs: New file.
52836         * benchtests/slowatan.c: New file.
52838         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
52839         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
52840         its value.
52842         [BZ #15305]
52843         * sysdeps/unix/sysv/linux/kernel-features.h
52844         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
52845         __ASSUME_XFS_RESTRICTED_CHOWN.
52846         * sysdeps/unix/sysv/linux/pathconf.c
52847         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
52848         Save and restore errno.
52850 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
52852         [BZ #15327]
52853         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
52854         arguments using __kernel_casinh.
52855         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
52856         arguments using __kernel_casinhf.
52857         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
52858         arguments using __kernel_casinhl.
52859         * math/libm-test.inc (cacosh_test): Add more tests.
52860         * sysdeps/i386/fpu/libm-test-ulps: Update.
52861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52863 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52865         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
52866         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
52868         * bench/Makefile (bench): Add sin and slowsin.
52869         * benchtests/sin-inputs: New file.
52870         * benchtests/slowsin-inputs: New file.
52871         * benchtests/slowsin.c: New file.
52873         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
52874         (bench): Add slowexp and slowpow.
52875         (exp-ITER): Increase iterations.
52876         (pow-ITER): Likewise.
52877         * benchtests/exp-inputs: Change input.
52878         * benchtests/pow-inputs: Likewise.
52879         * benchtests/slowexp-inputs: New file.
52880         * benchtests/slowexp.c: New file.
52881         * benchtests/slowpow-inputs: New file.
52882         * benchtests/slowpow.c: New file.
52884 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52886         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
52887         instructions.
52888         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
52889         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
52890         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
52891         * benchtests/Makefile: Add rint benchtest.
52892         * benchtests/rint-inputs: Input for rint benchtest.
52894 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
52896         * Versions.def (libm): Add GLIBC_2.18.
52897         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
52898         hidden libm prototypes.
52899         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
52900         * math/Makefile (libm-calls): Add s_issignaling.
52901         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
52902         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
52903         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
52904         declaration.
52905         * math/math.h [__USE_GNU] (issignaling): New macro.
52906         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
52907         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
52908         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
52909         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
52910         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
52911         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
52912         * manual/arith.texi (issignaling): New section.
52913         * manual/libm-err-tab.pl (@all_functions): Update comment.
52914         * math/gen-libm-test.pl (parse_args): Apply special handling for
52915         issignaling.
52916         * math/libm-test.inc (print_float, issignaling_test): New
52917         functions.
52918         (check_float_internal): Add issignaling checks.
52919         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
52920         default definition.
52921         * sysdeps/powerpc/math-tests.h: New file.
52922         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
52923         tests.
52924         * math/test-snan.c (TEST_FUNC): Likewise.
52926 2013-03-30  David S. Miller  <davem@davemloft.net>
52928         * po/de.po: Update from translation team.
52930 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
52932         [BZ #10357]
52933         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52934         imaginary part less than 1.0 and real part less than 0.5
52935         specially.
52936         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52937         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52938         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
52939         (cacos_test): Add more tests.
52940         (casin_test): Likewise.
52941         (casinh_test): Likewise.
52942         * sysdeps/i386/fpu/libm-test-ulps: Update.
52943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52945 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52947         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
52948         ONE with its value.
52950         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
52951         (__pow_mp): Replace ONE and MONE with their values.
52952         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52953         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
52954         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52955         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
52956         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52957         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52959         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
52961         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
52962         (__pow_mp): Replace ZERO and MZERO with their values.
52963         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
52964         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52965         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52966         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
52967         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52968         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
52969         (__sqr): Likewise.
52971         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
52973         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
52975 2013-03-28  Roland McGrath  <roland@hack.frob.com>
52977         * include/stdlib.h [!SHARED] (__call_tls_dtors):
52978         Declare with __attribute__ ((weak)).
52979         * stdlib/exit.c (__libc_atexit) [!SHARED]:
52980         Call __call_tls_dtors only if it's not NULL.
52982 2013-03-28  Roland McGrath  <roland@hack.frob.com>
52984         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
52985         didn't do it already, then set _dl_phdr and _dl_phnum based on the
52986         magic __ehdr_start linker symbol if it's defined.
52987         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
52988         them up here if it was already done.
52990         * elf/dl-support.c (_dl_phdr): Make pointer to const.
52991         (_dl_aux_init): Use const in cast when setting it.
52992         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
52993         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
52994         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
52996         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
52997         Declare them here.
52998         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
52999         * csu/libc-tls.c: Nor here.
53000         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
53002         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
53003         (__libc_message): Never call vsyslog.
53005 2013-03-28  Alan Modra  <amodra@gmail.com>
53007         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
53008         Define as empty.
53009         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
53010         Likewise.
53012 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53014         [BZ #15214]
53015         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
53016         underflow.
53017         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53019 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53021         [BZ #15304]
53022         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
53023         Don't add gid passed as argument.
53025         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
53027 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
53029         [BZ #15307]
53030         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53031         imaginary part between 1.0 and 1.5 and real part less than 0.5
53032         specially.
53033         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53034         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53035         * math/libm-test.inc (cacos_test): Add more tests.
53036         (casin_test): Likewise.
53037         (casinh_test): Likewise.
53038         * sysdeps/i386/fpu/libm-test-ulps: Update.
53039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53041 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53043         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
53044         constants.
53045         (norm): Likewise.
53046         (denorm): Likewise.
53047         (__dbl_mp): Likewise.
53048         (add_magnitudes): Likewise.
53049         (sub_magnitudes): Likewise.
53050         (__add): Likewise.
53051         (__sub): Likewise.
53052         (__mul): Likewise.
53053         (__sqr): Likewise.
53054         (__inv): Likewise.
53055         (__dvd): Likewise.
53057         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
53058         commented code.
53059         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
53060         (__dubcos): Likewise.
53061         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
53062         (__ieee754_acos): Likewise.
53063         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
53064         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
53065         (__exp1): Likewise.
53066         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53067         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53068         (log1): Likewise.
53069         (my_log2): Likewise.
53070         (checkint): Likewise.
53071         * sysdeps/ieee754/dbl-64/e_remainder.c
53072         (__ieee754_remainder): Likewise.
53073         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53074         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
53075         (bsloww): Likewise.
53076         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53078         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53079         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
53080         MANTISSA_STORE_T to store computations on mantissa.  Use
53081         macros for rounding and division.
53082         (denorm): Likewise.
53083         (__dbl_mp): Likewise.
53084         (add_magnitudes): Likewise.
53085         (sub_magnitudes): Likewise.
53086         (__mul): Likewise.
53087         (__sqr): Likewise.
53088         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
53089         powers of two in terms of TWOPOW macro.
53090         (mp_no): Make type of mantissa as MANTISSA_T.
53091         [!RADIXI]: Define RADIXI.
53092         [!TWO52]: Define TWO52.
53093         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53095 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53097         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
53098         llroundl symbol when building for PPC32.
53100 2013-03-24  Mark H Weaver  <mhw@netris.org>
53102         * manual/arith.texi (Normalization Functions): Fix prototypes for
53103         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
53105 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53107         [BZ #13889]
53108         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
53109         high value to check if expl overflow.
53110         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
53111         to check for underflow and overflow.
53112         * math/libm-test.inc: Add exp test.
53114 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
53116         [BZ #11120]
53117         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
53118         with NOT_IN_libc.
53120 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53122         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
53123         symbol.
53125 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53127         * math/gen-libm-test.pl (parse_args, special_functions): Properly
53128         wrap blocks consisting of several statements.
53130         * sysdeps/generic/math-tests.h: New file.
53131         * sysdeps/i386/fpu/math-tests.h: Likewise.
53132         * math/test-snan.c: Include it.
53133         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
53135 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
53137         [BZ #15285]
53138         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
53139         (__ieee754_j0l): Do not improve calculations using cos of twice
53140         input for inputs above LDBL_MAX / 2.0L.
53141         (__ieee754_y0l): Likewise.
53142         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
53143         (__ieee754_j1l): Do not improve calculations using cos of twice
53144         input for inputs above LDBL_MAX / 2.0L.
53145         (__ieee754_y1l): Likewise.
53146         * math/libm-test.inc (j0_test): Add another test.
53147         (j1_test): Likewise.
53148         (y0_test): Likewise.
53149         (y1_test): Likewise.
53150         * sysdeps/i386/fpu/libm-test-ulps: Update.
53152 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53154         * Rules ($(objpfx)bench-%.c): Include code from a C source
53155         file.
53157 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
53159         [BZ #15287]
53160         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53161         imaginary part 1.0 and real part less than 0.5 specially.
53162         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53163         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53164         * math/libm-test.inc (cacos_test): Add more tests.
53165         (casin_test): Likewise.
53166         (casinh_test): Likewise.
53167         * sysdeps/i386/fpu/libm-test-ulps: Update.
53168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53170 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53172         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
53173         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
53175 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
53177         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
53178         * config.make.in (config-cflags-sse4): Remove variable.
53179         (config-cflags-avx): Likewise.
53180         (config-cflags-sse2avx): Likewise.
53181         (config-cflags-novzeroupper): Likewise.
53182         (config-asflags-i686): Likewise.
53183         (have-mfma4): Likewise.
53184         (have-as-vis3): Likewise.
53185         (MIG): Likewise.
53186         * configure.in (MIG): Do not AC_SUBST.
53187         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
53188         (libc_cv_cc_sse4): Do not AC_SUBST.
53189         (libc_cv_cc_avx): Likewise.
53190         (libc_cv_cc_sse2avx): Likewise.
53191         (libc_cv_cc_novzeroupper): Likewise.
53192         (libc_cv_cc_fma4): Likewise.
53193         (libc_cv_as_i686): Likewise.
53194         (libc_cv_sparc_as_vis3): Likewise.
53195         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
53196         LIBC_CONFIG_VAR.
53197         (config-asflags-i686): Likewise.
53198         (config-cflags-avx): Likewise.
53199         (config-cflags-sse2avx): Likewise.
53200         (have-mfma4): Likewise.
53201         (config-cflags-novzeroupper): Likewise.
53202         * sysdeps/mach/configure.in (MIG): Likewise.
53203         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
53204         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
53205         LIBC_CONFIG_VAR.
53206         (config-cflags-avx): Likewise.
53207         (config-cflags-sse2avx): Likewise.
53208         (have-mfma4): Likewise.
53209         (config-cflags-novzeroupper): Likewise.
53210         * configure: Regenerated.
53211         * sysdeps/i386/configure: Likewise.
53212         * sysdeps/mach/configure: Likewise.
53213         * sysdeps/sparc/configure: Likewise.
53214         * sysdeps/x86_64/configure: Likewise.
53216 2013-03-20  Roland McGrath  <roland@hack.frob.com>
53218         [BZ #14812]
53219         * locale/programs/localedef.c (options): Put N_ translation marker
53220         on argument names, not just descriptions.
53222 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53224         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
53226 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
53228         [BZ #14176]
53229         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
53231 2013-03-19  Roland McGrath  <roland@hack.frob.com>
53233         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
53234         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
53235         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
53236         [!BEFORE_ABORT] (before_abort): New function.
53237         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
53238         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
53239         (writev_for_fatal): New function.
53240         (WRITEV_FOR_FATAL): New macro; call that.
53241         (backtrace_and_maps): New function.
53242         (BEFORE_ABORT): New macro; call that.
53243         (struct str_list): Type removed.
53244         (__libc_message, __libc_fatal): Functions removed.
53245         Include <sysdeps/posix/libc_fatal.c> instead.
53247 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
53249         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
53250         constants.
53251         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
53252         double constants.
53254 2013-03-19  Andreas Schwab  <schwab@suse.de>
53256         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
53257         * sysdeps/gnu/configure: Regenerate.
53259         * configure.in: Substitute libc_cv_rtlddir.
53260         * configure: Regenerate.
53261         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
53262         * Makeconfig (rtlddir, inst_rtlddir): New variables.
53263         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
53264         * elf/Makefile (install-others, CFLAGS-interp.c)
53265         (ldso_install, common-ldd-rewrite): Likewise.
53266         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
53267         $(inst_slibdir)/$(rtld-installed-name).
53268         * scripts/rellns-sh: Add -p option.
53269         * Makerules (make-shlib-link): Use rellns-sh to get relative name
53270         for source.
53272 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53274         * manual/nptl.texi: Renamed to ...
53275         * manual/threads.texi: ... this.
53276         * manual/Makefile (chapters): Update.
53278 2013-03-18  Roland McGrath  <roland@hack.frob.com>
53280         [BZ #14812]
53281         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
53282         on argument names, not just descriptions.
53283         * malloc/memusagestat.c (options): Likewise.
53284         * nss/getent.c (options): Likewise.
53286 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
53288         [BZ #14812]
53289         * iconv/iconv_prog.c (options): Put N_ translation marker
53290         on argument names, not just descriptions.
53291         * iconv/iconvconfig.c (options): Likewise.
53293 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
53295         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
53296         implementation which is faster on all x86_64 architectures.
53297         Tested on AMD, Intel Nehalem, SNB, IVB.
53298         * sysdeps/x86_64/strnlen.S: Likewise.
53300         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53301         Remove all multiarch strlen and strnlen versions.
53302         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
53303         Remove strlen and strnlen related parts.
53305         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
53306         Inline strlen part.
53307         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
53309         * sysdeps/x86_64/multiarch/strlen.S: Remove.
53310         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
53311         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
53312         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
53313         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
53314         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
53316 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
53318         * manual/memory.texi (Malloc Tunable Parameters):
53319         Sort parameters alphabetically. Add comments for missing entries.
53321 2013-03-17  David S. Miller  <davem@davemloft.net>
53323         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53325 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
53327         [BZ #15283]
53328         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
53329         for arguments at most half maximum finite value.
53330         * math/libm-test.inc (j0_test): Add more tests.
53331         (j1_test): Likewise.
53332         (y0_test): Likewise.
53333         (y1_test): Likewise.
53334         * sysdeps/i386/fpu/libm-test-ulps: Update.
53335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53337         [BZ #14155]
53338         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
53339         1 / x and functions P and Q for arguments above 0x1p256L.
53340         (__ieee754_y0l): Likewise.
53341         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
53342         (__ieee754_y1l): Likewise.
53343         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
53344         (j1_test): Likewise.
53345         (y0_test): Likewise.
53346         (y1_test): Likewise.
53348 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
53350         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
53351         variable.
53353 2013-03-15  Roland McGrath  <roland@hack.frob.com>
53355         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
53356         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
53357         zero since it's initialized to EXEC_PAGESIZE.
53359         * sysdeps/unix/sysv/linux/ldsodefs.h
53360         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
53361         * sysdeps/generic/ldsodefs.h: ... here.
53363 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
53365         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
53367         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
53368         math/test-snan.c.
53369         * math/test-snan.c: Renamed from
53370         sysdeps/powerpc/fpu/test-powerpc-snan.c.
53371         * math/Makefile (tests): Add test-snan.
53372         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
53373         test-powerpc-snan.
53375         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
53376         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
53377         functions.
53378         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
53379         __builtin_nan family of functions.
53380         * math/libm-test.inc (initialize): Initialize qnan_value with
53381         __builtin_nan family of functions.
53382         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
53383         Remove variables.
53384         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
53385         Remove functions.
53386         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
53387         storage class.  Initialize qNaN_var and sNaN_var with
53388         __builtin_nan and __builtin_nans families of functions,
53389         respectively.
53391         * math/libm-test.inc (acosh_test): Also test with qNaN input.
53392         (sqrt_test): Remove duplicate test with qNaN input.
53393         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
53394         (round_test, signbit_test, significand_test): Note missing +/-Inf
53395         as well as qNaN tests.
53397         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
53398         qNaN_var.  Fix a few strings, too.
53399         * math/libm-test.inc (nan_value): Rename to qnan_value.
53400         * math/gen-libm-test.pl (%beautify): Adjust to that.
53401         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
53402         * math/test-misc.c (main): Likewise.
53403         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
53404         to __qnan_bytes, and __qnan_union, respectively.
53405         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
53406         Likewise.
53407         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
53408         and lqnanval, respectively.
53409         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
53410         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
53411         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
53412         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
53414         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
53415         * math/test-misc.c (main) [__x86_64__]: Enable test for long
53416         doubles.
53418         * math/test-misc.c (main): Fix copy'n'pastos.
53419         * misc/tst-efgcvt.c (special): Likewise.
53421         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
53422         Remove declarations.
53424 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53426         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
53427         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
53428         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
53429         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
53431 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53433         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
53434         macro to return vdso values correctly in IFUNC implementations.
53435         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
53436         Optimization by using IFUNC.
53438 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53439             Richard Henderson  <rth@redhat.com>
53440             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53442         * Makefile.in (bench): New target.
53443         * NEWS: Mention the benchmark framework.
53444         * Rules (bench): Likewise.
53445         (binaries-bench): Generate binaries for functions to
53446         benchmark.
53447         * benchtests/Makefile: New makefile for benchmark tests.
53448         * benchtests/bench-skeleton.c: New skeleton file for benchmark
53449         programs.
53450         * benchtests/exp-inputs: New input file for EXP function.
53451         * benchtests/pow-inputs: New input file for POW function.
53452         * scripts/bench.pl: New script to generate source files for
53453         benchmark programs.
53455 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53457         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53458         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
53459         computations on mantissa.  Use macros for rounding and
53460         division.
53461         (denorm): Likewise.
53462         (__dbl_mp): Likewise.
53463         (add_magnitudes): Likewise.
53464         (sub_magnitudes): Likewise.
53465         (__mul): Likewise.
53466         (__sqr): Likewise.
53467         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
53468         powers of two in terms of TWOPOW macro.
53469         (mp_no): Make type of mantissa as MANTISSA_T.
53470         [!RADIXI]: Define RADIXI.
53471         [!TWO52]: Define TWO52.
53472         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53474         * manual/nptl.texi (cindex): Modify threads to pthreads.
53476 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
53478         * sysdeps/x86_64/preconfigure: Regenerated.
53480 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
53482         [BZ #14155]
53483         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
53484         0x1p28 and above.
53485         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
53486         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
53487         0x1p28 and above.
53488         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
53489         * math/libm-test.inc (j0_test): Do not allow one spurious
53490         underflow exception.
53491         (y1_test): Likewise.
53493 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53495         * manual/Makefile (chapters): Add nptl.
53496         * manual/debug.texi (Debugging Support): Add link to Threads
53497         chapter.
53498         * manual/nptl.texi: New file.
53500         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
53502 2013-03-14  Petr Baudis  <pasky@ucw.cz>
53504         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
53505         for non-NULL pointer before the memory validity test. Pointed
53506         out by Holger Brunck <holger.brunck@keymile.com>.
53508 2013-03-13  Andreas Schwab  <schwab@suse.de>
53510         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
53511         instead of .os.
53513 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
53515         * timezone/zic.c: Update from tzcode 2013b.
53517 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
53519         * manual/install.texi (Configuring and compiling):
53520         Mention i686 and i586.
53521         * INSTALL: Regenerate.
53523 2013-03-12  Roland McGrath  <roland@hack.frob.com>
53525         * sysdeps/init_array/elf-init.c: New file.
53526         * csu/elf-init.c
53527         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
53528         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
53530         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
53531         __gmon_start__ as global, but as static with a .preinit_array pointer.
53532         * sysdeps/init_array/gmon-start.c: New file.  Use that.
53533         * sysdeps/init_array/crti.S: New file, empty except for comments.
53534         * sysdeps/init_array/crtn.S: Likewise.
53536 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
53538         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
53539         definining bcopy.
53540         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53541         Remove Prefer_SSE_for_memop.
53542         * sysdeps/x86_64/multiarch/init-arch.h: Remove
53543         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
53544         HAS_PREFER_SSE_FOR_MEMOP.
53545         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
53546         memset-x86-64.
53547         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53548         Remove bzero, memset ifunc support.
53549         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
53550         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
53551         * sysdeps/x86_64/multiarch/memset.S: Likewise.
53552         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
53554 2013-03-11  Andreas Schwab  <schwab@suse.de>
53556         [BZ #15234]
53557         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
53558         by SHLIB_COMPAT.
53559         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
53560         (GLIBC_2.16): Remove pthread_atfork.
53562 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
53564         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
53565         (ptestcases.h): Likewise.
53567 2013-03-08  Roland McGrath  <roland@hack.frob.com>
53569         * Makeconfig ($(common-objpfx)config.status): Depend on
53570         sysdeps/*/preconfigure{,.in} too.
53572 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
53574         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
53575         (__free_hook): Use void * instead of __malloc_ptr_t.
53576         (__malloc_hook): Likewise.
53577         (__realloc_hook): Likewise.
53578         (__memalign_hook): Likewise.
53579         (__after_morecore_hook): Likewise.
53580         * malloc/arena.c (save_malloc_hook): Likewise.
53581         (save_free_hook): Likewise.
53582         * malloc/hooks.c (malloc_hook_ini): Likewise.
53583         (realloc_hook_ini): Likewise.
53584         (memalign_hook_ini): Likewise.
53585         * malloc/malloc.c (malloc_hook_ini): Likewise.
53586         (realloc_hook_ini): Likewise.
53587         (memalign_hook_ini): Likewise.
53588         (__free_hook): Likewise.
53589         (__malloc_hook): Likewise.
53590         (__realloc_hook): Likewise.
53591         (__memalign_hook): Likewise.
53592         (__libc_malloc): Likewise.
53593         (__libc_free): Likewise.
53594         (__libc_realloc): Likewise.
53595         (__libc_memalign): Likewise.
53596         (__libc_valloc): Likewise.
53597         (__libc_pvalloc): Likewise.
53598         (__libc_calloc): Likewise.
53599         (__posix_memalign): Likewise.
53600         * malloc/morecore.c (__sbrk): Likewise.
53601         (__default_morecore): Likewise.
53603         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
53605         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
53606         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
53607         __malloc_ptrdiff_t.
53609         * malloc/malloc.h (__malloc_size_t): Remove macro.
53610         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
53611         __malloc_size_t.
53612         (old_memalign_hook): Likewise.
53613         (old_realloc_hook): Likewise.
53614         (struct hdr): Likewise.
53615         (flood): Likewise.
53616         (mallochook): Likewise.
53617         (memalignhook): Likewise.
53618         (reallochook): Likewise.
53619         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
53620         (tr_old_realloc_hook): Likewise.
53621         (tr_old_memalign_hook): Likewise.
53622         (tr_mallochook): Likewise.
53623         (tr_reallochook): Likewise.
53624         (tr_memalignhook): Likewise.
53626 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53628         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
53629         default_ldbl_pack and using as default implementation.
53630         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
53631         implementation.
53632         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
53633         redundant definition.
53634         (ldbl_insert_mantissa): Likewise.
53635         (ldbl_canonicalize): Likewise.
53636         (ldbl_nearbyint): Likewise.
53637         (ldbl_pack): Rename to ldbl_pack_ppc.
53638         (ldbl_unpack): Rename to ldbl_unpack_ppc.
53639         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
53640         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
53642 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53644         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
53645         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
53646         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
53647         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
53648         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
53649         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
53650         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
53651         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
53653 2013-03-07  Andreas Jaeger  <aj@suse.de>
53655         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53656         bits/mman-linux.h.
53658 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53660         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
53661         Include mpa.h and declare __MPEXP.
53662         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
53663         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
53664         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
53665         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
53666         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
53667         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
53668         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
53670         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
53671         (__slowpow): Use long double EXPL and LOGL functions to
53672         compute POW.
53673         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
53674         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
53675         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
53676         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
53677         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
53678         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
53680         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
53681         intermediate variable to calculate exponent.
53682         (__sqr): Likewise.
53683         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
53684         Likewise.
53685         (__sqr): Likewise.
53687         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
53688         [!NO__SQR]: Define __sqr.
53689         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
53690         and NO__SQR.  Remove all code except __mul and __sqr.  Include
53691         sysdeps/ieee754/dbl-64/mpa.c.
53692         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53694         [BZ #12723]
53695         * posix/Makefile (tests): Add tst-pathconf.
53696         * posix/tst-pathconf.c: New test case.
53697         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
53698         _PC_PIPE_BUF.
53699         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
53701 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
53703         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
53705 2013-03-06  Andreas Jaeger  <aj@suse.de>
53707         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
53708         definition via __MAP_ANONYMOUS.
53710         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
53711         it's not part of Linux headers.
53713         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
53714         (MAP_HUGE_MASK): Define.
53716         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53717         Define.
53718         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53719         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53720         Define.
53721         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53722         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53723         Define.
53724         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53725         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
53726         Define.
53727         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53729         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
53730         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
53731         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
53732         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
53733         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
53734         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
53736         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53737         Handle f2fs.
53739         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53740         Handle f2fs and efivarfs.
53742         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
53743         f2fs.
53745         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
53746         (EFIVARFS_MAGIC): Add.
53747         (F2FS_LINK_MAX): Add.
53749 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53751         * stdio-common/vfprintf.c: Replace __builtin_expect with
53752         __glibc_unlikely.
53754 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
53756         [BZ #13550]
53757         * sysdeps/generic/bp-sym.h: Remove file.
53758         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
53759         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
53760         <bp-sym.h> and <bp-asm.h>.
53761         (__longjmp): Don't use BP_SYM.
53762         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
53763         and <bp-asm.h>.
53764         (memcpy): Don't use BP_SYM.
53765         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
53766         <bp-sym.h> and <bp-asm.h>.
53767         (memcpy): Don't use BP_SYM.
53768         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
53769         <bp-asm.h>.
53770         (memcpy): Don't use BP_SYM.
53771         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
53772         <bp-asm.h>.
53773         (memset): Don't use BP_SYM.
53774         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53775         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53776         (__bzero): Don't use BP_SYM.
53777         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53778         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53779         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
53780         <bp-sym.h> and <bp-asm.h>.
53781         (memcmp): Don't use BP_SYM.  Remove comment about bounded
53782         pointers.
53783         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
53784         <bp-sym.h> and <bp-asm.h>.
53785         (memcpy): Don't use BP_SYM.
53786         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
53787         <bp-sym.h> and <bp-asm.h>.
53788         (memset): Don't use BP_SYM.
53789         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53790         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53791         (__bzero): Don't use BP_SYM.
53792         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53793         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53794         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
53795         <bp-sym.h> and <bp-asm.h>.
53796         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53797         pointers.
53798         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
53799         <bp-sym.h> and <bp-asm.h>.
53800         (memcpy): Don't use BP_SYM.
53801         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
53802         <bp-sym.h> and <bp-asm.h>.
53803         (memset): Don't use BP_SYM.
53804         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53805         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53806         (__bzero): Don't use BP_SYM.
53807         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53808         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53809         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
53810         <bp-sym.h> and <bp-asm.h>.
53811         (__memchr): Don't use BP_SYM.
53812         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
53813         <bp-sym.h> and <bp-asm.h>.
53814         (memcmp): Don't use BP_SYM.  Remove comment about bounded
53815         pointers.
53816         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
53817         <bp-sym.h> and <bp-asm.h>.
53818         (memcpy): Don't use BP_SYM.
53819         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
53820         <bp-sym.h> and <bp-asm.h>.
53821         (__mempcpy): Don't use BP_SYM.
53822         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
53823         <bp-sym.h> and <bp-asm.h>.
53824         (__memrchr): Don't use BP_SYM.
53825         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
53826         <bp-sym.h> and <bp-asm.h>.
53827         (memset): Don't use BP_SYM.
53828         (__bzero): Likewise.
53829         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
53830         <bp-sym.h> and <bp-asm.h>.
53831         (__rawmemchr): Don't use BP_SYM.
53832         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
53833         <bp-sym.h> and <bp-asm.h>.
53834         (__STRCMP): Don't use BP_SYM.
53835         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
53836         <bp-sym.h> and <bp-asm.h>.
53837         (strchr): Don't use BP_SYM.
53838         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
53839         <bp-sym.h> and <bp-asm.h>.
53840         (__strchrnul): Don't use BP_SYM.
53841         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
53842         <bp-sym.h> and <bp-asm.h>.
53843         (strlen): Don't use BP_SYM.
53844         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
53845         <bp-sym.h> and <bp-asm.h>.
53846         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53847         pointers.
53848         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
53849         <bp-sym.h> and <bp-asm.h>.
53850         (__strnlen): Don't use BP_SYM.
53851         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
53852         <bp-sym.h> and <bp-asm.h>.
53853         (__GI__setjmp): Don't use BP_SYM.
53854         (_setjmp): Likewise.
53855         (__sigsetjmp): Likewise.
53856         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
53857         (L(start_addresses)): Don't use BP_SYM.
53858         (_start): Likewise.
53859         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
53860         <bp-asm.h>.
53861         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
53862         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
53863         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53864         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53865         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
53866         <bp-asm.h>.
53867         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
53868         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
53869         about bounded pointers.
53870         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53871         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53872         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
53873         <bp-asm.h>.
53874         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
53875         about bounded pointers.  Remove GKM FIXME comments.
53876         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53877         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
53878         <bp-asm.h>.
53879         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
53880         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
53881         Remove GKM FIXME comments.
53882         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53883         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53884         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
53885         <bp-asm.h>.
53886         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
53887         about bounded pointers.  Remove GKM FIXME comment.
53888         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
53889         and <bp-asm.h>.
53890         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53891         pointers.
53892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
53893         <bp-sym.h> and <bp-asm.h>.
53894         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
53896         <bp-sym.h> and <bp-asm.h>.
53897         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53898         comment.
53900 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
53902         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
53903         call free(NULL).
53905 2013-03-05  David S. Miller  <davem@davemloft.net>
53907         * po/es.po: Update from translation team.
53909 2013-03-05  Andreas Jaeger  <aj@suse.de>
53911         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
53912         <bits/mman-linux.h>.
53913         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53914         is fine.
53915         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
53916         <bits/mman-linux.h> to end of file.
53917         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53918         is fine.
53919         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
53920         <bits/mman-linux.h> to end of file.
53921         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53922         is fine.
53923         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
53924         <bits/mman-linux.h> to end of file.
53926         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
53927         (MCL_CURRENT, MCL_FUTURE): Define here.
53929 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53931         [BZ #15232]
53932         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
53933         attribute_hidden.
53934         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
53936 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53938         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
53939         fourth parameter needed for rt_sigprocmask syscall.
53940         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
53941         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
53942         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
53943         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
53944         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
53945         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
53947 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
53949         [BZ #13550]
53950         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
53951         comment about bounded pointers.
53952         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
53953         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
53955 2013-03-04  Andreas Jaeger  <aj@suse.de>
53957         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
53958         common definitions.
53960         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
53961         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
53962         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
53963         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53964         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53965         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53967 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53969         [BZ #15055]
53970         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
53971         __ieee754_sqrl instead of __sqrl.
53973 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
53975         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
53976         * sysdeps/powerpc/fpu_control.h: ... here.
53977         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
53978         * sysdeps/powerpc/bits/fenvinline.h: ... here.
53979         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
53980         * sysdeps/powerpc/bits/mathinline.h: ... here.
53982 2013-03-01  Roland McGrath  <roland@hack.frob.com>
53984         * elf/dl-hwcaps.c (_dl_important_hwcaps):
53985         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
53986         to just [NEED_DL_SYSINFO_DSO].
53987         * elf/dl-support.c: Likewise.
53988         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
53989         * elf/rtld.c (dl_main): Likewise.
53990         * elf/setup-vdso.h (setup_vdso): Likewise.
53991         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
53992         * sysdeps/unix/sysv/linux/dl-sysdep.c
53993         (_dl_discover_osversion): Likewise.
53995 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
53997         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
53998         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
54000 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
54002         * NEWS: Mention libm performance improvements and non-x86 PI
54003         futex support.
54005         * csu/libc-start.c (__pthread_initialize_minimal): Change
54006         function arguments.
54007         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
54009 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
54011         [BZ #13550]
54012         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
54013         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
54014         <bp-sym.h> and <bp-asm.h>.
54015         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54016         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
54017         and <bp-asm.h>.
54018         (memcpy): Don't use BP_SYM.
54019         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
54020         <bp-asm.h>.
54021         (__mpn_add_n): Don't use BP_SYM.
54022         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
54023         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
54024         and <bp-asm.h>.
54025         (__mpn_addmul_1): Don't use BP_SYM.
54026         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54027         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
54028         <bp-sym.h>.
54029         (_setjmp): Don't use BP_SYM.
54030         (__novmx_setjmp): Likewise.
54031         (__GI__setjmp): Likewise.
54032         (__vmx_setjmp): Likewise.
54033         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
54034         <bp-sym.h>.
54035         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
54036         (__bzero): Don't use BP_SYM.
54037         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54038         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54039         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
54040         <bp-sym.h> and <bp-asm.h>.
54041         (memcpy): Don't use BP_SYM.
54042         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
54043         <bp-sym.h> and <bp-asm.h>.
54044         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54045         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
54046         <bp-sym.h> and <bp-asm.h>.
54047         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54048         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
54049         <bp-asm.h>.
54050         (__mpn_lshift): Don't use BP_SYM.
54051         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54052         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
54053         <bp-asm.h>.
54054         (memset): Don't use BP_SYM.
54055         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54056         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54057         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
54058         <bp-asm.h>.
54059         (__mpn_mul_1): Don't use BP_SYM.
54060         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54061         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
54062         <bp-sym.h> and <bp-asm.h>.
54063         (memcmp): Don't use BP_SYM.
54064         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
54065         <bp-sym.h> and <bp-asm.h>.
54066         (memcpy): Don't use BP_SYM.
54067         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
54068         <bp-sym.h> and <bp-asm.h>.
54069         (memset): Don't use BP_SYM.
54070         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
54071         <bp-sym.h> and <bp-asm.h>.
54072         (strncmp): Don't use BP_SYM.
54073         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
54074         <bp-sym.h> and <bp-asm.h>.
54075         (memcpy): Don't use BP_SYM.
54076         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
54077         <bp-sym.h> and <bp-asm.h>.
54078         (memset): Don't use BP_SYM.
54079         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
54080         <bp-sym.h> and <bp-asm.h>.
54081         (__memchr): Don't use BP_SYM.
54082         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
54083         <bp-sym.h> and <bp-asm.h>.
54084         (memcmp): Don't use BP_SYM.
54085         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
54086         <bp-sym.h> and <bp-asm.h>.
54087         (memcpy): Don't use BP_SYM.
54088         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
54089         <bp-sym.h> and <bp-asm.h>.
54090         (__mempcpy): Don't use BP_SYM.
54091         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
54092         <bp-sym.h> and <bp-asm.h>.
54093         (__memrchr): Don't use BP_SYM.
54094         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
54095         <bp-sym.h> and <bp-asm.h>.
54096         (memset): Don't use BP_SYM.
54097         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
54098         <bp-sym.h> and <bp-asm.h>.
54099         (__rawmemchr): Don't use BP_SYM.
54100         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
54101         <bp-sym.h> and <bp-asm.h>.
54102         (__STRCMP): Don't use BP_SYM.
54103         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
54104         <bp-sym.h> and <bp-asm.h>.
54105         (strchr): Don't use BP_SYM.
54106         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
54107         <bp-sym.h> and <bp-asm.h>.
54108         (__strchrnul): Don't use BP_SYM.
54109         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
54110         <bp-sym.h> and <bp-asm.h>.
54111         (strlen): Don't use BP_SYM.
54112         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
54113         <bp-sym.h> and <bp-asm.h>.
54114         (strncmp): Don't use BP_SYM.
54115         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
54116         <bp-sym.h> and <bp-asm.h>.
54117         (__strnlen): Don't use BP_SYM.
54118         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
54119         <bp-asm.h>.
54120         (__mpn_rshift): Don't use BP_SYM.
54121         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54122         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
54123         <bp-sym.h> and <bp-asm.h>.
54124         (__sigsetjmp): Don't use BP_SYM.
54125         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
54126         (L(start_addresses)): Don't use BP_SYM.
54127         (_start): Likewise.
54128         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
54129         <bp-asm.h>.
54130         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
54131         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54132         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54133         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
54134         <bp-asm.h>.
54135         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
54136         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54137         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54138         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
54139         <bp-asm.h>.
54140         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
54141         comments.
54142         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54143         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
54144         <bp-asm.h>.
54145         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
54146         FIXME comments.
54147         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54148         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54149         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
54150         <bp-asm.h>.
54151         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
54152         comment.
54153         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
54154         and <bp-asm.h>.
54155         (strncmp): Don't use BP_SYM,
54156         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
54157         <bp-asm.h>.
54158         (__mpn_sub_n): Don't use BP_SYM.
54159         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54160         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
54161         and <bp-asm.h>.
54162         (__mpn_submul_1): Don't use BP_SYM.
54163         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
54165         <bp-sym.h> and <bp-asm.h>.
54166         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
54167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
54168         <bp-sym.h> and <bp-asm.h>.
54169         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
54170         comment.
54172 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54174         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
54175         Use ZK to minimize writes to Z.
54176         (sub_magnitudes): Simplify code a bit.
54177         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
54178         Use ZK to minimize writes to Z.
54179         (sub_magnitudes): Simplify code a bit.
54181 2013-02-27  Roland McGrath  <roland@hack.frob.com>
54183         * csu/gmon-start.c: Add special exception to license text.
54185 2013-02-27  Richard Henderson  <rth@redhat.com>
54187         * scripts/config.guess: Update from config.git.
54188         * scripts/config.sub: Likewise.
54190 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54192         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
54194         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
54196         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
54198         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
54200         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
54202 2013-02-26  Roland McGrath  <roland@hack.frob.com>
54204         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
54205         [$(build-shared = yes].
54207 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54209         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
54210         (__mul): Reduce iterations for calculating mantissa.
54212         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
54213         MPTWO.
54214         (__mpranred): Likewise.
54216         [BZ #15160]
54217         * malloc/memusagestat.c (main): Draw graphs for heap and stack
54218         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
54220 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
54222         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
54223         Define __attribute__.
54225 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54227         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
54228         unused.
54229         * posix/regex_internal.h (__attribute): Remove.
54230         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
54231         (re_string_context_at): Likewise.
54232         (bitset_not): Use __attribute__ and mark function as possibly
54233         unused.
54234         (bitset_merge): Likewise.
54235         (bitset_mask): Likewise.
54236         (re_string_char_size_at): Likewise.
54237         (re_string_wchar_at): Likewise.
54238         (re_string_elem_size_at): Likewise.
54240 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54242         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
54243         code.
54244         (cc32): Likewise.
54246         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
54247         (__acr): Likewise.
54248         (__cpy): Likewise.
54249         (norm): Likewise.
54250         (denorm): Likewise.
54251         (__dbl_mp): Likewise.
54252         (add_magnitudes): Likewise.
54253         (sub_magnitudes): Likewise.
54254         (__mul): Likewise.
54255         (__inv): Likewise.
54257         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
54258         style.
54260         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
54261         style.
54263         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
54264         code.
54266         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
54267         up changes with default code.
54268         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
54269         Likewise.
54271 2013-02-24  Allan McRae  <allan@archlinux.org>
54273         * manual/socket.texi (The Internet Namespace): Order menu items
54274         to match that in the file.
54276         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
54277         node listing of the info page menu.
54279 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
54281         [BZ #13550]
54282         * sysdeps/i386/bp-asm.h: Remove file.
54283         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54284         (PARMS): Do not use macros from bp-asm.h.
54285         (S1): Likewise.
54286         (S2): Likewise.
54287         (SIZE): Likewise.
54288         (__mpn_add_n): Do not use BP_SYM
54289         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
54290         "bp-asm.h".
54291         (PARMS): Do not use macros from bp-asm.h.
54292         (S1): Likewise.
54293         (SIZE): Likewise.
54294         (__mpn_addmul_1): Do not use BP_SYM
54295         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
54296         "bp-asm.h".
54297         (PARMS): Do not use macros from bp-asm.h.
54298         (SIGMSK): Likewise.
54299         (_setjmp): Likewise.  Do not use BP_SYM.
54300         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
54301         "bp-asm.h".
54302         (PARMS): Do not use macros from bp-asm.h.
54303         (SIGMSK): Likewise.
54304         (setjmp): Likewise.  Do not use BP_SYM.
54305         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
54306         "bp-asm.h".
54307         (PARMS): Do not use macros from bp-asm.h.
54308         (__frexp): Do not use BP_SYM.
54309         (frexp): Likewise.
54310         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
54311         "bp-asm.h".
54312         (PARMS): Do not use macros from bp-asm.h.
54313         (__frexpf): Do not use BP_SYM.
54314         (frexpf): Likewise.
54315         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
54316         "bp-asm.h".
54317         (PARMS): Do not use macros from bp-asm.h.
54318         (__frexpl): Do not use BP_SYM.
54319         (frexpl): Likewise.
54320         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
54321         "bp-asm.h".
54322         (PARMS): Do not use macros from bp-asm.h.
54323         (__remquo): Do not use BP_SYM.
54324         (remquo): Likewise.
54325         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
54326         "bp-asm.h".
54327         (PARMS): Do not use macros from bp-asm.h.
54328         (__remquof): Do not use BP_SYM.
54329         (remquof): Likewise.
54330         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
54331         "bp-asm.h".
54332         (PARMS): Do not use macros from bp-asm.h.
54333         (__remquol): Do not use BP_SYM.
54334         (remquol): Likewise.
54335         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
54336         "bp-asm.h".
54337         (PARMS): Do not use macros from bp-asm.h.
54338         (DEST): Likewise.
54339         (SRC): Likewise.
54340         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
54341         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
54342         "bp-asm.h".
54343         (PARMS): Do not use macros from bp-asm.h.
54344         (strlen): Do not use BP_SYM.
54345         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
54346         "bp-asm.h".
54347         (PARMS): Do not use macros from bp-asm.h.
54348         (S1): Likewise.
54349         (S2): Likewise.
54350         (SIZE): Likewise.
54351         (__mpn_add_n): Do not use BP_SYM.
54352         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
54353         "bp-asm.h".
54354         (PARMS): Do not use macros from bp-asm.h.
54355         (S1): Likewise.
54356         (SIZE): Likewise.
54357         (__mpn_addmul_1): Do not use BP_SYM.
54358         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
54359         weak_alias.
54360         (bzero): Likewise.
54361         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
54362         "bp-asm.h".
54363         (PARMS): Do not use macros from bp-asm.h.
54364         (S): Likewise.
54365         (SIZE): Likewise.
54366         (__mpn_lshift): Do not use BP_SYM.
54367         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
54368         "bp-asm.h".
54369         (PARMS): Do not use macros from bp-asm.h.
54370         (DEST): Likewise.
54371         (SRC): Likewise.
54372         (LEN): Likewise.
54373         (memcpy): Likewise.  Do not use BP_SYM.
54374         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
54375         libc_hidden_def and weak_alias.
54376         (mempcpy): Do not use BP_SYM in weak_alias.
54377         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
54378         "bp-asm.h".
54379         (PARMS): Do not use macros from bp-asm.h.
54380         (DEST): Likewise.
54381         (LEN): Likewise.
54382         [!BZERO_P] (CHR): Likewise.
54383         (memset): Likewise.  Do not use BP_SYM.
54384         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
54385         "bp-asm.h".
54386         (PARMS): Do not use macros from bp-asm.h.
54387         (S1): Likewise.
54388         (SIZE): Likewise.
54389         (__mpn_mul_1): Do not use BP_SYM.
54390         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
54391         "bp-asm.h".
54392         (PARMS): Do not use macros from bp-asm.h.
54393         (S): Likewise.
54394         (SIZE): Likewise.
54395         (__mpn_rshift): Do not use BP_SYM.
54396         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
54397         "bp-asm.h".
54398         (PARMS): Do not use macros from bp-asm.h.
54399         (STR): Likewise.
54400         (CHR): Likewise.
54401         (strchr): Likewise.  Do not use BP_SYM.
54402         (index): Do not use BP_SYM in weak_alias.
54403         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
54404         "bp-asm.h".
54405         (PARMS): Do not use macros from bp-asm.h.
54406         (DEST): Likewise.
54407         (SRC): Likewise.
54408         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
54409         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
54410         "bp-asm.h".
54411         (PARMS): Do not use macros from bp-asm.h.
54412         (strlen): Do not use BP_SYM.
54413         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
54414         "bp-asm.h".
54415         (PARMS): Do not use macros from bp-asm.h.
54416         (S1): Likewise.
54417         (S2): Likewise.
54418         (SIZE): Likewise.
54419         (__mpn_sub_n): Do not use BP_SYM.
54420         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
54421         "bp-asm.h".
54422         (PARMS): Do not use macros from bp-asm.h.
54423         (S1): Likewise.
54424         (SIZE): Likewise.
54425         (__mpn_submul_1): Do not use BP_SYM.
54426         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
54427         "bp-asm.h".
54428         (PARMS): Do not use macros from bp-asm.h.
54429         (S1): Likewise.
54430         (S2): Likewise.
54431         (SIZE): Likewise.
54432         (__mpn_add_n): Do not use BP_SYM.
54433         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
54434         weak_alias.
54435         (bzero): Likewise.
54436         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
54437         "bp-asm.h".
54438         (PARMS): Do not use macros from bp-asm.h.
54439         (BLK2): Likewise.
54440         (LEN): Likewise.
54441         (memcmp): Do not use BP_SYM.
54442         (bcmp): Do not use BP_SYM in weak_alias.
54443         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
54444         "bp-asm.h".
54445         (PARMS): Do not use macros from bp-asm.h.
54446         (DEST): Likewise.
54447         (SRC): Likewise.
54448         (LEN): Likewise.
54449         (memcpy): Likewise.  Do not use BP_SYM.
54450         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
54451         "bp-asm.h".
54452         (PARMS): Do not use macros from bp-asm.h.
54453         (DEST): Likewise.
54454         (SRC): Likewise.
54455         (LEN): Likewise.
54456         (memmove): Likewise.  Do not use BP_SYM.
54457         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
54458         "bp-asm.h".
54459         (PARMS): Do not use macros from bp-asm.h.
54460         (DEST): Likewise.
54461         (SRC): Likewise.
54462         (LEN): Likewise.
54463         (__mempcpy): Likewise.  Do not use BP_SYM.
54464         (mempcpy): Do not use BP_SYM in weak_alias.
54465         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
54466         "bp-asm.h".
54467         (PARMS): Do not use macros from bp-asm.h.
54468         (DEST): Likewise.
54469         (LEN): Likewise.
54470         [!BZERO_P] (CHR): Likewise.
54471         (memset): Likewise.  Do not use BP_SYM.
54472         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
54473         "bp-asm.h".
54474         (PARMS): Do not use macros from bp-asm.h.
54475         (STR2): Likewise.
54476         (strcmp): Do not use BP_SYM.
54477         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
54478         "bp-asm.h".
54479         (PARMS): Do not use macros from bp-asm.h.
54480         (STR): Likewise.
54481         (DELIM): Likewise.
54482         [USE_AS_STRTOK_R] (SAVE): Likewise.
54483         (FUNCTION): Likewise.  Do not use BP_SYM.
54484         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
54485         aliases.
54486         (strtok_r): Likewise.
54487         (__GI___strtok_r): Likewise.
54488         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54489         (PARMS): Do not use macros from bp-asm.h.
54490         (S): Likewise.
54491         (SIZE): Likewise.
54492         (__mpn_lshift): Do not use BP_SYM.
54493         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54494         (PARMS): Do not use macros from bp-asm.h.
54495         (STR): Likewise.
54496         (CHR): Likewise.
54497         (__memchr): Do not use BP_SYM.
54498         (memchr): Do not use BP_SYM in weak_alias.
54499         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54500         (PARMS): Do not use macros from bp-asm.h.
54501         (BLK2): Likewise.
54502         (LEN): Likewise.
54503         (memcmp): Do not use BP_SYM.
54504         (bcmp): Do not use BP_SYM in weak_alias.
54505         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
54506         (PARMS): Do not use macros from bp-asm.h.
54507         (S1): Likewise.
54508         (SIZE): Likewise.
54509         (__mpn_mul_1): Do not use BP_SYM.
54510         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
54511         "bp-asm.h".
54512         (PARMS): Do not use macros from bp-asm.h.
54513         (STR): Likewise.
54514         (CHR): Likewise.
54515         (__rawmemchr): Do not use BP_SYM.
54516         (rawmemchr): Do not use BP_SYM in weak_alias.
54517         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54518         (PARMS): Do not use macros from bp-asm.h.
54519         (S): Likewise.
54520         (SIZE): Likewise.
54521         (__mpn_rshift): Do not use BP_SYM.
54522         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54523         (PARMS): Do not use macros from bp-asm.h.
54524         (SIGMSK): Likewise.
54525         (__sigsetjmp): Likewise.  Do not use BP_SYM.
54526         * sysdeps/i386/start.S: Do not include "bp-sym.h".
54527         (_start): Do not use BP_SYM.
54528         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
54529         (PARMS): Do not use macros from bp-asm.h.
54530         (DEST): Likewise.
54531         (SRC): Likewise.
54532         (__stpcpy): Likewise.  Do not use BP_SYM.
54533         (stpcpy): Do not use BP_SYM in weak_alias.
54534         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
54535         "bp-asm.h".
54536         (PARMS): Do not use macros from bp-asm.h.
54537         (DEST): Likewise.
54538         (SRC): Likewise.
54539         (LEN): Likewise.
54540         (__stpncpy): Likewise.  Do not use BP_SYM.
54541         (stpncpy): Do not use BP_SYM in weak_alias.
54542         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54543         (PARMS): Do not use macros from bp-asm.h.
54544         (STR): Likewise.
54545         (CHR): Likewise.
54546         (strchr): Likewise.  Do not use BP_SYM.
54547         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
54548         "bp-asm.h".
54549         (PARMS): Do not use macros from bp-asm.h.
54550         (STR): Likewise.
54551         (CHR): Likewise.
54552         (__strchrnul): Likewise.  Do not use BP_SYM.
54553         (strchrnul): Do not use BP_SYM in weak_alias.
54554         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
54555         "bp-asm.h".
54556         (PARMS): Do not use macros from bp-asm.h.
54557         (STOP): Likewise.
54558         (strcspn): Do not use BP_SYM.
54559         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
54560         "bp-asm.h".
54561         (PARMS): Do not use macros from bp-asm.h.
54562         (STR): Likewise.
54563         (STOP): Likewise.
54564         (strpbrk): Likewise.  Do not use BP_SYM.
54565         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
54566         "bp-asm.h".
54567         (PARMS): Do not use macros from bp-asm.h.
54568         (STR): Likewise.
54569         (CHR): Likewise.
54570         (strrchr): Likewise.  Do not use BP_SYM.
54571         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
54572         (PARMS): Do not use macros from bp-asm.h.
54573         (SKIP): Likewise.
54574         (strspn): Do not use BP_SYM.
54575         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
54576         (PARMS): Do not use macros from bp-asm.h.
54577         (STR): Likewise.
54578         (DELIM): Likewise.
54579         (SAVE): Likewise.
54580         (FUNCTION): Likewise.  Do not use BP_SYM.
54581         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
54582         aliases.
54583         (strtok_r): Likewise.
54584         (__GI___strtok_r): Likewise.
54585         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54586         (PARMS): Do not use macros from bp-asm.h.
54587         (S1): Likewise.
54588         (S2): Likewise.
54589         (SIZE): Likewise.
54590         (__mpn_sub_n): Do not use BP_SYM.
54591         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
54592         "bp-asm.h".
54593         (PARMS): Do not use macros from bp-asm.h.
54594         (S1): Likewise.
54595         (SIZE): Likewise.
54596         (__mpn_submul_1): Do not use BP_SYM.
54597         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
54598         <bp-sym.h>.
54599         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
54600         and <bp-asm.h>.
54601         (PARMS): Do not use macros from bp-asm.h.
54602         (FLAGS): Likewise.
54603         (PTID): Likewise.
54604         (TLS): Likewise.
54605         (CTID): Likewise.
54606         (__clone): Do not use BP_SYM.
54607         (clone): Do not use BP_SYM in weak_alias.
54608         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
54609         and <bp-asm.h>.
54610         (PARMS): Do not use macros from bp-asm.h.
54611         (LEN): Likewise.
54612         (__mmap64): Do not use BP_SYM.
54613         (mmap64): Do not use BP_SYM in weak_alias.
54614         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54615         <bp-sym.h> and <bp-asm.h>.
54616         (PARMS): Do not use macros from bp-asm.h.
54617         (__posix_fadvise64_l64): Do not use BP_SYM.
54618         * sysdeps/unix/sysv/linux/i386/semtimedop.S
54619         (PARMS): Do not use macros from bp-asm.h.
54620         (NSOPS): Likewise.
54621         (semtimedop): Do not use BP_SYM.
54622         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
54623         and <bp-asm.h>.
54625 2013-02-21  Allan McRae  <allan@archlinux.org>
54627         * manual/message.texi (Charset conversion in gettext):
54628         Move @end statement to beginning of line.
54630 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54632         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
54633         static.
54634         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
54635         Likewise.
54637         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
54638         (denorm): Likewise.
54639         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
54640         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
54642 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54644         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
54645         tail-call to the resolved function if pltexit isn't needed.
54647 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54649         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
54650         or Y being zero as being unlikely.
54651         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
54652         Likewise.
54654 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
54656         * manual/nss.texi (System Databases and Name Service Switch):
54657         Remove frobnicate @pxref.
54659 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
54661         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
54662         __attribute__ ((unused)) to __attribute__ ((__unused__)).
54664 2013-02-20  Petr Machata  <pmachata@redhat.com>
54666         * elf/elf.h (R_ARM_TARGET1): New macro.
54667         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
54668         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
54669         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
54670         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
54671         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
54672         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
54673         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
54674         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
54675         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
54676         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
54677         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
54678         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
54679         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
54680         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
54681         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
54682         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
54683         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
54684         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
54685         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
54686         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
54687         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
54688         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
54689         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
54690         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
54691         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
54692         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
54693         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
54694         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
54695         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
54696         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
54697         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
54698         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
54699         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
54700         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
54701         (R_ARM_THM_GOT_BREL12): Likewise.
54702         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
54703         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
54704         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
54705         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
54706         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
54707         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
54708         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
54709         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
54710         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
54712 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
54714         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
54715         __attribute_used__ to __attribute__ ((unused)).
54717 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54719         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
54720         powerpc mpa.c.
54721         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
54722         comment formatting.
54723         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
54725 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
54727         [BZ #13550]
54728         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
54729         Remove macro.
54730         (ENTER): Remove both macro definitions.
54731         (LEAVE): Likewise.
54732         (CHECK_BOUNDS_LOW): Likewise.
54733         (CHECK_BOUNDS_HIGH): Likewise.
54734         (CHECK_BOUNDS_BOTH): Likewise.
54735         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
54736         (RETURN_BOUNDED_POINTER): Likewise.
54737         (RETURN_NULL_BOUNDED_POINTER): Likewise.
54738         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
54739         (POP_ERRNO_LOCATION_RETURN): Likewise.
54740         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
54741         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54742         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
54743         macros.
54744         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54745         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
54746         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
54747         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
54748         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
54749         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
54750         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
54751         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
54752         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
54753         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
54754         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
54755         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
54756         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54757         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
54758         removed macros.
54759         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54760         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
54761         macros.
54762         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54763         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
54764         * sysdeps/i386/i586/memset.S (memset): Likewise.
54765         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
54766         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54767         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
54768         macros.
54769         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54770         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
54771         Change uses of L(2) to L(out).
54772         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
54773         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
54774         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
54775         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54776         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
54777         removed macros.
54778         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54779         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
54780         macros.
54781         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54782         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
54783         (RETURN): Do not use macro LEAVE.
54784         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
54785         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
54786         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
54787         * sysdeps/i386/i686/memset.S (memset): Likewise.
54788         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
54789         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
54790         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54791         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
54792         Likewise.
54793         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54794         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
54795         L(1_2) and L(1_3) into L(1).
54796         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
54797         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
54798         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54799         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
54800         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54801         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
54802         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
54803         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54804         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
54805         macros.
54806         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
54807         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54808         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
54809         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
54810         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
54811         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54812         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
54813         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
54814         * sysdeps/i386/strcspn.S (strcspn): Likewise.
54815         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
54816         * sysdeps/i386/strrchr.S (strrchr): Likewise.
54817         * sysdeps/i386/strspn.S (strspn): Likewise.
54818         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
54819         conditional code.
54820         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54821         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
54822         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
54823         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
54824         L(1_3) into L(1_1).
54825         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
54826         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54827         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
54828         macros.
54829         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54831 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
54833         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
54834         macro.
54836 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54838         * math/atest-exp.c (exp_mpn): Remove ROUND.
54839         * math/atest-exp2.c (exp_mpn): Likewise.
54840         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
54842         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
54843         * stdlib/tst-tls-atexit-lib.c: Likewise.
54844         * stdlib/tst-tls-atexit.c: Likewise.
54846 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54848         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
54849         and __attribute_alloc_size__.
54851 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54853         * include/programs/xmalloc.h: Change __attribute_alloc_size to
54854         __attribute_alloc_size__.
54855         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
54856         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
54858 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54860         * include/programs/xmalloc.h: New file.
54861         * catgets/gencat.c: Include it.
54862         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
54863         * elf/pldd.c: Likewise.
54864         * iconv/iconv_charmap.c: Likewise.
54865         * iconv/iconvconfig.c: Likewise.
54866         * iconv/strtab.c: Likewise.
54867         * locale/programs/locale.c: Likewise.
54868         * locale/programs/localedef.h: Likewise.
54869         * locale/programs/simple-hash.c: Likewise.
54870         * nscd/nscd.h: Likewise.
54871         * nss/makedb.c: Likewise.
54872         * sysdeps/generic/ldconfig.h: Likewise.
54874 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54876         * Versions.def: Add GLIBC_2.18.
54877         * include/link.h (struct link_map): New member l_tls_dtor_count.
54878         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
54879         (__call_tls_dtors): Likewise.
54880         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
54881         __cxa_thread_atexit_impl.
54882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54883         Likewise.
54884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54885         Likewise.
54886         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54887         Likewise.
54888         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54889         Likewise.
54890         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54891         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
54892         Likewise.
54893         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
54894         Likewise.
54895         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54896         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
54897         Likewise.
54898         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
54899         (tests): Add test case tst-tls-atexit.
54900         (modules-names): Add shared library for tst-tls-atexit.
54901         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
54902         (GLIBC_PRIVATE): Add __call_tls_dtors.
54903         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
54904         for libstdc++.
54905         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
54906         * stdlib/tst-tls-atexit.c: New test case.
54907         * stdlib/tst-tls-atexit-lib.c: New test case.
54909         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
54911         * elf/Versions (ld): Add _dl_find_dso_for_object.
54912         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
54913         * elf/dl-open.c (_dl_find_dso_for_object): New function.
54914         (dl_open_worker): Use _dl_find_dso_for_object.
54915         * elf/dl-sym.c (do_sym): Likewise.
54916         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
54918 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54920         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
54921         Syntactic changes only.
54922         (_dl_runtime_profile): Do a tail-call to the resolved function.
54924 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
54926         [BZ #13550]
54927         * sysdeps/x86_64/bp-asm.h: Remove file.
54928         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
54929         <bp-sym.h> and <bp-asm.h>.
54930         (__clone): Do not use BP_SYM.
54931         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
54932         <bp-sym.h> and <bp-asm.h>.
54933         * sysdeps/unix/x86_64/sysdep.S: Likewise.
54934         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
54935         "bp-asm.h".
54936         (_setjmp): Do not use BP_SYM.
54937         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
54938         "bp-asm.h".
54939         (setjmp): Do not use BP_SYM.
54940         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
54941         libc_hidden_def.
54942         (mempcpy): Do not use BP_SYM in weak_alias.
54943         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
54944         "bp-asm.h".
54945         (strchr): Do not use BP_SYM.
54946         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
54947         "bp-asm.h".
54948         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
54949         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
54950         (_start): Do not use BP_SYM.
54951         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
54952         "bp-asm.h".
54953         (strcat): Do not use BP_SYM.
54954         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
54955         "bp-asm.h".
54956         (STRCMP): Do not use BP_SYM.
54957         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
54958         "bp-asm.h".
54959         (STRCPY): Do not use BP_SYM.
54960         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
54961         "bp-asm.h".
54962         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
54963         "bp-asm.h".
54964         (FUNCTION): Do not use BP_SYM.
54965         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
54966         weak_alias.
54967         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
54969 2013-02-17  Andreas Jaeger  <aj@suse.de>
54971         * time/Versions: Sort entries.
54972         * string/Versions: Likewise.
54973         * resolv/Versions: Likewise.
54974         * posix/Versions: Likewise.
54975         * iconv/Versions: Likewise.
54976         * elf/Versions: Likewise.
54977         * wcsmbs/Versions: Likewise.
54979 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54981         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
54982         loop termination condition.
54984         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
54985         variable to calculate EZ.
54986         (__sqr): Likewise.
54988         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
54989         the lower precision input.
54991 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
54993         [BZ #13550]
54994         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
54995         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
54996         (run-via-rtld-prefix): Do not handle %-bp tests.
54997         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
54998         (all-object-suffixes): Remove .ob.
54999         (bppfx): Remove variable.
55000         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
55001         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
55002         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
55003         [$(build-bounded) = yes] (libtype.ob): Likewise.
55004         * Makerules (elide-routines.ob): Remove variable.
55005         (do-tests-clean): Do not handle *-bp.out.
55006         (common-mostlyclean): Do not handle *-bp and *-bp.out.
55007         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
55008         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
55009         (tests): Do not include $(tests-bp.out).
55010         (xtests): Do not include $(xtests-bp.out).
55011         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
55012         [$(build-bounded) = yes] ($(addprefix
55013         $(objpfx),$(binaries-bounded))): Remove rule.
55014         ($(objpfx)%-bp.out): Remove rule.
55015         * config.make.in (build-bounded): Remove variable.
55016         * crypt/Makefile [$(build-bounded) = yes]
55017         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
55018         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
55019         append to variable.
55020         [$(build-bounded) = yes] (install-lib): Likewise.
55021         [$(build-bounded) = yes] (generated): Likewise.
55022         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
55023         Remove rule.
55024         * intl/Makefile [$(build-bounded) = yes]
55025         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
55026         * math/Makefile [$(build-bounded) = yes]
55027         ($(tests:%=$(objpfx)%-bp): Likewise.
55028         * misc/Makefile [$(build-bounded) = yes]
55029         ($(objpfx)tst-tsearch-bp): Likewise.
55030         * nptl/Makeconfig (bounded-thread-library): Remove variable.
55031         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
55032         Remove dependency.
55033         * string/Makefile (o-objects.ob): Remove variable.
55034         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
55035         (CFLAGS-.ob): Remove variable.
55036         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
55037         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
55038         both definitions of variable.
55039         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
55040         (ASFLAGS-.ob): Remove variable.
55042 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
55044         [BZ #13550]
55045         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
55046         Remove __BOUNDED_POINTERS__ from condition.
55047         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
55048         * string/bits/string2.h [!__NO_STRING_INLINES &&
55049         !__BOUNDED_POINTERS__]: Likewise.
55050         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
55051         Likewise.
55052         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
55053         Remove conditional code.
55054         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
55055         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
55056         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
55057         condition.
55059         [BZ #13550]
55060         * csu/libc-start.c: Do not include <bp-sym.h>.
55061         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
55062         * elf/dl-open.c: Do not include <bp-sym.h>.
55063         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
55064         * math/fegetenv.c: Do not include <bp-sym.h>.
55065         (fegetenv): Do not use BP_SYM in versioned symbols.
55066         * nptl/sysdeps/pthread/bits/libc-lockP.h
55067         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
55068         <bp-sym.h>.
55069         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55070         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
55071         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55072         (__pthread_mutex_destroy): Likewise.
55073         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55074         (__pthread_mutex_lock): Likewise.
55075         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55076         (__pthread_mutex_trylock): Likewise.
55077         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55078         (__pthread_mutex_unlock): Likewise.
55079         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55080         (__pthread_mutexattr_init): Likewise.
55081         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55082         (__pthread_mutexattr_destroy): Likewise.
55083         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55084         (__pthread_mutexattr_settype): Likewise.
55085         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55086         (__pthread_rwlock_init): Likewise.
55087         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55088         (__pthread_rwlock_destroy): Likewise.
55089         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55090         (__pthread_rwlock_rdlock): Likewise.
55091         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55092         (__pthread_rwlock_tryrdlock): Likewise.
55093         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55094         (__pthread_rwlock_wrlock): Likewise.
55095         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55096         (__pthread_rwlock_trywrlock): Likewise.
55097         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55098         (__pthread_rwlock_unlock): Likewise.
55099         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55100         (__pthread_key_create): Likewise.
55101         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55102         (__pthread_setspecific): Likewise.
55103         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55104         (__pthread_getspecific): Likewise.
55105         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
55106         Likewise.
55107         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55108         (_pthread_cleanup_push_defer): Likewise.
55109         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55110         (_pthread_cleanup_pop_restore): Likewise.
55111         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55112         (pthread_setcancelstate): Likewise.
55113         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
55114         <bp-sym.h>.
55115         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
55116         (memchr): Do not use BP_SYM in weak_alias.
55117         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
55118         (fegetenv): Do not use BP_SYM in versioned symbols.
55119         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
55120         (fesetenv): Do not use BP_SYM in versioned symbols.
55121         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
55122         (feupdateenv): Do not use BP_SYM in versioned symbols.
55123         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
55124         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
55125         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
55126         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
55127         (open64): Do not use BP_SYM in weak_alias.
55128         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
55129         (fegetenv): Do not use BP_SYM in versioned symbols.
55130         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
55131         (fesetenv): Do not use BP_SYM in versioned symbols.
55132         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
55133         (feupdateenv): Do not use BP_SYM in versioned symbols.
55134         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
55135         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
55136         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
55137         (feraiseexcept): Do not use BP_SYM in versioned symbols.
55138         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
55139         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
55140         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
55141         <bp-sym.h>.
55142         (__libc_start_main): Do not use BP_SYM.
55144 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55146         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
55147         redundant return line.
55148         (norm): Likewise.
55149         (denorm): Likewise.
55150         (dbl_mp): Likewise.
55151         (sub_magnitudes): Likewise.
55152         (__add): Likewise.
55153         (__sub): Likewise.
55154         (__mul): Likewise.
55155         (__inv): Likewise.
55156         (__dvd): Likewise.
55157         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
55158         (norm): Likewise.
55159         (denorm): Likewise.
55160         (dbl_mp): Likewise.
55161         (sub_magnitudes): Likewise.
55162         (__add): Likewise.
55163         (__sub): Likewise.
55164         (__mul): Likewise.
55165         (__inv): Likewise.
55166         (__dvd): Likewise.
55168         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
55169         instead of __mul.
55170         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55171         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
55172         (cc32): Likewise.
55174         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
55175         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
55176         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
55177         of __mul for squares.
55178         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
55179         function
55180         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
55181         Likewise.
55182         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
55183         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55185 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
55187         [BZ #13550]
55188         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
55189         code.
55190         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
55191         prototype or function definition.  Rename ubp_* variables and
55192         parameters.  Remove argv definitions conditional on
55193         [__BOUNDED_POINTERS__].
55194         * debug/backtrace.c (__backtrace): Do not use __unbounded.
55195         * elf/dl-runtime.c (_dl_fixup): Likewise.
55196         * include/set-hooks.h (RUN_HOOK): Likewise.
55197         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
55198         definition.
55199         * string/strcpy.c (strcpy): Do not use __unbounded.
55200         * sysdeps/generic/frame.h (struct layout): Likewise.
55201         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
55202         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
55203         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
55204         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
55205         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
55206         (__backtrace): Likewise.
55207         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
55208         use __ptrvalue.
55209         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
55210         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
55211         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
55212         Likewise.
55213         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
55214         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
55215         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
55216         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
55217         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
55218         Do not use __unbounded.
55219         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
55220         Rename __unboundedrlimits parameter to rlimits in prototype.
55221         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
55222         Do not use __unbounded.
55223         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
55224         not use __ptrvalue.
55225         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
55226         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
55227         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
55228         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
55229         __ptrvalue or __unbounded.
55230         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
55231         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
55232         use __unbounded.
55233         (__new_msgctl): Do not use __ptrvalue.
55234         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
55235         __unbounded.
55236         (__libc_msgrcv): Do not use __ptrvalue.
55237         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
55238         startup_info): Do not use __unbounded.
55239         (__libc_start_main): Likewise.  Rename ubp_* variables and
55240         parameters.  Remove argv definitions conditional on
55241         [__BOUNDED_POINTERS__].
55242         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
55243         __ptrvalue.
55244         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
55245         use __unbounded.
55246         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
55247         or __ptrvalue.
55248         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
55249         use __unbounded.
55250         (__new_shmctl): Do not use __ptrvalue.
55251         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
55252         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
55253         Likewise.
55254         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
55255         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
55256         (__libc_sigaction): Likewise.
55257         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
55258         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
55259         Likewise.
55260         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
55262 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
55264         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
55266         * string/mempcpy.c: Implement by calling memcpy.
55268 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
55270         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
55272         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
55273         evaluation.
55275         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
55276         values in the mantissa.
55278         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
55279         minimize writes to Z.
55280         (sub_magnitudes): Simplify code a bit.
55282 2013-02-12  Roland McGrath  <roland@hack.frob.com>
55284         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
55285         from the message.  The linker prefixes all warnings with that already.
55287 2013-02-12  Andreas Schwab  <schwab@suse.de>
55289         [BZ #15078]
55290         * posix/regexec.c (extend_buffers): Add parameter min_len.
55291         (check_matching): Pass minimum needed length.
55292         (clean_state_log_if_needed): Likewise.
55293         (get_subexp): Likewise.
55294         * posix/Makefile (tests): Add bug-regex34.
55295         (bug-regex34-ENV): Define.
55296         * posix/bug-regex34.c: New file.
55298         [BZ #11561]
55299         * posix/regcomp.c (parse_bracket_exp): When looking up collating
55300         elements compare against the byte sequence of it, not its name.
55301         * posix/Makefile (tests): Add bug-regex35.
55302         (bug-regex35-ENV): Define.
55303         * posix/bug-regex35.c: New file.
55305 2013-02-11  Tom de Vries  <tom@codesourcery.com>
55307         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
55308         comment.
55309         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
55310         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
55311         (CHECK_EOL): Add undef.
55313 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
55315         * bits/stdlib-bsearch.h: New file.
55316         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
55317         * stdlib/stdlib.h: Likewise.
55319 2013-02-11  Roland McGrath  <roland@hack.frob.com>
55321         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
55322         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
55323         declaration.
55324         * manual/search.texi (Array Search Function): Add missing const in
55325         lfind prototype.
55326         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
55327         declaration to use rlim_t.
55328         (Basic Scheduling Functions): Remove erroneous const from
55329         sched_getparam prototype.  Remove erroneous * from
55330         sched_get_priority_max and sched_get_priority_min prototypes.
55331         (Resource Usage): Fix summary @comment on vtimes to refer to
55332         sys/vtimes.h rather than vtimes.h.
55333         Add missing *s in vtimes prototype.
55334         (Limits on Resources): Fix ulimit prototype to return long int.
55335         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
55336         prototypes to use long int rather than double.
55337         (BSD Random): Fix initstate and setstate to use char *, not void *.
55338         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
55339         prototype to make second argument 'struct aiocb64 *const[]'.
55340         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
55341         (Status of AIO Operations): Remove erroneous const in aio_return and
55342         aio_return64 prototypes.
55343         (Synchronizing I/O): Fix sync prototype to return void.
55344         * manual/startup.texi (Suboptions): Remove an erroneous const in
55345         getsubopt prototype.
55346         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
55347         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
55348         use size_t rather than int.
55349         (Scanning All Users): Likewise for getpwent_r.
55350         (Setting Groups): Add missing const to setgroups prototype.
55351         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
55352         * manual/socket.texi (Host Names): Fix gethostbyaddr and
55353         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
55354         'const void *' rather than 'const char *'.
55355         (Host Address Functions): Likewise for inet_ntop.
55356         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
55357         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
55358         ssize_t for return value.
55359         (Sending Data): Likewise for send, sendto, sendmsg.
55360         (Socket Option Functions): Add a missing const in setsockopt prototype.
55361         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
55362         use wchar_t for the argument.
55363         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
55364         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
55365         take no arguments.
55366         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
55367         double/float/long double for second argument.
55368         Fix return types of significand, significandf, significandl.
55369         * manual/filesys.texi (Setting Permissions): Use mode_t for second
55370         argument in fchmod prototype.
55371         (File Owner): Use uid_t and gid_t in fchown prototype.
55372         (File Times): Add const to utimes, futimes, and lutimes prototypes.
55373         (Making Special Files): Use mode_t and dev_t in mknod prototype.
55374         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
55375         use 'const struct dirent **' as argument types to CMP function pointer
55376         argument.
55377         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
55378         (File Times): Fix summary magic @comment for struct utimbuf and utime
55379         to refer to utime.h, not time.h.
55380         * manual/string.texi (Argz Functions): Add missing const in
55381         argz_extract and argz_next prototypes.
55382         (Finding Tokens in a String): Likewise for basename.
55383         (String/Array Comparison): Fix typo in wcscasecmp prototype.
55384         (Copying and Concatenation): Fix typo in wmemmove prototype.
55385         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
55386         (Signal Stack): Remove erroneous const in sigstack prototype.
55387         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
55388         prototype.
55389         (Simple Calendar Time): Likewise for stime.
55390         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
55391         prototype.
55392         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
55393         say sys/sysctl.h instead.
55394         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
55395         and vsyslog prototypes.
55397 2013-02-11  Tom de Vries  <tom@codesourcery.com>
55399         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
55400         Remove.
55402 2013-02-11  Roland McGrath  <roland@hack.frob.com>
55404         * misc/sys/mman.h: Fix typo in mremap comment.
55406 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55408         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
55409         the '\0' terminator.
55411 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55413         [BZ #13550]
55414         * debug/segfault.c: Don't include <bp-checks.h>.
55415         * sysdeps/generic/bp-checks.h: Remove file.
55416         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
55417         (__GETDENTS): Don't use CHECK_N.
55418         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
55419         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
55420         (__getgroups): Don't use CHECK_N.
55421         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
55422         (setgroups): Don't use CHECK_N.
55423         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
55424         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
55425         (__libc_msgrcv): Don't use CHECK_N.
55426         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
55427         (__libc_msgsnd): Don't use CHECK_N.
55428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
55429         <bp-checks.h>.
55430         (__libc_pread): Don't use CHECK_N.
55431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
55432         include <bp-checks.h>.
55433         (__libc_pread64): Don't use CHECK_N.
55434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
55435         include <bp-checks.h>.
55436         (__libc_pwrite): Don't use CHECK_N.
55437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
55438         include <bp-checks.h>.
55439         (__libc_pwrite64): Don't use CHECK_N.
55440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
55441         <bp-checks.h>.
55442         (__libc_pread): Don't use CHECK_N.
55443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
55444         include <bp-checks.h>.
55445         (__libc_pread64): Don't use CHECK_N.
55446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
55447         include <bp-checks.h>.
55448         (__libc_pwrite): Don't use CHECK_N.
55449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
55450         include <bp-checks.h>.
55451         (__libc_pwrite64): Don't use CHECK_N.
55452         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
55453         (do_pread): Don't use CHECK_N.
55454         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
55455         (do_pread64): Don't use CHECK_N.
55456         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
55457         (do_pwrite): Don't use CHECK_N.
55458         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
55459         (do_pwrite64): Don't use CHECK_N.
55460         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
55461         (__libc_readv): Don't use CHECK_N.
55462         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
55463         (semop): Don't use CHECK_N.
55464         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
55465         <bp-checks.h>.
55466         (semtimedop): Don't use CHECK_N.
55467         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
55468         (__libc_pread): Don't use CHECK_N.
55469         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
55470         <bp-checks.h>.
55471         (__libc_pread64): Don't use CHECK_N.
55472         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
55473         <bp-checks.h>.
55474         (__libc_pwrite): Don't use CHECK_N.
55475         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
55476         <bp-checks.h>.
55477         (__libc_pwrite64): Don't use CHECK_N.
55478         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
55479         <bp-checks.h>.
55480         (__libc_msgrcv): Don't use CHECK_N.
55481         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
55482         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
55483         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
55484         (__libc_writev): Don't use CHECK_N.
55486 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55488         * string/strcpy.c: Removed unused variable.
55490         * Makeconfig (+sysdep-includes): Define with := rather than =.
55491         Use an existing include/ subdir of each sysdeps dir before it.
55493 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55495         * nscd/connection.c (register_traced_file): Comment function.
55496         [HAVE_INOTIFY] (union __inev): Define.
55497         [HAVE_INOTIFY] (inotify_check_files): New function.
55498         [HAVE_INOTIFY] (clear_db_cache): Likewise.
55499         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
55500         clear_db_cache.
55501         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
55503 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55505         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
55506         loaded if not already and that a failure is permanent.
55508 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55510         [BZ #15006]
55511         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
55512         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
55514 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55516         [BZ #13550]
55517         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
55518         (CHECK_1_NULL_OK): Likewise.
55519         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
55520         (__fxstat): Do not use CHECK_1.
55521         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
55522         <bp-checks.h>.
55523         (___fxstat64): Do not use CHECK_1.
55524         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
55525         <bp-checks.h>.
55526         (__fxstatat): Do not use CHECK_1.
55527         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
55528         <bp-checks.h>.
55529         (__fxstatat64): Do not use CHECK_1.
55530         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
55531         <bp-checks.h>.
55532         (__fxstat): Do not use CHECK_1.
55533         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
55534         <bp-checks.h>.
55535         (__fxstatat): Do not use CHECK_1.
55536         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
55537         <bp-checks.h>.
55538         (__getresgid): Do not use CHECK_1.
55539         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
55540         <bp-checks.h>.
55541         (__getresuid): Do not use CHECK_1.
55542         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
55543         <bp-checks.h>.
55544         (__lxstat): Do not use CHECK_1.
55545         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
55546         <bp-checks.h>.
55547         (__old_msgctl): Do not use CHECK_1.
55548         (__new_msgctl): Likewise.
55549         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
55550         <bp-checks.h>.
55551         (__new_setrlimit): Do not use CHECK_1.
55552         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
55553         <bp-checks.h>.
55554         (__old_shmctl): Do not use CHECK_1.
55555         (__new_shmctl): Likewise.
55556         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
55557         <bp-checks.h>.
55558         (__xstat): Do not use CHECK_1.
55559         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
55560         (__lxstat): Do not use CHECK_1.
55561         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
55562         <bp-checks.h>.
55563         (___lxstat64): Do not use CHECK_1.
55564         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
55565         (__old_msgctl): Do not use CHECK_1.
55566         (__new_msgctl): Likewise.
55567         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
55568         <bp-checks.h>.
55569         (__gettimeofday): Do not use CHECK_1.
55570         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
55571         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
55572         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
55573         <bp-checks.h>.
55574         (__gettimeofday): Do not use CHECK_1.
55575         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
55576         (__old_shmctl): Do not use CHECK_1_NULL_OK.
55577         (__new_shmctl): Do not use CHECK_1.
55578         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
55579         <bp-checks.h>.
55580         (do_sigtimedwait): Do not use CHECK_1.
55581         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
55582         <bp-checks.h>.
55583         (do_sigwaitinfo): Do not use CHECK_1.
55584         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
55585         <bp-checks.h>.
55586         (msgctl): Do not use CHECK_1.
55587         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
55588         <bp-checks.h>.
55589         (shmctl): Do not use CHECK_1.
55590         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
55591         (ustat): Do not use CHECK_1.
55592         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
55593         <bp-checks.h>.
55594         (__fxstat): Do not use CHECK_1.
55595         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
55596         <bp-checks.h>.
55597         (__fxstatat): Do not use CHECK_1.
55598         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
55599         <bp-checks.h>.
55600         (__lxstat): Do not use CHECK_1.
55601         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
55602         <bp-checks.h>.
55603         (__xstat): Do not use CHECK_1.
55604         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
55605         (__xstat): Do not use CHECK_1.
55606         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
55607         (___xstat64): Do not use CHECK_1.
55609         [BZ #13550]
55610         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
55611         definitions.
55612         (CHECK_BOUNDS_HIGH): Likewise.
55613         * string/strcpy.c: Do not include <bp-checks.h>.
55614         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
55616 2013-02-07  Roland McGrath  <roland@hack.frob.com>
55618         * nscd/nscd-client.h (__nscd_drop_map_ref):
55619         Add __attribute__ ((unused)).
55620         * nis/nss-nisplus.h (niserr2nss): Likewise.
55622         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
55623         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
55625         * csu/libc-tls.c (init_static_tls, init_slotinfo):
55626         Remove inline keyword.
55627         * include/rounding-mode.h (round_away): Likewise.
55628         * libio/wfileops.c (adjust_wide_data): Likewise.
55629         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
55630         (__m128i_strloadu_tolower): Likewise.
55631         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
55632         (__m128i_strloadu_tolower): Likewise.
55633         * time/mktime.c (ydhms_diff): Likewise.
55634         * locale/elem-hash.h (elem_hash): Likewise.
55635         * locale/setlocale.c (setdata): Likewise.
55636         * posix/regex_internal.h (re_string_char_size_at): Likewise.
55637         (re_string_wchar_at): Likewise.
55638         (bitset_not, bitset_merge, bitset_mask): Likewise.
55639         [!(__GNUC__ > 3)] (inline): Remove macro.
55640         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
55641         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
55642         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
55643         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
55644         * string/memcmp.c (memcmp_bytes): Likewise.
55645         * locale/programs/locarchive.c (compute_hashval): Likewise.
55646         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
55647         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
55648         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
55649         * nss/getent.c (print_rpc, print_protocols): Likewise.
55650         (print_passwd, print_group, print_aliases): Likewise.
55651         * nis/nss-nisplus.h (niserr2nss): Likewise.
55652         * nscd/connections.c (restart_p): Likewise.
55653         Change return type to bool.
55655 2013-02-05  Roland McGrath  <roland@hack.frob.com>
55657         * Makeconfig (all-Depend-files): Add existing
55658         $(sorted-subdirs:=/Depend) files.
55659         (all-subdirs): Remove nss.
55660         * sysdeps/unix/inet/Subdirs: Add it here instead.
55661         * hesiod/Depend: New file.
55663         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
55664         instead of calling alloca.
55666         * io/lseek.c (__lseek): Rename to __libc_lseek.
55667         Define __lseek as an alias.
55669         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
55671 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
55673         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
55674         else clause and remove check for non-standard endianness.
55676 2013-02-04  David S. Miller  <davem@davemloft.net>
55678         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55680 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
55682         [BZ #13550]
55683         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
55684         (__ubp_memchr): Remove prototype.
55685         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
55686         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
55687         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
55688         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
55689         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
55690         Remove alias.
55691         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
55692         (__ubp_memchr): Likewise.
55693         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
55694         (__ubp_memchr): Likewise.
55695         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
55696         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
55697         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
55698         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
55699         CHECK_STRING.
55700         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
55701         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
55702         (__getcwd): Do not use CHECK_STRING.
55703         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
55704         <bp-checks.h>.
55705         (__real_chown): Do not use CHECK_STRING.
55706         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
55707         <bp-checks.h>.
55708         (fchownat): Do not use CHECK_STRING.
55709         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
55710         CHECK_STRING.
55711         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
55712         <bp-checks.h>.
55713         (__lchown): Do not use CHECK_STRING.
55714         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
55715         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
55716         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
55717         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
55718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
55719         include <bp-checks.h>.
55720         (truncate64): Do not use CHECK_STRING.
55721         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
55722         <bp-checks.h>.
55723         (__real_chown): Do not use CHECK_STRING.
55724         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
55725         <bp-checks.h>.
55726         (__lchown): Do not use CHECK_STRING.
55727         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
55728         <bp-checks.h>.
55729         (__chown): Do not use CHECK_STRING.
55730         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
55731         <bp-checks.h>.
55732         (truncate64): Do not use CHECK_STRING.
55733         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
55734         Likewise.
55735         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
55736         (__xmknod): Do not use CHECK_STRING.
55737         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
55738         <bp-checks.h>.
55739         (__xmknodat): Do not use CHECK_STRING.
55740         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
55741         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
55743 2013-02-04  Andreas Schwab  <schwab@suse.de>
55745         [BZ #14142]
55746         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
55747         * include/netdb.h: Likewise for h_errno.
55748         * elf/tst-stackguard1.c: Include <tls.h>.
55750 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
55752         * elf/link.h (struct link_map): Extend the l_addr comment.
55753         * include/link.h (struct link_map): Likewise.
55755 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
55757         [BZ #13550]
55758         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
55759         (BOUNDED_1): Remove macro.
55760         * debug/backtrace.c: Don't include <bp-checks.h>.
55761         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
55762         (__backtrace): Likewise.
55763         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
55764         <bp-checks.h>.
55765         (__backtrace): Don't use BOUNDED_1.
55766         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
55767         <bp-checks.h>.
55768         (__backtrace): Don't use BOUNDED_1.
55769         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
55770         (__backtrace): Don't use BOUNDED_1.
55771         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
55772         (shmat): Don't use BOUNDED_N.
55774 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
55776         [BZ #13550]
55777         * sysdeps/generic/bp-start.h: Remove file.
55778         * csu/libc-start.c: Don't include <bp-start.h>.
55779         (LIBC_START_MAIN): Set up __environ directly instead of using
55780         INIT_ARGV_and_ENVIRON.
55781         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
55782         <bp-start.h>.
55784         [BZ #13550]
55785         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
55786         definitions.
55787         (CHECK_FCNTL): Likewise.
55788         (CHECK_N_PAGES): Likewise.
55790         [BZ #13550]
55791         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
55792         definitions.
55793         (CHECK_SIGSET_NULL_OK): Likewise.
55794         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
55795         <bp-checks.h>.
55796         (sigpending): Don't use CHECK_SIGSET.
55797         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
55798         <bp-checks.h>.
55799         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55800         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
55801         <bp-checks.h>.
55802         (do_sigsuspend): Don't use CHECK_SIGSET.
55803         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
55804         use CHECK_SIGSET.
55805         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
55806         (do_sigwait): Don't use CHECK_SIGSET.
55807         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
55808         use CHECK_SIGSET.
55809         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
55810         include <bp-checks.h>.
55811         (sigpending): Don't use CHECK_SIGSET.
55812         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
55813         include <bp-checks.h>.
55814         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55815         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
55816         <bp-checks.h>.
55817         (sigpending): Don't use CHECK_SIGSET.
55818         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
55819         <bp-checks.h>.
55820         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55822         [BZ #13550]
55823         * sysdeps/generic/bp-semctl.h: Remove file.
55824         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
55825         <bp-checks.h> and <bp-semctl.h>.
55826         (__old_semctl): Don't use CHECK_SEMCTL.
55827         (__new_semctl): Likewise.
55828         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
55829         and <bp-semctl.h>.
55830         (__old_semctl): Don't use CHECK_SEMCTL.
55831         (__new_semctl): Likewise.
55832         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
55833         <bp-checks.h> and <bp-semctl.h>.
55834         (__old_semctl): Don't use CHECK_SEMCTL.
55835         (__new_semctl): Likewise.
55836         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
55837         <bp-checks.h> and <bp-semctl.h>.
55838         (semctl): Don't use CHECK_SEMCTL.
55840         [BZ #13550]
55841         * Makerules (elide-bp-thunks): Remove variable.
55842         (elide-routines.oS): Don't use $(elide-bp-thunks).
55843         (elide-routines.os): Likewise.
55844         (elide-routines.o): Likewise.
55845         (elide-routines.op): Likewise.
55846         (elide-routines.og): Likewise.
55847         (objects): Don't use $(bp-thunks).
55848         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
55849         include.
55850         (common-generated): Do not add s-proto-bp.d.
55851         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
55852         (int): Likewise.
55853         (typ): Likewise.
55854         Do not generate makefile rules for bounded-pointer thunks.
55855         * sysdeps/generic/bp-thunks.h: Remove file.
55856         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
55857         * sysdeps/unix/s-proto-bp.S: Likewise.
55859         [BZ #15062]
55860         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
55861         parts of result separately when argument is not close to line from
55862         -i to i and one part of argument is small.
55863         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55864         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55865         * math/libm-test.inc (cacos_test): Add more tests.
55866         (casin_test): Likewise.
55867         (casinh_test): Likewise.
55868         * sysdeps/i386/fpu/libm-test-ulps: Update.
55869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55871 2013-01-31  David S. Miller  <davem@davemloft.net>
55873         * po/de.po: Update from translation team.
55875 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
55877         * time/tzfile.c: Include stdint.h for SIZE_MAX.
55879 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
55881         * configure.in (_AC_PROG_CC_C89): New definition.
55882         * configure: Regenerate.
55884         * configure.in (AC_PROG_CPP): New definition.
55885         * configure: Regenerate.
55887 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
55889         * debug/tst-backtrace.h: New file.
55890         * debug/tst-backtrace2.c: Include tst-backtrace.h.
55891         (ret): Remove variable.
55892         (x): Likewise.
55893         (FAIL): Remove macro.
55894         (NO_INLINE): Likewise.
55895         (fn1): Use match function instead of strstr.
55896         * debug/tst-backtrace3.c: Include tst-backtrace.h.
55897         (ret): Remove variable.
55898         (x): Likewise.
55899         (FAIL): Remove macro.
55900         (NO_INLINE): Likewise.
55901         (fn): Use match function instead of strstr.
55902         * debug/tst-backtrace4.c: Include tst-backtrace.h.
55903         (ret): Remove variable.
55904         (x): Likewise.
55905         (FAIL): Remove macro.
55906         (NO_INLINE): Likewise.
55907         (handle_signal): Use match function instead of strstr.
55908         * debug/tst-backtrace5.c: Include tst-backtrace.h.
55909         (ret): Remove variable.
55910         (x): Likewise.
55911         (FAIL): Remove macro.
55912         (NO_INLINE): Likewise.
55913         (handle_signal): Use match function instead of strstr.
55915 2013-01-23  Roland McGrath  <roland@hack.frob.com>
55917         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
55919 2013-01-23  David S. Miller  <davem@davemloft.net>
55921         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
55922         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
55923         argument of CAS if possible.
55924         * sysdeps/sparc/sparc64/bits/atomic.h
55925         (__arch_compare_and_exchange_val_32_acq): Likewise.
55926         (__arch_compare_and_exchange_val_64_acq): Likewise.
55928 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
55930         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
55931         * sysdeps/posix/ulimit.c: ... this.
55932         Include <limits.h>.
55933         * sysdeps/unix/bsd/ulimit.c: Remove file.
55935 2013-01-23  Adam Conrad  <adconrad@0c3.net>
55937         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
55938         (LDFLAGS-tst-array5): Likewise.
55940 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
55942         [BZ #15036]
55943         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
55944         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
55945         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
55946         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
55948 2013-01-21  David S. Miller  <davem@davemloft.net>
55950         * sysdeps/sparc/backtrace.c: New file.
55951         * sysdeps/sparc/sparc32/backtrace.h: New file.
55952         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
55953         * sysdeps/sparc/sparc64/backtrace.h: New file.
55954         * sysdeps/sparc/sparc64/backtrace.c: Delete.
55955         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
55956         -funwind-tables.
55958 2013-01-21  Andreas Schwab  <schwab@suse.de>
55960         [BZ #15020]
55961         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
55962         closed its stdout.
55964 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
55966         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
55967         "mpa2.h".
55968         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55970 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
55971             Mark Mitchell  <mark@codesourcery.com>
55972             Tom de Vries  <tom@codesourcery.com>
55973             Paul Pluzhnikov  <ppluzhnikov@google.com>
55975         * debug/tst-backtrace2.c: New file.
55976         * debug/tst-backtrace3.c: Likewise.
55977         * debug/tst-backtrace4.c: Likewise.
55978         * debug/tst-backtrace5.c: Likewise.
55979         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
55980         (CFLAGS-tst-backtrace3.c): Likewise.
55981         (CFLAGS-tst-backtrace4.c): Likewise.
55982         (CFLAGS-tst-backtrace5.c): Likewise.
55983         (LDFLAGS-tst-backtrace2): Likewise.
55984         (LDFLAGS-tst-backtrace3): Likewise.
55985         (LDFLAGS-tst-backtrace4): Likewise.
55986         (LDFLAGS-tst-backtrace5): Likewise.
55987         (tests): Add new tests tst-backtrace2, tst-backtrace3,
55988         tst-backtrace4 and tst-backtrace5.
55990 2013-01-18  Anton Blanchard  <anton@samba.org>
55991             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55993         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
55994         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
55995         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
55996         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
55997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
55998         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
55999         "+r" and remove output regs list as redundant.  Add explicit inline
56000         asm to specify register of return val to work around compiler codegen
56001         bug.  Remove (int) cast on return value.  Add return type parameter to
56002         use in macro so that this macro does not truncate return value for
56003         64-bit values.
56004         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
56005         pass to INTERNAL_VSYSCALL_NCS.
56006         (INLINE_VSYSCALL): Add 'long int' as return type to
56007         INTERNAL_VSYSCALL_NCS macro invocation.
56008         (INTERNAL_VSYSCALL): Add 'long int' as return type to
56009         INTERNAL_VSYSCALL_NCS macro invocation.
56010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56012 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56014         [BZ #14496]
56015         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
56016         Fix application of SIMD FP exception mask.
56018         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
56019         mp_no from a power of two.
56020         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
56021         __mpexp_twomm1.  Use __pow_mp.
56023         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
56024         multiplication.
56026 2013-01-17  David S. Miller  <davem@davemloft.net>
56028         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56030 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
56032         [BZ #15023]
56033         * include/complex.h: Condition contents on [!_COMPLEX_H].
56034         (__kernel_casinhf): New prototype.
56035         (__kernel_casinh): Likewise.
56036         (__kernel_casinhl): Likewise.
56037         * math/Makefile (libm_calls): Add k_casinh.
56038         * math/k_casinh.c: New file.
56039         * math/k_casinhf.c: Likewise.
56040         * math/k_casinhl.c: Likewise.
56041         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
56042         finite nonzero arguments.
56043         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
56044         finite nonzero arguments.
56045         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
56046         finite nonzero arguments.
56047         * math/s_casinh.c: Do not include <float.h>.
56048         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
56049         * math/s_casinhf.c: Do not include <float.h>.
56050         (__casinhf): Move code for finite nonzero arguments to
56051         k_casinhf.c.
56052         * math/s_casinhl.c: Do not include <float.h>.
56053         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
56054         redefine.
56055         (__casinhl): Move code for finite nonzero arguments to
56056         k_casinhl.c.
56057         * math/libm-test.inc (cacos_test): Add more tests.
56058         * sysdeps/i386/fpu/libm-test-ulps: Update.
56059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56061 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
56063         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
56064         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
56065         [!HAVE_MREMAP]: Remove [defined linux] case.
56066         * malloc/arena.c: Do not include <malloc-sysdep.h>.
56068 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
56070         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
56072 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
56074         * elf/elf.h (R_386_SIZE32): New relocation.
56075         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
56076         R_386_SIZE32.
56077         (elf_machine_rela): Likewise.
56078         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
56079         R_X86_64_SIZE64 and R_X86_64_SIZE32.
56081 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
56083         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
56084         (FP_FAST_FMA): Do not define.
56085         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
56086         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
56087         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
56088         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
56089         !_SOFT_FLOAT]: Likewise.
56090         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
56091         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
56092         value.
56093         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
56094         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
56095         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
56096         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
56097         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
56098         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
56099         file.
56101 2013-01-16  Andreas Schwab  <schwab@suse.de>
56103         [BZ #14327]
56104         * include/stdlib.h (__mktemp): Add declaration.
56105         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
56106         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
56108 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56110         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
56111         definitions.
56112         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
56113         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
56114         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
56115         definitions here.
56116         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
56117         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
56118         definitions.
56119         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
56120         and ONE.
56121         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
56122         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
56123         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
56124         definitions.
56125         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
56126         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
56127         definitions.
56128         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
56130         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
56132 2013-01-15  David S. Miller  <davem@davemloft.net>
56134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56135         trunc{,f} to libm-sysdep_routes.
56136         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
56138         file.
56139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
56140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
56141         file.
56142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
56143         file.
56144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
56145         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
56146         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
56147         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
56148         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
56149         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
56150         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
56151         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
56153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56154         nearbyint{,f} to libm-sysdep_routes.
56155         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
56157         New file.
56158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
56159         file.
56160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
56161         New file.
56162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
56163         file.
56164         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
56165         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
56166         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
56167         file.
56168         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
56169         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
56170         file.
56171         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
56172         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
56173         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
56175         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
56176         libc_feholdexcept and libc_fesetenv.
56178 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
56180         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
56182 2013-01-14  David S. Miller  <davem@davemloft.net>
56184         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
56185         (SPARC_ASM_VIS2_IFUNC): Likewise.
56186         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
56187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
56188         use of 'siam' instruction.
56189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
56190         Likewise.
56191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
56192         Likewise.
56193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
56194         Likewise.
56195         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
56196         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
56197         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
56198         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
56199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
56200         file.
56201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
56202         file.
56203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
56204         file.
56205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
56206         file.
56207         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
56208         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
56209         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
56210         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
56211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
56212         new VIS2 routines.
56213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
56214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
56216         Likewise.
56217         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
56218         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
56219         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
56220         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
56221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
56222         routines to libm-sysdep_routines.
56223         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56226         fdim/fdimf to libm-sysdep_routines.
56227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
56228         file.
56229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
56230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
56231         file.
56232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
56233         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
56234         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
56235         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
56236         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
56237         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
56238         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
56240 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56242         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
56243         to optimize copies.
56245         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
56246         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56247         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56249         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
56250         local variable MPTWO.
56251         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
56252         Likewise.
56254 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56256         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
56257         GLOB_NOESCAPE.
56259 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56261         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
56263 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56265         * manual/pattern.texi (glob_t): Document gl_flags.
56266         (glob64_t): Likewise.
56268 2013-01-11  David S. Miller  <davem@davemloft.net>
56270         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
56271         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
56272         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
56273         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
56274         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
56275         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
56276         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
56277         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
56278         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
56279         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
56280         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
56281         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
56282         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
56284         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56285         sparc V9 rather than using V8 code.
56286         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56287         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56289         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
56290         Move to...
56291         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
56292         Here.
56294 2013-01-11  Roland McGrath  <roland@hack.frob.com>
56296         [BZ #14941]
56297         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
56298         not in the main loop.
56299         * configure: Regenerated.
56301 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
56303         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
56304         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
56305         to just #else.
56306         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
56307         [!__GLIBC_HAVE_LONG_LONG] case.
56308         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
56309         condition to just #else.
56310         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
56311         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
56312         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
56313         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
56314         unconditional.
56315         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
56316         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
56317         #elif condition to just #else.
56318         * sysdeps/unix/sysv/linux/sys/sysmacros.h
56319         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
56320         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
56321         #elif condition to just #else.
56323 2013-01-11  Steve Ellcey  <sellcey@mips.com>
56325         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
56326         (EF_MIPS_ARCH_64): Fix value.
56327         (EF_MIPS_ARCH_32R2): New.
56328         (EF_MIPS_ARCH_64R2): New.
56330 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
56332         * Makeconfig (+link-pie-before-libc): New.
56333         (+link-pie-after-libc): Likewise.
56334         (+link-pie-tests): Likewise.
56335         (+link-pie): Rewritten.
56336         (link-before-libc): Remove $(config-LDFLAGS).
56337         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
56338         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
56339         (config-LDFLAGS): Renamed to ...
56340         (rtld-LDFLAGS): This.
56341         (rtld-tests-LDFLAGS): New macro.
56342         (link-libc-rpath-link): Likewise.
56343         (link-libc-tests-rpath-link): Likewise.
56344         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
56345         (link-libc): Prepand $(link-libc-rpath-link).
56346         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
56347         (test-program-prefix): New macro.
56348         (test-via-rtld-prefix): Likewise.
56349         (test-program-cmd): Likewise.
56350         (host-test-program-cmd): Likewise.
56351         * Makefile ($(common-objpfx)testrun.sh): Replace
56352         $(run-program-prefix) with $(test-program-prefix).
56353         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
56354         $(rtld-LDFLAGS).
56355         ($(common-objpfx)shlib.lds): Likewise.
56356         (build-module-helper): Likewise.
56357         ($(common-objpfx)format.lds): Likewise.
56358         * Rules (binaries-pie-tests): New.
56359         (binaries-pie-notests): Likewise.
56360         (binaries-pie): Rewritten.
56361         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
56362         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
56363         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
56364         (make-test-out): Replace $(host-built-program-cmd) with
56365         $(host-test-program-cmd).
56366         * config.make.in (build-hardcoded-path-in-tests): New variable.
56367         * configure.in (--enable-hardcoded-path-in-tests): New configure
56368         option.
56369         (hardcoded_path_in_tests): New AC_SUBST.
56370         * configure: Regenerated.
56371         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
56372         $(built-program-cmd) with $(test-program-cmd).
56373         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
56374         (test_program_cmd): This.
56375         * elf/Makefile ($(objpfx)order.out): Run test with
56376         $(test-program-prefix).
56377         ($(objpfx)order2.out): Likewise.
56378         ($(objpfx)tst-initorder.out): Likewise.
56379         ($(objpfx)tst-initorder2.out): Likewise.
56380         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
56381         $(test-program-cmd).
56382         ($(objpfx)tst-array1-static.out): Likewise.
56383         ($(objpfx)tst-array2.out): Likewise.
56384         ($(objpfx)tst-array3.out): Likewise.
56385         ($(objpfx)tst-array4.out): Likewise.
56386         ($(objpfx)tst-array5.out): Likewise.
56387         ($(objpfx)tst-array5-static.out): Likewise.
56388         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
56389         $(test-program-cmd).
56390         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
56391         $(run-program-prefix) with $(test-program-prefix).
56392         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
56393         (test_program_prefix): This.
56394         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
56395         $(run-program-prefix) with $(test-program-prefix).
56396         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
56397         (test_program_prefix): This.
56398         * iconvdata/tst-tables.sh: Likewise.
56399         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
56400         $(run-program-prefix) with $(test-program-prefix).
56401         ($(objpfx)tst-translit.out): Likewise.
56402         ($(objpfx)tst-gettext2.out): Likewise.
56403         ($(objpfx)tst-gettext4.out): Likewise.
56404         ($(objpfx)tst-gettext6.out): Likewise.
56405         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
56406         (test_program_prefix): This.
56407         * intl/tst-gettext2.sh: Likewise.
56408         * intl/tst-gettext4.sh  Likewise.
56409         * intl/tst-gettext6.sh: Likewise.
56410         * intl/tst-translit.sh: Likewise.
56411         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
56412         with $(test-program-cmd).
56413         * libio/Makefile ($(objpfx)test-freopen.out): Replace
56414         $(run-program-prefix) with $(test-program-prefix).
56415         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
56416         (test_program_prefix): This.
56417         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
56418         $(run-program-prefix) with $(test-program-prefix).
56419         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
56420         (test_program_prefix): This.
56421         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
56422         * posix/Makefile ($(objpfx)globtest.out): Replace
56423         $(run-via-rtld-prefix) and $(test-wrapper) with
56424         $(test-program-prefix) and $(test-via-rtld-prefix).
56425         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
56426         $(test-program-prefix).
56427         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
56428         $(host-test-program-cmd).
56429         (tst-spawn-ARGS): Likewise.
56430         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
56431         $(test-program-prefix).
56432         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
56433         (test_via_rtld_prefix): This.
56434         (test_wrapper): Renamed to ...
56435         (test_program_prefix): This.
56436         (run_program_prefix): Replaced by test_program_prefix.
56437         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
56438         (test_program_prefix): This.
56439         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
56440         with $(host-test-program-cmd).
56441         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
56442         $(run-program-prefix) with $(test-program-prefix).
56443         ($(objpfx)tst-printf.out): Likewise.
56444         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
56445         $(test-program-cmd).
56446         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
56447         (test_program_prefix): This.
56448         * stdio-common/tst-unbputc.sh: Likewise.
56449         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
56450         $(run-program-prefix) with $(test-program-prefix).
56451         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
56452         (test_program_prefix): This.
56453         * string/Makefile ($(objpfx)tst-svc.out):  Replace
56454         $(built-program-cmd) with $(test-program-cmd).
56456 2013-01-11  Andreas Jaeger  <aj@suse.de>
56458         [BZ #15003]
56459         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
56460         value. Sync with Linux 3.7.
56462 2013-01-10  David S. Miller  <davem@davemloft.net>
56464         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
56465         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56466         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56468 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56470         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
56471         never set.
56472         * configure: Regenerated.
56474 2013-01-10  David S. Miller  <davem@davemloft.net>
56476         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56477         sparc V9 rather than using V8 code.
56478         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56479         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56481 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56483         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
56484         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
56485         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
56486         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
56487         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
56488         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
56489         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
56490         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
56491         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
56492         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
56493         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
56494         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
56495         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
56496         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
56497         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
56498         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
56499         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
56500         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
56501         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
56502         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
56503         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
56504         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
56505         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
56506         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
56507         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
56508         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
56509         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
56511 2013-01-10  David S. Miller  <davem@davemloft.net>
56513         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56515 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56517         * posix/Makefile (tests-static): New variable.
56518         (tests): Add $(tests-static).
56519         (tst-exec-static-ARGS): New variable.
56520         (tst-spawn-static-ARGS): Likewise.
56521         * posix/tst-exec-static.c: New file.
56522         * posix/tst-spawn-static.c: Likewise.
56523         * posix/tst-exec.c: Support run directly.
56524         * posix/tst-spawn.c: Likewise.
56526 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
56528         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
56529         long.
56530         * math/bits/mathcalls.h (llrint): Likewise.
56531         (llround): Likewise.
56532         * stdlib/stdlib.h (struct drand48_data): Likewise.
56533         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
56534         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
56535         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
56536         Likewise.
56537         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
56538         Likewise.
56539         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
56540         (elf_greg_t): Likewise.
56541         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
56542         (__jmp_buf): Likewise.
56543         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
56544         definitions.
56545         (llrint): Likewise, for all definitions.
56546         (llrintl): Likewise.
56548         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
56549         Remove [__GNUC__] condition.
56550         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
56551         condition to just [__USE_ISOC99].
56552         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
56554 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56556         [BZ #14200]
56557         * sysdeps/unix/sysv/linux/x86/bits/environments.h
56558         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
56559         defined.
56560         (_POSIX_V6_ILP32_OFF32): Likewise.
56561         (_XBS5_ILP32_OFF32): Likewise.
56562         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
56563         (__ILP32_OFFBIG_LDFLAGS): Likewise.
56565 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56567         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
56569         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
56570         doubles __mpexp_twomm1.  Adjust usage.
56571         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
56572         Remove.
56574 2013-01-10  Andreas Schwab  <schwab@suse.de>
56576         [BZ #14964]
56577         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
56578         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
56580 2013-01-09  David S. Miller  <davem@davemloft.net>
56582         [BZ #15003]
56583         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
56584         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
56585         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
56586         (TCP_FASTOPEN): Define.
56587         (tcp_repair_opt): New structure.
56588         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
56589         enum values.
56590         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
56591         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
56592         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
56593         (tcp_cookie_transactions): New structure.
56595 2013-01-09  Anton Blanchard  <anton@samba.org>
56597         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
56598         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
56599         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
56600         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
56602 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
56604         * include/features.h (__USE_ANSI): Remove.
56606 2013-01-09  Roland McGrath  <roland@hack.frob.com>
56608         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
56610         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
56612 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
56614         * sysdeps/s390/fpu/libm-test-ulps: Update.
56616         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56618         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
56619         (__acr): Likewise.
56620         (__cpy): Likewise.
56621         (norm): Likewise.
56622         (denorm): Likewise.
56623         (__mp_dbl): Likewise.
56624         (__dbl_mp): Likewise.
56625         (add_magnitudes): Likewise.
56626         (sub_magnitudes): Likewise.
56627         (__add): Likewise.
56628         (__sub): Likewise.
56629         (__mul): Likewise.
56630         (__inv): Likewise.
56631         (__dvd): Likewise.
56632         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
56633         (__acr): Likewise.
56634         (__cpy): Likewise.
56635         (norm): Likewise.
56636         (denorm): Likewise.
56637         (__mp_dbl): Likewise.
56638         (__dbl_mp): Likewise.
56639         (add_magnitudes): Likewise.
56640         (sub_magnitudes): Likewise.
56641         (__add): Likewise.
56642         (__sub): Likewise.
56643         (__mul): Likewise.
56644         (__inv): Likewise.
56645         (__dvd): Likewise.
56646         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
56647         (__acr): Likewise.
56648         (__cpy): Likewise.
56649         (norm): Likewise.
56650         (denorm): Likewise.
56651         (__mp_dbl): Likewise.
56652         (__dbl_mp): Likewise.
56653         (add_magnitudes): Likewise.
56654         (sub_magnitudes): Likewise.
56655         (__add): Likewise.
56656         (__sub): Likewise.
56657         (__mul): Likewise.
56658         (__inv): Likewise.
56659         (__dvd): Likewise.
56661 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
56663         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
56664         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
56665         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
56666         2 && __USE_EXTERN_INLINES]: Likewise.
56668 2013-01-08  Andreas Jaeger  <aj@suse.de>
56670         [BZ# 14985]
56671         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
56672         Remove.
56673         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
56674         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
56676 2013-01-07  Anton Blanchard  <anton@samba.org>
56678         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
56679         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
56680         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
56681         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
56682         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
56683         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
56684         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
56685         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
56686         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56687         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56688         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56689         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56690         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
56691         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56692         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
56693         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56694         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56695         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56696         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
56697         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
56698         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
56699         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
56700         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56701         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
56702         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
56703         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
56704         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
56705         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
56706         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
56707         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
56708         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
56709         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56710         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56711         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
56712         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
56713         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56714         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56715         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
56716         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
56717         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
56718         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
56719         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56720         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
56722 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
56724         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
56725         (__MALLOC_PMT): Likewise.
56726         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
56727         [__GNUC__], only on [_LIBC].
56728         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56729         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
56730         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56731         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
56732         forward declaration.
56733         (realloc_hook_ini): Likewise.
56734         (memalign_hook_ini): Likewise.
56735         (__libc_memalign): Do not use __MALLOC_PMT in variable
56736         declaration.
56737         (__libc_valloc): Likewise.
56738         (__libc_pvalloc): Likewise.
56739         (__libc_calloc): Likewise.
56740         (__posix_memalign): Likewise.
56742         [BZ #14996]
56743         * math/s_casinh.c: Include <float.h>.
56744         (__casinh): Do not do computation with squaring and square root
56745         for large arguments.
56746         * math/s_casinhf.c: Include <float.h>.
56747         (__casinhf): Do not do computation with squaring and square root
56748         for large arguments.
56749         * math/s_casinhl.c: Include <float.h>.
56750         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
56751         (__casinhl): Do not do computation with squaring and square root
56752         for large arguments.
56753         * math/libm-test.inc (casin_test): Add more tests.
56754         (casinh_test): Likewise.
56755         * sysdeps/i386/fpu/libm-test-ulps: Update.
56756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56758 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
56760         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
56761         (__x86_64_raw_data_cache_size): Likewise.
56762         (__x86_64_data_cache_size_half): Likewise.
56763         (__x86_64_raw_data_cache_size_half): Likewise.
56764         (__x86_64_shared_cache_size): Likewise.
56765         (__x86_64_raw_shared_cache_size): Likewise.
56766         (__x86_64_shared_cache_size_half): Likewise.
56767         (__x86_64_raw_shared_cache_size_half): Likewise.
56768         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
56769         to ...
56770         (__x86_data_cache_size): This.
56771         (__x86_64_raw_data_cache_size): Renamed to ...
56772         (__x86_raw_data_cache_size): This.
56773         (__x86_64_data_cache_size_half): Renamed to ...
56774         (__x86_data_cache_size_half): This.
56775         (__x86_64_raw_data_cache_size_half): Renamed to ...
56776         (__x86_raw_data_cache_size_half): This.
56777         (__x86_64_shared_cache_size): Renamed to ...
56778         (__x86_shared_cache_size): This.
56779         (__x86_64_raw_shared_cache_size): Renamed to ...
56780         (__x86_raw_shared_cache_size): This.
56781         (__x86_64_shared_cache_size_half): Renamed to ...
56782         (__x86_shared_cache_size_half): This.
56783         (__x86_64_raw_shared_cache_size_half): Renamed to ...
56784         (__x86_raw_shared_cache_size_half): This.
56785         * sysdeps/x86_64/memcpy.S: Updated.
56786         * sysdeps/x86_64/memset.S: Likewise.
56787         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
56788         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56789         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56791 2013-01-04  David S. Miller  <davem@davemloft.net>
56793         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56795 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
56797         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
56798         1 to avoid redefinition warning.
56799         (__USE_GNU): Don't define.
56800         (init_signaling_nan): Protoize.
56802         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56804 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56806         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
56807         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
56808         (__cpymn): Likewise.
56809         (norm): Remove commented code.
56810         (denorm): Likewise.
56811         (__mp_dbl): Likewise.
56812         (__inv): Likewise.
56813         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
56814         (__cpymn): Likewise.
56815         (norm): Remove commented code.
56816         (denorm): Likewise.
56817         (__mp_dbl): Likewise.
56818         (__inv): Likewise.
56820         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
56821         mp_no value for 1.0 and 2.0.
56822         (norm): Use RADIXI instead of radixi.d.
56823         (denorm): Likewise.
56824         (__mul): Use 0.0 instead of zero.d.
56825         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
56826         mp_no value for 1.0 and 2.0.
56827         (norm): Use RADIXI instead of radixi.d.
56828         (denorm): Likewise.
56829         (__mul): Use 0.0 instead of zero.d.
56831 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
56833         [BZ #14994]
56834         * math/s_casinh.c (__casinh): Reduce finite argument to first
56835         quadrant then set signs of results at the end.
56836         * math/s_casinhf.c (__casinhf): Likewise.
56837         * math/s_casinhl.c (__casinhl): Likewise.
56838         * math/libm-test.inc (casin_test): Add more tests.
56839         (casinh_test): Likewise.
56840         * sysdeps/i386/fpu/libm-test-ulps: Update.
56841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56843 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56845         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
56847         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
56849         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
56850         declarations.
56851         (denorm): Likewise.
56852         (__mp_dbl): Likewise.
56853         (__inv): Likewise.
56855         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
56856         and adjust the header comment.
56858         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
56859         variable name from declaration.
56861 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
56863         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56864         Initialize COMMON_CPUID_INDEX_7 element.
56865         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
56866         (CPUID_RTM): Likewise.
56867         (HAS_RTM): Likewise.
56868         (COMMON_CPUID_INDEX_7): New enum.
56870 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
56872         [BZ #14981]
56873         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
56874         size is zero, record memory as freed.
56876 2013-01-03  Andreas Jaeger  <aj@suse.de>
56878         * po/ia.po: Add new Interlingua translation.
56880 2012-01-03  Allan McRae  <allan@archlinux.org>
56882         * locale/programs/localedef.c: Fix description of '--posix' flag.
56884 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
56886         * NEWS: Update dates in second copyright notice.
56887         * README: Update copyright dates in example.
56888         * manual/libc.texinfo: Update copyright dates.
56889         * scripts/test-installation.pl: Update copyright date in --version
56890         output.
56892         * hurd/ctty-input.c: Fix copyright notice formatting.
56893         * hurd/ctty-output.c: Likewise.
56894         * hurd/dtable.c: Likewise.
56895         * hurd/hurd-raise.c: Likewise.
56896         * hurd/hurdprio.c: Likewise.
56897         * hurd/msgportdemux.c: Likewise.
56898         * misc/sys/file.h: Likewise.
56899         * misc/sys/ioctl.h: Likewise.
56900         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
56901         * sysdeps/mach/hurd/chdir.c: Likewise.
56902         * sysdeps/mach/hurd/fchdir.c: Likewise.
56903         * sysdeps/mach/hurd/rename.c: Likewise.
56904         * sysdeps/mach/hurd/rmdir.c: Likewise.
56905         * sysdeps/mach/hurd/seekdir.c: Likewise.
56906         * sysdeps/mach/hurd/setsid.c: Likewise.
56907         * sysdeps/posix/wait3.c: Likewise.
56909         * All files with FSF copyright notices: Update copyright dates
56910         using scripts/update-copyrights.
56911         * intl/plural.c: Regenerated.
56912         * locale/programs/charmap-kw.h: Likewise.
56913         * locale/programs/locfile-kw.h: Likewise.
56915 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
56917         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
56918         four values.
56920         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
56921         calculation loop and add branch prediction.
56923         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
56924         check access beyond bounds of m1np.
56926         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56927         MPTWO.
56928         (__inv): Remove local variable MPTWO to use the global
56929         constant.
56930         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
56931         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56932         variable MPTWO.
56933         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
56934         MP3HALFS static const.
56936 2013-01-01  David S. Miller  <davem@davemloft.net>
56938         * po/ca.po: Update from translation team.
56940 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
56942         * scripts/update-copyrights: New file.
56943         * Makeconfig: Reformat copyright notice.
56944         * ctype/ctype.h: Likewise.
56945         * debug/swprintf_chk.c: Likewise.
56946         * elf/dl-cache.c: Likewise.
56947         * elf/dl-debug.c: Likewise.
56948         * elf/dl-object.c: Likewise.
56949         * grp/initgroups.c: Likewise.
56950         * hurd/Makefile: Likewise.
56951         * hurd/hurd/signal.h: Likewise.
56952         * hurd/hurdfault.c: Likewise.
56953         * hurd/hurdioctl.c: Likewise.
56954         * hurd/hurdlookup.c: Likewise.
56955         * hurd/intr-msg.c: Likewise.
56956         * iconv/gconv_open.c: Likewise.
56957         * libio/swprintf.c: Likewise.
56958         * locale/lc-ctype.c: Likewise.
56959         * locale/nl_langinfo.c: Likewise.
56960         * mach/Machrules: Likewise.
56961         * mach/Makefile: Likewise.
56962         * malloc/obstack.h: Likewise.
56963         * manual/Makefile: Likewise.
56964         * manual/tsort.awk: Likewise.
56965         * misc/bits/stab.def: Likewise.
56966         * nis/nis_print_group_entry.c: Likewise.
56967         * nis/nis_table.c: Likewise.
56968         * nis/nss_compat/compat-pwd.c: Likewise.
56969         * nis/nss_compat/compat-spwd.c: Likewise.
56970         * po/Makefile: Likewise.
56971         * posix/fnmatch.c: Likewise.
56972         * posix/regex.h: Likewise.
56973         * resolv/Makefile: Likewise.
56974         * resolv/nss_dns/dns-network.c: Likewise.
56975         * resolv/res_hconf.c: Likewise.
56976         * scripts/gen-sorted.awk: Likewise.
56977         * soft-fp/soft-fp.h: Likewise.
56978         * stdio-common/printf.h: Likewise.
56979         * stdlib/monetary.h: Likewise.
56980         * stdlib/random.c: Likewise.
56981         * stdlib/random_r.c: Likewise.
56982         * sysdeps/generic/Makefile: Likewise.
56983         * sysdeps/gnu/Makefile: Likewise.
56984         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56985         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56986         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56987         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56988         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56989         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56990         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56991         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56992         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56993         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56994         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56995         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56996         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56997         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56998         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
56999         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57000         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57001         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57002         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57003         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57004         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57005         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57006         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57007         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
57008         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
57009         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57010         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
57011         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
57012         * sysdeps/mach/hurd/errnos.awk: Likewise.
57013         * sysdeps/mach/hurd/fork.c: Likewise.
57014         * sysdeps/mach/hurd/getcwd.c: Likewise.
57015         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
57016         * sysdeps/mach/hurd/mmap.c: Likewise.
57017         * sysdeps/mach/hurd/utimes.c: Likewise.
57018         * sysdeps/mach/hurd/xmknod.c: Likewise.
57019         * sysdeps/posix/profil.c: Likewise.
57020         * sysdeps/posix/readdir_r.c: Likewise.
57021         * sysdeps/powerpc/bits/mathdef.h: Likewise.
57022         * sysdeps/powerpc/bits/setjmp.h: Likewise.
57023         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
57024         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
57025         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57026         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
57027         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57028         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57029         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57030         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
57031         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57032         * sysdeps/pthread/lio_listio.c: Likewise.
57033         * sysdeps/sparc/dl-procinfo.h: Likewise.
57034         * sysdeps/unix/i386/sysdep.S: Likewise.
57035         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
57036         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
57037         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
57038         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
57039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57040         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
57041         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
57042         * sysdeps/unix/sysv/linux/speed.c: Likewise.
57043         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
57044         * sysdeps/wordsize-32/divdi3.c: Likewise.
57045         * time/sys/time.h: Likewise.
57046         * wcsmbs/Makefile: Likewise.
57048 2013-01-01  David S. Miller  <davem@davemloft.net>
57050         * po/fr.po: Update from translation team.
57052         * catgets/gencat.c: Update copyright year.
57053         * csu/version.c: Likewise.
57054         * debug/catchsegv.sh: Likewise.
57055         * debug/pcprofiledump.c: Likewise.
57056         * debug/xtrace.sh: Likewise.
57057         * elf/ldconfig.c: Likewise.
57058         * elf/ldd.bash.in: Likewise.
57059         * elf/pldd.c: Likewise.
57060         * elf/sotruss.ksh: Likewise.
57061         * elf/sprof.c: Likewise.
57062         * iconv/iconv_prog.c: Likewise.
57063         * iconv/iconvconfig.c: Likewise.
57064         * locale/programs/locale.c: Likewise.
57065         * locale/programs/localedef.c: Likewise.
57066         * login/programs/pt_chown.c: Likewise.
57067         * malloc/memusage.sh: Likewise.
57068         * malloc/memusagestat.c: Likewise.
57069         * malloc/mtrace.pl: Likewise.
57070         * nscd/nscd.c: Likewise.
57071         * nss/getent.c: Likewise.
57072         * nss/makedb.c: Likewise.
57073         * posix/getconf.c: Likewise.
57075 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
57077         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
57078         numbers.
57080 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
57082         * math/bits/mathcalls.h (modf): Use __nonnull.
57084 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57086         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
57087         (split): Use macro CN instead of the bare value.
57088         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
57089         could be used.
57090         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
57091         instead of the bare value.
57092         (power1): Likewise.
57094 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57096         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
57097         __ATAN_TWOM.
57098         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57100         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
57101         their values.
57102         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
57103         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57104         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
57105         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
57107 2012-12-28  Andreas Jaeger  <aj@suse.de>
57109         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
57110         values are from Linux 3.7.
57112         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
57113         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
57115 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57117         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
57118         TRUE case.
57120         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
57121         (norm): Likewise.
57122         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
57123         variables with preprocessor constants.
57124         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57125         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57126         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57128 2012-12-27  Bruno Haible  <bruno@clisp.org>
57130         [BZ #14317]
57131         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
57132         only if needed.
57134 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57136         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
57137         and use variable directly.
57138         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
57140         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
57141         MPONE.
57142         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
57143         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
57144         variable MPONE.
57145         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57146         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
57147         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
57148         include directive.  Remove local variable MPONE.
57149         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
57150         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
57151         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57153 2012-12-25  David S. Miller  <davem@davemloft.net>
57155         * version.h (RELEASE): Set to "development".
57156         (VERSION): Set to "2.17.90".
57157         * NEWS: Add 2.18 section.
57159 2012-12-21  David S. Miller  <davem@davemloft.net>
57161         * po/hr.po: Update from translation team.
57163 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57165         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
57167 2012-12-19  Steve Ellcey  <sellcey@mips.com>
57169         * NEWS:  Mention new memcpy for MIPS.
57171 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57173         * manual/contrib.texi (Contributors): Spelling correction.
57175 2012-12-15  David S. Miller  <davem@davemloft.net>
57177         * po/ru.po: Update from translation team.
57179 2012-12-13  David S. Miller  <davem@davemloft.net>
57181         * NEWS: Mention IFUNC testsuite enhancements.
57183         * po/pl.po: Update from translation team.
57184         * po/bg.po: Likewise.
57186         * manual/contrib.texi (Contributors): Update entries for Hongjiu
57187         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
57189 2012-12-11  David S. Miller  <davem@davemloft.net>
57191         * po/sv.po: Update from translation team.
57193         * po/vi.po: Update from translation team.
57195         * po/cs.po: Update from translation team.
57197         * po/de.po: Update from translation team.
57198         * po/eo.po: Likewise.
57199         * po/nl.po: Likewise.
57201 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57203         [BZ #14246]
57204         * manual/argp.texi (Argp Helper Functions): Move node to follow
57205         Argp Parsing State.
57207         [BZ #14872]
57208         * manual/conf.texi (Limits on File System Capacity): Mention if
57209         terminating null is included in the max size.
57211 2012-12-10  Andreas Jaeger  <aj@suse.de>
57213         * po/cs.po: Update from translation team.
57215 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
57217         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
57218         void pointer and cast to uintptr_t.
57219         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
57220         path.
57221         * sysdeps/s390/s390-64/memcpy.S: Likewise.
57222         * sysdeps/s390/s390-64/memset.S: Likewise.
57224 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
57226         [BZ #14833]
57227         * menual/message.texi (Message Translation): Fix typos.
57228         (Helper programs for gettext): Likewise.
57230 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
57232         [BZ #14898]
57233         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
57234         Change to -1.
57236 2012-12-07  David S. Miller  <davem@davemloft.net>
57238         * po/libc.pot: Update.
57240 2012-12-07  Richard Henderson  <rth@redhat.com>
57242         [BZ #10114]
57243         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
57244         normal/normal case to before the switch.
57245         (_FP_DIV): Likewise.
57247 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
57248             Mike Frysinger  <vapier@gentoo.org>
57250         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
57251         check for __NR_fadvise64_64.
57253 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
57255         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
57256         0, not just to plain "0" as a statement.
57257         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
57258         with cw.
57260 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
57262         * NEWS: Use sourceware.org in Bugzilla URL.
57264 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
57266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
57267         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
57269         * stdio-common/tst-put-error.c (do_test): Add newline to the
57270         padded test to ensure flush.
57272 2012-12-05  Jeff Law  <law@redhat.com>
57274         * sunrpc/etc.rpc (fedfs_admin): Add entry.
57276 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
57278         * README: Don't refer to ports add-on as distributed separately.
57279         Mention AArch64 in list of systems supported in the ports add-on.
57281         * LICENSES: Add more non-FSF copyright and license notices.
57283         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
57284         ((unused)).
57286         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
57288         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
57289         10000 as width of padded output.
57291 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
57293         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
57295         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
57296         variable LX with __attribute__ ((unused)).
57297         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
57298         Likewise.
57299         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
57300         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57301         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
57302         with __attribute__ ((unused)).
57304 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
57306         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
57308 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
57310         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
57311         (CFLAGS-nldbl-acos.c): New variable.
57312         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
57313         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
57314         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
57315         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
57316         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
57317         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
57318         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
57319         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
57320         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
57321         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
57322         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
57323         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
57324         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
57325         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
57326         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
57327         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
57328         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
57329         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
57330         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
57331         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
57332         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
57333         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
57334         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
57335         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
57336         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
57337         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
57338         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
57339         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
57340         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
57341         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
57342         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
57343         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
57344         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
57345         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
57346         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
57347         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
57348         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
57349         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
57350         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
57351         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
57352         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
57353         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
57354         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
57355         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
57356         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
57357         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
57358         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
57359         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
57360         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
57361         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
57362         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
57363         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
57364         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
57365         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
57366         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
57367         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
57368         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
57369         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
57370         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
57371         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
57372         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
57373         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
57374         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
57375         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
57376         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
57377         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
57378         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
57379         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
57380         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
57381         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
57382         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
57383         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
57384         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
57385         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
57386         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
57387         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
57388         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
57389         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
57390         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
57391         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
57392         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
57393         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
57394         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
57395         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
57396         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
57397         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
57398         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
57399         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
57400         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
57401         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
57402         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
57403         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
57404         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
57405         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
57406         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
57407         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
57408         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
57410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
57411         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
57413         [BZ #14914]
57414         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
57415         whole low double instead of just low 47 bits when splitting values
57416         into two parts.
57418 2012-12-03  Allan McRae  <allan@archlinux.org>
57420         * manual/stdio.texi (Predefined Printf Handlers): Remove
57421         @hsep and @vsep usage.
57423 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
57425         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
57426         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
57428 2012-12-03  Jeff Law  <law@redhat.com>
57430         * time/sys/time.h (settimeofday): Do not mark TV argument
57431         as __nonnull.
57433 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
57435         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
57436         when currently writing and seek to current position when not.
57437         * libio/Makefile (tests): Remove bug-fclose1.
57438         * libio/bug-fclose1.c: Delete.
57440 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
57442         * manual/arith.texi (feenableexcept): Fix typo.
57443         (fedisableexcept): Likewise.
57445 2012-11-30  Roland McGrath  <roland@hack.frob.com>
57447         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
57448         second, differently-typed declaration, rather than a cast.
57450 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57452         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
57453         * include/rpc/svc.h: ... here.
57455 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
57457         [BZ #13013]
57458         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
57459         depending n and resplen2 to catch cases where answer
57460         equals answerp2.
57462 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
57464         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
57465         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
57467 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
57469         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
57471 2012-11-29  Roland McGrath  <roland@hack.frob.com>
57473         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
57475 2012-11-28  Jeff Law  <law@redhat.com>
57477         [BZ #13761]
57478         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
57479         dataset_temporary.  Track alloca usage into alloca_used.
57480         If dataset is large allocate and release it via malloc/free.
57482 2012-06-04  Florian Weimer  <fweimer@redhat.com>
57484         [BZ #14197]
57485         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
57487 2012-11-28  David S. Miller  <davem@davemloft.net>
57489         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57491 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57493         [BZ #14803]
57494         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
57495         of pi/2 rounded to nearest to 64 bits.
57496         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
57497         nearest to 64 bits.
57498         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
57499         bits.
57501 2012-11-28  Jeff Law <law@redhat.com>
57502             Martin Osvald <mosvald@redhat.com>
57504         [BZ #14889]
57505         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
57506         * sunrpc/svc.c: Include time.h.
57507         (__svc_accept_failed): New function.
57508         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
57509         any reason other than EINTR, call __svc_accept_failed.
57510         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
57511         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
57513 2012-11-28  Andreas Schwab  <schwab@suse.de>
57515         * scripts/abilist.awk: Also handle indirect functions in .opd
57516         section.
57518 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57520         [BZ #13881]
57521         * sysdeps/x86/fpu/powl_helper.c: New file.
57522         * sysdeps/x86/fpu/Makefile: Likewise.
57523         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
57524         (p3): New object.
57525         (__ieee754_powl): Use __powl_helper for finite arguments except
57526         integer exponents below 8.
57527         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
57528         (p3): New object.
57529         (__ieee754_powl): Use __powl_helper for finite arguments except
57530         integer exponents below 8.
57531         * math/libm-test.inc (pow_test): Add more tests and enable some
57532         previously disabled tests.
57533         * sysdeps/i386/fpu/libm-test-ulps: Update.
57534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57536 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57537             Carlos O'Donell  <carlos_odonell@mentor.com>
57539         * nss/makedb.c (is_prime): Assert that input is odd and greater
57540         than 4.  Note that fact in a comment too.
57541         (next_prime): Add 4 to input.
57543 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57545         [BZ #11741]
57546         * libio/Makefile (tests): Add test case tst-fwrite-error.
57547         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
57548         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
57549         * libio/tst-fwrite-error.c: New test case.
57551 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
57553         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
57554         before casting to void *.
57555         * include/libc-internal.h (__pointer_type): New macro.
57556         (__integer_if_pointer_type_sub): Likewise.
57557         (__integer_if_pointer_type): Likewise.
57558         (cast_to_integer): Likewise.
57559         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
57560         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
57561         before casting to atomic64_t.
57562         (atomic_exchange_acq): Likewise.
57563         (__arch_exchange_and_add_body): Likewise.
57564         (__arch_add_body): Likewise.
57565         (atomic_add_negative): Likewise.
57566         (atomic_add_zero): Likewise.
57568 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
57570         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
57571         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
57572         (add_fdes): Likewise.
57573         (linear_search_fdes): Likewise.
57574         (binary_search_unencoded_fdes): Likewise.
57576 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
57578         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
57580 2012-11-24  Adam Conrad  <adconrad@0c3.net>
57582         * configure.in: Autodetect C++ header directories.
57583         * configure: Regenerated.
57585 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
57587         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
57589 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
57591         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57593 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
57595         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
57596         LDBL_MANT_DIG == 106]: Disable some tests.
57597         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57598         Likewise.
57599         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57600         Likewise.
57602         [BZ #14871]
57603         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
57604         input for small inputs.  Return +/- pi/2 for large inputs.
57605         * math/libm-test.inc (atan_test): Add more tests.
57607         * sysdeps/generic/unwind-dw2-fde-glibc.c
57608         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
57609         __attribute__ ((unused)).
57611         [BZ #14645]
57612         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
57613         x * y if x and y are nonzero and z is zero.
57615         [BZ #14811]
57616         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
57617         nonzero exponents with absolute value below 0x1p-117 to +/-
57618         0x1p-117.
57620         [BZ #14869]
57621         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
57622         up arguments below 2**-450, not just those below 2**-500.
57623         * math/libm-test.inc (hypot_test): Add another test.
57625         [BZ #14868]
57626         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
57627         Return a+b for ratio over 2**120, not 2**60.
57628         * math/libm-test.inc (hypot_test): Add another test.
57630         * math/libm-test.inc (clog_test): Use
57631         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
57632         (clog10_test): Likewise.
57634         [BZ #6778]
57635         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
57637 2012-11-22  Andreas Schwab  <schwab@suse.de>
57639         * sysdeps/i386/fpu/libm-test-ulps: Update.
57641 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
57643         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
57644         printf output with newline.
57646 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
57648         [BZ #14865]
57649         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
57650         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
57651         -z nodlopen, -z initfirst and -z execstack support.
57652         * configure: Regenerated.
57654         * elf/elf.h (DF_1_NODIRECT): New macro.
57655         (DF_1_IGNMULDEF): Likewise.
57656         (DF_1_NOKSYMS): Likewise.
57657         (DF_1_NOHDR): Likewise.
57658         (DF_1_EDITED): Likewise.
57659         (DF_1_NORELOC): Likewise.
57660         (DF_1_SYMINTPOSE): Likewise.
57661         (DF_1_GLOBAUDIT): Likewise.
57662         (DF_1_SINGLETON): Likewise.
57663         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
57664         DT_1_SUPPORTED_MASK bits.
57665         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
57667 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
57669         * sysdeps/unix/make-syscalls.sh: Document prefixes.
57671 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
57673         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
57674         macro.
57676         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
57677         (sendmmsg): Move declarations...
57678         * socket/sys/socket.h: ... here.
57679         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
57680         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
57681         include it from...
57682         * socket/recvmmsg.c: ... this new file.
57683         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
57684         (sendmmsg): Rename to __sendmmsg, create weak alias and make
57685         definition of __sendmmsg hidden.
57686         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
57687         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
57688         Move ENOSYS stub into and include it from...
57689         * socket/sendmmsg.c: ... this new file.
57690         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
57691         (sysdep_routines): Move recvmmsg and sendmmsg...
57692         * socket/Makefile (routines): ... here.
57693         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
57694         (GLIBC_PRIVATE): Add __sendmmsg.
57695         * include/sys/socket.h (__sendmmsg): Add declarations.
57696         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
57697         sendmmsg.
57699 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
57701         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
57702         variable I1 with __attribute__ ((unused)).
57703         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
57705 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
57707         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
57708         DUMMY variables with __attribute__ ((unused)).
57710         * bits/byteswap.h: Include <bits/types.h>.
57711         (__bswap_64): Use __uint64_t instead of unsigned long long int.
57713 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
57715         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
57716         string_t.  Do not manually set errno.
57717         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
57718         length with __strnlen.  Make sure to both set errno and return it on
57719         failure.
57721 2012-11-19  David S. Miller  <davem@davemloft.net>
57723         With help from Joseph Myers.
57724         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
57725         very large arguments properly.
57726         * math/libm-test.inc (atan_test): New tests.
57727         (atan2_test): New tests.
57728         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57729         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57731 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
57733         [BZ #14856]
57734         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
57735         Define to 3.
57737         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
57738         [POSIX] (EADDRNOTAVAIL): Likewise.
57739         [POSIX] (EAFNOSUPPORT): Likewise.
57740         [POSIX] (EALREADY): Likewise.
57741         [POSIX] (ECONNABORTED): Likewise.
57742         [POSIX] (ECONNREFUSED): Likewise.
57743         [POSIX] (ECONNRESET): Likewise.
57744         [POSIX] (EDESTADDRREQ): Likewise.
57745         [POSIX] (EDQUOT): Likewise.
57746         [POSIX] (EHOSTUNREACH): Likewise.
57747         [POSIX] (EIDRM): Likewise.
57748         [POSIX] (EISCONN): Likewise.
57749         [POSIX] (ELOOP): Likewise.
57750         [POSIX] (EMULTIHOP): Likewise.
57751         [POSIX] (ENETDOWN): Likewise.
57752         [POSIX] (ENETUNREACH): Likewise.
57753         [POSIX] (ENOBUFS): Likewise.
57754         [POSIX] (ENODATA): Likewise.
57755         [POSIX] (ENOLINK): Likewise.
57756         [POSIX] (ENOMSG): Likewise.
57757         [POSIX] (ENOPROTOOPT): Likewise.
57758         [POSIX] (ENOSR): Likewise.
57759         [POSIX] (ENOSTR): Likewise.
57760         [POSIX] (ENOTCONN): Likewise.
57761         [POSIX] (ENOTSOCK): Likewise.
57762         [POSIX] (EOPNOTSUPP): Likewise.
57763         [POSIX] (EOVERFLOW): Likewise.
57764         [POSIX] (EPROTO): Likewise.
57765         [POSIX] (EPROTONOSUPPORT): Likewise.
57766         [POSIX] (EPROTOTYPE): Likewise.
57767         [POSIX] (ESTALE): Likewise.
57768         [POSIX] (ETIME): Likewise.
57769         [POSIX] (ETXTBSY): Likewise.
57770         [POSIX] (EWOULDBLOCK): Likewise.
57771         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
57772         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
57773         [POSIX] (SEEK_CUR): Likewise.
57774         [POSIX] (SEEK_END): Likewise.
57775         [POSIX || UNIX98] (mode_t): Do not require.
57776         [POSIX] (off_t): Likewise.
57777         [POSIX] (pid_t): Likewise.
57778         [POSIX] (sys/stat.h): Do not allow header.
57779         [POSIX] (unistd.h): Likewise.
57780         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
57781         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
57782         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
57783         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
57784         require.
57785         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
57786         sigevent): Specify elements.
57787         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
57788         entry.
57789         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
57790         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
57792         * conform/data/cpio.h-data [POSIX]: Disable whole file.
57793         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
57794         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
57795         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
57796         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
57797         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
57798         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
57799         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
57800         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
57801         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
57802         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
57803         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
57804         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
57805         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
57806         Likewise.
57807         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
57808         Likewise.
57809         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
57810         Likewise.
57811         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
57812         Likewise.
57813         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
57814         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
57815         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
57816         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
57817         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
57818         Specify lower bound on value.
57819         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
57820         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
57821         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
57822         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
57823         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
57824         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
57825         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
57826         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
57827         value.
57828         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
57829         as optional.
57830         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
57831         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
57832         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
57833         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
57834         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
57835         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
57836         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
57837         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
57838         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
57839         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
57840         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
57841         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
57842         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
57843         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
57844         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
57845         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
57846         entry.
57847         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
57848         optional.
57849         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
57850         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
57851         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
57852         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
57853         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
57854         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
57855         Likewise.
57856         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
57857         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
57858         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
57859         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
57860         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
57861         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
57862         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
57863         as optional.
57864         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
57865         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
57866         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
57867         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
57868         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
57869         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
57870         specify as optional.
57871         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
57872         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
57873         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
57874         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
57875         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
57876         [XPG3] (NL_LANGMAX): Likewise.
57877         [POSIX || XPG3] (NL_MSGMAX): Likewise.
57878         [POSIX || XPG3] (NL_NMAX): Likewise.
57879         [POSIX || XPG3] (NL_SETMAX): Likewise.
57880         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
57881         [XPG3] (NZERO): Likewise.
57882         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
57883         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
57884         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
57885         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
57886         (REG_ERANGE): Expect.
57887         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
57888         optional-constant.
57889         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
57890         Use (void) in prototype.
57891         [POSIX] (*_t): Allow.
57892         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
57893         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
57894         (WRDE_BADVAL): Expect.
57896         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
57897         expect.
57898         [XPG3 || XPG4] (O_RSYNC): Likewise.
57899         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
57900         Likewise.
57901         [XPG3 || XPG4] (pthread_sigmask): Likewise.
57902         [XPG3 || XPG4] (sigqueue): Likewise.
57903         [XPG3 || XPG4] (sigtimedwait): Likewise.
57904         [XPG3 || XPG4] (sigwaitinfo): Likewise.
57905         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
57906         [XPG3 || XPG4] (vsnprintf): Likewise.
57907         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
57908         Likewise.
57909         [XPG3 || XPG4] (blksize_t): Likewise.
57910         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
57911         Likewise.
57912         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
57913         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
57914         [XPG3 || XPG4] (struct itimerspec): Likewise.
57915         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
57916         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
57917         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
57918         [XPG3 || XPG4] (clockid_t): Likewise.
57919         [XPG3 || XPG4] (timer_t): Likewise.
57920         [XPG3 || XPG4] (clock_getres): Likewise.
57921         [XPG3 || XPG4] (clock_gettime): Likewise.
57922         [XPG3 || XPG4] (clock_settime): Likewise.
57923         [XPG3 || XPG4] (nanosleep): Likewise.
57924         [XPG3 || XPG4] (timer_create): Likewise.
57925         [XPG3 || XPG4] (timer_delete): Likewise.
57926         [XPG3 || XPG4] (timer_gettime): Likewise.
57927         [XPG3 || XPG4] (timer_getoverrun): Likewise.
57928         [XPG3 || XPG4] (timer_settime): Likewise.
57929         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
57930         [XPG3 || XPG4] (getlogin_r): Likewise.
57931         [XPG3 || XPG4] (pread): Likewise.
57932         [XPG3 || XPG4] (pthread_atfork): Likewise.
57933         [XPG3 || XPG4] (pwrite): Likewise.
57935         [BZ #14835]
57936         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
57937         <bits/siginfo.h>.
57939 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
57941         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
57942         finalizing MALLSTREAM.
57944         * sysdeps/mach/hurd/syncfs.c: New file.
57946 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57948         [BZ #14719]
57949         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
57950         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
57951         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
57952         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
57953         (_nss_dns_gethostbyname4_r): Likewise.
57954         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
57955         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
57957 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
57959         [BZ #13763]
57960         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
57962 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
57964         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
57965         * elf/cache.c (print_entry): Print ",AArch64" for
57966         FLAG_AARCH64_LIB64
57968         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
57969         * elf/cache.c (print_entry): Print ",hard-float" for
57970         FLAG_ARM_LIBHF.
57972 2012-11-18  David S. Miller  <davem@davemloft.net>
57974         With help from Joseph Myers.
57975         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
57976         cutoff to 2**-13.
57977         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
57978         cutoff to 2**-25.
57979         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
57980         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
57981         small.
57982         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
57983         * math/libm-test.inc (y0_test): New tests.
57984         (y1_test): New tests.
57985         * sysdeps/i386/fpu/libm-test-ulps: Update.
57986         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57987         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57989 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
57991         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
57992         64-bit targets.
57993         * configure: Regenerated.
57995 2012-11-17  David S. Miller  <davem@davemloft.net>
57997         [BZ #14811]
57998         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
57999         nonzero exponents with absolute value below 0x1p-128 to +/-
58000         0x1p-128.
58002 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
58004         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
58006         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
58008         * posix/getconf-speclist.c: New file.
58009         * posix/posix-envs.def: Likewise.
58010         * posix/confstr.c (START_ENV_GROUP): New macro.
58011         (END_ENV_GROUP): Likewise.
58012         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
58013         (KNOWN_PRESENT_ENV_STRING): Likewise.
58014         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
58015         (UNKNOWN_ENVIRONMENT): Likewise.
58016         (confstr): Include posix-envs.def instead of handling
58017         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
58018         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
58019         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
58020         (END_ENV_GROUP): Likewise.
58021         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
58022         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
58023         (UNKNOWN_ENVIRONMENT): Likewise.
58024         (__sysconf): Include posix-envs.def instead of handling associated
58025         cases directly here.
58026         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
58027         preprocessing getconf-speclist.c rather than running getconf or
58028         generating empty file.
58030 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
58032         * scripts/check-local-headers.sh: Ignore 'mach' headers.
58034 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
58036         [BZ #14672]
58037         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
58039 2012-11-16  David S. Miller  <davem@davemloft.net>
58041         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
58042         smaller than LDBL_EPSILON/2.0L, just return xm1.
58044 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
58046         * elf/tst-array1.c (init): Set constructor priority to 1000.
58047         (fini): Set destructor priority to 1000.
58048         * elf/tst-array2dep.c: Likewise.
58050 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58052         [BZ #11741]
58053         * libio/fileops.c (_IO_new_file_write): Correctly return error.
58054         (_IO_new_file_xsputn): Also return EOF if none of the input
58055         data was written when overflow failed.
58056         * libio/iopadn.c (_IO_padn): Likewise.
58057         * libio/iowpadn.c (_IO_wpadn): Likewise.
58058         * stdio-common/tst-put-error.c: Add copyright notice.
58059         (do_test): Add case for printing padded string.
58060         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
58061         _IO_padn returned error.
58062         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
58063         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
58064         return EOF.
58066 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58068         * libio/libioP.h: Add comment note that the references to C++
58069         bits are now obsolete.
58071 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58073         * math/libm-test.inc (check_complex): Use asprintf.
58075 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
58077         * debug/pcprofiledump.c (print_version): Update copyright year.
58078         * malloc/memusagestat.c (print_version): Likewise.
58080 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
58082         [BZ #14831]
58083         * elf/Makefile (tests): Add tst-audit8.
58084         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
58085         ($(objpfx)tst-audit8.out): New target.
58086         (tst-audit8-ENV): New variable.
58087         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
58088         audit if l_reloc_result is NULL.
58089         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
58090         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
58091         * elf/tst-audit8.c: New file.
58093 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58095         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
58096         * misc/Makefile (CFLAGS-select.c): Define.
58097         * posix/Makefile (CFLAGS-pause.c): Define.
58099 2012-11-13  David S. Miller  <davem@davemloft.net>
58101         * crypt/Makefile: Move test targets after toplevel Rules
58102         inclusion.  Grab any necessary sysdep routines when linking.
58103         * crypt/md5.c (md5_process_block): Remove define, we will always
58104         name it __md5_process_block.
58105         (md5_finish_ctx): Update md5_process_block call.
58106         (md5_stream): Likewise.
58107         (md5_process_bytes): Likewise.
58108         (md5_process_block): Rename to __md5_process_block and move to ...
58109         * crypt/md5-block.c: ... here.
58110         * crypt/sha256.c (sha256_process_block): Move to ...
58111         * crypt/sha256-block.c: ... here.
58112         * crypt/sha512.c (sha512_process_block): Move to ...
58113         * crypt/sha512-block.c: ... here.
58114         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
58115         path.
58116         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
58117         * sysdeps/sparc/sparc64/multiarch/Makefile
58118         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
58119         crypt subdir.
58120         (localedef-aux): Add md5 crypto assembler when in locale subdir.
58121         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
58122         multiarch changes.
58123         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
58124         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
58125         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
58126         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
58127         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
58128         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
58129         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
58130         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
58131         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
58132         file.
58133         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
58134         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
58135         file.
58136         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
58138 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
58140         * timezone/tzselect.ksh: Update from tzcode git revision
58141         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
58142         * timezone/zdump.c: Likewise.
58143         * timezone/zic.c: Likewise.
58144         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
58145         in TZVERSION setting, not $(PKGVERSION).
58146         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
58147         REPORT_BUGS_TO settings.
58149         [BZ #14838]
58150         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
58151         macro.
58153 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58155         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
58156         detection to immediately after _FP_ROUND().
58157         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
58158         bits are 0.
58160 2012-11-11  David S. Miller  <davem@davemloft.net>
58162         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
58163         inttypes.h
58164         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
58165         __close rather than their public counterparts.
58167 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
58169         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
58170         file.
58171         [UNIX98] (sem_timedwait): Do not expect.
58172         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
58173         [XPG4 || UNIX98] (sockatmark): Do not expect.
58174         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
58175         (clock_getcpuclockid): Do not expect.
58176         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
58177         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
58178         Do not expect.
58179         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
58180         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
58181         [UNIX98] (vwscanf): Likewise.
58182         [UNIX98] (vswscanf): Likewise.
58184 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
58186         * timezone/version.h: Remove file.
58187         * timezone/README: Do not refer to version.h.
58188         * timezone/Makefile ($(objpfx)zic.o): New dependency on
58189         $(objpfx)version.h.
58190         ($(objpfx)zdump.o): Likewise.
58191         ($(objpfx)version.h): New target.
58193         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
58194         2012i.
58195         * timezone/README: Don't mention modification to tzselect.ksh.
58196         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
58197         work on unmodified tzselect.ksh.  Substitute version numbers in
58198         tzselect.ksh.
58200         * Makefile (format-me): Remove.
58201         (INSTALL): Adjust indentation.  Use commands directly instead of
58202         using $(format-me).
58204         * aclocal.m4 (ACX_PKGVERSION): New macro.
58205         (ACX_BUGURL): Likewise.
58206         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
58207         (PKGVERSION): New AC_DEFINE_UNQUOTED.
58208         (REPORT_BUGS_TO): Likewise.
58209         * configure: Regenerated.
58210         * config.h.in (PKGVERSION): New macro.
58211         (REPORT_BUGS_TO): Likewise.
58212         * config.make.in (PKGVERSION): New variable.
58213         (PKGVERSION_TEXI): Likewise.
58214         (REPORT_BUGS_TO): Likewise.
58215         (REPORT_BUGS_TEXI): Likewise.
58216         * Makefile (format-me): Use -I$(common-objpfx)manual.
58217         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
58218         ($(common-objpfx)manual/%): New target.
58219         (manual/%): Remove target.
58220         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
58221         (print_version): Use PKGVERSION.
58222         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
58223         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
58224         and REPORT_BUGS_TO.
58225         ($(objpfx)xtrace): Likewise.
58226         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
58227         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
58228         (print_version): Use PKGVERSION.
58229         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
58230         (do_version): Use PKGVERSION.
58231         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
58232         REPORT_BUGS_TO.
58233         (common-ldd-rewrite): Likewise.
58234         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
58235         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
58236         (print_version): Use PKGVERSION.
58237         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
58238         * elf/pldd.c (argp_program_bug_address): Remove variable.
58239         (more_help): New function.
58240         (argp): Use more_help.
58241         (print_version): Use PKGVERSION.
58242         * elf/sln.c (main): Use PKGVERSION.
58243         (usage): Use REPORT_BUGS_TO.
58244         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
58245         (top level): Use PKGVERSION.
58246         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
58247         (print_version): Use PKGVERSION.
58248         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
58249         (print_version): Use PKGVERSION.
58250         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
58251         (print_version): Use PKGVERSION.
58252         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
58253         (print_version): Use PKGVERSION.
58254         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
58255         (print_version): Use PKGVERSION.
58256         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
58257         (print_version): Use PKGVERSION.
58258         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
58259         and BUGURL.
58260         ($(objpfx)memusage): Likewise.
58261         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
58262         (do_version): Use PKGVERSION.
58263         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
58264         (print_version): Use PKGVERSION.
58265         * malloc/mtrace.pl ($PACKAGE): Remove variable.
58266         ($PKGVERSION): New variable.
58267         ($REPORT_BUGS_TO): Likewise.
58268         (usage): Use $REPORT_BUGS_TO.
58269         (top level): Use $PKGVERSION.
58270         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
58271         ($(objpfx)pkgvers.texi): New rule.
58272         ($(objpfx)stamp-pkgvers): Likewise.
58273         * manual/install.texi: Include pkgvers.texi.
58274         (--with-pkgversion): Document new configure option.
58275         (--with-bugurl): Likewise.
58276         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
58277         than necessarily for this particular distribution.  Use
58278         REPORT_BUGS_TO for where to report bugs.
58279         * INSTALL: Regenerated.
58280         * manual/libc.texinfo: Include pkgvers.texi.
58281         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
58282         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
58283         (print_version): Use PKGVERSION.
58284         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
58285         (print_version): Use PKGVERSION.
58286         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
58287         (print_version): Use PKGVERSION.
58288         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
58289         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
58290         macro.
58291         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
58292         (print_version): Use PKGVERSION.
58293         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
58294         (print_version): Use PKGVERSION.
58295         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
58296         and PKGVERSION.
58298         * timezone/checktab.awk: Update from tzcode 2012i.
58299         * timezone/ialloc.c: Likewise.
58300         * timezone/private.h: Likewise.
58301         * timezone/scheck.c: Likewise.
58302         * timezone/tzfile.h: Likewise.
58303         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
58304         (TZVERSION): Hardcode tzcode version number.
58305         * timezone/zdump.c: Update from tzcode 2012i.
58306         * timezone/zic.c: Likewise.
58307         * timezone/version.h: New file.
58308         * timezone/README: Describe version.h.  Update upstream location.
58310         [BZ #14824]
58311         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
58312         (mktemp): Enable declaration.
58313         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
58314         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
58315         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
58316         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
58317         Likewise.
58318         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
58319         Likewise.
58320         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
58321         Likewise.
58322         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
58323         Likewise.
58324         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
58325         Likewise.
58326         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
58327         Likewise.
58329         [BZ #14821]
58330         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
58331         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
58332         for copies of such integer values.
58333         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58334         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58336 2012-11-09  Andreas Jaeger  <aj@suse.de>
58338         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
58339         definitions and declarations that are provided by
58340         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
58342 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58344         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
58345         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
58346         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
58347         definition.
58349 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58351         * elf/elf.h: Update comment before AArch64 relocations.
58353 2012-11-07  David S. Miller  <davem@davemloft.net>
58355         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
58356         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
58357         (__start_context): Declare.
58358         (__makecontext_ret): Delete.
58359         (__makecontext): Hook up __start_context instead of
58360         __makecontext_ret.
58361         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
58362         (sysdep_routines): Add __start_context when in stdlib.
58364 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58366         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
58367         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
58368         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
58369         hardcoded "nm".
58370         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
58371         (READELF): New variable.  Use it instead of hardcoded "readelf".
58373 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
58375         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
58376         * sysdeps/x86/Makefile: Here.
58377         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
58378         * sysdeps/x86/tst-xmmymm.sh: This.
58380 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58382         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
58383         expectations.
58384         [UNIX98] (pthread_barrier_t): Do not expect.
58385         [UNIX98] (pthread_barrierattr_t): Likewise.
58386         [UNIX98] (pthread_spinlock_t): Likewise.
58387         [UNIX98] (pthread_barrier_destroy): Likewise.
58388         [UNIX98] (pthread_barrier_init): Likewise.
58389         [UNIX98] (pthread_barrier_wait): Likewise.
58390         [UNIX98] (pthread_barrierattr_destroy): Likewise.
58391         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
58392         [UNIX98] (pthread_barrierattr_init): Likewise.
58393         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
58394         [UNIX98] (pthread_getcpuclockid): Likewise.
58395         [UNIX98] (pthread_mutex_timedlock): Likewise.
58396         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
58397         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
58398         [UNIX98] (pthread_sigmask): Likewise.
58399         [UNIX98] (pthread_spin_destroy): Likewise.
58400         [UNIX98] (pthread_spin_init): Likewise.
58401         [UNIX98] (pthread_spin_lock): Likewise.
58402         [UNIX98] (pthread_spin_trylock): Likewise.
58403         [UNIX98] (pthread_spin_unlock): Likewise.
58404         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
58405         Do not expect.
58406         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
58407         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
58408         [XPG3 || XPG4] (pthread_cond_t): Likewise.
58409         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
58410         [XPG3 || XPG4] (pthread_key_t): Likewise.
58411         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
58412         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
58413         [XPG3 || XPG4] (pthread_once_t): Likewise.
58414         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
58415         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
58416         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
58417         [XPG3 || XPG4] (pthread_t): Likewise.
58419         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
58420         not expect.
58421         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
58423         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
58424         Change function return type to int.
58426         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
58427         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
58428         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
58429         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
58430         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
58431         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
58432         [!POSIX] (posix_madvise): Likewise.
58433         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
58434         && !UNIX98].
58435         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
58436         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
58437         (mode_t): Likewise.
58438         (posix_mem_offset): Likewise.
58439         (posix_typed_mem_get_info): Likewise.
58440         (posix_typed_mem_open): Likewise.
58442         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
58443         Change condition to [XOPEN2K8].
58445         * conform/conformtest.pl: Preprocess allow-header data with -x c
58446         instead of from stdin.
58447         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
58448         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
58449         [C99-based standards] (cerfc): Likewise.
58450         [C99-based standards] (cexp2): Likewise.
58451         [C99-based standards] (cexpm1): Likewise.
58452         [C99-based standards] (clog10): Likewise.
58453         [C99-based standards] (clog1p): Likewise.
58454         [C99-based standards] (clog2): Likewise.
58455         [C99-based standards] (clgamma): Likewise.
58456         [C99-based standards] (ctgamma): Likewise.
58457         [C99-based standards] (cerff): Likewise.
58458         [C99-based standards] (cerfcf): Likewise.
58459         [C99-based standards] (cexp2f): Likewise.
58460         [C99-based standards] (cexpm1f): Likewise.
58461         [C99-based standards] (clog10f): Likewise.
58462         [C99-based standards] (clog1pf): Likewise.
58463         [C99-based standards] (clog2f): Likewise.
58464         [C99-based standards] (clgammaf): Likewise.
58465         [C99-based standards] (ctgammaf): Likewise.
58466         [C99-based standards] (cerfl): Likewise.
58467         [C99-based standards] (cerfcl): Likewise.
58468         [C99-based standards] (cexp2l): Likewise.
58469         [C99-based standards] (cexpm1l): Likewise.
58470         [C99-based standards] (clog10l): Likewise.
58471         [C99-based standards] (clog1pl): Likewise.
58472         [C99-based standards] (clog2l): Likewise.
58473         [C99-based standards] (clgammal): Likewise.
58474         [C99-based standards] (ctgammal): Likewise.
58475         * conform/data/inttypes.h-data [C99-based standards]: Include
58476         stdint.h-data.  Remove all expectations for stdint.h contents.
58477         [C99-based standards] (PRI*): Do not allow.
58478         [C99-based standards] (SCN*): Likewise.
58479         [C99-based standards] (*_t): Likewise.
58480         [C99-based-standards] (PRId8): Expect macro.
58481         [C99-based-standards] (PRIi8): Likewise.
58482         [C99-based-standards] (PRIo8): Likewise.
58483         [C99-based-standards] (PRIu8): Likewise.
58484         [C99-based-standards] (PRIx8): Likewise.
58485         [C99-based-standards] (PRIX8): Likewise.
58486         [C99-based-standards] (SCNd8): Likewise.
58487         [C99-based-standards] (SCNi8): Likewise.
58488         [C99-based-standards] (SCNo8): Likewise.
58489         [C99-based-standards] (SCNu8): Likewise.
58490         [C99-based-standards] (SCNx8): Likewise.
58491         [C99-based-standards] (PRIdLEAST8): Likewise.
58492         [C99-based-standards] (PRIiLEAST8): Likewise.
58493         [C99-based-standards] (PRIoLEAST8): Likewise.
58494         [C99-based-standards] (PRIuLEAST8): Likewise.
58495         [C99-based-standards] (PRIxLEAST8): Likewise.
58496         [C99-based-standards] (PRIXLEAST8): Likewise.
58497         [C99-based-standards] (SCNdLEAST8): Likewise.
58498         [C99-based-standards] (SCNiLEAST8): Likewise.
58499         [C99-based-standards] (SCNoLEAST8): Likewise.
58500         [C99-based-standards] (SCNuLEAST8): Likewise.
58501         [C99-based-standards] (SCNxLEAST8): Likewise.
58502         [C99-based-standards] (PRIdFAST8): Likewise.
58503         [C99-based-standards] (PRIiFAST8): Likewise.
58504         [C99-based-standards] (PRIoFAST8): Likewise.
58505         [C99-based-standards] (PRIuFAST8): Likewise.
58506         [C99-based-standards] (PRIxFAST8): Likewise.
58507         [C99-based-standards] (PRIXFAST8): Likewise.
58508         [C99-based-standards] (SCNdFAST8): Likewise.
58509         [C99-based-standards] (SCNiFAST8): Likewise.
58510         [C99-based-standards] (SCNoFAST8): Likewise.
58511         [C99-based-standards] (SCNuFAST8): Likewise.
58512         [C99-based-standards] (SCNxFAST8): Likewise.
58513         [C99-based-standards] (PRId16): Likewise.
58514         [C99-based-standards] (PRIi16): Likewise.
58515         [C99-based-standards] (PRIo16): Likewise.
58516         [C99-based-standards] (PRIu16): Likewise.
58517         [C99-based-standards] (PRIx16): Likewise.
58518         [C99-based-standards] (PRIX16): Likewise.
58519         [C99-based-standards] (SCNd16): Likewise.
58520         [C99-based-standards] (SCNi16): Likewise.
58521         [C99-based-standards] (SCNo16): Likewise.
58522         [C99-based-standards] (SCNu16): Likewise.
58523         [C99-based-standards] (SCNx16): Likewise.
58524         [C99-based-standards] (PRIdLEAST16): Likewise.
58525         [C99-based-standards] (PRIiLEAST16): Likewise.
58526         [C99-based-standards] (PRIoLEAST16): Likewise.
58527         [C99-based-standards] (PRIuLEAST16): Likewise.
58528         [C99-based-standards] (PRIxLEAST16): Likewise.
58529         [C99-based-standards] (PRIXLEAST16): Likewise.
58530         [C99-based-standards] (SCNdLEAST16): Likewise.
58531         [C99-based-standards] (SCNiLEAST16): Likewise.
58532         [C99-based-standards] (SCNoLEAST16): Likewise.
58533         [C99-based-standards] (SCNuLEAST16): Likewise.
58534         [C99-based-standards] (SCNxLEAST16): Likewise.
58535         [C99-based-standards] (PRIdFAST16): Likewise.
58536         [C99-based-standards] (PRIiFAST16): Likewise.
58537         [C99-based-standards] (PRIoFAST16): Likewise.
58538         [C99-based-standards] (PRIuFAST16): Likewise.
58539         [C99-based-standards] (PRIxFAST16): Likewise.
58540         [C99-based-standards] (PRIXFAST16): Likewise.
58541         [C99-based-standards] (SCNdFAST16): Likewise.
58542         [C99-based-standards] (SCNiFAST16): Likewise.
58543         [C99-based-standards] (SCNoFAST16): Likewise.
58544         [C99-based-standards] (SCNuFAST16): Likewise.
58545         [C99-based-standards] (SCNxFAST16): Likewise.
58546         [C99-based-standards] (PRId32): Likewise.
58547         [C99-based-standards] (PRIi32): Likewise.
58548         [C99-based-standards] (PRIo32): Likewise.
58549         [C99-based-standards] (PRIu32): Likewise.
58550         [C99-based-standards] (PRIx32): Likewise.
58551         [C99-based-standards] (PRIX32): Likewise.
58552         [C99-based-standards] (SCNd32): Likewise.
58553         [C99-based-standards] (SCNi32): Likewise.
58554         [C99-based-standards] (SCNo32): Likewise.
58555         [C99-based-standards] (SCNu32): Likewise.
58556         [C99-based-standards] (SCNx32): Likewise.
58557         [C99-based-standards] (PRIdLEAST32): Likewise.
58558         [C99-based-standards] (PRIiLEAST32): Likewise.
58559         [C99-based-standards] (PRIoLEAST32): Likewise.
58560         [C99-based-standards] (PRIuLEAST32): Likewise.
58561         [C99-based-standards] (PRIxLEAST32): Likewise.
58562         [C99-based-standards] (PRIXLEAST32): Likewise.
58563         [C99-based-standards] (SCNdLEAST32): Likewise.
58564         [C99-based-standards] (SCNiLEAST32): Likewise.
58565         [C99-based-standards] (SCNoLEAST32): Likewise.
58566         [C99-based-standards] (SCNuLEAST32): Likewise.
58567         [C99-based-standards] (SCNxLEAST32): Likewise.
58568         [C99-based-standards] (PRIdFAST32): Likewise.
58569         [C99-based-standards] (PRIiFAST32): Likewise.
58570         [C99-based-standards] (PRIoFAST32): Likewise.
58571         [C99-based-standards] (PRIuFAST32): Likewise.
58572         [C99-based-standards] (PRIxFAST32): Likewise.
58573         [C99-based-standards] (PRIXFAST32): Likewise.
58574         [C99-based-standards] (SCNdFAST32): Likewise.
58575         [C99-based-standards] (SCNiFAST32): Likewise.
58576         [C99-based-standards] (SCNoFAST32): Likewise.
58577         [C99-based-standards] (SCNuFAST32): Likewise.
58578         [C99-based-standards] (SCNxFAST32): Likewise.
58579         [C99-based-standards] (PRId64): Likewise.
58580         [C99-based-standards] (PRIi64): Likewise.
58581         [C99-based-standards] (PRIo64): Likewise.
58582         [C99-based-standards] (PRIu64): Likewise.
58583         [C99-based-standards] (PRIx64): Likewise.
58584         [C99-based-standards] (PRIX64): Likewise.
58585         [C99-based-standards] (SCNd64): Likewise.
58586         [C99-based-standards] (SCNi64): Likewise.
58587         [C99-based-standards] (SCNo64): Likewise.
58588         [C99-based-standards] (SCNu64): Likewise.
58589         [C99-based-standards] (SCNx64): Likewise.
58590         [C99-based-standards] (PRIdLEAST64): Likewise.
58591         [C99-based-standards] (PRIiLEAST64): Likewise.
58592         [C99-based-standards] (PRIoLEAST64): Likewise.
58593         [C99-based-standards] (PRIuLEAST64): Likewise.
58594         [C99-based-standards] (PRIxLEAST64): Likewise.
58595         [C99-based-standards] (PRIXLEAST64): Likewise.
58596         [C99-based-standards] (SCNdLEAST64): Likewise.
58597         [C99-based-standards] (SCNiLEAST64): Likewise.
58598         [C99-based-standards] (SCNoLEAST64): Likewise.
58599         [C99-based-standards] (SCNuLEAST64): Likewise.
58600         [C99-based-standards] (SCNxLEAST64): Likewise.
58601         [C99-based-standards] (PRIdFAST64): Likewise.
58602         [C99-based-standards] (PRIiFAST64): Likewise.
58603         [C99-based-standards] (PRIoFAST64): Likewise.
58604         [C99-based-standards] (PRIuFAST64): Likewise.
58605         [C99-based-standards] (PRIxFAST64): Likewise.
58606         [C99-based-standards] (PRIXFAST64): Likewise.
58607         [C99-based-standards] (SCNdFAST64): Likewise.
58608         [C99-based-standards] (SCNiFAST64): Likewise.
58609         [C99-based-standards] (SCNoFAST64): Likewise.
58610         [C99-based-standards] (SCNuFAST64): Likewise.
58611         [C99-based-standards] (SCNxFAST64): Likewise.
58612         [C99-based-standards] (PRIdMAX): Likewise.
58613         [C99-based-standards] (PRIiMAX): Likewise.
58614         [C99-based-standards] (PRIoMAX): Likewise.
58615         [C99-based-standards] (PRIuMAX): Likewise.
58616         [C99-based-standards] (PRIxMAX): Likewise.
58617         [C99-based-standards] (PRIXMAX): Likewise.
58618         [C99-based-standards] (SCNdMAX): Likewise.
58619         [C99-based-standards] (SCNiMAX): Likewise.
58620         [C99-based-standards] (SCNoMAX): Likewise.
58621         [C99-based-standards] (SCNuMAX): Likewise.
58622         [C99-based-standards] (SCNxMAX): Likewise.
58623         [C99-based-standards] (PRIdPTR): Likewise.
58624         [C99-based-standards] (PRIiPTR): Likewise.
58625         [C99-based-standards] (PRIoPTR): Likewise.
58626         [C99-based-standards] (PRIuPTR): Likewise.
58627         [C99-based-standards] (PRIxPTR): Likewise.
58628         [C99-based-standards] (PRIXPTR): Likewise.
58629         [C99-based-standards] (SCNdPTR): Likewise.
58630         [C99-based-standards] (SCNiPTR): Likewise.
58631         [C99-based-standards] (SCNoPTR): Likewise.
58632         [C99-based-standards] (SCNuPTR): Likewise.
58633         [C99-based-standards] (SCNxPTR): Likewise.
58634         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
58635         allow.
58636         * conform/data/stdint.h-data: Update comments to clarify
58637         requirements.
58638         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
58639         type.
58640         [C99-based standards] (INT8_MAX): Likewise.
58641         [C99-based standards] (INT16_MIN): Likewise.
58642         [C99-based standards] (INT16_MAX): Likewise.
58643         [C99-based standards] (INT32_MIN): Likewise.
58644         [C99-based standards] (INT32_MAX): Likewise.
58645         [C99-based standards] (INT64_MIN): Likewise.
58646         [C99-based standards] (INT64_MAX): Likewise.
58647         [C99-based standards] (UINT8_MAX): Likewise.
58648         [C99-based standards] (UINT16_MAX): Likewise.
58649         [C99-based standards] (UINT32_MAX): Likewise.
58650         [C99-based standards] (UINT64_MAX): Likewise.
58651         [C99-based standards] (INT_LEAST8_MIN): Likewise.
58652         [C99-based standards] (INT_LEAST8_MAX): Likewise.
58653         [C99-based standards] (INT_LEAST16_MIN): Likewise.
58654         [C99-based standards] (INT_LEAST16_MAX): Likewise.
58655         [C99-based standards] (INT_LEAST32_MIN): Likewise.
58656         [C99-based standards] (INT_LEAST32_MAX): Likewise.
58657         [C99-based standards] (INT_LEAST64_MIN): Likewise.
58658         [C99-based standards] (INT_LEAST64_MAX): Likewise.
58659         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
58660         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
58661         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
58662         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
58663         [C99-based standards] (INT_FAST8_MIN): Likewise.
58664         [C99-based standards] (INT_FAST8_MAX): Likewise.
58665         [C99-based standards] (INT_FAST16_MIN): Likewise.
58666         [C99-based standards] (INT_FAST16_MAX): Likewise.
58667         [C99-based standards] (INT_FAST32_MIN): Likewise.
58668         [C99-based standards] (INT_FAST32_MAX): Likewise.
58669         [C99-based standards] (INT_FAST64_MIN): Likewise.
58670         [C99-based standards] (INT_FAST64_MAX): Likewise.
58671         [C99-based standards] (UINT_FAST8_MAX): Likewise.
58672         [C99-based standards] (UINT_FAST16_MAX): Likewise.
58673         [C99-based standards] (UINT_FAST32_MAX): Likewise.
58674         [C99-based standards] (UINT_FAST64_MAX): Likewise.
58675         [C99-based standards] (INTPTR_MIN): Likewise.
58676         [C99-based standards] (INTPTR_MAX): Likewise.
58677         [C99-based standards] (UINTPTR_MAX): Likewise.
58678         [C99-based standards] (INTMAX_MIN): Likewise.
58679         [C99-based standards] (INTMAX_MAX): Likewise.
58680         [C99-based standards] (UINTMAX_MAX): Likewise.
58681         [C99-based standards] (PTRDIFF_MIN): Likewise.
58682         [C99-based standards] (PTRDIFF_MAX): Likewise.
58683         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
58684         [C99-based standards] (SIZE_MAX): Likewise.
58685         [C99-based standards] (WCHAR_MAX): Likewise.
58686         [C99-based standards] (WINT_MAX): Likewise.
58687         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
58688         constraint on value.
58689         [C99-based standards] (WCHAR_MIN): Likewise.
58690         [C99-based standards] (WINT_MIN): Likewise.
58691         [C99-based standards] (*_t): Allow.
58692         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
58693         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
58694         Include math.h-data and complex.h-data.  Remove all expectations
58695         of math.h and complex.h contents.
58696         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
58697         at end of line.
58698         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
58699         (struct tm): Expect tag.
58700         [C99-based-standards] (wcstof): Expect function.
58701         [C99-based-standards] (wcstold): Likewise.
58702         [C99-based-standards] (wcstoll): Likewise.
58703         [C99-based-standards] (wcstoull): Likewise.
58704         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
58705         macro-int-constant.  Specify type.
58706         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
58707         constraint on value.
58708         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
58709         Specify type.
58710         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
58711         Specify value.
58712         [ISO C standards]: Do not allow headers.
58713         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
58714         wcs[abcdefghijklmnopqrstuvwxyz]*.
58715         [ISO C standards] (*_t): Do not allow.
58716         * conform/data/wctype.h-data [C99-based standards] (iswblank):
58717         Expect function.
58718         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
58719         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
58720         Specify type.
58721         [ISO C standards]: Do not allow headers.
58722         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
58723         is[abcdefghijklmnopqrstuvwxyz]*.
58724         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
58725         to[abcdefghijklmnopqrstuvwxyz]*.
58726         [ISO C standards] (*_t): Do not allow.
58727         * conform/data/stdalign.h-data: New file.
58728         * conform/data/stdbool.h-data: Likewise.
58729         * conform/data/stdnoreturn.h-data: Likewise.
58731 2012-11-07  Roland McGrath  <roland@hack.frob.com>
58733         [BZ #14815]
58734         * manual/filesys.texi (Directory Entries): Typo fix.
58735         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
58737 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58739         * elf/elf.h (EM_AARCH64): New macro.
58740         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
58741         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
58742         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
58743         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
58744         (R_AARCH64_TLSDESC): Likewise.
58745         (NT_ARM_TLS): Likewise.
58746         (NT_ARM_HW_BREAK): Likewise.
58747         (NT_ARM_HW_WATCH): Likewise.
58749 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58751         [BZ #14811]
58752         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
58753         (__ieee754_powl): Saturate nonzero exponents with absolute value
58754         below 0x1p-79 to +/- 0x1p-79.
58755         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
58756         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
58757         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
58758         nonzero exponents with absolute value below 0x1p-32 to +/-
58759         0x1p-32.
58760         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
58761         (__ieee754_powl): Saturate nonzero exponents with absolute value
58762         below 0x1p-79 to +/- 0x1p-79.
58763         * math/libm-test.inc (pow_test): Add more tests.
58765 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58767         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
58768         _dl_s390_cap_flags with kernel. Increase string length.
58769         (_dl_s390_platforms): Add z196 and zEC12.
58771 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58773         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
58774         Change XOPEN21K to XOPEN2K.
58776 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
58778         * string/memmove.c: Use memcpy when possible.
58780 2012-11-06  Andreas Jaeger  <aj@suse.de>
58782         * po/eo.po: Update from translation team.
58784 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
58786         [BZ #14793]
58787         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
58788         exponent and small x and y exponents, scale x or y up.  Increase
58789         by 2 the exponent used in scaling up.
58790         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58791         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58792         * math/libm-test.inc (fma_test): Add more tests.
58793         (fma_test_towardzero): Likewise.
58794         (fma_test_downward): Likewise.
58795         (fma_test_upward): Likewise.
58797 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
58799         [BZ #14805]
58800         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
58801         fenv_t *.
58803         [BZ #14801]
58804         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
58805         namespace for names of struct fields.
58806         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
58807         fenv_t fields.
58808         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
58809         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
58811 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58813         [BZ #3665]
58814         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
58816 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
58818         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
58819         PTR_DEMANGLE.
58821         [BZ #5246]
58822         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
58823         PTR_DEMANGLE.
58825 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
58827         [BZ #14797]
58828         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
58829         definitely overflow as x * y not x * y + z.
58830         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58831         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58832         * math/libm-test.inc (fma_test): Add more tests.
58833         (fma_test_towardzero): Likewise.
58834         (fma_test_downward): Likewise.
58835         (fma_test_upward): Likewise.
58837 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
58839         [BZ #157]
58841         * include/stub-tag.h: Remove file.
58842         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
58843         '#include' of it.
58844         * manual/maint.texi (Porting): Don't reference it.
58845         * Makerules ($(objpfx)stubs): Likewise.
58846         * dirent/closedir.c: Don't include <stub-tag.h>.
58847         * dirent/dirfd.c: Likewise.
58848         * dirent/fdopendir.c: Likewise.
58849         * dirent/getdents.c: Likewise.
58850         * dirent/getdents64.c: Likewise.
58851         * dirent/opendir.c: Likewise.
58852         * dirent/readdir.c: Likewise.
58853         * dirent/readdir64.c: Likewise.
58854         * dirent/readdir64_r.c: Likewise.
58855         * dirent/readdir_r.c: Likewise.
58856         * dirent/rewinddir.c: Likewise.
58857         * dirent/seekdir.c: Likewise.
58858         * dirent/telldir.c: Likewise.
58859         * gmon/profil.c: Likewise.
58860         * grp/setgroups.c: Likewise.
58861         * inet/if_index.c: Likewise.
58862         * io/access.c: Likewise.
58863         * io/chdir.c: Likewise.
58864         * io/chmod.c: Likewise.
58865         * io/chown.c: Likewise.
58866         * io/close.c: Likewise.
58867         * io/dup.c: Likewise.
58868         * io/dup2.c: Likewise.
58869         * io/dup3.c: Likewise.
58870         * io/euidaccess.c: Likewise.
58871         * io/faccessat.c: Likewise.
58872         * io/fchdir.c: Likewise.
58873         * io/fchmod.c: Likewise.
58874         * io/fchmodat.c: Likewise.
58875         * io/fchown.c: Likewise.
58876         * io/fchownat.c: Likewise.
58877         * io/fcntl.c: Likewise.
58878         * io/flock.c: Likewise.
58879         * io/fstatfs.c: Likewise.
58880         * io/fstatfs64.c: Likewise.
58881         * io/fstatvfs.c: Likewise.
58882         * io/fstatvfs64.c: Likewise.
58883         * io/futimens.c: Likewise.
58884         * io/fxstat.c: Likewise.
58885         * io/fxstat64.c: Likewise.
58886         * io/fxstatat.c: Likewise.
58887         * io/fxstatat64.c: Likewise.
58888         * io/getcwd.c: Likewise.
58889         * io/isatty.c: Likewise.
58890         * io/lchmod.c: Likewise.
58891         * io/lchown.c: Likewise.
58892         * io/link.c: Likewise.
58893         * io/linkat.c: Likewise.
58894         * io/lseek.c: Likewise.
58895         * io/lseek64.c: Likewise.
58896         * io/lxstat64.c: Likewise.
58897         * io/mkdir.c: Likewise.
58898         * io/mkdirat.c: Likewise.
58899         * io/mkfifo.c: Likewise.
58900         * io/mkfifoat.c: Likewise.
58901         * io/open.c: Likewise.
58902         * io/open64.c: Likewise.
58903         * io/openat.c: Likewise.
58904         * io/openat64.c: Likewise.
58905         * io/pipe.c: Likewise.
58906         * io/pipe2.c: Likewise.
58907         * io/poll.c: Likewise.
58908         * io/posix_fadvise.c: Likewise.
58909         * io/posix_fadvise64.c: Likewise.
58910         * io/posix_fallocate.c: Likewise.
58911         * io/posix_fallocate64.c: Likewise.
58912         * io/read.c: Likewise.
58913         * io/readlink.c: Likewise.
58914         * io/readlinkat.c: Likewise.
58915         * io/rmdir.c: Likewise.
58916         * io/sendfile.c: Likewise.
58917         * io/sendfile64.c: Likewise.
58918         * io/statfs.c: Likewise.
58919         * io/statfs64.c: Likewise.
58920         * io/statvfs.c: Likewise.
58921         * io/statvfs64.c: Likewise.
58922         * io/symlink.c: Likewise.
58923         * io/symlinkat.c: Likewise.
58924         * io/ttyname.c: Likewise.
58925         * io/ttyname_r.c: Likewise.
58926         * io/umask.c: Likewise.
58927         * io/unlink.c: Likewise.
58928         * io/unlinkat.c: Likewise.
58929         * io/utime.c: Likewise.
58930         * io/utimensat.c: Likewise.
58931         * io/write.c: Likewise.
58932         * io/xmknod.c: Likewise.
58933         * io/xmknodat.c: Likewise.
58934         * io/xstat.c: Likewise.
58935         * io/xstat64.c: Likewise.
58936         * login/getpt.c: Likewise.
58937         * login/grantpt.c: Likewise.
58938         * login/unlockpt.c: Likewise.
58939         * math/e_acoshl.c: Likewise.
58940         * math/e_acosl.c: Likewise.
58941         * math/e_asinl.c: Likewise.
58942         * math/e_atan2l.c: Likewise.
58943         * math/e_atanhl.c: Likewise.
58944         * math/e_coshl.c: Likewise.
58945         * math/e_expl.c: Likewise.
58946         * math/e_fmodl.c: Likewise.
58947         * math/e_gammal_r.c: Likewise.
58948         * math/e_hypotl.c: Likewise.
58949         * math/e_j0l.c: Likewise.
58950         * math/e_j1l.c: Likewise.
58951         * math/e_jnl.c: Likewise.
58952         * math/e_lgammal_r.c: Likewise.
58953         * math/e_log10l.c: Likewise.
58954         * math/e_log2l.c: Likewise.
58955         * math/e_logl.c: Likewise.
58956         * math/e_powl.c: Likewise.
58957         * math/e_rem_pio2l.c: Likewise.
58958         * math/e_sinhl.c: Likewise.
58959         * math/e_sqrtl.c: Likewise.
58960         * math/fclrexcpt.c: Likewise.
58961         * math/fedisblxcpt.c: Likewise.
58962         * math/feenablxcpt.c: Likewise.
58963         * math/fegetenv.c: Likewise.
58964         * math/fegetexcept.c: Likewise.
58965         * math/fegetround.c: Likewise.
58966         * math/feholdexcpt.c: Likewise.
58967         * math/fesetenv.c: Likewise.
58968         * math/fesetround.c: Likewise.
58969         * math/feupdateenv.c: Likewise.
58970         * math/fgetexcptflg.c: Likewise.
58971         * math/fraiseexcpt.c: Likewise.
58972         * math/fsetexcptflg.c: Likewise.
58973         * math/ftestexcept.c: Likewise.
58974         * math/k_cosl.c: Likewise.
58975         * math/k_rem_pio2l.c: Likewise.
58976         * math/k_sinl.c: Likewise.
58977         * math/k_tanl.c: Likewise.
58978         * math/s_asinhl.c: Likewise.
58979         * math/s_atanl.c: Likewise.
58980         * math/s_cbrtl.c: Likewise.
58981         * math/s_erfl.c: Likewise.
58982         * math/s_expm1l.c: Likewise.
58983         * math/s_log1pl.c: Likewise.
58984         * math/s_tanhl.c: Likewise.
58985         * misc/acct.c: Likewise.
58986         * misc/brk.c: Likewise.
58987         * misc/chflags.c: Likewise.
58988         * misc/chroot.c: Likewise.
58989         * misc/fchflags.c: Likewise.
58990         * misc/fgetxattr.c: Likewise.
58991         * misc/flistxattr.c: Likewise.
58992         * misc/fremovexattr.c: Likewise.
58993         * misc/fsetxattr.c: Likewise.
58994         * misc/fsync.c: Likewise.
58995         * misc/ftruncate.c: Likewise.
58996         * misc/futimes.c: Likewise.
58997         * misc/futimesat.c: Likewise.
58998         * misc/getdomain.c: Likewise.
58999         * misc/getdtsz.c: Likewise.
59000         * misc/gethostid.c: Likewise.
59001         * misc/gethostname.c: Likewise.
59002         * misc/getloadavg.c: Likewise.
59003         * misc/getpagesize.c: Likewise.
59004         * misc/getsysstats.c: Likewise.
59005         * misc/getxattr.c: Likewise.
59006         * misc/gtty.c: Likewise.
59007         * misc/ioctl.c: Likewise.
59008         * misc/lgetxattr.c: Likewise.
59009         * misc/listxattr.c: Likewise.
59010         * misc/llistxattr.c: Likewise.
59011         * misc/lremovexattr.c: Likewise.
59012         * misc/lsetxattr.c: Likewise.
59013         * misc/lutimes.c: Likewise.
59014         * misc/madvise.c: Likewise.
59015         * misc/mincore.c: Likewise.
59016         * misc/mlock.c: Likewise.
59017         * misc/mlockall.c: Likewise.
59018         * misc/mmap.c: Likewise.
59019         * misc/mprotect.c: Likewise.
59020         * misc/msync.c: Likewise.
59021         * misc/munlock.c: Likewise.
59022         * misc/munlockall.c: Likewise.
59023         * misc/munmap.c: Likewise.
59024         * misc/preadv.c: Likewise.
59025         * misc/preadv64.c: Likewise.
59026         * misc/ptrace.c: Likewise.
59027         * misc/pwritev.c: Likewise.
59028         * misc/pwritev64.c: Likewise.
59029         * misc/readv.c: Likewise.
59030         * misc/reboot.c: Likewise.
59031         * misc/remap_file_pages.c: Likewise.
59032         * misc/removexattr.c: Likewise.
59033         * misc/revoke.c: Likewise.
59034         * misc/select.c: Likewise.
59035         * misc/setdomain.c: Likewise.
59036         * misc/setegid.c: Likewise.
59037         * misc/seteuid.c: Likewise.
59038         * misc/sethostid.c: Likewise.
59039         * misc/sethostname.c: Likewise.
59040         * misc/setregid.c: Likewise.
59041         * misc/setreuid.c: Likewise.
59042         * misc/setxattr.c: Likewise.
59043         * misc/sstk.c: Likewise.
59044         * misc/stty.c: Likewise.
59045         * misc/swapoff.c: Likewise.
59046         * misc/swapon.c: Likewise.
59047         * misc/sync.c: Likewise.
59048         * misc/syncfs.c: Likewise.
59049         * misc/syscall.c: Likewise.
59050         * misc/truncate.c: Likewise.
59051         * misc/ualarm.c: Likewise.
59052         * misc/usleep.c: Likewise.
59053         * misc/ustat.c: Likewise.
59054         * misc/utimes.c: Likewise.
59055         * misc/vhangup.c: Likewise.
59056         * misc/writev.c: Likewise.
59057         * posix/_exit.c: Likewise.
59058         * posix/alarm.c: Likewise.
59059         * posix/execve.c: Likewise.
59060         * posix/fexecve.c: Likewise.
59061         * posix/fork.c: Likewise.
59062         * posix/fpathconf.c: Likewise.
59063         * posix/getaddrinfo.c: Likewise.
59064         * posix/getegid.c: Likewise.
59065         * posix/geteuid.c: Likewise.
59066         * posix/getgid.c: Likewise.
59067         * posix/getgroups.c: Likewise.
59068         * posix/getlogin.c: Likewise.
59069         * posix/getlogin_r.c: Likewise.
59070         * posix/getpgid.c: Likewise.
59071         * posix/getpid.c: Likewise.
59072         * posix/getppid.c: Likewise.
59073         * posix/getresgid.c: Likewise.
59074         * posix/getresuid.c: Likewise.
59075         * posix/getsid.c: Likewise.
59076         * posix/getuid.c: Likewise.
59077         * posix/glob64.c: Likewise.
59078         * posix/nanosleep.c: Likewise.
59079         * posix/pathconf.c: Likewise.
59080         * posix/pause.c: Likewise.
59081         * posix/posix_madvise.c: Likewise.
59082         * posix/pread.c: Likewise.
59083         * posix/pread64.c: Likewise.
59084         * posix/pwrite.c: Likewise.
59085         * posix/pwrite64.c: Likewise.
59086         * posix/sched_getaffinity.c: Likewise.
59087         * posix/sched_getp.c: Likewise.
59088         * posix/sched_gets.c: Likewise.
59089         * posix/sched_primax.c: Likewise.
59090         * posix/sched_primin.c: Likewise.
59091         * posix/sched_rr_gi.c: Likewise.
59092         * posix/sched_setaffinity.c: Likewise.
59093         * posix/sched_setp.c: Likewise.
59094         * posix/sched_sets.c: Likewise.
59095         * posix/sched_yield.c: Likewise.
59096         * posix/setgid.c: Likewise.
59097         * posix/setlogin.c: Likewise.
59098         * posix/setpgid.c: Likewise.
59099         * posix/setresgid.c: Likewise.
59100         * posix/setresuid.c: Likewise.
59101         * posix/setsid.c: Likewise.
59102         * posix/setuid.c: Likewise.
59103         * posix/sleep.c: Likewise.
59104         * posix/spawni.c: Likewise.
59105         * posix/sysconf.c: Likewise.
59106         * posix/times.c: Likewise.
59107         * posix/wait.c: Likewise.
59108         * posix/wait3.c: Likewise.
59109         * posix/wait4.c: Likewise.
59110         * posix/waitpid.c: Likewise.
59111         * resolv/gai_sigqueue.c: Likewise.
59112         * resource/getpriority.c: Likewise.
59113         * resource/getrlimit.c: Likewise.
59114         * resource/getrusage.c: Likewise.
59115         * resource/nice.c: Likewise.
59116         * resource/setpriority.c: Likewise.
59117         * resource/setrlimit.c: Likewise.
59118         * resource/ulimit.c: Likewise.
59119         * rt/aio_cancel.c: Likewise.
59120         * rt/aio_fsync.c: Likewise.
59121         * rt/aio_read.c: Likewise.
59122         * rt/aio_sigqueue.c: Likewise.
59123         * rt/aio_suspend.c: Likewise.
59124         * rt/aio_write.c: Likewise.
59125         * rt/clock_getres.c: Likewise.
59126         * rt/clock_gettime.c: Likewise.
59127         * rt/clock_nanosleep.c: Likewise.
59128         * rt/clock_settime.c: Likewise.
59129         * rt/lio_listio.c: Likewise.
59130         * rt/mq_close.c: Likewise.
59131         * rt/mq_getattr.c: Likewise.
59132         * rt/mq_notify.c: Likewise.
59133         * rt/mq_open.c: Likewise.
59134         * rt/mq_receive.c: Likewise.
59135         * rt/mq_send.c: Likewise.
59136         * rt/mq_setattr.c: Likewise.
59137         * rt/mq_timedreceive.c: Likewise.
59138         * rt/mq_timedsend.c: Likewise.
59139         * rt/mq_unlink.c: Likewise.
59140         * rt/shm_open.c: Likewise.
59141         * rt/shm_unlink.c: Likewise.
59142         * rt/timer_create.c: Likewise.
59143         * rt/timer_delete.c: Likewise.
59144         * rt/timer_getoverr.c: Likewise.
59145         * rt/timer_gettime.c: Likewise.
59146         * rt/timer_settime.c: Likewise.
59147         * setjmp/__longjmp.c: Likewise.
59148         * setjmp/setjmp.c: Likewise.
59149         * signal/kill.c: Likewise.
59150         * signal/killpg.c: Likewise.
59151         * signal/raise.c: Likewise.
59152         * signal/sigaction.c: Likewise.
59153         * signal/sigaltstack.c: Likewise.
59154         * signal/sigblock.c: Likewise.
59155         * signal/sigignore.c: Likewise.
59156         * signal/sigintr.c: Likewise.
59157         * signal/signal.c: Likewise.
59158         * signal/sigpause.c: Likewise.
59159         * signal/sigpending.c: Likewise.
59160         * signal/sigqueue.c: Likewise.
59161         * signal/sigreturn.c: Likewise.
59162         * signal/sigset.c: Likewise.
59163         * signal/sigsetmask.c: Likewise.
59164         * signal/sigstack.c: Likewise.
59165         * signal/sigsuspend.c: Likewise.
59166         * signal/sigtimedwait.c: Likewise.
59167         * signal/sigvec.c: Likewise.
59168         * signal/sigwait.c: Likewise.
59169         * signal/sigwaitinfo.c: Likewise.
59170         * signal/sysv_signal.c: Likewise.
59171         * socket/accept.c: Likewise.
59172         * socket/accept4.c: Likewise.
59173         * socket/bind.c: Likewise.
59174         * socket/connect.c: Likewise.
59175         * socket/getpeername.c: Likewise.
59176         * socket/getsockname.c: Likewise.
59177         * socket/getsockopt.c: Likewise.
59178         * socket/isfdtype.c: Likewise.
59179         * socket/listen.c: Likewise.
59180         * socket/recv.c: Likewise.
59181         * socket/recvfrom.c: Likewise.
59182         * socket/recvmsg.c: Likewise.
59183         * socket/send.c: Likewise.
59184         * socket/sendmsg.c: Likewise.
59185         * socket/sendto.c: Likewise.
59186         * socket/setsockopt.c: Likewise.
59187         * socket/shutdown.c: Likewise.
59188         * socket/sockatmark.c: Likewise.
59189         * socket/socket.c: Likewise.
59190         * socket/socketpair.c: Likewise.
59191         * stdio-common/ctermid.c: Likewise.
59192         * stdio-common/cuserid.c: Likewise.
59193         * stdio-common/remove.c: Likewise.
59194         * stdio-common/rename.c: Likewise.
59195         * stdio-common/renameat.c: Likewise.
59196         * stdio-common/tempname.c: Likewise.
59197         * stdlib/getcontext.c: Likewise.
59198         * stdlib/makecontext.c: Likewise.
59199         * stdlib/setcontext.c: Likewise.
59200         * stdlib/swapcontext.c: Likewise.
59201         * stdlib/system.c: Likewise.
59202         * streams/fattach.c: Likewise.
59203         * streams/fdetach.c: Likewise.
59204         * streams/getmsg.c: Likewise.
59205         * streams/getpmsg.c: Likewise.
59206         * streams/putmsg.c: Likewise.
59207         * streams/putpmsg.c: Likewise.
59208         * sysdeps/unix/bsd/getpt.c: Likewise.
59209         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
59210         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
59211         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
59212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59213         Likewise.
59214         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
59215         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59216         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
59217         * sysvipc/msgctl.c: Likewise.
59218         * sysvipc/msgget.c: Likewise.
59219         * sysvipc/msgrcv.c: Likewise.
59220         * sysvipc/msgsnd.c: Likewise.
59221         * sysvipc/semctl.c: Likewise.
59222         * sysvipc/semget.c: Likewise.
59223         * sysvipc/semop.c: Likewise.
59224         * sysvipc/semtimedop.c: Likewise.
59225         * sysvipc/shmat.c: Likewise.
59226         * sysvipc/shmctl.c: Likewise.
59227         * sysvipc/shmdt.c: Likewise.
59228         * sysvipc/shmget.c: Likewise.
59229         * termios/tcdrain.c: Likewise.
59230         * termios/tcflow.c: Likewise.
59231         * termios/tcflush.c: Likewise.
59232         * termios/tcgetattr.c: Likewise.
59233         * termios/tcgetpgrp.c: Likewise.
59234         * termios/tcsendbrk.c: Likewise.
59235         * termios/tcsetattr.c: Likewise.
59236         * termios/tcsetpgrp.c: Likewise.
59237         * time/adjtime.c: Likewise.
59238         * time/clock.c: Likewise.
59239         * time/getitimer.c: Likewise.
59240         * time/gettimeofday.c: Likewise.
59241         * time/setitimer.c: Likewise.
59242         * time/settimeofday.c: Likewise.
59243         * time/stime.c: Likewise.
59244         * time/time.c: Likewise.
59246 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
59248         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
59249         /usr/old/bin.
59251         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
59252         instead of spaces.
59253         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
59255 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
59257         [BZ #14796]
59258         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
59259         FE_TONEAREST before applying Dekker multiplication and Knuth
59260         addition.  Clear inexact exceptions and check for exact zero
59261         results afterwards.
59262         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59263         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
59264         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59265         * math/libm-test.inc (fma_test): Add more tests.
59266         (fma_test_towardzero): Likewise.
59267         (fma_test_downward): Likewise.
59268         (fma_test_upward): Likewise.
59269         * sysdeps/generic/math_private.h (default_libc_fesetround): New
59270         function.
59271         (libc_fesetround): New macro.
59272         (libc_fesetroundf): Likewise.
59273         (libc_fesetroundl): Likewise.
59274         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
59275         function.
59276         (libc_fesetround_387): Likewise.
59277         (libc_fesetroundf): New macro.
59278         (libc_fesetround): Likewise.
59279         (libc_fesetroundl): Likewise.
59280         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
59281         function.
59282         (libc_fesetroundf): New macro.
59283         (libc_fesetround): Likewise.
59284         (libc_fesetroundl): Likewise.
59285         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
59286         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
59287         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
59288         libm_hidden_ver.
59289         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
59290         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
59291         libm_hidden_def.
59292         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
59293         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
59294         libm_hidden_ver.
59295         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
59296         libm_hidden_def.
59298         [BZ #3439]
59299         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
59300         integer constant usable in #if and use that to give value to enum
59301         constant.
59302         (FE_DIVBYZERO): Likewise.
59303         (FE_UNDERFLOW): Likewise.
59304         (FE_OVERFLOW): Likewise.
59305         (FE_INVALID): Likewise.
59306         (FE_INVALID_SNAN): Likewise.
59307         (FE_INVALID_ISI): Likewise.
59308         (FE_INVALID_IDI): Likewise.
59309         (FE_INVALID_ZDZ): Likewise.
59310         (FE_INVALID_IMZ): Likewise.
59311         (FE_INVALID_COMPARE): Likewise.
59312         (FE_INVALID_SOFTWARE): Likewise.
59313         (FE_INVALID_SQRT): Likewise.
59314         (FE_INVALID_INTEGER_CONVERSION): Likewise.
59315         (FE_TONEAREST): Likewise.
59316         (FE_TOWARDZERO): Likewise.
59317         (FE_UPWARD): Likewise.
59318         (FE_DOWNWARD): Likewise.
59319         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
59320         (FE_DIVBYZERO): Likewise.
59321         (FE_OVERFLOW): Likewise.
59322         (FE_UNDERFLOW): Likewise.
59323         (FE_INEXACT): Likewise.
59324         (FE_TONEAREST): Likewise.
59325         (FE_DOWNWARD): Likewise.
59326         (FE_UPWARD): Likewise.
59327         (FE_TOWARDZERO): Likewise.
59328         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
59329         (FE_UNDERFLOW): Likewise.
59330         (FE_OVERFLOW): Likewise.
59331         (FE_DIVBYZERO): Likewise.
59332         (FE_INVALID): Likewise.
59333         (FE_TONEAREST): Likewise.
59334         (FE_TOWARDZERO): Likewise.
59335         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
59336         (FE_OVERFLOW): Likewise.
59337         (FE_UNDERFLOW): Likewise.
59338         (FE_DIVBYZERO): Likewise.
59339         (FE_INEXACT): Likewise.
59340         (FE_TONEAREST): Likewise.
59341         (FE_TOWARDZERO): Likewise.
59342         (FE_UPWARD): Likewise.
59343         (FE_DOWNWARD): Likewise.
59344         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
59345         (FE_DIVBYZERO): Likewise.
59346         (FE_OVERFLOW): Likewise.
59347         (FE_UNDERFLOW): Likewise.
59348         (FE_INEXACT): Likewise.
59349         (FE_TONEAREST): Likewise.
59350         (FE_DOWNWARD): Likewise.
59351         (FE_UPWARD): Likewise.
59352         (FE_TOWARDZERO): Likewise.
59354 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
59356         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
59358 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
59360         * scripts/cross-test-ssh.sh (command): Use newlines to separate
59361         commands.  Quote $PWD.
59362         (blacklist_exports): Don't use remove_newlines.  Replace "declare
59363         -x" by "export".
59364         (remove_newlines): Remove.
59366 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
59368         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
59369         * stdlib/stdlib.h (atof): Moved to ...
59370         * include/bits/stdlib-float.h: Here.  New file.
59371         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
59372         * stdlib/bits/stdlib-float.h: New file.
59373         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
59374         -mno-sse -mno-mmx.
59375         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
59376         <xmmintrin.h>.
59378 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59380         * conform/conformtest.pl (@headers): Add fenv.h.
59381         * conform/data/fenv.h-data: New file.
59382         * include/fenv.h [_ISOMAC]: Disable all contents of file except
59383         include of <math/fenv.h>.
59385         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
59386         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
59387         && !UNIX98].  Enables tests for XOPEN2K8.
59388         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
59389         POSIX2008]: Likewise.
59391         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
59392         (struct rusage): Do not expect type or its members.
59394         [BZ #3439]
59395         * math/math.h (FP_NAN): Define macro to integer constant usable in
59396         #if and use that to give value to enum constant.
59397         (FP_INFINITE): Likewise.
59398         (FP_ZERO): Likewise.
59399         (FP_SUBNORMAL): Likewise.
59400         (FP_NORMAL): Likewise.
59402 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
59404         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
59405         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
59406         arguments.
59408 2012-11-02  Roland McGrath  <roland@hack.frob.com>
59410         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
59411         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
59412         autoconf-time if not.
59413         * configure.in: Remove AC_PREREQ.
59415 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59417         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
59418         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
59419         of the internal implementation.
59421 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59423         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
59424         except include of <misc/sys/syslog.h>.
59426 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
59429         function returns with a NULL context exit with zero.
59431 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59433         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
59435 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
59437         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
59438         (run_program_cmd): This.
59439         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
59440         (tst_langinfo): New variable.  Use it.
59442 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
59444         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
59445         floating point opcodes.
59447 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59449         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
59450         variable.
59452         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
59454         * sysdeps/mach/hurd/powerpc: Remove directory.
59455         * sysdeps/mach/powerpc: Likewise.
59457 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59459         * scripts/check-local-headers.sh: Ignore c++ headers.
59461 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59463         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
59464         __libc_cleanup_region_start argument.
59466 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
59468         [BZ #14784]
59469         [BZ #14785]
59470         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
59471         x * y using scaling, not as x * y + z.
59472         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59473         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59474         * math/libm-test.inc (fma_test): Add more tests.
59475         (fma_test_towardzero): Likewise.
59476         (fma_test_downward): Likewise.
59477         (fma_test_upward): Likewise.
59479 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59481         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
59483 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59485         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
59486         New variable.
59488 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
59490         * rt/tst-shm.c (worker): Correct checking for mmap failure.
59492 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59495         Fix sort order.
59496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59497         Likewise.
59499 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59502         Fix the order of the list for glibc 2.17.
59503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59504         Likewise.
59506 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59508         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59510 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59512         [BZ #14610]
59513         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
59514         for low part of x being zero before using __atanl (y).
59515         * math/libm-test.inc (atan2_test): Add another test.
59517         * manual/install.texi (Configuring and compiling): Document
59518         general use of test-wrapper and test-wrapper-env.
59519         * INSTALL: Regenerated.
59521         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
59522         (__fma): Do not extract and scale down low bits on after-rounding
59523         systems when result rounded to normal precision would have normal
59524         exponent.
59525         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
59526         (__fmal): Do not extract and scale down low bits on after-rounding
59527         systems when result rounded to normal precision would have normal
59528         exponent.
59529         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
59530         (__fmal): Do not extract and scale down low bits on after-rounding
59531         systems when result rounded to normal precision would have normal
59532         exponent.
59533         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
59534         macro.
59535         (fma_test): Add more tests.
59536         (fma_test_towardzero): Likewise.
59537         (fma_test_downward): Likewise.
59538         (fma_test_upward): Likewise.
59540 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
59542         * sysdeps/i386/tininess.h: Renamed to ...
59543         * sysdeps/x86/tininess.h: This.
59544         * sysdeps/x86_64/tininess.h: Removed.
59546 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59548         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
59549         input.  Use $(build-program-cmd).
59550         ($(objpfx)tst-array1-static.out): Likewise.
59551         ($(objpfx)tst-array2.out): Likewise.
59552         ($(objpfx)tst-array3.out): Likewise.
59553         ($(objpfx)tst-array4.out): Likewise.
59554         ($(objpfx)tst-array5.out): Likewise.
59555         ($(objpfx)tst-array5-static.out): Likewise.
59557 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
59559         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
59560         if defined.
59562         * nss/nsswitch.h (nss_interface_function): Provide new
59563         macro for use with NSS functions.
59564         * grp/initgroups.c: Use new macro.
59565         * nss/getXXbyYY.c: Likewise.
59566         * nss/getXXbyYY_r.c: Likewise.
59567         * nss/getXXent.c: Likewise.
59568         * nss/getXXent_r.c: Likewise.
59569         * sysdeps/posix/getaddrinfo.c: Likewise.
59571 2012-10-30  Andreas Jaeger  <aj@suse.de>
59573         * po/ru.po: Update Russion translation from translation project.
59575 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59577         [BZ #14152]
59578         [BZ #14783]
59579         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
59580         result and shift together with sticky bit instead of replicating
59581         round-to-nearest rounding.
59582         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59583         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59584         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
59585         missing underflow exceptions.
59586         (fma_test_towardzero): Add more tests.
59587         (fma_test_downward): Likewise.
59588         (fma_test_upward): Likewise.
59590         [BZ #14047]
59591         * sysdeps/generic/tininess.h: New file.
59592         * sysdeps/i386/tininess.h: Likewise.
59593         * sysdeps/sh/tininess.h: Likewise.
59594         * sysdeps/x86_64/tininess.h: Likewise.
59595         * stdlib/tst-strtod-underflow.c: Likewise.
59596         * stdlib/tst-tininess.c: Likewise.
59597         * stdlib/strtod_l.c: Include <tininess.h>.
59598         (round_and_return): Do not set errno for exact underflow cases.
59599         Force an underflow exception when setting errno for underflow.
59600         Determine underflow based on rounding to normal precision if
59601         TININESS_AFTER_ROUNDING.
59602         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
59603         ERANGE for exact underflow cases.
59604         * stdlib/Makefile (tests): Add tst-tininess and
59605         tst-strtod-underflow.
59606         ($(objpfx)tst-tininess): Use $(link-libm).
59607         ($(objpfx)tst-strtod-underflow): Likewise.
59609 2012-10-30  Andreas Jaeger  <aj@suse.de>
59611         [BZ#14767]
59612         * elf/Makefile (tests): Remove conditional for have-initfini-array
59613         since this is now always required and the variable does not exist
59614         anymore.
59615         (tests-static): Likewise.
59616         (modules-names): Likewise.
59618         * po/eo.po: Add Esperanto translation from translation project.
59620         * elf/tst-array1.c (fini_array): Make writeable so that it can be
59621         merged with constructor/destructor.
59622         (init_array): Likewise.
59623         * elf/tst-array2dep.c (fini_array): Likewise.
59624         (init_array): Likewise.
59626 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
59628         * manual/message.texi: Delete @cartouche tags.
59630 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
59632         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
59633         EOPNOTSUPP.
59634         * sysdeps/mach/hurd/fsync.c: Likewise.
59636         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
59637         [_POSIX_REALTIME_SIGNALS]: Change condition to
59638         [_POSIX_REALTIME_SIGNALS > 0].
59640 2012-10-27  Andreas Jaeger  <aj@suse.de>
59642         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
59643         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
59644         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
59645         [__WORDSIZE != 64]: Likewise.
59647 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
59649         *  iconvdata/tst-table.sh: Remove ${SHELL}.
59650         *  iconvdata/tst-tables.sh: Likewise.
59652 2012-10-25  David S. Miller  <davem@davemloft.net>
59654         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59655         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
59656         of strtoull.
59658         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
59659         ifunc-impl-list.c
59660         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59661         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
59662         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
59663         file.
59665 2012-10-25  Roland McGrath  <roland@hack.frob.com>
59667         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59668         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
59669         __getdirentries.
59671 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
59672             Jim Blandy  <jimb@codesourcery.com>
59674         * scripts/cross-test-ssh.sh: New file.
59675         * manual/install.texi (Configuring and compiling): Document use of
59676         cross-test-ssh.sh.
59677         * INSTALL: Regenerated.
59679 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
59681         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
59682         EOPNOTSUPP.
59684 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
59686         * Makeconfig (run-program-prefix): Fix comment.
59688 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
59689             Jim Blandy  <jimb@codesourcery.com>
59691         * Makeconfig (test-wrapper): New variable,
59692         (test-wrapper-env): Likewise.
59693         [$(cross-compiling) = yes && $(test-wrapper) != ""]
59694         (run-built-tests): Define to yes.
59695         (run-program-prefix): Use $(test-wrapper).
59696         (built-program-cmd): Likewise.
59697         * Rules (make-test-out): Use $(test-wrapper-env) and
59698         $(host-built-program-cmd).
59699         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
59700         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
59701         tst-pathopt.sh.
59702         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
59703         $(test-wrapper-env) to tst-rtld-load-self.sh.
59704         ($(objpfx)order2.out): Use $(test-wrapper).
59705         ($(objpfx)tst-initorder.out): Likewise.
59706         ($(objpfx)tst-initorder2.out): Likewise.
59707         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
59708         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
59709         (test_wrapper_env): New variable.  Use it to run ld.so.
59710         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
59711         Use it to run ld.so.
59712         (test_wrapper_env): Likewise.
59713         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
59714         $(test-wrapper) to run-iconv-test.sh.
59715         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
59716         (ICONV): Use $test_wrapper.
59717         * posix/Makefile ($(objpfx)globtest.out): Pass
59718         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
59719         globtest.sh, not $(run-program-prefix).
59720         * posix/globtest.sh (run_via_rtld_prefix): New variable.
59721         (test_wrapper): Likewise.
59722         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
59723         set together with run_via_rtld_prefix.
59724         (run_program_prefix): Define in terms of test_wrapper and
59725         run_via_rtld_prefix.
59727 2012-10-24  Roland McGrath  <roland@hack.frob.com>
59729         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
59730         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
59731         Targets removed.
59733         [BZ #14743]
59734         * include/time.h: Remove librt_hidden_proto (clock_gettime).
59735         Declare __clock_getres, __clock_gettime, __clock_settime,
59736         __clock_nanosleep, and __clock_getcpuclockid.
59737         * rt/clock_gettime.c: Define __clock_gettime as an alias.
59738         Remove librt_hidden_def (clock_gettime).
59739         * sysdeps/unix/clock_gettime.c: Likewise.
59740         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
59741         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
59742         * rt/clock_getres.c: Define __clock_getres as an alias.
59743         * sysdeps/posix/clock_getres.c: Likewise.
59744         * rt/clock_settime.c: Define __clock_settime as an alias.
59745         * sysdeps/unix/clock_settime.c: Likewise.
59746         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
59747         * sysdeps/unix/clock_nanosleep.c: Likewise.
59748         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
59749         * rt/clock-compat.c: New file.
59750         * rt/Makefile (librt-routines): Add clock-compat and move
59751         $(clock-routines) to ...
59752         (routines): ... here, new variable.
59753         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
59754         Don't add get_clockfreq here.
59755         * rt/Versions (libc: GLIBC_2.17): New version set.
59756         Add clock_* symbols here.
59757         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
59758         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
59759         (GLIBC_2.17): Add clock_* symbols.
59760         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
59761         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
59762         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59764         Likewise.
59765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59766         Likewise.
59767         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59768         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
59769         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
59770         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
59771         * NEWS: Mention the move.
59773         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
59774         Use __open, __read, __close rather than their public counterparts.
59775         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59776         (__get_clockfreq_via_cpuinfo): Likewise.
59777         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
59778         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
59780         * config.h.in (HAVE_IFUNC): New #undef.
59781         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
59782         was successful.
59783         * configure: Regenerated.
59785 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
59787         * configure.in: Move READELF check to start of file.
59788         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
59789         libc_cv_asm_gnu_indirect_function in the process.
59790         * configure: Regenerated.
59792 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
59794         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
59795         send the output to /dev/null.
59796         (libc_cv_cc_with_libunwind): Likewise.
59797         (libc_cv_as_noexecstack): Likewise.
59798         * configure: Regenerate.
59800 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
59802         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
59804         * posix/globtest.sh (TMPDIR): Do not set.
59805         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
59806         (testout): Likewise.
59808 2012-10-24  Andreas Jaeger  <aj@suse.de>
59810         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
59811         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
59812         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
59813         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
59814         posix_fadvise64, posix_fallocate64.
59816         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
59817         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
59818         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
59819         Likewise.
59820         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
59821         Likewise.
59822         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
59824         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
59825         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
59826         <bits/fcntl-linux.h>.
59827         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
59829         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
59830         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
59831         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
59832         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
59833         [__WORDSIZE != 64]: Likewise.
59835 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
59837         * Makeconfig (run-built-tests): New variable.
59838         * Rules [$(cross-compiling) = yes]: Change condition to
59839         [$(run-built-tests) = no].
59840         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
59841         to [$(run-built-tests) = yes].
59842         * elf/Makefile [$(cross-compiling) = no]: Likewise.
59843         * grp/Makefile [$(cross-compiling) = no]: Likewise.
59844         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
59845         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
59846         * intl/Makefile [$(cross-compiling) = no]: Likewise.
59847         * io/Makefile [$(cross-compiling) = no]: Likewise.
59848         * libio/Makefile [$(cross-compiling) = no]: Likewise.
59849         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
59850         * misc/Makefile [$(cross-compiling) = no]: Likewise.
59851         * posix/Makefile [$(cross-compiling) = no]: Likewise.
59852         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
59853         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
59854         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
59855         * string/Makefile [$(cross-compiling) = no]: Likewise.
59857         * posix/Makefile ($(objpfx)globtest.out): Pass
59858         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
59859         $(rtld-installed-name).
59860         * posix/globtest.sh (elf_objpfx): Remove variable.
59861         (rtld_installed_name): Likewise.
59862         (library_path): Likewise.
59863         (run_program_prefix): New variable.  Use for running globtest
59864         binary.
59866 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
59867             Joseph Myers  <joseph@codesourcery.com>
59869         * Makeconfig (host-built-program-cmd): New variable.
59870         * elf/Makefile (tst-stackguard1-ARGS): Use
59871         $(host-built-program-cmd).
59872         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
59873         (tst-spawn-ARGS): Likewise.
59874         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
59876 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
59877             Jim Blandy  <jimb@codesourcery.com>
59879         * Makeconfig (run-via-rtld-prefix): New variable.
59880         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
59881         (built-program-cmd): Likewise.
59883 2012-10-22  Andreas Jaeger  <aj@suse.de>
59885         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
59886         __O_RSYNC if it exists, otherwise to O_SYNC.
59888 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
59889             Joseph Myers  <joseph@codesourcery.com>
59891         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
59892         /dev/null.
59893         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
59894         from /dev/null
59895         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
59896         /dev/null.
59898 2012-10-22  Andreas Jaeger  <aj@suse.de>
59900         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
59901         Define always.
59902         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
59904         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59905         bits/fcntl-linux.h.
59907         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
59908         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
59910         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
59911         to __O_LARGEFILE.
59912         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
59913         to __O_LARGEFILE.
59915 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
59916             Joseph Myers  <joseph@codesourcery.com>
59918         * config.make.in (NM): New variable.
59920 2012-10-21  Andreas Jaeger  <aj@suse.de>
59922         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
59923         definitions and declarations that are provided by
59924         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
59926 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
59928         [BZ #14683]
59929         * elf/Makefile (tests-static): Add tst-leaks1-static.
59930         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
59931         ($(objpfx)tst-leaks1-static): New rule.
59932         ($(objpfx)tst-leaks1-static-mem): Likewise.
59933         (tst-leaks1-static-ENV): New macro.
59934         * elf/dl-open.c (dl_open_worker): Check the main application
59935         only if SHARED is defined.
59936         * elf/tst-leaks1-static.c: New file.
59938 2012-10-20  Andreas Jaeger  <aj@suse.de>
59940         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
59941         generic values for Linux.
59942         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
59943         and declarations that are provided by <bits/fcntl-linux.h> and
59944         include <bits/fcntl-linux.h>.
59945         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59946         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59948 2012-10-20  Roland McGrath  <roland@hack.frob.com>
59950         * io/fcntl.h: Move include of <bits/types.h> to the top and
59951         include it unconditionally.
59953 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
59955         * wcsmbs/Makefile (tests-ifunc): New variable.
59956         (tests): Add $(tests-ifunc).
59957         * wcsmbs/test-wcschr-ifunc.c: New file.
59958         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
59959         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
59960         * wcsmbs/test-wcslen-ifunc.c: Likewise.
59961         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
59962         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
59964         * string/Makefile (tests-ifunc): New variable.
59965         (tests): Add $(tests-ifunc).
59966         * string/test-memccpy.c (TEST_NAME): New macro.
59967         * string/test-memchr.c (TEST_NAME): Likewise.
59968         * string/test-memcmp.c (TEST_NAME): Likewise.
59969         * string/test-memcpy.c (TEST_NAME): Likewise.
59970         * string/test-memmem.c (TEST_NAME): Likewise.
59971         * string/test-memmove.c (TEST_NAME): Likewise.
59972         * string/test-memset.c (TEST_NAME): Likewise.
59973         * string/test-rawmemchr.c (TEST_NAME): Likewise.
59974         * string/test-stpcpy.c (TEST_NAME): Likewise.
59975         * string/test-stpncpy.c (TEST_NAME): Likewise.
59976         * string/test-strcasecmp.c (TEST_NAME): Likewise.
59977         * string/test-strcasestr.c (TEST_NAME): Likewise.
59978         * string/test-strcat.c (TEST_NAME): Likewise.
59979         * string/test-strchr.c (TEST_NAME): Likewise.
59980         * string/test-strcmp.c(TEST_NAME): Likewise.
59981         * string/test-strcpy.c (TEST_NAME): Likewise.
59982         * string/test-strcspn.c (TEST_NAME): Likewise.
59983         * string/test-strlen.c (TEST_NAME): Likewise.
59984         * string/test-strncasecmp.c (TEST_NAME): Likewise.
59985         * string/test-strncmp.c (TEST_NAME): Likewise.
59986         * string/test-strncpy.c (TEST_NAME): Likewise.
59987         * string/test-strnlen.c (TEST_NAME): Likewise.
59988         * string/test-strpbrk.c (TEST_NAME): Likewise.
59989         * string/test-strrchr.c (TEST_NAME): Likewise.
59990         * string/test-strspn.c (TEST_NAME): Likewise.
59991         * string/test-strstr.c (TEST_NAME): Likewise.
59992         * string/test-bcopy-ifunc.c: New file.
59993         * string/test-bzero-ifunc.c: Likewise.
59994         * string/test-memccpy-ifunc.c: Likewise.
59995         * string/test-memchr-ifunc.c: Likewise.
59996         * string/test-memcmp-ifunc.c: Likewise.
59997         * string/test-memcpy-ifunc.c: Likewise.
59998         * string/test-memmem-ifunc.c: Likewise.
59999         * string/test-memmove-ifunc.c: Likewise.
60000         * string/test-mempcpy-ifunc.c: Likewise.
60001         * string/test-memset-ifunc.c: Likewise.
60002         * string/test-rawmemchr-ifunc.c: Likewise.
60003         * string/test-stpcpy-ifunc.c: Likewise.
60004         * string/test-stpncpy-ifunc.c: Likewise.
60005         * string/test-strcasecmp-ifunc.c: Likewise.
60006         * string/test-strcasestr-ifunc.c: Likewise.
60007         * string/test-strcat-ifunc.c: Likewise.
60008         * string/test-strchr-ifunc.c: Likewise.
60009         * string/test-strchrnul-ifunc.c: Likewise.
60010         * string/test-strcmp-ifunc.c: Likewise.
60011         * string/test-strcpy-ifunc.c: Likewise.
60012         * string/test-strcspn-ifunc.c: Likewise.
60013         * string/test-strlen-ifunc.c: Likewise.
60014         * string/test-strncasecmp-ifunc.c: Likewise.
60015         * string/test-strncat-ifunc.c: Likewise.
60016         * string/test-strncmp-ifunc.c: Likewise.
60017         * string/test-strncpy-ifunc.c: Likewise.
60018         * string/test-strnlen-ifunc.c: Likewise.
60019         * string/test-strpbrk-ifunc.c: Likewise.
60020         * string/test-strrchr-ifunc.c: Likewise.
60021         * string/test-strspn-ifunc.c: Likewise.
60022         * string/test-strstr-ifunc.c: Likewise.
60024         * debug/Makefile (tests-ifunc): New variable.
60025         (tests): Add $(tests-ifunc).
60026         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
60027         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
60028         * debug/test-stpcpy_chk-ifunc.c: New file.
60029         * debug/test-strcpy_chk-ifunc.c: Likewise.
60031 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
60033         [BZ #13601]
60034         * elf/dl-load.c (open_verify): Retry read if the entire ELF
60035         header is not read in.
60037 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
60039         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
60040         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
60041         directly.  Pass built executable to script as
60042         $(built-program-cmd).
60043         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
60044         $testprogram without using LD_LIBRARY_PATH and $ldso.
60046         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
60047         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
60048         $(rtld-installed-name).
60049         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
60050         (rtld_installed_name): Likewise.
60051         (library_path): Likewise.
60052         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
60053         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
60054         $(run-program-prefix) to tst-tables.sh.
60055         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
60056         it to run tst-table-from and tst-table-to.
60057         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
60058         Pass it to tst-table.sh.
60059         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
60060         $(run-program-prefix) to tst-gettext.sh.
60061         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
60062         tst-translit.sh.
60063         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
60064         tst-gettext2.sh.
60065         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
60066         to run tst-gettext.
60067         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
60068         to run tst-gettext2.
60069         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
60070         to run tst-translit.
60071         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
60072         $(run-program-prefix) to tst-mtrace.sh.
60073         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
60074         to run tst-mtrace.
60075         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
60076         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
60077         $(rtld-installed-name).
60078         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
60079         (rtld_installed_name): Likewise.
60080         (run_program_prefix): New variable.  Use it to run wordexp-test.
60082         * Makeconfig (ARCH): Remove all definitions.
60083         (machine): Likewise.
60084         [ARCH]: Remove conditional code.
60085         [!objdir]: Give error.
60086         [!objdir] (objpfx): Remove.
60087         [!objdir] (common-objpfx): Likewise.
60088         [!objdir] (common-objdir): Likewise.
60089         * configure.in (config_makefile): Remove.  Hardcode Makefile in
60090         AC_CONFIG_FILES call.
60091         * configure: Regenerated.
60093         [BZ #13888]
60094         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
60095         or TMPDIR.
60096         (testout): Likewise.
60098         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
60099         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
60100         $(rtld-installed-name).
60101         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
60102         (rtld_installed_name): Likwise.
60103         (runit): Remove function.
60104         (run_getconf): New variable,  Use it for running getconf binary.
60106 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
60108         [BZ #14716]
60109         * string/test-memmem.c (check_result): New function.
60110         (do_one_test): Use it.
60111         (check1): New function.
60112         (test_main): Use it.
60114 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
60116         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
60118 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
60120         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
60121         (_G_LSEEK64): Likewise.
60122         (_G_MMAP64): Likewise.
60123         (_G_FSTAT64): Likewise.
60124         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
60125         (_G_LSEEK64): Likewise.
60126         (_G_MMAP64): Likewise.
60127         (_G_FSTAT64): Likewise.
60128         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
60129         unconditional.  Call __mmap64 directly.
60130         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
60131         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
60132         __lseek64 directly.
60133         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
60134         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
60135         __mmap64 directly.
60136         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
60137         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
60138         __lseek64 directly.
60139         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
60140         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
60141         __lseek64 directly.
60142         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
60143         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
60144         __lseek64 directly.
60145         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
60146         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
60147         __fxstat64 directly.
60148         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
60149         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
60150         unconditional.
60151         (freopen64) [!_G_OPEN64]: Remove conditional code.
60152         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
60153         unconditional.
60154         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
60155         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
60156         unconditional.
60157         (ftello64) [!_G_LSEEK64]: Remove conditional code.
60158         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
60159         unconditional.
60160         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
60161         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
60162         unconditional.
60163         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
60164         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
60165         unconditional.
60166         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
60167         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
60168         unconditional.
60169         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
60170         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
60171         unconditional.
60172         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
60174 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60176         [BZ #12140]
60177         * manual/memory.texi (Malloc Tunable Parameters): Add note
60178         about free list pointers overwriting some perturb bytes.
60179         Wording suggested by Roland McGrath.
60181 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
60183         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
60184         (lgamma_test): Likewise.
60185         (tgamma_test): Likewise.
60187 2012-10-16  Florian Weimer  <fweimer@redhat.com>
60189         [BZ #14700]
60190         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
60191         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
60193 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
60195         * NEWS: Mention BZ #14716.
60196         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
60197         when removing AVAILABLE1_USES_J macro.
60199 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
60201         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
60202         (__bswap_64): __uint64_t for unsigned 64-bit int.
60204 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
60206         * include/string.h (memmem): Declare libc hidden alias.
60207         * string/memmem.c (memmem): Define libc hidden alias.
60208         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
60209         __read, __close instead of open, read, close.
60211 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
60213         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
60214         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
60215         global and hidden.
60216         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
60217         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
60218         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
60219         Likewise.
60220         (__rawmemchr_sse2): Likewise.
60221         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
60222         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
60223         (__strchr_sse2): Likewise.
60224         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
60225         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
60226         (__strcasecmp_sse2): Likewise.
60227         (__strncasecmp_sse2): Likewise.
60228         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
60229         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
60230         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
60231         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
60232         (__strrchr_sse2): Likewise.
60233         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
60234         ifunc-impl-list.c.
60235         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
60236         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
60237         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
60238         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60239         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
60240         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
60241         * sysdeps/x86_64/multiarch/memset.S: Likewise.
60242         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
60243         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
60244         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
60245         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
60246         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
60247         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
60248         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
60249         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
60250         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
60251         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
60252         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
60253         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
60254         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
60255         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
60256         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
60257         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
60258         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
60259         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
60260         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60261         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
60262         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
60263         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
60264         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
60266         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
60267         global and hidden.
60268         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
60269         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
60270         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
60271         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
60272         Likewise.
60273         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
60274         Likewise.
60275         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
60276         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
60277         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
60278         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
60279         ifunc-impl-list.c.
60280         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
60281         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
60282         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
60283         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
60284         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
60285         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
60286         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
60287         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
60288         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
60289         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
60290         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
60291         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
60292         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
60293         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
60294         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
60295         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
60296         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
60297         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
60298         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
60299         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
60300         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
60301         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
60302         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
60303         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
60304         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60305         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
60306         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
60307         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
60308         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
60309         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
60310         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
60311         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
60312         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
60313         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
60314         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
60315         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
60316         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
60317         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
60318         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
60319         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
60320         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
60322         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
60323         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
60324         * include/ifunc-impl-list.h: New file.
60325         * misc/ifunc-impl-list.c: Likewise.
60326         * misc/Makefile (routines): Add ifunc-impl-list.
60327         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
60328         * string/test-string.h: Include <ifunc-impl-list.h>.
60329         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
60330         TEST_NAME]: New variables.
60331         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
60332         are defined.
60333         (test_init): Call __libc_ifunc_impl_list to initialize
60334         func_list if TEST_IFUNC and TEST_NAME are defined.
60336         * string/Makefile (strop-tests): Add bcopy and bzero.
60337         * string/test-bcopy.c: New file.
60338         * string/test-bzero.c: Likewise.
60339         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
60340         defined.
60341         * string/test-memset.c: Support bzero test if TEST_BZERO is
60342         defined.
60343         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
60344         __libc_memmove.
60345         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
60346         __libc_memset.
60347         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
60348         of memset.
60350 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
60352         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
60353         * configure: Regenerated.
60355         * Makeconfig (+link-static-before-libc): Don't include
60356         $(link-static-libc).
60358         * libio/libio.h (_IO_pos_t): Remove.
60360 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60362         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
60363         McGrath.
60365 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60367         * crypt/crypt-entry.c: Include fips-private.h.
60368         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
60369         * crypt/md5c-test.c (main): Tolerate disabled MD5.
60370         * sysdeps/unix/sysv/linux/fips-private.h: New file.
60371         * sysdeps/generic/fips-private.h: New file, dummy fallback.
60373 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60375         * crypt/crypt-private.h: Include stdbool.h.
60376         (_ufc_setup_salt_r): Return bool.
60377         * crypt/crypt-entry.c: Include errno.h.
60378         (__crypt_r): Return NULL with EINVAL for bad salt.
60379         * crypt/crypt_util.c (bad_for_salt): New.
60380         (_ufc_setup_salt_r): Check that salt is long enough and within
60381         the specified alphabet.
60382         * crypt/badsalttest.c: New file.
60383         * crypt/Makefile (tests): Add it.
60384         ($(objpfx)badsalttest): New.
60386 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
60388         * NEWS: Add entry for BZ #14602.
60390 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60392         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
60393         type-generic.
60394         * math/libm-test.inc: Update comment listing what functions and
60395         macros are tested.
60396         (isgreater_test): New function.
60397         (isgreaterequal_test): Likewise.
60398         (isless_test): Likewise.
60399         (islessequal_test): Likewise.
60400         (islessgreater_test): Likewise.
60401         (isunordered_test): Likewise.
60402         (main): Call the new functions.
60404 2012-10-09  Roland McGrath  <roland@hack.frob.com>
60406         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
60407         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
60408         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
60409         * sysdeps/i386/configure: Regenerated.
60410         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
60411         * sysdeps/mach/configure: Regenerated.
60412         * sysdeps/mach/hurd/configure: Regenerated.
60413         * sysdeps/powerpc/configure: Regenerated.
60414         * sysdeps/powerpc/powerpc32/configure: Regenerated.
60415         * sysdeps/powerpc/powerpc64/configure: Regenerated.
60416         * sysdeps/s390/s390-32/configure: Regenerated.
60417         * sysdeps/s390/s390-64/configure: Regenerated.
60418         * sysdeps/sh/configure: Regenerated.
60419         * sysdeps/sparc/configure: Regenerated.
60420         * sysdeps/unix/sysv/linux/configure: Regenerated.
60421         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
60422         * sysdeps/x86_64/configure: Regenerated.
60424         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
60425         defined.  Don't check if MAP is NULL.
60427 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60429         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
60430         (_G_stat64): Likewise.
60431         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
60432         (_G_stat64): Likewise.
60433         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
60434         instead of struct _G_stat64.
60435         * libio/fileops.c (mmap_remap_check): Likewise.
60436         (decide_maybe_mmap): Likewise.
60437         (_IO_new_file_seekoff): Likewise.
60438         (_IO_file_stat): Likewise.
60439         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
60440         _G_off64_t.
60441         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
60442         instead of struct _G_stat64.
60443         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60445 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
60447         [BZ #14602]
60448         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60449         Replace with ...
60450         (CHECK_EOL): New macro.
60451         (two_way_short_needle): Check beginning of haystack for EOL.  Use
60452         CHECK_EOL.
60453         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60454         Replace with CHECK_EOL.
60455         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60456         Replace with CHECK_EOL.
60458 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
60460         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
60461         type-generic.
60462         * math/libm-test.inc: Update comment listing what functions and
60463         macros are tested.
60464         (finite_test): New function.
60465         (isinf_test): Likewise.
60466         (isnan_test): Likewise.
60467         (fpclassify_test): Test subnormal input.
60468         (isfinite_test): Likewise.
60469         (isnormal_test): Likewise.
60470         (main): Call the new functions.
60472 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
60474         [BZ #14660]
60475         * Makerules (%.dynsym): Force C locale when running
60476         $(OBJDUMP) --dynamic-syms.
60478 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
60480         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
60481         <stdint.h>.
60483 2012-10-06  David S. Miller  <davem@davemloft.net>
60485         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
60486         upper 32-bits of the length value in %o2 since we use branch-on-register
60487         tests which consider the entire 64-bit register.
60489 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
60491         * string/test-strstr.c (check2): Add a test for page boundary.
60493 2012-10-05  David S. Miller  <davem@davemloft.net>
60495         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
60496         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
60497         file.
60498         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60499         sysdep_routines.
60500         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60501         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
60502         and bzero when HWCAP_SPARC_CRYPTO is present.
60504 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
60506         [BZ #14602]
60507         * string/test-strstr.c (check2): New function.
60508         (test_main): Call check2.
60510         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
60511         and bug-strchr1.
60512         * string/bug-strcasestr1.c (do_test): Moved to ...
60513         * string/test-strcasestr.c (check1): Here.  New function.
60514         (do_one_test): Break out result checking code into ...
60515         (check_result): This.  New function.
60516         (do_one_test): Call check_result.
60517         (test_main): Call check1.
60518         * string/bug-strchr1.c (do_test): Moved to ...
60519         * string/test-strchr.c (check1): Here.  New function.
60520         (do_one_test): Break out result checking code into ...
60521         (check_result): This.  New function.
60522         (do_one_test): Call check_result.
60523         (test_main): Call check1.
60524         * string/bug-strstr1.c (main): Moved to ...
60525         * string/test-strstr.c (check1): Here.  New function.
60526         (do_one_test): Break out result checking code into ...
60527         (check_result): This.  New function.
60528         (do_one_test): Call check_result.
60529         (test_main): Call check1.
60530         * string/bug-strcasestr1.c: Removed.
60531         * string/bug-strchr1.c: Likewise.
60532         * string/bug-strstr1.c: Likewise.
60534         * elf/Makefile (dl-routines): Add hwcaps.
60535         * elf/dl-support.c (_dl_important_hwcaps): Removed.
60536         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
60537         (_dl_important_hwcaps): Moved to ...
60538         * elf/dl-hwcaps.c: Here.  New file.
60539         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
60541         [BZ #14557]
60542         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
60543         if IS_IN_rtld isn't defined.
60545         * elf/dl-support.c (_dl_sysinfo_map): New.
60546         Include "get-dynamic-info.h" and "setup-vdso.h".
60547         (_dl_non_dynamic_init): Call setup_vdso.
60548         * elf/dynamic-link.h: Don't include <assert.h>.
60549         (elf_get_dynamic_info): Moved to ...
60550         * elf/get-dynamic-info.h: Here.  New file.
60551         * elf/dynamic-link.h: Include "get-dynamic-info.h".
60552         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
60553         * elf/setup-vdso.h: Here.  New file.
60554         * elf/rtld.c: Include "setup-vdso.h".
60555         (dl_main): Call setup_vdso.
60557 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
60559         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
60560         creal in comment listing functions tested.  List finite, isinf,
60561         isnan, isless, islessequal, isgreater, isgreaterequal,
60562         islessgreater, isunordered, lgamma_r and pow10 as functions and
60563         macros not tested.  Mention which functions not tested are aliases
60564         for other functions.  Fix typo.  Note that signs of NaNs are not
60565         tested.
60567         * scripts/config.guess: Update from config.git.
60568         * scripts/config.sub: Likewise.
60570 2012-10-04  Roland McGrath  <roland@hack.frob.com>
60572         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
60573         * misc/madvise.c (madvise): Renamed to __madvise.
60574         Make madvise a weak alias.
60575         * include/sys/mman.h: Declare __madvise.
60576         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
60577         * sysdeps/unix/syscalls.list
60578         (madvise): Make __madvise the strong name, and madvise a weak alias.
60579         * sysdeps/unix/sysv/linux/syscalls.list
60580         (madvise, mmap): Remove redundant entries.
60581         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
60582         * malloc/malloc.c (mtrim): Likewise.
60583         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
60585 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60587         * sysdeps/mach/hurd/dl-cache.c: File removed.
60588         * config.h.in (USE_LDCONFIG): New #undef.
60589         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
60590         * configure: Regenerated.
60591         * elf/Makefile (dl-routines): Add dl-cache only under
60592         [$(use-ldconfig) = yes].
60593         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
60594         cache on [USE_LDCONFIG].
60595         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
60596         [USE_LDCONFIG].
60597         * elf/rtld.c (dl_main): Likewise.
60599 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
60601         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
60602         _SC_LEVEL4_CACHE_LINESIZE.
60604 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60606         * sysdeps/unix/bsd/confstr.h: File removed.
60608 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
60610         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
60611         sys/sdt-config.h.
60613 2012-10-02  Roland McGrath  <roland@hack.frob.com>
60615         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
60616         Make 'mapoff' field ElfW(Off) rather than off_t.
60618 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
60620         * nscd/Makefile: Remove nscd-cflags and all its users.
60621         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
60622         (CFLAGS-nonlib): Add compiler flags for nscd modules.
60624         [BZ #10631]
60625         * malloc.c (malloc_printerr): Clarify error message.
60627 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
60629         [BZ #14648]
60630         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60631         Set bit_FMA_Usable if FMA is supported.
60632         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
60633         macro.
60634         (bit_FMA4_Usable): Updated.
60635         (index_FMA_Usable): New macro.
60636         (CPUID_FMA): Likewise.
60637         (HAS_FMA): Defined with bit_FMA_Usable.
60639 2012-10-01  Roland McGrath  <roland@hack.frob.com>
60641         * bits/types.h (__swblk_t): Type removed.
60642         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
60643         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
60644         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60645         (__SWBLK_T_TYPE): Likewise.
60646         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60647         (__SWBLK_T_TYPE): Likewise.
60648         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60649         (__SWBLK_T_TYPE): Likewise.
60650         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60651         (__SWBLK_T_TYPE): Likewise.
60653 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
60654             Honza Horak <hhorak@redhat.com>
60656         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
60657         (xdr_mapname): Use YPMAXMAP as maxsize.
60658         (xdr_peername): Use YPMAXPEER as maxsize.
60659         (xdr_keydat): Use YPAXRECORD as maxsize.
60660         (xdr_valdat): Use YPMAXRECORD as maxsize.
60662 2012-10-01  Roland McGrath  <roland@hack.frob.com>
60664         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
60666         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
60667         * csu/init-first.c: ... here.
60668         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
60669         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
60670         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
60671         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
60672         * sysdeps/i386/init-first.c: File removed.
60673         * sysdeps/sh/init-first.c: File removed.
60675 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
60677         [BZ #14645]
60678         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
60679         if x * y might underflow to zero and z is zero.
60680         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60681         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60682         * math/libm-test.inc (min_subnorm_value): New variable.
60683         (fma_test): Add more tests.
60684         (fma_test_towardzero): Likewise.
60685         (fma_test_downward): Likewise.
60686         (fma_test_upward): Likewise.
60687         (initialize): Set min_subnorm_value.
60689 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
60691         [BZ #14638]
60692         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
60693         0 + 0.
60694         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
60695         mode for addition resulting in exact zero.
60696         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
60697         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
60698         exact 0 + 0.
60699         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
60700         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60701         * math/libm-test.inc (fma_test): Add more tests.
60702         (fma_test_towardzero): New function.
60703         (fma_test_downward): Likewise.
60704         (fma_test_upward): Likewise.
60705         (main): Call the new functions.
60707 2012-09-28  David S. Miller  <davem@davemloft.net>
60709         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
60711 2012-09-28  Roland McGrath  <roland@hack.frob.com>
60713         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
60714         instead of SIGALRM.
60716         * sysdeps/gnu/_G_config.h: Moved to ...
60717         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
60718         * sysdeps/mach/hurd/_G_config.h: Moved to ...
60719         * sysdeps/generic/_G_config.h: ... here.
60721         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
60723         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
60725         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
60726         Conditionalize target on [libnss_test1.so-version].
60728         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
60730         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
60731         (elfobjdir): Move out of conditionals.
60733         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
60734         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
60735         (__nss_lookup_function): Conditionalize label remove_from_tree on
60736         [!DO_STATIC_NSS || SHARED], matching its only use.
60738 2012-09-28  David S. Miller  <davem@davemloft.net>
60740         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
60741         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
60742         file.
60743         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60744         sysdep_routines.
60745         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60746         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
60747         when HWCAP_SPARC_CRYPTO is present.
60749 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60751         * io/tst-mknodat.c: Create a FIFO instead of a socket.
60753 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
60755         [BZ #6530]
60756         * stdio-common/vfprintf.c (process_string_arg): Revert
60757         2000-07-22 change.
60759 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
60761         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
60762         for testcase.
60763         * stdio-common/tst-sprintf.c: Include <locale.h>
60764         (main): Test sprintf's handling of incomplete multibyte
60765         characters.
60767 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
60769         * elf/dl-runtime.c (VERSYMIDX): Removed.
60770         * elf/dl-version.c (VERSYMIDX): Likewise.
60771         * elf/do-rel.h (VERSYMIDX): Likewise.
60772         (VALIDX): Likewise.
60773         * elf/dynamic-link.h (VERSYMIDX): Likewise.
60774         * elf/rtld.c (VALIDX): Likewise.
60775         (ADDRIDX): Likewise.
60776         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
60777         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
60778         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
60779         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
60780         (VALIDX): Likewise.
60781         (ADDRIDX): Likewise.
60783 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60785         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
60787 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
60789         [BZ #11438]
60790         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
60791         to global scope.
60792         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
60793         addresses are in the same scope as 192.0.2/24.
60794         * posix/gai.conf: Document new scope table defaults.
60796 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60798         [BZ #5298]
60799         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
60800         for ftell.  Compute offsets from write pointers instead.
60801         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60803 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60805         [BZ #14543]
60806         * libio/Makefile (tests): New test case tst-fseek.
60807         * libio/tst-fseek.c: New test case to verify that fseek/ftell
60808         combination works in wide mode.
60809         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
60810         state when the external buffer state changes.
60812 2012-09-27  David S. Miller  <davem@davemloft.net>
60814         [BZ #14376]
60815         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
60816         pass reloc->r_addend in as the 'high' argument to
60817         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
60819         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60821 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60823         * rt/tst-aio2.c: Include <pthread.h>.
60824         * rt/tst-aio3.c: Likewise.
60826 2012-09-27  Steve Ellcey  <sellcey@mips.com>
60828         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
60830 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
60832         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
60833         contents on [SHARED].
60835 2012-09-26  Marek Polacek  <polacek@redhat.com>
60837         [BZ #14530]
60838         [BZ #13741]
60839         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
60840         for C++ and GCC <4.3 as well as for non GCC compilers.
60842 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
60844         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60846 2012-09-25  Roland McGrath  <roland@hack.frob.com>
60848         * Makefile.in (all, install): Declare with .PHONY.
60849         Reported by Michael Hope <michael.hope@linaro.org>.
60851 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60853         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
60854         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
60855         system header.
60856         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
60857         Likewise.
60858         (sydep_routines): Add the new and the internal functions.
60859         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
60860         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
60861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
60862         (GLIBC_2.17): Add the new function.
60863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
60864         (GLIBC_2.17): Likewise.
60865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
60866         (GLIBC_2.17): Likewise.
60867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
60868         (GLIBC_2.17): Likewise.
60869         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
60871 2012-09-25  Alan Modra  <amodra@gmail.com>
60873         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
60874         Add release barrier before setting once_control to say
60875         initialisation is done.  Add hints on lwarx.  Use macro in
60876         place of isync.
60877         (clear_once_control): Add release barrier.
60879 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
60881         [BZ #13629]
60882         * math/s_clog.c (__clog): Handle more values close to |z| = 1
60883         specially.
60884         * math/s_clog10.c (__clog10): Likewise.
60885         * math/s_clog10f.c (__clog10f): Likewise.
60886         * math/s_clog10l.c (__clog10l): Likewise.
60887         * math/s_clogf.c (__clogf): Likewise.
60888         * math/s_clogl.c (__clogl): Likewise.
60889         * math/Makefile (libm-calls): Add x2y2m1.
60890         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
60891         (__x2y2m1): Likewise.
60892         (__x2y2m1l): Likewise.
60893         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
60894         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
60895         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
60896         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
60897         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
60898         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
60899         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
60900         * sysdeps/i386/fpu/libm-test-ulps: Update.
60901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60903         [BZ #14621]
60904         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
60905         int as type of variable DEPTH.
60906         (glob): Use size_t instead of int as type of variables NEWCOUNT
60907         and OLD_PATHC.
60909 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60911         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
60912         Add s_sincosf-sse2.
60913         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
60914         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
60915         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
60916         macros for using routine as __sincosf_ia32.
60917         Use macro for function declaration and weak_alias.
60918         * sysdeps/i386/fpu/libm-test-ulps: Update.
60920         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
60921         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60923         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
60924         subnormal argument.
60925         * math/s_cexpf.c (__cexpf): Likewise.
60926         * math/s_csinf.c (__csinf): Likewise.
60927         * math/s_csinhf.c (__csinhf): Likewise.
60928         * math/s_ctanf.c (__ctanf): Likewise.
60929         * math/s_ctanhf.c (__ctanhf): Likewise.
60930         * math/s_ccosh.c (__ccoshf): Likewise.
60931         * math/s_cexp.c (__cexpl): Likewise.
60932         * math/s_csin.c (__csin): Likewise.
60933         * math/s_csinh.c (__csinh): Likewise.
60934         * math/s_ctan.c (__ctan): Likewise.
60935         * math/s_ctanh.c (ctanh): Likewise.
60936         * math/s_ccoshl.c (__ccoshl): Likewise.
60937         * math/s_cexpl.c (__cexpl): Likewise.
60938         * math/s_csinl.c (__csinl): Likewise.
60939         * math/s_csinhl.c (__csinhl): Likewise.
60940         * math/s_ctanl.c (__ctanl): Likewise.
60941         * math/s_ctanhl.c (__ctanhl): Likewise.
60943 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
60945         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
60946         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
60947         (_IO_off_t): Define to __off_t, not _G_off_t.
60948         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
60949         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
60950         (_IO_wint_t): Define to wint_t, not _G_wint_t.
60951         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
60952         type of __dummy and __dummy2 fields.
60953         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
60954         (_G_ssize_t): Likewise.
60955         (_G_off_t): Likewise.
60956         (_G_pid_t): Likewise.
60957         (_G_uid_t): Likewise.
60958         (_G_wchar_t): Likewise.
60959         (_G_wint_t): Likewise.
60960         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
60961         (_G_ssize_t): Likewise.
60962         (_G_off_t): Likewise.
60963         (_G_pid_t): Likewise.
60964         (_G_uid_t): Likewise.
60965         (_G_wchar_t): Likewise.
60966         (_G_wint_t): Likewise.
60967         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
60968         (_G_ssize_t): Likewise.
60969         (_G_off_t): Likewise.
60970         (_G_pid_t): Likewise.
60971         (_G_uid_t): Likewise.
60972         (_G_wchar_t): Likewise.
60973         (_G_wint_t): Likewise.
60975 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60977         * malloc/arena.c: Include malloc-sysdep.h.
60978         (shrink_heap): Use check_may_shrink_heap to decide if madvise
60979         is sufficient to shrink the heap or an unmap is needed.
60980         * sysdeps/generic/malloc-sysdep.h: New file.  Define
60981         new function check_may_shrink_heap.
60982         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
60983         new function check_may_shrink_heap.
60985 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60987         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
60988         comments.
60990 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
60992         * catgets/test-gencat.sh: Add "set -e".
60993         * elf/tst-pathopt.sh: Likewise.
60994         * grp/tst_fgetgrent.sh: Likewise.
60995         * iconvdata/run-iconv-test.sh: Likewise.
60996         * intl/tst-gettext.sh: Likewise.
60997         * intl/tst-gettext2.sh: Likewise.
60998         * intl/tst-gettext4.sh: Likewise.
60999         * intl/tst-gettext6.sh: Likewise.
61000         * intl/tst-translit.sh: Likewise.
61001         * io/ftwtest-sh: Likewise.
61002         * libio/test-freopen.sh: Likewise.
61003         * malloc/tst-mtrace.sh: Likewise.
61004         * posix/globtest.sh: Likewise.
61005         * posix/tst-getconf.sh: Likewise.
61006         * posix/wordexp-tst.sh: Likewise.
61007         * stdio-common/tst-printf.sh: Likewise.
61008         * stdio-common/tst-unbputc.sh: Likewise.
61009         * stdlib/tst-fmtmsg.sh: Likewise.
61010         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
61011         * catgets/Makefile: Do not specify -e option when running
61012         testsuite shell scripts.
61013         * elf/Makefile: Likewise.
61014         * grp/Makefile: Likewise.
61015         * iconvdata/Makefile: Likewise.
61016         * intl/Makefile: Likewise.
61017         * io/Makefile: Likewise.
61018         * libio/Makefile: Likewise.
61019         * malloc/Makefile: Likewise.
61020         * posix/Makefile: Likewise.
61021         * stdio-common/Makefile: Likewise.
61022         * stdlib/Makefile: Likewise.
61023         * sysdeps/x86_64/Makefile: Likewise.
61025         * io/ftwtest-sh: Add copyright header.
61026         * posix/globtest.sh: Likewise.
61027         * posix/tst-getconf.sh: Likewise.
61028         * posix/wordexp-tst.sh: Likewise.
61029         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
61031 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
61033         [BZ #13679]
61034         * Makeconfig (+link): Defined as $(+link-static) if
61035         $(build-shared) isn't yes.
61036         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
61037         isn't yes.
61038         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
61040         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
61042         [BZ #14562]
61043         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
61044         new chunk size with MALLOC_ALIGN_MASK.
61046 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
61048         [BZ #5044]
61049         * stdio-common/printf_fphex.c: Include <stdbool.h> and
61050         <rounding-mode.h>.
61051         (__printf_fphex): Determine rounding using get_rounding_mode and
61052         round_away.
61053         * stdio-common/tst-printf-round.c (struct hex_test): New
61054         structure.
61055         (hex_tests): New variable.
61056         (test_hex_in_one_mode): New function.
61057         (do_test): Also run tests for hex float output.
61059 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
61061         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61062         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61063         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
61064         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61065         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61066         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
61067         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
61068         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
61070 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
61072         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
61073         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
61074         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
61075         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
61077 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
61079         [BZ #14579]
61080         * elf/rtld.c (dl_main): Limit the check for self loading to normal
61081         mode only.
61082         * elf/tst-rtld-load-self.sh: New test.
61083         * elf/Makefile: Run it.
61085 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
61087         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
61088         (tst-writev-ENV): Remove.
61089         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
61091 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
61093         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
61095 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
61097         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
61098         unconditional.
61099         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
61100         Likewise.
61101         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
61102         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
61103         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
61104         Likewise.
61106 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
61108         [BZ #14587]
61109         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
61110         * config.make.in (have-cpp-asm-debuginfo): Removed.
61111         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
61112         * configure: Regenerated.
61114 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
61116         [BZ #5044]
61117         * stdio-common/printf_fp.c: Include <stdbool.h> and
61118         <rounding-mode.h>.
61119         (___printf_fp): Determine rounding using get_rounding_mode and
61120         round_away.
61121         * stdio-common/tst-printf-round.c: New file.
61122         * stdio-common/Makefile (tests): Add tst-printf-round.
61123         (link-libm): New variable.
61124         ($(objpfx)tst-printf-round): Depend in $(link-libm).
61126 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
61128         [BZ #14576]
61129         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
61130         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
61131         Likewise.
61132         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
61133         Likewise.
61135 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
61137         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
61138         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61139         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61140         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61142 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
61144         [BZ #14518]
61145         * include/rounding-mode.h: New file.
61146         * sysdeps/generic/get-rounding-mode.h: Likewise.
61147         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
61148         * stdlib/strtod_l.c: Include <rounding-mode.h>.
61149         (MAX_VALUE): New macro.
61150         (MIN_VALUE): Likewise.
61151         (overflow_value): New function.
61152         (underflow_value): Likewise.
61153         (round_and_return): Use overflow_value and underflow_value to
61154         determine return values in overflow and underflow cases.  Use
61155         round_away to determine rounding depending on rounding mode.
61156         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
61157         determine return values in overflow and underflow cases.
61158         * stdlib/tst-strtod-round.c: Include <fenv.h>.
61159         (struct test_results): New structure.
61160         (struct test): Use struct test_results to store expected results
61161         for all rounding modes.
61162         (TEST): Include expected results for all rounding modes.
61163         (test_in_one_mode): New function.
61164         (do_test): Use test_in_one_mode to compute and check results.
61165         Check results for all rounding modes.
61166         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
61167         $(link-libm).
61169 2012-12-09  Allan McRae  <allan@archlinux.org>
61171         * sysdeps/i386/fpu/libm-test-ulps: Update
61173 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
61175         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
61176         (_G_int32_t): Likewise.
61177         (_G_uint16_t): Likewise.
61178         (_G_uint32_t): Likewise.
61179         (_G_HAVE_BOOL): Likewise.
61180         (_G_HAVE_ATEXIT): Likewise.
61181         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61182         (_G_HAVE_IO_FILE_OPEN): Likewise.
61183         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
61184         (_G_int32_t): Likewise.
61185         (_G_uint16_t): Likewise.
61186         (_G_uint32_t): Likewise.
61187         (_G_HAVE_BOOL): Likewise.
61188         (_G_HAVE_ATEXIT): Likewise.
61189         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61190         (_G_HAVE_IO_FILE_OPEN): Likewise.
61191         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
61192         (_G_int32_t): Likewise.
61193         (_G_uint16_t): Likewise.
61194         (_G_uint32_t): Likewise.
61195         (_G_HAVE_BOOL): Likewise.
61196         (_G_HAVE_ATEXIT): Likewise.
61197         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61198         (_G_HAVE_IO_FILE_OPEN): Likewise.
61200 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
61202         * csu/libc-tls.c: Update copyright years.
61204 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
61206         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
61207         [!_G_USING_THUNKS]: Remove conditional code.
61208         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
61209         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
61211         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
61212         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
61213         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61214         (_G_VTABLE_LABEL_PREFIX): Likewise.
61215         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61216         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61217         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61218         (_G_VTABLE_LABEL_PREFIX): Likewise.
61219         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
61220         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61221         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61222         (_G_VTABLE_LABEL_PREFIX): Likewise.
61223         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
61225 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
61227         * libio/Makefile: Include ../Makeconfig before tests.
61228         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
61229         only if $(build-shared) is yes.
61231         * iconv/gconv_db.c: Update copyright years.
61233 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61235         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
61236         unwind info if defined PIC. Fix special cases description.
61237         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
61239         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
61240         DP_HI_MASK entry.
61241         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
61243 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
61245         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
61247         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
61248         is NULL.
61250         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
61251         (LDLIBS-tst-chk4): This.
61252         (LDFLAGS-tst-chk5): Renamed to ...
61253         (LDLIBS-tst-chk5): This.
61254         (LDFLAGS-tst-chk6): Renamed to ...
61255         (LDLIBS-tst-chk6): This.
61256         (LDFLAGS-tst-lfschk4): Renamed to ...
61257         (LDLIBS-tst-lfschk4): This.
61258         (LDFLAGS-tst-lfschk5): Renamed to ...
61259         (LDLIBS-tst-lfschk5): This.
61260         (LDFLAGS-tst-lfschk6): Renamed to ...
61261         (LDLIBS-tst-lfschk6): This.
61263         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
61264         on $(common-objpfx)soversions.mk.
61266 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
61268         [BZ #10014]
61269         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
61270         example host name.
61272 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
61274         * malloc/arena.c (arena_get_retry): New function that gets
61275         another arena for the caller to try its request on.
61276         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
61277         current arena cannot fulfill the request.
61278         (__libc_memalign): Likewise.
61279         (__libc_memalign): Likewise.
61280         (__libc_pvalloc): Likewise.
61281         (__libc_calloc): Likewise.
61283 2012-09-05  John Tobey  <john.tobey@gmail.com>
61285         [BZ #13542]
61286         * manual/arith.texi (Operations on Complex): Fix description
61287         of carg branch cut.
61289 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
61291         [BZ #10014]
61292         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
61293         host name.
61295         [BZ #10038]
61296         * manual/memory.texi (Memory): Make order of menu items match
61297         order of sections.
61299 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61301         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
61302         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
61303         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
61305 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61307         * csu/libc-tls.c (static_dtv): Renamed to ...
61308         (_dl_static_dtv): This.  Make it global.
61309         (_dl_initial_dtv): Removed.
61310         (__libc_setup_tls): Updated.
61311         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
61312         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
61313         DL_INITIAL_DTV.
61315 2012-09-06  Petr Machata  <pmachata@redhat.com>
61317         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
61318         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
61319         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
61320         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
61322 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61324         [BZ #14545]
61325         * csu/libc-tls.c (_dl_initial_dtv): New variable.
61326         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
61327         freeing dtv[-1].
61329 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61331         [BZ #14544]
61332         * Makeconfig (link-static-before-libc): Replace $(+prector)
61333         with $(+prectorT).
61334         (link-static-after-libc): Replace $(+postctor) with
61335         $(+postctorT).
61336         (link-bounded): Replace $(+prector)/$(+postctor) with
61337         $(+prectorT)/$(+postctorT).
61338         (+prectorT): New macro.
61339         (+postctorT): Likewise.
61341 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
61343         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
61344         (round_str): Handle values above the maximum for IBM long double
61345         as inexact.
61346         * stdlib/tst-strtod-round.c (tests): Regenerated.
61348 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61350         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
61351         assembler flag.
61352         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
61353         zarch_nohighgprs around the zarch optimized routines.
61354         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
61355         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
61356         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
61357         for zarch.
61359 2012-09-05  David S. Miller  <davem@davemloft.net>
61361         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61363         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
61364         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
61365         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
61366         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61367         entries.
61369 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61371         * malloc/arena.c: Fold copyright years.
61372         * malloc/mcheck.c, malloc/memusage.c: Likewise.
61374 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61376         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
61378 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61380         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
61382 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61384         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
61385         change internal state upon failure.
61387 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61389         * malloc/mcheck.c (mcheck_check_all): Fix typo.
61390         * malloc/memusage.c (mmap): Likewise.
61391         (mmap64, mremap): Likewise.  Adjust name in comment.
61393 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61395         * libio/fileops.c: Fix typos in comments.
61396         * libio/oldfileops.c: Likewise.
61397         * libio/wfileops.c: Likewise.
61399 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61401         [BZ #1349]
61402         * malloc/Makefile (tests): Add tst-malloc-usable test case.
61403         (tst-malloc-usable-ENV): Set environment for test case.
61404         * malloc/hooks.c (malloc_check_get_size): New function to get
61405         requested size.
61406         * malloc/malloc.c (musable): Use malloc_check_get_size.
61407         * malloc/tst-malloc-usable.c: New test case.
61409 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61411         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
61413 2012-09-05  Allan McRae  <allan@archlinux.org>
61415         [BZ #13966]
61416         * configure.in (CXX_SYSINCLUDES): Use compiler output to
61417         determine header location.
61418         * configure: Regenerated.
61420 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61422         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
61423         float format.
61424         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
61425         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
61426         format.
61427         (test): Regenerate.
61429 2012-09-04  David S. Miller  <davem@davemloft.net>
61431         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
61432         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
61433         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
61435 2012-09-04  Florian Weimer  <fweimer@redhat.com>
61437         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
61438         failures.
61440         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
61442 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
61444         [BZ #9914]
61445         * libio/iogetdelim.c: Include <limits.h>.
61446         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
61447         + len + 1 would overflow.
61449 2012-09-03  Andreas Jaeger  <aj@suse.de>
61451         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61452         * sysdeps/i386/fpu/libm-test-ulps: Update.
61454 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61456         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
61457         Add s_sinf-sse2, s_conf-sse2.
61459         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
61460         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
61461         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
61462         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
61464         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
61465         for using routine as __sinf_ia32.
61466         Use macro for function declaration and weak_alias.
61467         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
61468         for using routine as __cosf_ia32.
61469         Use macro for function declaration and weak_alias.
61471         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
61472         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
61474         * sysdeps/x86_64/fpu/s_sinf.S: New file.
61475         * sysdeps/x86_64/fpu/s_cosf.S: New file.
61476         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61478         * math/libm-test.inc (cos_test): Add more test cases.
61479         (sin_test): Likewise.
61480         (sincos_test): Likewise.
61482 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61484         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
61485         (IFUNC_RESOLVE): Make pointers to the specialized implementations
61486         hidden.
61487         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
61489 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
61491         [BZ #14538]
61492         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
61493         first element of the GOT.
61494         (elf_machine_load_address): Return the difference between
61495         the runtime address of _DYNAMIC and elf_machine_dynamic ().
61497 2012-09-01  Allan McRae  <allan@archlinux.org>
61499         [BZ #13412]
61500         * configure.in (AWK): Require gawk version 3.0 or later.
61501         * configure: Regenerated.
61503 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
61505         * sysdeps/unix/sysv/linux/kernel-features.h
61506         (__ASSUME_POSIX_CPU_TIMERS): Remove.
61507         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61508         [__NR_clock_getres]: Make code unconditional.
61509         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
61510         (clock_getcpuclockid): Remove code left unreachable by removal of
61511         conditionals.
61512         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
61513         code unconditional.
61514         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61515         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61516         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
61517         Make code unconditional.
61518         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61519         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61520         * sysdeps/unix/sysv/linux/clock_settime.c
61521         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
61522         conditional code.
61523         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
61524         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61526 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
61528         [BZ #14476]
61529         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
61530         scripts/test-installation.pl.
61532         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
61533         and $ld_so_version if it is set.
61535 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61537         [BZ #14516]
61538         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
61539         failure if reading from procfs failed.
61540         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
61542 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61544         * sysdeps/unix/sysv/linux/kernel-features.h
61545         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
61546         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61547         Remove conditional code.
61548         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61549         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
61550         Remove conditional code.
61551         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61552         * sysdeps/unix/sysv/linux/i386/fxstat.c
61553         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61554         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61555         * sysdeps/unix/sysv/linux/i386/fxstatat.c
61556         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61557         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61558         * sysdeps/unix/sysv/linux/i386/lxstat.c
61559         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61560         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61561         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
61562         Remove conditional code.
61563         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61564         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61565         Remove conditional code.
61566         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61567         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
61568         <kernel-features.h>.
61569         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
61570         Remove.
61571         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
61572         Remove conditional code.
61573         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61574         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
61575         Remove conditional.
61577 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
61579         [BZ #5400]
61580         * NEWS: Add fixed bug number.
61582 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61584         [BZ #14519]
61585         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
61586         underflowing exponent in case of negative sign.
61587         * stdlib/tst-strtod-round-data: Add more tests.
61588         * stdlib/tst-strtod-round.c (tests): Regenerated.
61590         [BZ #3479]
61591         * stdlib/strtod_l.c (NDIG): Remove.
61592         (HEXNDIG): Likewise.
61593         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
61594         smallest representable value.
61595         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
61596         lie within an exact representation of 1/2 ulp of the result.
61597         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
61598         unconditionally.
61599         (TENS_P9_IDX): Define unconditionally.
61600         (TENS_P9_SIZE): Likewise.
61601         (TENS_P10_IDX): Likewise.
61602         (TENS_P10_SIZE): Likewise.
61603         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
61604         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
61605         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
61606         entries for 10^2^13 and 10^2^14.
61607         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
61608         (TENS_P13_IDX): Define.
61609         (TENS_P13_SIZE): Likewise.
61610         (TENS_P14_IDX): Likewise.
61611         (TENS_P14_SIZE): Likewise.
61612         (_fpioconst_pow10): Change array size to
61613         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
61614         unconditional.
61615         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
61616         1024]: Add entries for 10^2^13 and 10^2^14.
61617         [LAST_POW10 > _LAST_POW10]: Remove #error.
61618         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
61619         (_fpioconst_pow10): Change array size to
61620         FPIOCONST_POW10_ARRAY_SIZE.
61621         * stdlib/gen-fpioconst.c: New file.
61622         * stdlib/gen-tst-strtod-round.c: Likewise.
61623         * stdlib/tst-strtod-round-data: Likewise.
61624         * stdlib/tst-strtod-round.c: Likewise.
61625         * stdlib/Makefile (tests): Add tst-strtod-round.
61627         [BZ #14459]
61628         * stdlib/strtod_l.c: Include <stdint.h>.
61629         (NDEBUG): Do not define.
61630         (round_and_return): Change EXPONENT parameter to type intmax_t.
61631         Rearrange calculations to avoid internal overflow possibilities.
61632         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
61633         Rearrange calculations to avoid internal overflow possibilities.
61634         Assert that number fits inside MPNSIZE limbs.
61635         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
61636         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
61637         calculations and add assertions to avoid internal overflow
61638         possibilities.  Add casts to avoid signed/unsigned operations.
61639         * stdlib/tst-strtod-overflow.c: New file.
61640         * stdlib/Makefile (tests): Add tst-strtod-overflow.
61642 2012-08-25  Marek Polacek  <polacek@redhat.com>
61644         * time/time.h: Fix some typos in comments.
61646 2012-08-23  Roland McGrath  <roland@hack.frob.com>
61648         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
61649         * posix/tst-rfc3484-2.c: Likewise.
61650         * posix/tst-rfc3484-3.c: Likewise.
61652 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
61654         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
61655         (EF_ARM_ABI_FLOAT_HARD): Likewise.
61657 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
61659         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
61660         #include of fxstatat64.c.
61662 2012-08-22  Roland McGrath  <roland@hack.frob.com>
61664         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
61665         * shadow/getspent_r.c: Likewise.
61666         * shadow/getspnam.c: Likewise.
61667         * shadow/getspnam_r.c: Likewise.
61668         * gshadow/getsgent.c: Likewise.
61669         * gshadow/getsgent_r.c: Likewise.
61670         * gshadow/getsgnam.c: Likewise.
61671         * gshadow/getsgnam_r.c: Likewise.
61672         * inet/getnetbyad.c: Likewise.
61673         * inet/getnetbyad_r.c: Likewise.
61674         * inet/getnetbynm.c: Likewise.
61675         * inet/getnetbynm_r.c: Likewise.
61676         * inet/getnetent.c: Likewise.
61677         * inet/getnetent_r.c: Likewise.
61678         * inet/getproto.c: Likewise.
61679         * inet/getproto_r.c: Likewise.
61680         * inet/getprtent.c: Likewise.
61681         * inet/getprtent_r.c: Likewise.
61682         * inet/getprtname.c: Likewise.
61683         * inet/getprtname_r.c: Likewise.
61684         * inet/getrpcbyname.c: Likewise.
61685         * inet/getrpcbyname_r.c: Likewise.
61686         * inet/getrpcbynumber.c: Likewise.
61687         * inet/getrpcbynumber_r.c: Likewise.
61688         * inet/getrpcent.c: Likewise.
61689         * inet/getrpcent_r.c: Likewise.
61690         * inet/getaliasent.c: Likewise.
61691         * inet/getaliasent_r.c: Likewise.
61692         * inet/getaliasname.c: Likewise.
61693         * inet/getaliasname_r.c: Likewise.
61694         * nscd/getgrgid_r.c: Likewise.
61695         * nscd/getgrnam_r.c: Likewise.
61696         * nscd/gethstbyad_r.c: Likewise.
61697         * nscd/gethstbynm3_r.c: Likewise.
61698         * nscd/getpwnam_r.c: Likewise.
61699         * nscd/getpwuid_r.c: Likewise.
61700         * nscd/getsrvbynm_r.c: Likewise.
61701         * nscd/getsrvbypt_r.c: Likewise.
61702         * nscd/gai.c: Likewise.
61704         * configure.in (build_nscd): New substituted variable, set
61705         by --disable-build-nscd and defaults to $use_nscd.
61706         * configure: Regenerated.
61707         * config.make.in (build-nscd): New substituted variable.
61708         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
61709         Change conditional to require [$(build-nscd) = yes] as well.
61710         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
61712         [BZ# 13696]
61713         * configure.in (use_nscd): New substituted variable, set by
61714         --disable-nscd.  If enabled, define USE_NSCD.
61715         * configure: Regenerated.
61716         * config.h.in: Add USE_NSCD.
61717         * config.make.in (use-nscd): New substituted variable.
61718         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
61719         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
61720         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
61721         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
61722         (CFLAGS-getgrnam_r.c): Likewise.
61723         (CFLAGS-initgroups.c): Likewise.
61724         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
61725         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
61726         Variables removed.
61727         * inet/getnetgrent_r.c
61728         (nscd_setnetgrent): New function, broken out of ...
61729         (setnetgrent): ... here.  Call it.
61730         (innetgr): Conditionalize nscd bits on [USE_NSCD].
61731         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
61732         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
61733         * nscd/Makefile (routines, aux): Move definitions after include of
61734         Makeconfig.  Conditionalize on [$(use-nscd) != no].
61735         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
61736         Conditionalize on [USE_NSCD].
61737         (is_nscd, nscd_init_cb): Likewise.
61738         (nss_load_library): Conditionalize init callback on [USE_NSCD].
61739         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
61740         * nss/nss_db/db-init.c: Likewise.
61741         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
61742         [USE_NSCD].
61743         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
61744         (make_request): Use it.
61745         (cache_valid_p): New function.
61746         (__check_pf): Use it.
61747         * NEWS: Add item for --disable-nscd.
61749 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
61751         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
61752         to support sed >= 4.2.1-20-ga9bf076.
61753         * configure: Regenerated.
61755 2012-08-22  Roland McGrath  <roland@hack.frob.com>
61757         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
61758         Conditionalize whole body on [IREL].
61760 2012-08-22  Jeff Law <law@redhat.com>
61762         [BZ #14505]
61763         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
61764         if the family is PF_UNSPEC.
61766 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
61768         * Makerules (lib-version): Rename from V.
61769         (install-lib-nosubdir): Change V to lib-version.
61771 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
61773         [BZ #14252]
61774         * powerpc32/power6/wcschr.c: New file.
61775         * powerpc32/power6/wcscpy.c: New file.
61776         * powerpc32/power6/wcsrchr.c: New file.
61777         * powerpc64/power6/wcschr.c: New file.
61778         * powerpc64/power6/wcscpy.c: New file.
61779         * powerpc64/power6/wcsrchr.c: New file.
61781 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
61783         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
61784         (two_way_short_needle): Use it.
61785         * string/strstr.c (AVAILABLE1_USES_J): Define.
61786         * string/strcasestr.c: Likewise.
61788         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
61789         array references.
61790         * string/strcasestr.c (TOLOWER): Make side-effect safe.
61792         [BZ #11607]
61793         * NEWS: Add an entry.
61794         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
61795         define their defaults.
61796         (two_way_short_needle): Detect end-of-string on-the-fly.
61797         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
61798         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
61799         * string/bug-strcasestr1.c: New test.
61800         * string/Makefile: Run it.
61802 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
61804         [BZ #11607]
61805         * string/str-two-way.h (two_way_short_needle): Optimize matching of
61806         the first character.
61808 2012-08-21  Roland McGrath  <roland@hack.frob.com>
61810         * csu/elf-init.c (__libc_csu_irel): Function removed.
61811         * csu/libc-start.c (apply_irel): New function.
61812         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
61814 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
61816         * sysdeps/unix/sysv/linux/kernel-features.h
61817         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
61818         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
61819         <kernel-features.h>.
61820         [__NR_fadvise64_64]: Make code unconditional.
61821         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
61822         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
61823         !__NR_fadvise64_64)]: Likewise.
61824         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
61825         !__NR_fadvise64_64))]: Likewise.
61826         [__NR_fadvise64]: Make code unconditional.
61827         [!__NR_fadvise64]: Remove conditional code.
61828         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
61829         <kernel-features.h>.
61830         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61831         unconditional.
61832         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61833         conditional code.
61834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
61835         not include <kernel-features.h>.
61836         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61837         unconditional.
61838         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61839         conditional code.
61840         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
61841         include <kernel-features.h>.
61842         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61843         unconditional.
61844         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61845         conditional code.
61847 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
61849         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
61850         slight instruction rearrangements per scrollpipe analysis.
61851         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
61853 2012-08-20  Roland McGrath  <roland@hack.frob.com>
61855         * manual/syslog.texi (syslog; vsyslog, closelog):
61856         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
61857         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
61859         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
61860         DSOCAPS to match condition on defining it.
61862 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
61864         * sysdeps/unix/sysv/linux/kernel-features.h
61865         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
61866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
61867         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61868         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
61870         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61871         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
61873         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61874         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61876         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
61877         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
61879         * sysdeps/unix/sysv/linux/kernel-features.h
61880         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
61881         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
61882         unconditional.
61883         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61884         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
61885         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
61886         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61887         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
61888         Make code unconditional.
61889         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61890         (__mmap64) [!__NR_mmap2]: Likewise.
61891         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
61892         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
61893         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61894         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
61895         [__NR_mmap2]: Make code unconditional.
61896         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61897         (__mmap64) [!__NR_mmap2]: Likewise.
61899 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61901         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
61903 2012-08-18  Andreas Jaeger  <aj@suse.de>
61905         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
61907 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
61909         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
61910         * include/unistd.h (__have_sock_cloexec): Likewise.
61911         (__have_pipe2): Likewise.
61912         (__have_dup3): Likewise.
61914 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
61916         [BZ #9685]
61917         * include/unistd.h (__have_pipe2): Change define into an extern int.
61918         (__have_dup3): Likewise.
61919         * socket/have_sock_cloexec.c: Include fcntl.h.
61920         (__have_pipe2): New variable.
61921         (__have_dup3): Likewise.
61923 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
61925         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
61927 2012-08-17  Marek Polacek  <polacek@redhat.com>
61929         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
61930         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
61932 2012-08-17  Roland McGrath  <roland@hack.frob.com>
61934         * configure.in: Add AC_SUBST for sysheaders.
61935         * configure: Regenerated.
61936         * config.make.in (sysheaders): New substituted variable.
61938         * sysdeps/unix/mkfifo.c: Moved ...
61939         * sysdeps/posix/mkfifo.c: ... here.
61940         * sysdeps/unix/mkfifoat.c: Moved ...
61941         * sysdeps/posix/mkfifoat.c: ... here.
61943         * sysdeps/unix/utime.c: Moved ...
61944         * sysdeps/posix/utime.c: ... here.
61946         * sysdeps/unix/time.c: Moved ...
61947         * sysdeps/posix/time.c: ... here.
61948         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
61949         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
61951         * sysdeps/unix/nice.c: Moved ...
61952         * sysdeps/posix/nice.c: ... here.
61954         * sysdeps/unix/alarm.c: Moved ...
61955         * sysdeps/posix/alarm.c: ... here.
61957         * intl/Makefile ($(codeset_mo)): Depend on the input file.
61959 2012-08-17  Jeff Law <law@redhat.com>
61961         * intl/Makefile (codeset_mo): New variable.
61962         ($(codeset_mo)): New target.
61963         (tst-codeset.out): Depend on that.  Remove explicit rule.
61964         (tst-gettext3.out, tst-gettext5.out): Likewise.
61965         (LOCPATH-ENV, tst-codeset-ENV): New variables.
61966         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
61967         * intl/tst-codeset.sh: Remove.
61968         * intl/tst-gettext3.sh: Likewise.
61969         * intl/tst-gettext5.sh: Likewise.
61971 2012-08-17  Roland McGrath  <roland@hack.frob.com>
61973         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
61974         * sysdeps/unix/syscalls.list: ... here.
61976         * sysdeps/posix/getaddrinfo.c
61977         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
61978         (gaiconf_init, gaiconf_reload): Use them.
61979         [!_STATBUF_ST_NSEC]
61980         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
61981         Define using time_t rather than struct timespec.
61983         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
61984         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
61985         Macros removed.
61986         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
61987         [!NO_THREADS].
61988         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
61989         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
61990         Likewise.
61992         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
61993         __libc_cleanup_push argument.
61995         * bits/param.h: New file.
61996         * misc/sys/param.h: New file.
61997         * include/sys/param.h: New file.
61998         * misc/Makefile (headers): Add bits/param.h.
61999         * sysdeps/generic/sys/param.h: File removed.
62000         * sysdeps/unix/sysv/linux/bits/param.h: New file.
62001         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
62002         * sysdeps/mach/hurd/bits/param.h: New file.
62003         * sysdeps/mach/hurd/sys/param.h: File removed.
62005         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
62006         last change.
62008         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
62009         [_IO_MTSAFE_IO].
62010         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
62011         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
62012         New macros.
62014         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
62015         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
62016         rather than -D_IO_MTSAFE_IO conditionally.
62017         * stdio-common/Makefile (CPPFLAGS): Likewise.
62018         * wcsmbs/Makefile (CPPFLAGS): Likewise.
62019         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
62020         Use $(libio-mtsafe).
62021         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
62022         of -D_IO_MTSAFE_IO.
62023         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
62024         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
62025         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
62026         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
62027         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
62028         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
62029         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
62030         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
62031         (CFLAGS-fread_u_chk.c): Likewise.
62032         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
62033         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
62034         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
62035         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
62036         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
62037         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
62038         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
62039         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
62040         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
62042         * libio/Makefile: Test [$(libc-reentrant) = yes]
62043         instead of [$(filter %REENTRANT, $(defines)) nonempty].
62045         * Makeconfig
62046         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
62047         * sysdeps/pthread/configure: File removed.
62048         * sysdeps/pthread/Makeconfig: New file.
62049         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
62050         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
62052 2012-08-16  Gary Benson  <gbenson@redhat.com>
62054         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
62055         unmapping the first object in a namespace.
62057 2012-08-16  Roland McGrath  <roland@hack.frob.com>
62059         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
62060         (__internal_setnetgrent): ... this.  Add internal_function to
62061         definition.  Add libc_hidden_def.
62062         (setnetgrent): Update caller.
62063         (internal_endnetgrent): Renamed to ...
62064         (__internal_endnetgrent): ... this.  Add internal_function to
62065         definition.  Add libc_hidden_def.
62066         (endnetgrent): Update caller.
62067         (internal_getnetgrent_r): Renamed to ...
62068         (__internal_getnetgrent_r): ... this.  Add internal_function to
62069         definition.  Add libc_hidden_def.
62070         (__getnetgrent_r): Update caller.
62071         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
62073 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
62075         * stdlib/longlong.h: Update from GCC.
62077 2012-08-16  Roland McGrath  <roland@hack.frob.com>
62079         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
62080         on _QL, which is set by umul_ppmm but never used.
62081         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
62082         variables, which are set by GMP macros but never used.
62083         * stdio-common/_itowa.c (_itowa): Likewise.
62084         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
62085         * stdlib/mod_1.c (mpn_mod_1): Likewise.
62087 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
62089         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
62090         struct La_sh_regs is not constant.
62091         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
62092         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
62093         and struct La_sparc64_regs are not constant.
62095 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
62097         * sysdeps/unix/sysv/linux/kernel-features.h
62098         (__ASSUME_POSIX_TIMERS): Remove.
62099         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
62100         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62101         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
62102         Make code unconditional.
62103         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62104         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
62105         Make code unconditional.
62106         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62107         * sysdeps/unix/sysv/linux/clock_nanosleep.c
62108         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
62109         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62110         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
62111         Make code unconditional.
62112         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62113         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
62114         (__libc_missing_posix_timers): Remove.
62116 2012-08-15  Roland McGrath  <roland@hack.frob.com>
62118         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
62119         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
62121         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
62123         * elf/dl-sym.c: Include <stdlib.h>.
62125         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
62126         constants, which avoids warnings in 32-bit builds.
62128         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
62129         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
62131         * misc/lseek.c: File moved to ...
62132         * io/lseek.c: ... here.
62134         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
62136         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
62137         shifting LEN more than 31 bits at once.
62139 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62141         [BZ #14195]
62142         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
62143         segmentation fault for a case of two empty input strings.
62144         * string/test-strncasecmp.c (check1): Renamed to...
62145         (bz12205): ...this.
62146         (bz14195): Add new testcase for two empty input strings and N > 0.
62147         (test_main): Call new testcase, adapt for renamed function.
62149 2012-08-15  Andreas Jaeger  <aj@suse.de>
62151         [BZ #14090]
62152         * crypt/md5test2.c: New test, based on test supplied by Serge
62153         Belyshev <belyshev@depni.sinp.msu.ru>.
62154         * crypt/Makefile (xtests): Add md5test-giant..
62155         * crypt/Makefile ($(objpfx)md5test-giant): Add.
62157 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
62159         [BZ #14090]
62160         * crypt/md5.c (md5_process_block): Don't assume the buffer
62161         length is less than 2**32.
62162         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
62163         length is less than 2**64.
62165 2012-08-15  Roland McGrath  <roland@hack.frob.com>
62167         * string/str-two-way.h: Include <sys/param.h>.
62168         (MAX): Macro removed.
62170         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
62171         Move #define and #undef of memmove to just before and after
62172         including <string.h>.
62174         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
62175         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
62176         and after including <string.h>.  Move declarations of
62177         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
62178         to before #include "string/memmove.c".
62180         * include/dirent.h: Declare __getdirentries.
62182         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
62183         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
62185 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
62187         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
62188         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
62189         * sysdeps/i386/configure: Regenerated.
62190         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
62191         STABS_CURRENT_FILE, and STABS_FUN.
62192         (END): Remove call to STABS_FUN_END.
62193         (STABS_CURRENT_FILE1): Delete.
62194         (STABS_CURRENT_FILE): Likewise.
62195         (STABS_FUN): Likewise.
62196         (STABS_FUN_END): Likewise.
62197         (STABS_FUN2): Likewise.
62198         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
62199         * sysdeps/x86_64/configure: Regenerated.
62201 2012-08-14  Roland McGrath  <roland@hack.frob.com>
62203         * elf/dl-open.c: Include <atomic.h>.
62204         * elf/dl-lookup.c: Likewise.
62206 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
62208         * sysdeps/unix/sysv/linux/kernel-features.h
62209         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
62210         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
62211         unconditionally.
62212         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
62213         unconditionally.
62214         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
62215         condition on __ASSUME_CLONE_THREAD_FLAGS.
62217 2012-08-14  Andreas Jaeger  <aj@suse.de>
62219         * sysdeps/i386/fpu/libm-test-ulps: Update.
62221 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
62223         * include/atomic.h (atomic_exchange_and_add): Split into ...
62224         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
62225         New atomic macros.
62227 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
62229         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62231 2012-08-13  Jeff Law <law@redhat.com>
62233         * manual/stdio.texi (snprintf): Clarify handling of the trailing
62234         null byte in the output string.
62236 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
62238         * sysdeps/unix/sysv/linux/kernel-features.h
62239         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
62240         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
62241         (__ASSUME_ARG_MAX_STACK_BASED): Define.
62242         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
62243         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
62244         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
62245         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
62247 2012-08-09  Jeff Law <law@redhat.com>
62249         [BZ #13939]
62250         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
62251         When avoid_arena is set, don't retry in the that arena.  Pick the
62252         next one, whatever it might be.
62253         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
62254         (arena_lock): Pass in new parameter to arena_get2.
62255         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
62256         arena_get2.
62257         (__libc_malloc): Unify retrying after main arena failure with
62258         __libc_memalign version.
62259         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
62261 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
62263         [BZ #14166]
62264         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
62265         to __redirect_strstr.
62266         (__strstr_sse42): Use typeof __redirect_strstr.
62267         (__strstr_ia32): Likewise.
62268         (__libc_strstr): New prototype.
62269         (strstr): Renamed to ...
62270         (__libc_strstr): This.
62271         (strstr): New strong alias of __libc_strstr.
62272         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
62273         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
62274         __redirect_time.
62275         Include <time.h>.
62276         (__libc_time): New prototype.
62277         (time_ifunc): Replace time with __libc_time.
62278         (time): New strong alias and hidden definition of __libc_time.
62279         (__GI_time): Remove strong alias.
62280         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
62281         Include <stddef.h>.
62282         (memmove): Redefined to __redirect_memmove.
62283         (__memmove_sse2): Use typeof __redirect_memmove.
62284         (__memmove_ssse3): Likewise.
62285         (__memmove_ssse3_back): Likewise.
62286         (__libc_memmove): New prototype.
62287         (memmove): Renamed to ...
62288         (__libc_memmove): This.
62289         (memmove): New strong alias of __libc_memmove.
62291 2012-08-08  Mark Salter  <msalter@redhat.com>
62293         * elf/elf.h
62294         (R_MN10300_TLS_GD): Define.
62295         (R_MN10300_TLS_LD): Likewise.
62296         (R_MN10300_TLS_LDO): Likewise.
62297         (R_MN10300_TLS_GOTIE): Likewise.
62298         (R_MN10300_TLS_IE): Likewise.
62299         (R_MN10300_TLS_LE): Likewise.
62300         (R_MN10300_TLS_DTPMOD): Likewise.
62301         (R_MN10300_TLS_DTPOFF): Likewise.
62302         (R_MN10300_TLS_TPOFF): Likewise.
62303         (R_MN10300_SYM_DIFF): Likewise.
62304         (R_MN10300_ALIGN): Likewise.
62305         (R_MN10300_NUM): Update.
62307 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
62309         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
62310         Remove.
62312 2012-08-08  Roland McGrath  <roland@hack.frob.com>
62314         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
62316         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
62317         sysdeps/unix -> sysdeps/posix move.
62318         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
62320 2012-08-07      Allan McRae     <allan@archlinux.org>
62322         [BZ #14303]
62323         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
62324         (SUNOS_CPP): Likewise.
62325         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
62326         not found.
62327         (open_input): Call CPP using execvp.
62329 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
62331         * sysdeps/unix/sysv/linux/kernel-features.h
62332         (__ASSUME_PROT_GROWSUPDOWN): Remove.
62333         (__ASSUME_NO_CLONE_DETACHED): Likewise.
62334         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62335         (__ASSUME_WAITID_SYSCALL): Likewise.
62336         * sysdeps/unix/sysv/linux/dl-execstack.c
62337         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
62338         code unconditional.
62339         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
62340         conditional code.
62341         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
62342         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
62343         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
62344         code.
62345         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
62346         unconditional.
62347         [__ASSUME_WAITID_SYSCALL]: Likewise.
62348         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
62350 2012-08-07  Roland McGrath  <roland@hack.frob.com>
62352         * sysdeps/unix/closedir.c: Renamed to ...
62353         * sysdeps/posix/closedir.c: ... here.
62354         * sysdeps/unix/dirfd.c: Renamed to ...
62355         * sysdeps/posix/dirfd.c: ... here.
62356         * sysdeps/unix/dirstream.h: Renamed to ...
62357         * sysdeps/posix/dirstream.h: ... here.
62358         * sysdeps/unix/fdopendir.c: Renamed to ...
62359         * sysdeps/posix/fdopendir.c: ... here.
62360         * sysdeps/unix/opendir.c: Renamed to ...
62361         * sysdeps/posix/opendir.c: ... here.
62362         * sysdeps/unix/readdir.c: Renamed to ...
62363         * sysdeps/posix/readdir.c: ... here.
62364         * sysdeps/unix/readdir_r.c: Renamed to ...
62365         * sysdeps/posix/readdir_r.c: ... here.
62366         * sysdeps/unix/rewinddir.c: Renamed to ...
62367         * sysdeps/posix/rewinddir.c: ... here.
62368         * sysdeps/unix/seekdir.c: Renamed to ...
62369         * sysdeps/posix/seekdir.c: ... here.
62370         * sysdeps/unix/telldir.c: Renamed to ...
62371         * sysdeps/posix/telldir.c: ... here.
62372         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
62373         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
62374         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
62375         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
62377         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
62378         * bits/fcntl.h: ... here.
62380         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
62381         not 0.
62382         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
62383         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
62384         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
62385         (struct flock): Move l_start, l_len to the beginning.
62386         Use __pid_t for l_pid.
62387         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
62388         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
62389         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
62390         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
62391         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
62392         [__USE_LARGEFILE64] (struct flock64): New type.
62393         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
62395         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
62396         * bits/dirent.h: ... here.
62398         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
62399         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
62401 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
62403         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62404         Change from 2.6.0 to 2.6.16.
62405         * sysdeps/unix/sysv/linux/configure: Regenerated.
62406         * sysdeps/unix/sysv/linux/kernel-features.h
62407         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
62408         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
62409         version.
62410         (__ASSUME_UTIMES): Likewise.
62411         (__ASSUME_CLONE_STOPPED): Remove.
62412         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
62413         architectures, not kernel version.
62414         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
62415         (__ASSUME_NO_CLONE_DETACHED): Likewise.
62416         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62417         (__ASSUME_WAITID_SYSCALL): Likewise.
62418         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
62419         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
62420         * README: State 2.6.16 as minimum Linux kernel version.  Do not
62421         refer to older versions.
62423 2012-08-06  Roland McGrath  <roland@hack.frob.com>
62425         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
62426         Define alphasort64 as an alias.
62427         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
62428         Define versionsort64 as an alias.
62429         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
62430         Define scandir64 as an alias.
62431         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
62432         Define scandirat64 as an alias.
62433         * dirent/alphasort64.c (alphasort64):
62434         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
62435         * dirent/versionsort64.c: Likewise.
62436         * dirent/scandir64.c: Likewise.
62437         * dirent/scandirat64.c: Likewise.
62438         * sysdeps/wordsize-64/alphasort.c: File removed.
62439         * sysdeps/wordsize-64/alphasort64.c: File removed.
62440         * sysdeps/wordsize-64/scandir.c: File removed.
62441         * sysdeps/wordsize-64/scandir64.c: File removed.
62442         * sysdeps/wordsize-64/scandirat.c: File removed.
62443         * sysdeps/wordsize-64/scandirat64.c: File removed.
62444         * sysdeps/wordsize-64/versionsort.c: File removed.
62445         * sysdeps/wordsize-64/versionsort64.c: File removed.
62446         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
62447         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
62448         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
62449         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
62450         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
62451         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
62452         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
62453         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
62455         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
62456         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62457         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
62458         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62459         [defined __arch64__ || defined __sparcv9]
62460         (__INO_T_MATCHES_INO64_T): New macro.
62461         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62462         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
62463         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
62464         * sysdeps/unix/sysv/linux/bits/dirent.h
62465         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
62466         (_DIRENT_MATCHES_DIRENT64): New macro.
62468         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
62469         Define lockf64 as an alias.
62470         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
62471         Define fseeko64 as an alias.
62472         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
62473         Define ftello64 as an alias.
62474         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
62475         Define _IO_fgetpos64 and fgetpos64 as aliases.
62476         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
62477         Define _IO_fsetpos64 and fsetpos64 as aliases.
62478         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
62479         Conditionalize body on this.
62480         * libio/fseeko64.c: Likewise.
62481         * libio/ftello64.c: Likewise.
62482         * libio/iofgetpos64.c: Likewise.
62483         * libio/iofsetpos64.c: Likewise.
62484         * sysdeps/wordsize-64/lockf.c: File removed.
62485         * sysdeps/wordsize-64/lockf64.c: File removed.
62486         * sysdeps/wordsize-64/fseeko.c: File removed.
62487         * sysdeps/wordsize-64/fseeko64.c: File removed.
62488         * sysdeps/wordsize-64/ftello.c: File removed.
62489         * sysdeps/wordsize-64/ftello64.c: File removed.
62490         * sysdeps/wordsize-64/iofgetpos.c: File removed.
62491         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
62492         * sysdeps/wordsize-64/iofsetpos.c: File removed.
62493         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
62494         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
62495         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
62496         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
62497         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
62498         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
62499         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
62500         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
62501         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
62502         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
62503         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
62505         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62506         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62507         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
62508         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62509         [defined __arch64__ || defined __sparcv9]
62510         (__OFF_T_MATCHES_OFF64_T): New macro.
62511         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62512         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62513         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62514         (__OFF_T_MATCHES_OFF64_T): New macro.
62516 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62518         * stdlib/secure-getenv.c (__secure_getenv): Replace
62519         GLIBC_2_16 with GLIBC_2_17.
62521 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62523         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
62524         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62526 2012-08-03  David S. Miller  <davem@davemloft.net>
62528         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62530 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62532         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
62533         Remove.
62534         (__ASSUME_CORRECT_SI_PID): Likewise.
62535         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
62536         (__ASSUME_TMPFS_NAME): Likewise.
62537         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
62538         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
62539         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
62540         (HAVE_AUX_SECURE): Make definition unconditional.
62541         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
62542         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
62544 2012-08-03  Roland McGrath  <roland@hack.frob.com>
62546         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
62547         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
62548         * sysdeps/mach/hurd/eloop-threshold.h: New file.
62549         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
62550         __eloop_threshold instead of SYMLOOP_MAX.
62552         * sysdeps/generic/eloop-threshold.h: New file.
62553         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
62554         of MAXSYMLINKS.
62555         * elf/chroot_canon.c (chroot_canon): Likewise.
62557 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62559         [BZ #13717]
62560         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62561         Change to 2.6.0 everywhere.
62562         * sysdeps/unix/sysv/linux/configure: Regenerated.
62563         * sysdeps/unix/sysv/linux/kernel-features.h
62564         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
62565         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
62566         kernel versions.
62567         (__ASSUME_POSIX_TIMERS): Define unconditionally.
62568         (__ASSUME_FUTEX_REQUEUE): Remove.
62569         (__ASSUME_STATFS64): Define unconditionally.
62570         (__ASSUME_AT_SECURE): Likewise.
62571         (__ASSUME_CORRECT_SI_PID): Likewise.
62572         (__ASSUME_TGKILL): Define without depending on kernel version for
62573         i386.
62574         (__ASSUME_UTIMES): Likewise.
62575         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
62576         kernel version.
62577         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
62578         (__ASSUME_TMPFS_NAME): Likewise.
62579         * README: Update reference to Linux kernel versions.
62581 2012-08-02  Marek Polacek  <polacek@redhat.com>
62583         [BZ# 14150]
62584         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
62585         libc_cv_asm_type_prefix with %.
62586         * configure: Regenerated.
62587         * include/libc-symbols.h: Remove comment about
62588         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62589         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
62590         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
62591         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
62592         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
62593         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62594         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
62595         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
62596         * elf/tst-unique2mod1.c: Likewise.
62597         * elf/tst-unique1mod2.c: Likewise.
62598         * elf/tst-unique1mod1.c: Likewise.
62599         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
62600         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
62601         Replace ASM_TYPE_DIRECTIVE with .type.
62602         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62603         * sysdeps/i386/sysdep.h: Likewise.
62604         * sysdeps/x86_64/sysdep.h: Likewise.
62605         * sysdeps/sh/sysdep.h: Likewise.
62606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62607         Do not define ASM_TYPE_DIRECTIVE.
62608         * sysdeps/powerpc/sysdep.h: Likewise.
62609         * sysdeps/powerpc/powerpc32/sysdep.h:
62610         Replace ASM_TYPE_DIRECTIVE with .type.
62611         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
62612         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62613         * sysdeps/i386/fpu/e_powf.S: Likewise.
62614         * sysdeps/i386/fpu/e_expl.S: Likewise.
62615         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
62616         * sysdeps/i386/fpu/e_acosh.S: Likewise.
62617         * sysdeps/i386/fpu/e_pow.S: Likewise.
62618         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
62619         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
62620         * sysdeps/i386/fpu/s_expm1.S: Likewise.
62621         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
62622         * sysdeps/i386/fpu/e_log2.S: Likewise.
62623         * sysdeps/i386/fpu/e_log2l.S: Likewise.
62624         * sysdeps/i386/fpu/e_scalb.S: Likewise.
62625         * sysdeps/i386/fpu/e_powl.S: Likewise.
62626         * sysdeps/i386/fpu/e_log10f.S: Likewise.
62627         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
62628         * sysdeps/i386/fpu/e_logl.S: Likewise.
62629         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
62630         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
62631         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
62632         * sysdeps/i386/fpu/e_log2f.S: Likewise.
62633         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
62634         * sysdeps/i386/fpu/e_log.S: Likewise.
62635         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
62636         * sysdeps/i386/fpu/e_logf.S: Likewise.
62637         * sysdeps/i386/fpu/e_log10l.S: Likewise.
62638         * sysdeps/i386/fpu/e_atanh.S: Likewise.
62639         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
62640         * sysdeps/i386/fpu/e_log10.S: Likewise.
62641         * sysdeps/i386/fpu/s_frexp.S: Likewise.
62642         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
62643         * sysdeps/i386/fpu/s_asinh.S: Likewise.
62644         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
62645         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
62646         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
62647         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
62648         * sysdeps/i386/i686/strtok.S: Likewise.
62649         * sysdeps/i386/i386-mcount.S: Likewise.
62650         * sysdeps/i386/strtok.S: Likewise.
62651         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
62652         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
62653         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62654         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
62655         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
62656         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
62657         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
62658         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
62659         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
62660         * sysdeps/x86_64/_mcount.S: Likewise.
62661         * sysdeps/x86_64/strtok.S: Likewise.
62662         * sysdeps/sh/_mcount.S: Likewise.
62664 2012-08-01  Roland McGrath  <roland@hack.frob.com>
62666         * libio/iofopen.c: Include <fcntl.h>.
62667         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
62668         (_IO_fopen64, fopen64): Define as aliases.
62669         * libio/iofopen64.c: Include <fcntl.h>.
62670         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
62671         Conditionalize body on this.
62672         * sysdeps/wordsize-64/iofopen.c: File removed.
62673         * sysdeps/wordsize-64/iofopen64.c: File removed.
62675 2012-08-01  Marek Polacek  <polacek@redhat.com>
62677         * libc/Makeconfig: Use elf in place of binfmt-subdir.
62678         Use dlfcn directly instead of a variable.
62679         (binfmt-subdir): Do not define.
62680         (dlfcn): Likewise.
62682 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
62684         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
62685         Remove all definitions.
62686         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
62687         <kernel-features.h>.
62688         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
62689         (miss_F_GETOWN_EX): Remove all definitions.
62690         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
62691         macro definition.
62692         [!__ASSUME_FCNTL64]: Remove conditional code.
62693         [__ASSUME_FCNTL64]: Make code unconditional.
62694         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
62695         <kernel-features.h>.
62696         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
62697         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
62698         (lockf64) [__NR_fcntl64]: Make code unconditional.
62699         (lockf64) [__ASSUME_FCNTL64]: Likewise.
62701         * sysdeps/unix/sysv/linux/kernel-features.h
62702         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
62703         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
62704         Make code unconditional.
62705         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62706         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
62708         [__NR_vfork]: Make code unconditional.
62709         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62710         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
62712         [__NR_vfork]: Make code unconditional.
62713         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62714         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62716 2012-08-01  Roland McGrath  <roland@hack.frob.com>
62718         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
62719         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
62721         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62722         Define mkstemp64 as an alias.
62723         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62724         Define mkstemps64 as an alias.
62725         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62726         Define mkostemp64 as an alias.
62727         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62728         Define mkostemps64 as an alias.
62729         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
62730         Conditionalize body on this.
62731         * misc/mkostemp64.c: Likewise.
62732         * misc/mkostemps64.c: Likewise.
62733         * misc/mkstemps64.c: Likewise.
62734         * sysdeps/wordsize-64/mkstemp64.c: File removed.
62735         * sysdeps/wordsize-64/mkostemp64.c: File removed.
62736         * sysdeps/wordsize-64/mkostemp.c: File removed.
62737         * sysdeps/wordsize-64/mkstemp.c: File removed.
62738         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
62739         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
62740         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
62741         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
62743         [BZ #14138]
62744         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
62745         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
62746         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
62747         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
62749         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
62750         compat_symbol macros from <shlib-compat.h> rather than the underlying
62751         default_symbol_version and symbol_version macros, so that DEFAULT
62752         lines in shlib-versions are respected.
62753         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
62755 2012-08-01  Florian Weimer  <fweimer@redhat.com>
62757         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
62758         Declare with warn_unused_result.
62759         (setgid, setregid, setegid, setresgid): Likewise.
62760         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
62761         Likewise.
62762         * WUR-REPORT: Remove set*id functions.
62764 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
62766         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
62768 2012-07-31  Roland McGrath  <roland@hack.frob.com>
62770         [BZ #10191]
62771         * include/sys/socket.h (__libc_accept, __libc_accept4):
62772         Add attribute_hidden.
62773         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
62775         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
62776         use of PTR_MANGLE.
62777         * inet/getnetgrent_r.c (setup): Likewise.
62779         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
62781 2012-07-31  David S. Miller  <davem@davemloft.net>
62783         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62785 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
62787         [BZ #13629]
62788         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
62789         value between 1.0 and 2.0 and smaller part has absolute value less
62790         than 1.0.
62791         * math/s_clog10.c (__clog10): Likewise.
62792         * math/s_clog10f.c (__clog10f): Likewise.
62793         * math/s_clog10l.c (__clog10l): Likewise.
62794         * math/s_clogf.c (__clogf): Likewise.
62795         * math/s_clogl.c (__clogl): Likewise.
62796         * math/libm-test.inc (clog_test): Add more tests.
62797         (clog10_test): Likewise.
62798         * sysdeps/i386/fpu/libm-test-ulps: Update.
62799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62801 2012-07-31  Florian Weimer  <fweimer@redhat.com>
62803         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
62804         Exit with zero in case no suitable GID is found, and write a
62805         message to standard error.
62807 2012-07-30  Roland McGrath  <roland@hack.frob.com>
62809         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
62810         rather than to 1.
62811         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
62812         (MAXPATHLEN): Removed.
62813         (NOGROUP, NODEV): New macros.
62814         (setbit, clrbit, isset, isclr): New macros.
62815         (howmany, roundup, powerof2): New macros.
62816         (DEV_BSIZE): New macro.
62818         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
62819         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
62821         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
62822         definition on [!__NO_LONG_DOUBLE_MATH].
62824         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
62825         PTR_MANGLE and PTR_DEMANGLE.
62827         * socket/accept4.c (accept4): Rename to __libc_accept4.
62828         Define accept4 as a weak alias.
62830         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
62831         on [_DIRENT_HAVE_D_TYPE].
62832         * io/ftw.c (ftw_dir): Likewise.
62834         * io/xmknod.c (__xmknod): Don't check PATH for being null.
62836         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
62838         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
62839         Use the BSD numbers rather than the arbitrary ones we had.
62840         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
62841         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
62842         (SIGXCPU, SIGXFSZ): New macros.
62843         (_NSIG): Now 32.
62845         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
62846         initializer on [_LIBC_REENTRANT].
62848         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
62849         definitions inside [_POSIX_MAPPED_FILES].
62851         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
62853         * dirent/opendir.c: Include <fcntl.h>.
62855         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
62856         (__libc_getspecific): Likewise.
62857         (__libc_key_create): Likewise.
62859         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
62860         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
62861         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
62862         (tmpfile64): Define as alias.
62863         * sysdeps/wordsize-64/tmpfile.c: File removed.
62864         * sysdeps/wordsize-64/tmpfile64.c: File removed.
62865         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
62866         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
62868         * stdio-common/vfscanf.c: Include <stdbool.h>.
62869         * nss/makedb.c: Likewise.
62870         * stdio-common/_i18n_number.h: Likewise.
62871         * argp/argp-help.c: Likewise.
62872         * posix/wordexp.c: Likewise.
62873         * sysdeps/posix/spawni.c: Likewise.
62874         * nss/nss_files/files-initgroups.c: Likewise.
62875         * stdio-common/reg-modifier.c: Include <stdlib.h>.
62876         * nss/nss_files/files-initgroups.c: Likewise.
62877         * nss/nss_db/db-netgrp.c: Likewise.
62878         * nss/nss_db/db-initgroups.c: Likewise.
62879         * io/fchmodat.c: Include <sys/stat.h>.
62881         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
62882         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
62884         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
62885         [HAVE_MMAP].
62887         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
62888         Add multiple inclusion protection.
62890 2012-07-27  David S. Miller  <davem@davemloft.net>
62892         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62894 2012-07-27  Gary Benson  <gbenson@redhat.com>
62896         [BZ #14298]
62897         * elf/rtld.c: Include <stap-probe.h>.
62898         (dl_main): Added static probes "init_start" and "init_complete".
62899         * elf/dl-load.c: Include <stap-probe.h>.
62900         (lose): Take new parameter "nsid".
62901         Added static probe "map_failed".
62902         (_dl_map_object_from_fd): Pass namespace id to lose.
62903         Added static probe "map_start".
62904         (open_verify): Pass namespace id to lose.
62905         * elf/dl-open.c: Include <stap-probe.h>.
62906         (dl_open_worker) Added static probes "map_complete", "reloc_start"
62907         and "reloc_complete".
62908         * elf/dl-close.c: Include <stap-probe.h>.
62909         (_dl_close_worker): Added static probes "unmap_start" and
62910         "unmap_complete".
62911         * elf/rtld-debugger-interface.txt: New file documenting the above.
62913 2012-07-26  Roland McGrath  <roland@hack.frob.com>
62915         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
62916         rather than a string variable.
62917         * sunrpc/rpc_main.c (h_output): Likewise.
62918         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
62920 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
62922         * inet/check_native.c: New file.
62924 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
62926         [BZ #13629]
62927         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
62928         if larger part has absolute value 1.0.
62929         * math/s_clog10.c (__clog10): Likewise.
62930         * math/s_clog10f.c (__clog10f): Likewise.
62931         * math/s_clog10l.c (__clog10l): Likewise.
62932         * math/s_clogf.c (__clogf): Likewise.
62933         * math/s_clogl.c (__clogl): Likewise.
62934         * math/libm-test.inc (clog_test): Add more tests.
62935         (clog10_test): Likewise.
62936         * sysdeps/i386/fpu/libm-test-ulps: Update.
62937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62939         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
62940         (pltexit): Likewise.
62941         (La_regs): Likewise.
62942         (La_retval): Likewise.
62943         (int_retval): Likewise.
62944         Update #error for removed macros to refer only to definitions in
62945         tst-audit.h.
62946         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
62947         macro.
62948         (pltexit): Likewise.
62949         (La_regs): Likewise.
62950         (La_retval): Likewise.
62951         (int_retval): Likewise.
62952         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
62953         macro.
62954         (pltexit): Likewise.
62955         (La_regs): Likewise.
62956         (La_retval): Likewise.
62957         (int_retval): Likewise.
62958         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
62959         macro.
62960         (pltexit): Likewise.
62961         (La_regs): Likewise.
62962         (La_retval): Likewise.
62963         (int_retval): Likewise.
62964         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
62965         macro.
62966         (pltexit): Likewise.
62967         (La_regs): Likewise.
62968         (La_retval): Likewise.
62969         (int_retval): Likewise.
62970         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
62971         macro.
62972         (pltexit): Likewise.
62973         (La_regs): Likewise.
62974         (La_retval): Likewise.
62975         (int_retval): Likewise.
62976         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
62977         macro.
62978         (pltexit): Likewise.
62979         (La_regs): Likewise.
62980         (La_retval): Likewise.
62981         (int_retval): Likewise.
62982         * sysdeps/generic/tst-audit.h: Update comment to refer only to
62983         macro definitions in tst-audit.h.
62984         * sysdeps/i386/tst-audit.h: New file.
62985         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
62986         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
62987         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
62988         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
62989         * sysdeps/sh/tst-audit.h: Likewise.
62990         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
62991         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
62992         * sysdeps/x86_64/tst-audit.h: Likewise.
62994 2012-07-26  Andreas Jaeger  <aj@suse.de>
62996         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
62997         ptrace.
62999         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
63000         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
63001         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
63002         PTRACE_O_MASK.
63003         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
63004         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
63005         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
63007         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
63008         value.
63010         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
63011         _sigsys.
63012         (si_call_addr, si_syscall, si_arch): Define new macro.
63013         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
63014         _sigsys.
63015         (si_call_addr, si_syscall, si_arch): Define new marcro.
63016         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
63017         _sigsys.
63018         (si_call_addr, si_syscall, si_arch): Define new macro.
63019         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
63020         _sigsys.
63021         (si_call_addr, si_syscall, si_arch): Define new macro.
63023 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
63025         [BZ #13717]
63026         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63027         Change to 2.4.21 where previously 2.4.1.
63028         * sysdeps/unix/sysv/linux/configure: Regenerated.
63029         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
63030         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
63031         Linux kernel version.
63032         (__ASSUME_STD_AUXV): Remove.
63033         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
63034         kernel version.
63035         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
63036         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
63037         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
63038         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
63039         (__ASSUME_NETLINK_SUPPORT): Likewise.
63040         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
63041         (__no_netlink_support): Remove conditional definition.
63042         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
63043         Remove.
63044         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
63045         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
63046         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
63047         (if_nameindex_ioctl): Remove.
63048         (if_nameindex_netlink): Do not handle __no_netlink_support.
63049         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
63050         code.
63051         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
63052         Remove conditional code.
63053         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
63054         code.
63055         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
63056         unconditional.
63057         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
63058         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
63059         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
63060         Remove.
63061         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
63062         [!__ASSUME_STD_AUXV]: Remove conditional code.
63063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
63064         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
63065         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
63066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
63067         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
63068         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
63069         code.
63070         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
63071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
63072         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
63073         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
63074         conditional code.
63075         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
63076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
63077         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
63078         code.
63079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
63080         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
63081         conditional code.
63082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
63083         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63084         code unconditional.
63085         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63086         conditional code.
63087         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63088         unconditional.
63089         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63090         conditional code.
63091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63092         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63093         unconditional.
63094         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63095         conditional code.
63096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
63097         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63098         code unconditional.
63099         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63100         conditional code.
63101         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63102         unconditional.
63103         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63104         conditional code.
63105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
63106         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63107         code unconditional.
63108         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63109         conditional code.
63110         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63111         unconditional.
63112         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63113         conditional code.
63115 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
63117         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
63118         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
63119         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
63120         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
63121         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
63122         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
63123         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
63124         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
63125         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
63126         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
63127         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
63128         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
63129         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
63130         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
63131         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
63132         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
63133         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
63134         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
63135         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
63136         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
63137         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
63138         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
63139         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
63141 2012-07-25  Florian Weimer  <fweimer@redhat.com>
63143         * Versions.def: Add GLIBC_2.17.
63144         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
63145         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
63146         Introduce __libc_secure_getenv.
63147         * stdlib/Versions (2.17): Add secure_getenv
63148         (GLIBC_PRIVATE): Add __libc_secure_getenv.
63149         * stdlib/secure-getenv.c: Rename __secure_getenv to
63150         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
63151         symbol __secure_getenv for GLIBC_2.0.
63152         * stdlib/tst-secure-getenv.c: New.
63153         * stdlib/Makefile (tests): Add testcase.
63154         * manual/startup.texi (Environment Access): Document
63155         secure_getenv.
63156         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
63157         __libc_secure_getenv.
63158         * inet/ruserpass.c (ruserpass): Likewise.
63159         * malloc/mtrace.c (mtrace): Likewise.
63160         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
63161         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
63162         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
63163         * sysdeps/posix/tempname.c: Likewise.  Evaluate
63164         HAVE_SECURE_GETENV.
63165         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
63166         __secure_getenv to __libc_secure_getenv.
63167         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
63168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63169         Likewise.
63170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63171         Likewise.
63172         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
63173         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
63174         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
63175         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
63176         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
63177         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
63178         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
63180 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
63182         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
63183         (struct La_i86_retval): Likewise.
63184         (struct La_x86_64_regs): Likewise.
63185         (struct La_x86_64_retval): Likewise.
63186         (struct La_x32_regs): Likewise.
63187         (struct La_x32_retval): Likewise.
63188         (struct La_ppc32_regs): Likewise.
63189         (struct La_ppc32_retval): Likewise.
63190         (struct La_ppc64_regs): Likewise.
63191         (struct La_ppc64_retval): Likewise.
63192         (struct La_sh_regs): Likewise.
63193         (struct La_sh_retval): Likewise.
63194         (struct La_s390_32_regs): Likewise.
63195         (struct La_s390_32_retval): Likewise.
63196         (struct La_s390_64_regs): Likewise.
63197         (struct La_s390_64_retval): Likewise.
63198         (struct La_sparc32_regs): Likewise.
63199         (struct La_sparc32_retval): Likewise.
63200         (struct La_sparc64_regs): Likewise.
63201         (struct La_sparc64_retval): Likewise.
63202         (struct audit_ifaces): Remove architecture-specific pltenter and
63203         pltexit members.
63204         * sysdeps/i386/ldsodefs.h: New file.
63205         * sysdeps/powerpc/ldsodefs.h: Likewise.
63206         * sysdeps/s390/ldsodefs.h: Likewise.
63207         * sysdeps/sh/ldsodefs.h: Likewise.
63208         * sysdeps/sparc/ldsodefs.h: Likewise.
63209         * sysdeps/x86_64/ldsodefs.h: Likewise.
63211 2012-07-25  Marek Polacek  <polacek@redhat.com>
63213         [BZ #6808]
63214         * math/libm-test.inc (yn_test): Add another test.
63215         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
63216         to ERANGE when the result is +-Inf.
63217         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
63218         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
63219         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
63220         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
63222 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
63224         * conform/data/time.h-data (NULL): Use macro-constant.  Require
63225         equal to 0.
63226         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
63227         clock_t.
63228         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
63230 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
63232         * configure.in <sysdeps resolving>: Correct printing
63233         Implies_before.
63234         * configure: Regenerate.
63236 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
63238         * math/w_ilogb.c: Include <limits.h>.
63239         * math/w_ilogbl.c: Likewise.
63241 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
63243         * manual/lang.texi (__va_copy): Document primarily as ISO C99
63244         va_copy.  Document allowing for unavailable va_copy only as
63245         pre-C99 compatibility.
63246         * manual/string.texi (Copying and Concatenation): Use va_copy
63247         instead of __va_copy in concat example.
63249 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
63251         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
63252         (__sendto): Use create_address_port.  Initialize APORT and deallocate
63253         it if not null.
63255         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
63256         with O_NOLINK passed to __file_name_lookup.
63258         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
63259         with O_NOLINK passed to __file_name_lookup.
63261         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
63262         negative N or less than NGIDS.
63264         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
63265         type to string_t.  Set ERANGE as errno and return it if NAME is not big
63266         enough.  Use memcpy instead of strncpy.
63268 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
63270         * elf/Makefile (check-data): Remove.
63271         (localplt.data): New vpath directive.
63272         ($(objpfx)check-localplt.out): Use localplt.data from vpath
63273         instead of $(check-data).
63274         * scripts/data/localplt-generic.data: Move to ...
63275         * sysdeps/generic/localplt.data: ... here.
63276         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
63277         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
63278         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
63279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
63280         ... here.
63281         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
63282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
63283         ... here.
63284         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
63285         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
63286         ... here.
63287         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
63288         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
63289         ... here.
63290         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
63291         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
63292         ... here.
63293         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
63294         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
63295         ... here.
63297 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63299         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
63300         PPC32 and PPC64 files.
63301         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
63302         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
63304 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63306         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
63307         __makecontext_ret to ...
63308         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
63309         ... here and call exit if uc_link is NULL.  New file.
63310         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
63311         __makecontext_ret.S.
63312         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
63313         __makecontext_ret to ...
63314         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
63315         ... here and call exit if uc_link is NULL.  New file.
63316         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
63317         __makecontext_ret.S.
63319 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63321         * elf/elf.h (R_390_IRELATIVE): New definition.
63322         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
63323         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
63324         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
63325         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
63326         (elf_machine_lazy_rel): Likewise.
63327         * sysdeps/s390/dl-irel.h: New file.
63328         * sysdeps/s390/s390-64/memcpy.S: New asm code.
63329         * sysdeps/s390/s390-64/memset.S: New asm code.
63330         * sysdeps/s390/s390-64/memcmp.S: New asm code.
63331         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
63332         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
63333         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
63334         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
63335         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
63336         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
63337         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
63338         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
63339         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
63340         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
63341         * sysdeps/s390/s390-32/memcpy.S: New asm code.
63342         * sysdeps/s390/s390-32/memset.S: New asm code.
63343         * sysdeps/s390/s390-32/memcmp.S: New asm code.
63345 2012-07-17  Marek Polacek  <polacek@redhat.com>
63347         [BZ #14349]
63348         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
63349         * sysdeps/s390/s390-64/configure.in: Likewise.
63350         * sysdeps/sparc/configure.in: Likewise.
63351         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
63352         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
63353         * sysdeps/i386/configure.in: Likewise.
63354         * sysdeps/x86_64/configure.in: Likewise.
63355         * sysdeps/sh/configure.in: Likewise.
63356         * sysdeps/s390/s390-32/configure: Regenerated.
63357         * sysdeps/s390/s390-64/configure: Likewise.
63358         * sysdeps/x86_64/configure: Likewise.
63359         * sysdeps/sh/configure: Likewise.
63360         * sysdeps/powerpc/powerpc64/configure: Likewise.
63361         * sysdeps/powerpc/powerpc32/configure: Likewise.
63362         * sysdeps/sparc/configure: Likwise.
63363         * sysdeps/i386/configure: Likewise.
63365         * elf/dl-open.c: Comment fixes.
63367 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
63369         * Makefile [CXX] (check-data): Remove.
63370         [CXX] (c++-types.data): New vpath directive.
63371         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
63372         vpath.  Do not allow for C++ type data being missing.
63373         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
63374         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
63375         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
63376         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
63377         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
63378         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
63379         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
63380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
63381         ... here.
63382         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
63383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
63384         ... here.
63385         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
63386         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
63387         ... here.
63388         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
63389         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
63390         ... here.
63391         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
63392         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
63393         ... here.
63394         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
63395         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
63396         ... here.
63397         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
63398         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
63399         ... here.
63400         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
63401         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
63403         * elf/tls-macros.h (TLS_LE): Move architecture-specific
63404         definitions to architecture-specific files.
63405         (TLS_IE): Likewise.
63406         (TLS_LD): Likewise.
63407         (TLS_GD): Likewise.
63408         * sysdeps/i386/tls-macros.h: New file.
63409         * sysdeps/powerpc/tls-macros.h: Likewise.
63410         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
63411         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
63412         * sysdeps/sh/tls-macros.h: Likewise.
63413         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
63414         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
63415         * sysdeps/x86_64/tls-macros.h: Likewise.
63417 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63419         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
63420         zero value for regular exit case.
63422         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
63423         (__start_context): Preserve zero value for regular exit case.
63425 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63426             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63428         * manual/setjmp.texi (setcontext): Clarify normal process
63429         termination when uc_link is the null pointer.
63430         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
63431         exit call.
63433 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
63435         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
63436         preprocessor.  Test for each exception mask separately.
63438 2012-07-16  Andreas Jaeger  <aj@suse.de>
63440         * po/ru.po: Update from translation team.
63442 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
63444         * conform/data/string.h-data (NULL): Use macro-constant.  Require
63445         equal to 0.
63446         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
63447         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
63448         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
63449         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
63450         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63452 2012-07-13  Andreas Jaeger  <aj@suse.de>
63454         * po/fr.po: Update from translation team.
63456 2012-07-12  Marek Polacek  <polacek@redhat.com>
63458         [BZ #14173]
63459         * math/libm-test.inc (yn_test): Add test for BZ #14173.
63460         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
63461         loop condition.
63463 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
63465         [BZ #13717]
63466         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63467         Change to 2.4.1 where previously 2.4.0.
63468         * sysdeps/unix/sysv/linux/configure: Regenerated.
63469         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
63470         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
63471         version.
63472         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
63473         (__ASSUME_AT_CLKTCK): Remove.
63474         (__ASSUME_AT_PAGESIZE): Likewise.
63475         (__ASSUME_AT_XID): Likewise.
63476         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
63477         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
63478         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
63479         unconditionally.
63480         (HAVE_AUX_PAGESIZE): Likewise.
63481         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
63482         [__ASSUME_AT_CLKTCK]: Make code unconditional.
63483         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
63485 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
63487         [BZ #14307]
63488         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
63489         the temporary buffer used to invoke __gethostbyname2_r,
63490         __gethostbyaddr_r and gethostbyname4_r to make room for struct
63491         host_data / struct gaih_addrtuple.
63492         * resolv/nss_dns/dns-host.c (global scope): Move definition of
63493         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
63494         header file nss/nsswitch.h.
63495         * nss/nsswitch.h (global scope): Add definition of implementation
63496         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
63497         resolv/nss_dns/dns-host.c).
63499 2012-07-11  Andreas Jaeger  <aj@suse.de>
63501         * po/fr.po: Update from translation team.
63503         * po/sv.po: Update from translation team
63504         * po/fr.po: Another update from translation team.
63506 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63508         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
63509         for subnormals or multiply small sinh result by itself.
63510         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
63511         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63513 2012-07-11  David S. Miller  <davem@davemloft.net>
63515         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63517 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
63519         [BZ #14347]
63520         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
63521         (INTERNAL_MARK): Shift it here.
63523 2012-07-10  Marek Polacek  <polacek@redhat.com>
63525         [BZ #14151]
63526         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
63527         libc_cv_asm_global_directive with .globl.
63528         * configure: Regenerated.
63529         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
63530         with .globl.
63531         * sysdeps/i386/configure: Regenerated.
63532         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
63533         with .globl.
63534         * sysdeps/x86_64/configure: Regenerated.
63535         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
63536         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
63537         * elf/tst-unique2mod2.c: Likewise.
63538         * elf/tst-unique2mod1.c: Likewise.
63539         * elf/tst-unique1mod2.c: Likewise.
63540         * elf/tst-unique1mod1.c: Likewise.
63541         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63542         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
63543         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63544         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63545         * sysdeps/mach/sysdep.h: Likewise.
63546         * sysdeps/i386/sysdep.h: Likewise.
63547         * sysdeps/i386/i386-mcount.S: Likewise.
63548         * sysdeps/x86_64/_mcount.S: Likewise.
63549         * sysdeps/x86_64/sysdep.h: Likewise.
63550         * sysdeps/sh/_mcount.S: Likewise.
63551         * sysdeps/sh/sysdep.h: Likewise.
63552         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
63553         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
63554         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
63555         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
63556         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
63557         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
63558         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
63559         * locale/localeinfo.h: Likewise.
63560         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
63561         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
63563 2012-07-09  Roland McGrath  <roland@hack.frob.com>
63565         [BZ #14336]
63566         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
63567         system".
63568         * manual/message.texi (The Uniforum approach): Likewise.
63569         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
63570         (glibc iconv Implementation): Likewise.
63572 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
63574         [BZ #14337]
63575         * math/s_clog.c (__clog): Avoid scaling a value down where that
63576         could result in underflow.
63577         * math/s_clog10.c (__clog10): Likewise.
63578         * math/s_clog10f.c (__clog10f): Likewise.
63579         * math/s_clog10l.c (__clog10l): Likewise.
63580         * math/s_clogf.c (__clogf): Likewise.
63581         * math/s_clogl.c (__clogl): Likewise.
63582         * math/libm-test.inc (clog_test): Add more tests.
63583         (clog10_test): Likewise.
63584         * sysdeps/i386/fpu/libm-test-ulps: Update.
63585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63587 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
63589         [BZ #14283]
63590         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
63591         by 7 not 8 to examine high bit of fractional part.
63593         [BZ #14042]
63594         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
63595         for call to __mcount_internal.
63596         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
63597         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
63598         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
63600 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
63602         [BZ #14154]
63603         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
63604         approximation for values within 0x1p-13f of an odd multiple of
63605         pi/4.
63606         * math/libm-test.inc (tan_test): Do not allow spurious underflow
63607         exception.  Add more tests.
63608         * sysdeps/i386/fpu/libm-test-ulps: Update.
63610         [BZ #6778]
63611         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
63612         inputs and return -1 for them.  Do not check for +Inf in case not
63613         reachable for +Inf.
63614         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
63615         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
63616         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63617         and return -1 for them.  Do not check for +Inf in case not
63618         reachable for +Inf.
63619         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
63620         define.
63621         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63622         and return -1 for them.  Do not check for +Inf in case not
63623         reachable for +Inf.
63624         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
63625         spurious underflow.
63626         * sysdeps/i386/fpu/libm-test-ulps: Update.
63627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63629 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
63631         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
63633 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
63635         [BZ #14157]
63636         [BZ #14331]
63637         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
63638         could result in spurious underflow.  Scale down values above
63639         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
63640         * math/s_csqrtf.c (__csqrtf): Likewise.
63641         * math/s_csqrtl.c (__csqrtl): Likewise.
63642         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
63643         spurious underflow.
63644         * sysdeps/i386/fpu/libm-test-ulps: Update.
63645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63647 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
63649         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
63650         xopen-msg.sed.
63651         * catgets/xopen-msg.awk: New file.
63652         * catgets/xopen-msg.sed: Removed.
63654         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
63655         po2text.sed.
63656         * intl/po2test.awk: New file.
63657         * intl/po2test.sed: Removed.
63659 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
63661         [BZ #14328]
63662         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
63663         or multiply small sinh result by itself.
63664         * math/s_ctanf.c (__ctanf): Likewise.
63665         * math/s_ctanh.c (__ctanh): Likewise.
63666         * math/s_ctanhf.c (__ctanhf): Likewise.
63667         * math/s_ctanhl.c (__ctanhl): Likewise.
63668         * math/s_ctanl.c (__ctanl): Likewise.
63669         * math/libm-test.inc (ctan_test_tonearest): New function.
63670         (ctan_test_towardzero): Likewise.
63671         (ctan_test_downward): Likewise.
63672         (ctan_test_upward): Likewise.
63673         (ctanh_test_tonearest): Likewise.
63674         (ctanh_test_towardzero): Likewise.
63675         (ctanh_test_downward): Likewise.
63676         (ctanh_test_upward): Likewise.
63677         (main): Call these new functions.
63678         * sysdeps/i386/fpu/libm-test-ulps: Update.
63679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63681 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
63683         * .gitignore: Delete /ports entry.
63685 2012-07-03  Andreas Jaeger  <aj@suse.de>
63687         * po/bg.po: Update from translation team.
63688         * po/cs.po: Likewise.
63689         * po/de.po: Likewise.
63690         * po/hr.po: Likewise.
63691         * po/nl.pl: Likewise.
63692         * po/pl.po: Likewise.
63693         * po/vi.po: Likewise.
63695 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
63697         * Makeconfig [!+link] (+link-before-libc): New variable.
63698         [!+link] (+link-after-libc): Likewise.
63699         [!+link] (+link-tests): Likewise.
63700         [!+link] (+link): Define in terms of $(+link-before-libc) and
63701         $(+link-after-libc).
63702         [!+link-static] (+link-static-before-libc): New variable.
63703         [!+link-static] (+link-static-after-libc): Likewise.
63704         [!+link-static] (+link-static-tests): Likewise.
63705         [!+link-static] (+link-static): Define in terms of
63706         $(+link-static-before-libc) and $(+link-static-after-libc).
63707         [build-shared] (link-libc-before-gnulib): New variable.
63708         [build-shared] (link-libc-tests): Likewise.
63709         [build-shared] (link-libc): Define in terms of
63710         $(link-libc-before-gnulib).
63711         [!build-shared] (link-libc-tests): New variable.
63712         (link-libc-static-tests): New variable.
63713         [!gnulib] (gnulib-arch): New variable.
63714         [!gnulib] (gnulib-tests): Likewise.
63715         [!gnulib] (static-gnulib-arch): Likewise.
63716         [!gnulib] (static-gnulib-tests): Likewise.
63717         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
63718         Define with "=" instead of ":=".
63719         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
63720         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
63721         * Rules (binaries-all-notests): New variable.
63722         (binaries-all-tests): Likewise.
63723         (binaries-static-notests): Likewise.
63724         (binaries-static-tests): Likewise.
63725         (binaries-all): Define using $(binaries-all-notests) and
63726         $(binaries-all-tests).
63727         (binaries-static): Define using $(binaries-static-notests) and
63728         $(binaries-static-tests).
63729         (binaries-shared-tests): New variable.
63730         (binaries-shared-notests): Likewise.
63731         (binaries-shared): Remove variable.
63732         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
63733         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
63734         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
63735         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
63736         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
63737         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
63738         * elf/Makefile (sln-modules): New variable.
63739         (extra-objs): Add $(sln-modules:=.o).
63740         (ldconfig-modules): Add static-stubs.
63741         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
63742         * elf/static-stubs.c: New file.
63744         [BZ #14283]
63745         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
63746         by 7 not 8 to examine high bit of fractional part.  Use volatile
63747         variables when splitting into final array of floats if
63748         __FLT_EVAL_METHOD__ != 0.
63749         * math/libm-test.inc (cos_test): Add another test.
63750         (sin_test): Likewise.
63751         * sysdeps/i386/fpu/libm-test-ulps: Update.
63753         [BZ #14273]
63754         * math/libm-test.inc (cosh_test): Add more tests.
63756         * version.h (RELEASE): Set to "development".
63757         (VERSION): Set to "2.16.90".
63759 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
63761         * NEWS: Update copyright. Remove last-updated date.
63762         Mention math library bug fixes and timezone data changes.
63763         * README: Mention GNU/Hurd, x32, and HPPA support status.
63765 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
63767         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
63769 2012-06-27  Andreas Jaeger  <aj@suse.de>
63771         * manual/contrib.texi (Contributors): Add Samuel Thibault.
63773 2012-06-25  Andreas Jaeger  <aj@suse.de>
63775         * sysdeps/s390/fpu/libm-test-ulps: Update.
63777 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
63778             Thomas Schwinge  <thomas@codesourcery.com>
63780         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
63781         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
63782         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
63783         fanotify_mark.
63785 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
63787         * sysdeps/mach/start.c: Remove file.
63788         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
63789         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
63790         * sysdeps/sh/init-first.c: Likewise.
63792         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
63793         registers for frame unwinding purposes, add CFI directives.
63794         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
63795         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
63796         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
63797         Likewise.
63799         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
63800         __fortify_fail returning.
63801         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
63803         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
63804         sysdeps/sh/____longjmp_chk.S.
63805         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
63806         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
63807         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
63808         (gen-as-const-headers): Append sigaltstack-offsets.sym.
63810         * sysdeps/sh/abort-instr.h: New file.
63811         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
63812         process in case exit returns.
63814         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
63815         initialize the GOT register before use.
63817         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
63818         calculation of ARGC > 4.
63820         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
63821         meaningful names to some local labels.
63823 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63824             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63826         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
63827         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
63828         (__arch_compare_and_exchange_val_16_acq): Likewise.
63829         (__arch_compare_and_exchange_val_32_acq): Likewise.
63830         (atomic_exchange_and_add): Fix gUSA sequence.
63831         (atomic_add): Likewise.
63832         (atomic_add_negative): Likewise.
63833         (atomic_add_zero): Likewise.
63834         (atomic_bit_test_set): Likewise.
63836 2012-06-22  Andreas Schwab  <schwab@redhat.com>
63838         [BZ #13579]
63839         * include/link.h (struct link_map): Add l_free_initfini.
63840         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
63841         l_initfini.
63842         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
63843         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
63844         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
63845         set.
63847 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
63849         * configure.in: Use AC_LANG_SOURCE.
63850         * configure: Regenerate.
63852 2012-06-22  Roland McGrath  <roland@hack.frob.com>
63854         * configure.in (libc_cv_localstatedir): New substituted variable.
63855         * configure: Regenerated.
63856         * config.make.in (localstatedir): New variable, substituted from
63857         libc_cv_localstatedir.
63858         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
63859         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
63860         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
63861         * sysdeps/gnu/configure: Regenerated.
63863 2012-06-21  Jeff Law  <law@redhat.com>
63865         [BZ #14277]
63866         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
63867         free.  Simplify list management for _LIBC case.
63869 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
63871         [BZ #14273]
63872         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
63873         Clear sign bit of 64-bit integer value before comparing against
63874         overflow value.
63876         * sysdeps/mach/configure: Regenerated.
63878 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
63880         [BZ #14278]
63881         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
63883 2012-06-21  Jeff Law  <law@redhat.com>
63885         [BZ #13882]
63886         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
63887         uint16_t for elements in the "seen" array to avoid char overflows.
63888         * elf/dl-fini.c (_dl_sort_fini): Likewise.
63889         * elf/dl-open.c (dl_open_worker): Likewise.
63891 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
63893         * scripts/list-sources.sh: Scan PORTS for translations.
63894         * po/libc.pot: Regenerated.
63896 2012-06-21  Andreas Jaeger  <aj@suse.de>
63898         [BZ #12194]
63899         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
63900         warning.
63901         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
63902         * bits/byteswap-16.h (__bswap_16): Likewise.
63903         * bits/byteswap.h (__bswap_constant_16): Likewise.
63905 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
63907         [BZ #14117]
63908         * sysdeps/i386/fpu_control.h: Removed.
63909         * sysdeps/x86_64/fpu_control.h: Moved to ...
63910         * sysdeps/x86/fpu_control.h: Here.
63912         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
63913         (_FPU_SETCW): Likewise.
63915 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
63917         [BZ #14117]
63918         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
63919         * sysdeps/x86/fpu/bits/mathinline.h: This.
63920         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
63922         [BZ #14050]
63923         [BZ #14117]
63924         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
63925         functions if __x86_64__ is defined.
63927 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
63929         * string/endian.h: Add !__ASSEMBLER__ condition for including
63930         conversion interfaces.
63932 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
63934         [BZ #14241]
63935         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
63936         of ABS(x) in calculating zero to negative powers other than odd
63937         integers.
63938         * math/libm-test.inc (pow_test): Add more tests.
63940 2012-06-15  Andreas Jaeger  <aj@suse.de>
63942         * manual/contrib.texi (Contributors): Update entry of Liubov
63943         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
63944         Machado Filho.
63946 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
63948         * string/string.h: Add __wur to GNU version of strerror_r.
63950 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
63952         [BZ #14229]
63953         * string/Makefile (tests): Add tst-strtok_r.
63954         * string/tst-strtok_r.c: New file.
63955         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
63956         RAX_LP/RDX_LP on SAVE_PTR.
63958 2012-06-14  Roland McGrath  <roland@hack.frob.com>
63960         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
63962 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
63964         * libm_test.inc (csqrt_test): Allow more spurious underflow
63965         exceptions.
63966         (j0_test): Likewise.
63967         (j1_test): Likewise.
63968         (y0_test): Likewise.
63969         (y1_test): Likewise.
63971 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
63973         * po/Makefile (libc.pot): Use UTF-8 charset.
63975 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
63977         [BZ #14210]
63978         Suppress sign-conversion warning from FD_SET.
63979         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
63980         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
63981         not unsigned long int.
63982         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
63984 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
63986         [BZ #14050]
63987         [BZ #14117]
63988         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
63989         __extern_always_inline instead of __extern_inline.
63990         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
63991         (__signbit): Likewise.
63992         (__signbitl): Support C++ namespace.
63993         (lrintf): New inline function.
63994         (lrint): Likewise.
63995         (llrintf): Likewise.
63996         (llrint): Likewise.
63997         (fmaxf): Likewise.
63998         (fmax): Likewise.
63999         (fminf): Likewise.
64000         (fmin): Likewise.
64001         (rint): Likewise.
64002         (rintf): Likewise.
64003         (ceil): Likewise.
64004         (ceilf): Likewise.
64005         (floor): Likewise.
64006         (floorf): Likewise.
64007         (nearbyint): Likewise.
64008         (nearbyintf): Likewise.
64010 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
64012         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
64013         non-default versions.
64015 2012-06-11  Roland McGrath  <roland@hack.frob.com>
64017         [BZ #14218]
64018         * manual/argp.texi (Argp): Reword argp_parse description slightly.
64020 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
64022         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
64023         (FE_UPWARD, FE_DOWNWARD): Don't define.
64024         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
64025         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64027         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
64028         reading it.
64029         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64030         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64032 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64034         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
64035         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
64036         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
64037         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
64039 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
64041         [BZ #14117]
64042         * sysdeps/i386/fpu/bits/fenv.h: Removed.
64043         * sysdeps/i386/fpu/Implies: New file.
64044         * sysdeps/x86_64/fpu/Implies: Likewise.
64045         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
64046         * sysdeps/x86/fpu/bits/fenv.h: This.
64048         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
64049         __SSE_MATH__.
64051 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
64053         [BZ #14134]
64054         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
64055         character 0xffff that matches the last element of the
64056         conversion table.
64058 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64060         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
64061         fmodl commit.
64063 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64065         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
64066         values higher than 25.6283.
64068 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64070         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
64071         subnormal exponent extraction and add some __builtin_expect.
64072         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
64073         Fix for subnormal mantissa calculation.
64075 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
64077         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
64078         cpu2 is -1 and errno is not ENOSYS.
64080 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
64082         [BZ #14117]
64083         * sysdeps/i386/i486/bits/string.h: Renamed to ...
64084         * sysdeps/x86/bits/string.h: This.
64085         * sysdeps/x86_64/bits/string.h: Removed.
64087         * sysdeps/i386/i486/bits/string.h: Define inline functions only
64088         if not compiling for x86-64, but compiling for >= i486.
64090         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
64091         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
64093         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
64094         New macro from Linux kernel 3.4.0.
64095         (FP_XSTATE_MAGIC2): Likewise.
64096         (FP_XSTATE_MAGIC2_SIZE): Likewise.
64097         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
64098         (struct _fpx_sw_bytes): New struct.
64099         (struct _xsave_hdr): Likewise.
64100         (struct _ymmh_state): Likewise.
64101         (struct _xstate): Likewise.
64103         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
64104         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
64105         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
64106         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
64107         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
64108         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
64110         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
64111         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
64112         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
64113         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
64114         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
64115         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
64117 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64119         [BZ #13743]
64120         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
64121         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
64122         (sysdep_headers): Include sys/platform/ppc.h.
64123         * sysdeps/powerpc/test-gettimebase.c: Test for
64124         __ppc_get_timebase() to catch future ISA opcode/insn changes.
64125         * manual/Makefile (appendices): Include platform.texi.
64126         * manual/contrib.texi (Contributors): Update @node pointers.
64127         * manual/maint.texi (Maintenance): Likewise.
64128         (Platform): New node.
64129         * manual/platform.texi: New file.  Document the new features.
64131 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64132             Jakub Jelinek  <jakub@redhat.com>
64134         [BZ #14188]
64135         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
64136         where __builtin_expect is unavailable.
64138 2012-06-03  David S. Miller  <davem@davemloft.net>
64140         * stdlib/longlong.h: Updated from GCC.
64142 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
64144         [BZ #14042]
64145         * sysdeps/powerpc/powerpc32/mcount.c: New file.
64146         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
64147         __mcount_internal.
64148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
64149         (GLIBC_2.16): Likewise.
64151 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64153         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
64155 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
64157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
64158         (default-abi): New variable.
64159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
64160         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
64161         variable.
64162         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
64163         Likewise.
64164         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
64165         Likewise.
64166         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
64167         Likewise.
64169         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
64170         definition.  Document in comment.
64172 2012-06-01  David S. Miller  <davem@davemloft.net>
64174         * stdlib/longlong.h: Updated from GCC.
64176 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64178         [BZ #14117]
64179         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
64180         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
64181         sys/debugreg.h sys/io.h here.
64182         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
64183         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
64184         sys/io.h.
64185         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
64186         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
64187         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
64188         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
64189         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
64190         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
64192         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
64193         Define only if __x86_64__ is defined.
64195 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
64197         [BZ #14048]
64198         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
64199         Use int64_t for variable i.
64200         * math/libm-test.inc (fmod_test): Add more tests.
64202         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
64203         z computation is not scheduled after fetestexcept.
64204         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
64205         Use math_force_eval instead of asm to ensure calculation scheduled
64206         before exception test.
64207         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
64208         Ensure a1 + u.d computation is not scheduled after fetestexcept.
64210 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
64212         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
64213         computation is not scheduled after fetestexcept.
64215 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64217         [BZ #14117]
64218         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
64219         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
64221 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64223         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
64224         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
64226 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
64228         [BZ #14117]
64229         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
64230         <bits/wordsize.h>.
64231         (__WCHAR_MIN): Support __WORDSIZE == 64.
64232         (__WCHAR_MAX): Likewise.
64234         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
64235         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
64237         [BZ #14183]
64238         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
64239         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
64241         [BZ #14117]
64242         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
64243         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
64245         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
64246         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
64248         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
64249         Defined to 1 if __x86_64__ isn't defined.
64250         (_STAT_VER_LINUX_OLD): New.
64251         (st_atime): Remove duplicate.
64252         (st_mtime): Likewise.
64253         (st_ctime): Likewise.
64255 2012-05-31  David S. Miller  <davem@davemloft.net>
64257         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
64258         entries.
64260 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
64262         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
64263         gen-libm-test.pl.
64265         [BZ #14132]
64266         * elf/dl-reloc.c: Include <_itoa.h>.
64267         (_dl_reloc_bad_type): Remove use of INTUSE.
64268         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
64269         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
64270         * stdio-common/psiginfo.c (psiginfo): Likewise.
64271         * stdio-common/psignal.c (psignal): Likewise.
64272         * string/strsignal.c (strsignal): Likewise.
64273         * include/signal.h (_sys_siglist): Declare hidden proto.
64274         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
64275         INTVARDEF with libc_hidden_data_def.
64276         * stdio-common/itoa-udigits.c: Likewise.
64277         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
64278         (_itoa_lower_digits_internal): Remove declaration.
64279         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
64280         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
64281         (_sys_sigabbrev_internal): Remove aliases.
64282         (_sys_siglist): Define hidden alias.
64284 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
64286         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64287         bits/sysctl.h.
64289 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
64291         [BZ #14117]
64292         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
64293         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
64295         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
64296         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
64297         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
64298         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
64299         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
64300         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
64302         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
64303         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
64304         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
64306         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
64307         with __addr.
64308         (insw): Likewise.
64309         (insl): Likewise.
64310         (outsb): Likewise.
64311         (outsw): Likewise.
64312         (outsl): Likewise.
64314         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
64315         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
64316         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
64318         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
64319         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
64320         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
64321         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
64322         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
64323         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
64325         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
64326         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
64328         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
64329         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
64331         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
64332         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
64333         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
64335         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
64336         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
64337         to ...
64338         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
64340         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
64341         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
64342         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
64344         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
64345         for x86-64.
64346         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
64348 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
64350         * math/math.h (M_El): Use two more decimal places.
64351         (M_LOG2El): Likewise.
64352         (M_LOG10El): Likewise.
64353         (M_LN2l): Likewise.
64354         (M_LN10l): Likewise.
64355         (M_PIl): Likewise.
64356         (M_PI_2l): Likewise.
64357         (M_PI_4l): Likewise.
64358         (M_1_PIl): Likewise.
64359         (M_2_PIl): Likewise.
64360         (M_2_SQRTPIl): Likewise.
64361         (M_SQRT2l): Likewise.
64362         (M_SQRT1_2l): Likewise.
64364 2012-05-31  David S. Miller  <davem@davemloft.net>
64366         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
64367         values between float registers.
64368         * sysdeps/sparc/sparc64/memset.S: Likewise.
64369         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
64371 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
64373         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
64374         -D_FORTIFY_SOURCE=1.
64375         (CPPFLAGS-tst-longjmp_chk.c): Define.
64376         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
64377         (CPPFLAGS-tst-longjmp_chk2.c): Define.
64378         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
64379         CFLAGS-tst-wchar-h.c.
64381 2012-05-31  Marek Polacek  <polacek@redhat.com>
64383         [BZ #14132]
64384         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
64385         __endmntent_internal): Remove declaration.
64386         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
64387         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
64388         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
64390 2012-05-30  David S. Miller  <davem@davemloft.net>
64392         * sysdeps/sparc/sparc32/soft-fp/q_util.c
64393         (___Q_simulate_exceptions): Use real FP ops rather than writing
64394         into the %fsr.
64395         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
64396         Likewise.
64398 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64400         [BZ #14117]
64401         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
64402         * sysdeps/x86/bits/xtitypes.h: This.
64404         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
64405         * sysdeps/x86/bits/wordsize.h: This.
64407         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
64408         * sysdeps/x86/bits/huge_vall.h: This.
64410         * sysdeps/i386/bits/select.h: Removed.
64411         * sysdeps/x86_64/bits/select.h: Renamed to ...
64412         * sysdeps/x86/bits/select.h: This.
64414         * sysdeps/i386/bits/setjmp.h: Removed.
64415         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
64416         * sysdeps/x86/bits/setjmp.h: This.
64418         * sysdeps/i386/bits/mathdef.h: Removed.
64419         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
64420         * sysdeps/x86/bits/mathdef.h: This.
64422 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
64424         [BZ #14132]
64425         * include/sys/socket.h (__connect_internal)
64426         (__libc_sa_len_internal): Remove declaration.
64427         (__connect, __libc_sa_len): Declare hidden_proto.
64428         (SA_LEN): Remove use of INTUSE.
64429         * socket/connect.c: Add libc_hidden_def.
64430         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
64431         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
64432         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
64433         alias.
64434         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
64435         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
64436         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
64437         of adding _internal alias.
64439 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64441         [BZ #14117]
64442         * sysdeps/i386/bits/link.h: Removed.
64443         * sysdeps/i386/bits/linkmap.h: Likewise.
64444         * sysdeps/x86_64/bits/link.h: Renamed to ...
64445         * sysdeps/x86/bits/link.h: This.
64446         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
64447         * sysdeps/x86/bits/linkmap.h: This.
64449         * sysdeps/i386/bits/endian.h: Removed.
64450         * sysdeps/x86_64/bits/endian.h: Renamed to ...
64451         * sysdeps/x86/bits/endian.h: This.
64453         * sysdeps/i386/bits/byteswap.h: Removed.
64454         * sysdeps/i386/bits/byteswap-16.h: Likewise.
64455         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
64456         * sysdeps/x86/bits/byteswap.h: This.
64457         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
64458         * sysdeps/x86/bits/byteswap-16.h: This.
64459         * sysdeps/i386/Implies: Add x86.
64460         * sysdeps/x86_64/Implies: Likewise.
64462 2012-05-30  David S. Miller  <davem@davemloft.net>
64464         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
64465         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
64466         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
64467         (FP_TRAPPING_EXCEPTIONS): Define.
64468         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
64469         (FP_TRAPPING_EXCEPTIONS): Define.
64470         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
64471         subnormals only when inexact has been signalled or underflow
64472         exceptions are enabled.
64473         (_FP_PACK_CANONICAL): Likewise.
64475 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64477         [BZ #14183]
64478         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
64479         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
64481 2012-05-30  Richard Henderson  <rth@twiddle.net>
64483         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
64484         with #ifndef NOT_IN_libc.
64486         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
64487         marked to avoid plt entry.
64489 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64491         [BZ #14112]
64492         * Makeconfig (default-abi): New macro.
64493         (abi-includes): Likewise.
64494         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
64495         $(abi-$(default-abi)-lib-soname) for soname if defined.
64496         ($(common-objpfx)gnu/lib-names.stmp): Generate from
64497         abi-variants.
64498         * Makefile (installed-stubs): Likewise.
64499         * include/stubs-biarch.h: Removed.
64500         * scripts/lib-names.awk: Only handle one library at a time.
64501         * scripts/soversions.awk: Remove WORDSIZE support.
64502         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
64503         entries.
64504         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
64505         Removed.
64506         (syscall-list-default-condition): Likewise.
64507         (syscall-list-default-condition): Likewise.
64508         (syscall-list-includes): Likewise.
64509         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
64510         syscall-list-* with abi-*.  Handle undefined abi-variants.
64511         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
64512         * sysdeps/unix/sysv/linux/i386/Implies: New file.
64513         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
64514         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
64515         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
64516         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
64517         Removed.
64518         (syscall-list-32-options): Likewise.
64519         (syscall-list-32-condition): Likewise.
64520         (syscall-list-64-options): Likewise.
64521         (syscall-list-64-condition): Likewise.
64522         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
64523         macro.
64524         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
64525         Renamed to ...
64526         (abi-*): This.
64527         (abi-64-ld-soname): New macro.
64528         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
64529         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
64530         Renamed to ...
64531         (abi-*): This.
64532         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
64533         * sysdeps/x86_64/x32/shlib-versions: Likewise.
64535 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
64537         * sysdeps/unix/sysv/linux/kernel-features.h
64538         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
64539         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
64540         include <kernel-features.h>.
64541         [!__NR_ftruncate64]: Remove conditional code.
64542         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64543         [__NR_ftruncate64]: Make code unconditional.
64544         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64545         * sysdeps/unix/sysv/linux/truncate64.c: Do not
64546         include <kernel-features.h>.
64547         [!__NR_ftruncate64]: Remove conditional code.
64548         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64549         [__NR_ftruncate64]: Make code unconditional.
64550         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
64552         include <kernel-features.h>.
64553         [!__NR_ftruncate64]: Remove conditional code.
64554         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64555         [__NR_ftruncate64]: Make code unconditional.
64556         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
64558         include <kernel-features.h>.
64559         [!__NR_ftruncate64]: Remove conditional code.
64560         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64561         [__NR_ftruncate64]: Make code unconditional.
64562         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64564         * configure.in (libc_cv_fpie): Weaken to a compile test using
64565         LIBC_TRY_CC_OPTION.
64566         * configure: Regenerated.
64568 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64570         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
64571         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
64572         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
64573         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64574         Refreshed.
64575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
64576         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
64577         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
64578         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
64579         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
64580         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64581         Refreshed.
64583 2012-05-27  David S. Miller  <davem@davemloft.net>
64585         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
64586         (___Q_zero): New.
64587         (__Q_simulate_exceptions): Return void.  Change to simulate
64588         exceptions by writing into the %fsr.
64589         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
64590         (__Qp_handle_exceptions): Likewise.
64591         (numbers): Delete.
64592         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
64593         __Qp_handle_exceptions.
64594         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
64595         __Qp_handle_exceptions.
64596         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64597         as unused and give dummy FP_RND_NEAREST initializer.
64598         (FP_INHIBIT_RESULTS): Define.
64599         (___Q_simulate_exceptions): Update declaration.
64600         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
64601         formatting.
64602         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64603         as unused and give dummy FP_RND_NEAREST initializer.
64604         (__Qp_handle_exceptions): Update declaration.
64605         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
64606         formatting.
64608 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
64610         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
64611         the temporary FPU control word.
64612         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
64613         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
64614         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
64615         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64616         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
64617         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
64618         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
64619         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64620         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
64621         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
64622         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64624 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64626         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
64627         fields.
64629 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
64631         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
64632         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
64633         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
64634         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
64635         Likewise.
64636         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
64637         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
64638         Likewise.
64640 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
64642         * po/h.po: Update from translation team.
64644 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
64646         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
64648         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
64649         handling of denormals.
64650         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
64651         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
64652         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
64653         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
64654         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64655         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
64656         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
64657         Likewise.
64659 2012-05-26  Marek Polacek  <polacek@redhat.com>
64661         [BZ #14152]
64662         * math/libm-test.inc (fma_test): Don't always expect underflow
64663         exception.
64665 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64667         [BZ #12416]
64668         * elf/tst-execstack.c: Include stackinfo.h.
64669         (do_test): Adjust test case to ensure that pthread_getattr_np
64670         behaviour remains the same after marking stack executable.
64672 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
64674         * sysdeps/unix/sysv/linux/kernel-features.h
64675         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
64676         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
64677         kernel-features.h.
64678         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
64679         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
64680         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
64681         kernel-features.h.
64682         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
64683         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
64685 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
64687         * configure.in: Define the default includes to being none.
64688         * configure: Regenerated.
64690 2012-05-25  Roland McGrath  <roland@hack.frob.com>
64692         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
64693         * sysdeps/x86_64/setjmp.S: Likewise.
64694         * sysdeps/i386/bsd-setjmp.S: Likewise.
64695         * sysdeps/i386/bsd-_setjmp.S: Likewise.
64696         * sysdeps/i386/setjmp.S: Likewise.
64697         * sysdeps/i386/__longjmp.S: Likewise.
64698         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
64699         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
64701         * include/stap-probe.h: New file.
64702         * configure.in: Handle --enable-systemtap.
64703         * configure: Regenerated.
64704         * config.h.in (USE_STAP_PROBE): New #undef.
64705         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
64706         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
64707         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
64709 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
64711         [BZ #13717]
64712         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
64713         to 2.4.0 where earlier.
64714         * sysdeps/unix/sysv/linux/configure: Regenerated.
64715         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
64716         <kernel-features.h>.
64717         [__ASSUME_32BITUIDS]: Make code unconditional.
64718         [!__ASSUME_32BITUIDS]: Remove conditional code.
64719         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
64720         <kernel-features.h>.
64721         [__ASSUME_32BITUIDS]: Make code unconditional.
64722         [!__ASSUME_32BITUIDS]: Remove conditional code.
64723         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
64724         [__ASSUME_32BITUIDS]: Make code unconditional.
64725         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
64726         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
64727         <kernel-features.h>.
64728         [__ASSUME_32BITUIDS]: Make code unconditional.
64729         [!__ASSUME_32BITUIDS]: Remove conditional code.
64730         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
64731         <kernel-features.h>.
64732         [__ASSUME_32BITUIDS]: Make code unconditional.
64733         [!__ASSUME_32BITUIDS]: Remove conditional code.
64734         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
64735         <kernel-features.h>.
64736         [__ASSUME_32BITUIDS]: Make code unconditional.
64737         [!__ASSUME_32BITUIDS]: Remove conditional code.
64738         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
64739         <kernel-features.h>.
64740         [__ASSUME_32BITUIDS]: Make code unconditional.
64741         [!__ASSUME_32BITUIDS]: Remove conditional code.
64742         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
64743         <kernel-features.h>.
64744         [__ASSUME_32BITUIDS]: Make code unconditional.
64745         [!__ASSUME_32BITUIDS]: Remove conditional code.
64746         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
64747         <kernel-features.h>.
64748         [__ASSUME_32BITUIDS]: Make code unconditional.
64749         [!__ASSUME_32BITUIDS]: Remove conditional code.
64750         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
64751         <kernel-features.h>.
64752         [__ASSUME_32BITUIDS]: Make code unconditional.
64753         [!__ASSUME_32BITUIDS]: Remove conditional code.
64754         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
64755         <kernel-features.h>.
64756         [__ASSUME_32BITUIDS]: Make code unconditional.
64757         [!__ASSUME_32BITUIDS]: Remove conditional code.
64758         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
64759         <kernel-features.h>.
64760         [__ASSUME_32BITUIDS]: Make code unconditional.
64761         [!__ASSUME_32BITUIDS]: Remove conditional code.
64762         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
64763         <kernel-features.h>.
64764         [__ASSUME_32BITUIDS]: Make code unconditional.
64765         [!__ASSUME_32BITUIDS]: Remove conditional code.
64766         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
64767         <kernel-features.h>.
64768         [__NR_setresgid] (__setresgid): Do not declare.
64769         [__ASSUME_32BITUIDS]: Make code unconditional.
64770         [!__ASSUME_32BITUIDS]: Remove conditional code.
64771         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
64772         <kernel-features.h>.
64773         [__NR_setresuid] (__setresuid): Do not declare.
64774         [__ASSUME_32BITUIDS]: Make code unconditional.
64775         [!__ASSUME_32BITUIDS]: Remove conditional code.
64776         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
64777         <kernel-features.h>.
64778         [__ASSUME_32BITUIDS]: Make code unconditional.
64779         [!__ASSUME_32BITUIDS]: Remove conditional code.
64780         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
64781         <kernel-features.h>.
64782         [__ASSUME_32BITUIDS]: Make code unconditional.
64783         [!__ASSUME_32BITUIDS]: Remove conditional code.
64784         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
64785         <kernel-features.h>.
64786         [__ASSUME_32BITUIDS]: Make code unconditional.
64787         [!__ASSUME_32BITUIDS]: Remove conditional code.
64788         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
64789         <kernel-features.h>.
64790         [__ASSUME_32BITUIDS]: Make code unconditional.
64791         [!__ASSUME_32BITUIDS]: Remove conditional code.
64792         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
64793         <kernel-features.h>.
64794         [__ASSUME_32BITUIDS]: Make code unconditional.
64795         [!__ASSUME_32BITUIDS]: Remove conditional code.
64796         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
64797         <kernel-features.h>.
64798         [__ASSUME_32BITUIDS]: Make code unconditional.
64799         [!__ASSUME_32BITUIDS]: Remove conditional code.
64800         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
64801         <kernel-features.h>.
64802         [__ASSUME_32BITUIDS]: Make code unconditional.
64803         [!__ASSUME_32BITUIDS]: Remove conditional code.
64804         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
64805         <kernel-features.h>.
64806         [__ASSUME_32BITUIDS]: Make code unconditional.
64807         [!__ASSUME_32BITUIDS]: Remove conditional code.
64808         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
64809         <kernel-features.h>.
64810         [__ASSUME_32BITUIDS]: Make code unconditional.
64811         [!__ASSUME_32BITUIDS]: Remove conditional code.
64812         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
64813         <kernel-features.h>.
64814         [__ASSUME_32BITUIDS]: Make code unconditional.
64815         [!__ASSUME_32BITUIDS]: Remove conditional code.
64816         * sysdeps/unix/sysv/linux/kernel-features.h
64817         (__ASSUME_SETRESUID_SYSCALL): Remove.
64818         (__ASSUME_SETRESGID_SYSCALL): Likewise.
64819         (__ASSUME_32BITUIDS): Likewise.
64820         (__ASSUME_LDT_WORKS): Likewise.
64821         (__ASSUME_O_DIRECTORY): Likewise.
64822         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
64823         architecture but not kernel version.
64824         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
64825         (__ASSUME_MMAP2_SYSCALL): Likewise.
64826         (__ASSUME_STAT64_SYSCALL): Likewise.
64827         (__ASSUME_IPC64): Likewise.
64828         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
64829         <kernel-features.h>.
64830         [__ASSUME_32BITUIDS]: Make code unconditional.
64831         [!__ASSUME_32BITUIDS]: Remove conditional code.
64832         * sysdeps/unix/sysv/linux/opendir.c: Do not include
64833         <kernel-features.h>.
64834         [__ASSUME_O_DIRECTORY]: Make code unconditional.
64835         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
64836         132096]: Remove conditional code.
64837         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
64838         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
64839         <kernel-features.h>.
64840         [__ASSUME_32BITUIDS]: Make code unconditional.
64841         [!__ASSUME_32BITUIDS]: Remove conditional code.
64842         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
64843         <kernel-features.h>.
64844         [__ASSUME_32BITUIDS]: Make code unconditional.
64845         [!__ASSUME_32BITUIDS]: Remove conditional code.
64846         * sysdeps/unix/sysv/linux/setegid.c: Do not include
64847         <kernel-features.h>.
64848         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
64849         unconditional.
64850         (__setresgid): Do not declare.
64851         [__ASSUME_32BITUIDS]: Make code unconditional.
64852         [!__ASSUME_32BITUIDS]: Remove conditional code.
64853         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
64854         <kernel-features.h>.
64855         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
64856         unconditional.
64857         (__setresuid): Do not declare.
64858         [__ASSUME_32BITUIDS]: Make code unconditional.
64859         [!__ASSUME_32BITUIDS]: Remove conditional code.
64860         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
64861         <kernel-features.h>.
64862         [__ASSUME_32BITUIDS]: Make code unconditional.
64863         [!__ASSUME_32BITUIDS]: Remove conditional code.
64864         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
64865         <kernel-features.h>.
64866         [__ASSUME_32BITUIDS]: Make code unconditional.
64867         [!__ASSUME_32BITUIDS]: Remove conditional code.
64869 2012-05-25  Richard Henderson  <rth@twiddle.net>
64871         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
64872         dl_hwcap to ifunc resolver.
64873         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
64874         elf_ifunc_invoke.
64875         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
64876         dl_hwcap to ifunc resolver.
64877         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
64879 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64881         [BZ #14153]
64882         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
64883         for |x| <= 2**-26, not 2**-57.
64884         * math/libm-test.inc (acos_test): Do not allow spurious underflow
64885         exception.
64887 2012-05-24  Jeff Law  <law@redhat.com>
64889         * stdio-common/Makefile (tests): Add bug25.
64890         * stdio-common/bug25.c: New test.
64892 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64894         [BZ #13576]
64895         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
64896         multiple of MALLOC_ALIGNMENT in size.
64897         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
64899 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64901         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
64902         Require >= 256.
64903         (FILENAME_MAX): Use macro-int-constant.
64904         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
64905         (_IOFBF): Use macro-int-constant.
64906         (_IOLBF): Likewise.
64907         (_IONBF): Likewise.
64908         (SEEK_CUR): Likewise.
64909         (SEEK_END): Likewise.
64910         (SEEK_SET): Likewise.
64911         (TMP_MAX): Likewise.
64912         (EOF): Use macro-int-constant.  Require < 0.
64913         (NULL): Use macro-constant.  Require == 0.
64914         (stdin): Require type to be FILE *.
64915         (stdout): Likewise.
64916         (stderr): Likewise.
64917         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
64918         macro-int-constant.
64919         (EXIT_SUCCESS): Likewise.
64920         (NULL): Use macro-constant.  Require == 0.
64921         (RAND_MAX): Use macro-int-constant.
64922         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
64923         [C99-based standards] (strtof): Require function.
64924         [C99-based standards] (strtold): Likewise.
64925         [C99-based standards] (strtoll): Likewise.
64926         [C99-based standards] (strtoull): Likewise.
64927         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
64928         [ISO || ISO99 || ISO11] (limits.h): Likewise.
64929         [ISO || ISO99 || ISO11] (math.h): Likewise.
64930         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
64931         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
64932         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64934 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
64936         [BZ #14132]
64937         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
64938         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
64939         * intl/dgettext.c (DCGETTEXT): Likewise.
64940         * intl/gettext.c (DCGETTEXT): Likewise.
64941         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
64942         * posix/regex_internal.h (gettext): Likewise.
64943         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
64944         Remove declaration.
64945         * include/argz.h (__argz_count_internal)
64946         (__argz_stringify_internal): Remove declaration.
64947         (__argz_count, __argz_stringify): Declare hidden proto.
64948         * intl/dcgettext.c: Remove use of INTDEF.
64949         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
64950         * string/argz-stringify.c: Likewise.
64951         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
64952         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
64953         Declare hidden proto.
64954         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
64955         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
64956         Declare hidden proto.
64957         * include/stdio.h (__asprintf_internal): Don't declare.
64958         (__asprintf): Don't define as macro.  Declare hidden proto.
64959         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
64960         (__fsetlocking): Declare hidden proto.
64961         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
64962         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
64963         hidden proto.
64964         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
64965         (_IO_setlinebuf): Remove use of INTUSE.
64966         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
64967         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
64968         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
64969         Remove declaration.
64970         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
64971         (_IO_do_flush): Remove use of INTUSE.
64972         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
64973         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
64974         (_IO_adjust_column, _IO_least_wmarker)
64975         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
64976         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
64977         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
64978         (_IO_default_doallocate, _IO_wdefault_doallocate)
64979         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
64980         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
64981         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
64982         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
64983         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
64984         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
64985         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
64986         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
64987         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
64988         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
64989         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
64990         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
64991         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
64992         proto.
64993         (_IO_flush_all_internal, _IO_adjust_column_internal)
64994         (_IO_default_uflow_internal, _IO_default_finish_internal)
64995         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
64996         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
64997         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
64998         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
64999         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
65000         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
65001         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
65002         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
65003         (_IO_file_close_internal, _IO_file_close_it_internal)
65004         (_IO_file_underflow_internal, _IO_file_overflow_internal)
65005         (_IO_file_init_internal, _IO_file_attach_internal)
65006         (_IO_file_fopen_internal, _IO_file_read_internal)
65007         (_IO_file_sync_internal, _IO_file_seek_internal)
65008         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
65009         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
65010         (_IO_str_underflow_internal, _IO_str_overflow_internal)
65011         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
65012         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
65013         (_IO_list_all_internal, _IO_link_in_internal)
65014         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
65015         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
65016         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
65017         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
65018         (_IO_do_write_internal, _IO_padn_internal)
65019         (_IO_getline_info_internal, _IO_getline_internal)
65020         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
65021         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
65022         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
65023         (_IO_vfscanf_internal, _IO_vfprintf_internal)
65024         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
65025         (_IO_init_internal, _IO_un_link_internal): Don't declare.
65026         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
65027         with libc_hidden_ver, remove use of INTUSE.
65028         * libio/genops.c: Likewise.
65029         * libio/freopen.c: Likewise.
65030         * libio/freopen64.c: Likewise.
65031         * libio/iofclose.c: Likewise.
65032         * libio/iofdopen.c: Likewise.
65033         * libio/iofflush.c: Likewise.
65034         * libio/iofflush_u.c: Likewise.
65035         * libio/iofgets.c: Likewise.
65036         * libio/iofgets_u.c: Likewise.
65037         * libio/iofopen.c: Likewise.
65038         * libio/iofopncook.c: Likewise.
65039         * libio/iofread.c: Likewise.
65040         * libio/iofread_u.c: Likewise.
65041         * libio/ioftell.c: Likewise.
65042         * libio/iofwrite.c: Likewise.
65043         * libio/iogetline.c: Likewise.
65044         * libio/iogets.c: Likewise.
65045         * libio/iogetwline.c: Likewise.
65046         * libio/iopadn.c: Likewise.
65047         * libio/iopopen.c: Likewise.
65048         * libio/ioseekoff.c: Likewise.
65049         * libio/ioseekpos.c: Likewise.
65050         * libio/iosetbuffer.c: Likewise.
65051         * libio/iosetvbuf.c: Likewise.
65052         * libio/ioungetc.c: Likewise.
65053         * libio/ioungetwc.c: Likewise.
65054         * libio/iovdprintf.c: Likewise.
65055         * libio/iovsprintf.c: Likewise.
65056         * libio/iovsscanf.c: Likewise.
65057         * libio/memstream.c: Likewise.
65058         * libio/obprintf.c: Likewise.
65059         * libio/oldfileops.c: Likewise.
65060         * libio/oldiofclose.c: Likewise.
65061         * libio/oldiofdopen.c: Likewise.
65062         * libio/oldiofopen.c: Likewise.
65063         * libio/oldiopopen.c: Likewise.
65064         * libio/oldstdfiles.c: Likewise.
65065         * libio/putc.c: Likewise.
65066         * libio/setbuf.c: Likewise.
65067         * libio/setlinebuf.c: Likewise.
65068         * libio/stdfiles.c: Likewise.
65069         * libio/strops.c: Likewise.
65070         * libio/vasprintf.c: Likewise.
65071         * libio/vscanf.c: Likewise.
65072         * libio/vsnprintf.c: Likewise.
65073         * libio/vswprintf.c: Likewise.
65074         * libio/wfiledoalloc.c: Likewise.
65075         * libio/wfileops.c: Likewise.
65076         * libio/wgenops.c: Likewise.
65077         * libio/wmemstream.c: Likewise.
65078         * libio/wstrops.c: Likewise.
65079         * libio/__fpurge.c: Likewise.
65080         * libio/__fsetlocking.c: Likewise.
65081         * assert/assert.c: Likewise.
65082         * debug/fgets_chk.c: Likewise.
65083         * debug/fgets_u_chk.c: Likewise.
65084         * debug/fread_chk.c: Likewise.
65085         * debug/fread_u_chk.c: Likewise.
65086         * debug/gets_chk.c: Likewise.
65087         * debug/obprintf_chk.c: Likewise.
65088         * debug/vasprintf_chk.c: Likewise.
65089         * debug/vdprintf_chk.c: Likewise.
65090         * debug/vsnprintf_chk.c: Likewise.
65091         * debug/vsprintf_chk.c: Likewise.
65092         * malloc/mtrace.c: Likewise.
65093         * misc/error.c: Likewise.
65094         * misc/syslog.c: Likewise.
65095         * stdio-common/asprintf.c: Likewise.
65096         * stdio-common/fxprintf.c: Likewise.
65097         * stdio-common/getw.c: Likewise.
65098         * stdio-common/isoc99_fscanf.c: Likewise.
65099         * stdio-common/isoc99_scanf.c: Likewise.
65100         * stdio-common/isoc99_vfscanf.c: Likewise.
65101         * stdio-common/isoc99_vscanf.c: Likewise.
65102         * stdio-common/isoc99_vsscanf.c: Likewise.
65103         * stdio-common/printf-prs.c: Likewise.
65104         * stdio-common/printf_fp.c: Likewise.
65105         * stdio-common/printf_fphex.c: Likewise.
65106         * stdio-common/printf_size.c: Likewise.
65107         * stdio-common/putw.c: Likewise.
65108         * stdio-common/scanf.c: Likewise.
65109         * stdio-common/sprintf.c: Likewise.
65110         * stdio-common/tmpfile.c: Likewise.
65111         * stdio-common/vfprintf.c: Likewise.
65112         * stdio-common/vfscanf.c: Likewise.
65113         * stdlib/strfmon_l.c: Likewise.
65114         * sunrpc/openchild.c: Likewise.
65115         * sunrpc/xdr_stdio.c: Likewise.
65116         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
65117         * sysdeps/mach/hurd/tmpfile.c: Likewise.
65119 2012-05-24  Roland McGrath  <roland@hack.frob.com>
65121         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65123         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
65124         in the third column, to generate for the shared library an IFUNC
65125         that uses _dl_vdso_vsym.
65126         * Makerules (COMPILE.c, compile-stdin.c): New variables.
65127         * Makeconfig (object-suffixes-noshared): New variable.
65129         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
65130         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
65131         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
65132         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
65134         [BZ #14132]
65135         * include/sys/time.h (__gettimeofday): Remove macro.
65136         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
65137         * time/gettimeofday.c (__gettimeofday): Remove #undef.
65138         Remove INTDEF.
65139         (__gettimeofday): Add libc_hidden_def.
65140         (gettimeofday): Add libc_hidden_weak.
65141         * sysdeps/mach/gettimeofday.c: Likewise.
65142         * sysdeps/posix/gettimeofday.c: Likewise.
65143         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
65144         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
65145         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
65146         (__gettimeofday_internal): Remove strong_alias.
65147         (__gettimeofday): Add libc_hidden_def.
65148         (gettimeofday): Add libc_hidden_weak.
65149         * sysdeps/unix/syscalls.list (gettimeofday):
65150         Remove __gettimeofday_internal alias.
65152 2012-05-24  Daniel Jacobowitz  <drow@false.org>
65153             H.J. Lu  <hongjiu.lu@intel.com>
65155         [BZ #12495]
65156         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
65157         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
65158         (largebin_index_32_big): New.
65159         (largebin_index): Use it for 16-byte alignment.
65160         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
65161         correction with front_misalign.
65163 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
65165         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
65166         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
65167         Likewise.
65168         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
65169         Likewise.
65170         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
65171         Likewise.
65172         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
65173         Likewise.
65174         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
65175         Likewise.
65176         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
65177         Likewise.
65178         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
65179         Likewise.
65180         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
65181         Likewise.
65182         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
65183         Likewise.
65184         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
65185         Likewise.
65186         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
65187         Likewise.
65188         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
65189         Likewise.
65191         * scripts/data/c++-types-x32-linux-gnu.data: New file.
65192         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
65194 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65196         [BZ #10846]
65197         [BZ #14036]
65198         * math/libm-test.inc (exp_test): Add test from bug 14036.
65199         (pow_test): Add test from bug 10846.
65201         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
65202         and other flags.
65203         (special_function): Do not include flags in test name.
65204         (parse_args): Likewise.
65205         * sysdeps/i386/fpu/libm-test-ulps: Update.
65206         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65207         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
65208         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
65209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65211         * math/gen-libm-test.pl (%beautify): Add entries for underflow
65212         exceptions.
65213         * math/libm-test.inc ("Philosophy"): Update comment about
65214         exception testing.
65215         (UNDERFLOW_EXCEPTION): New macro.
65216         (UNDERFLOW_EXCEPTION_OK): Likewise.
65217         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
65218         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
65219         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
65220         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
65221         (INVALID_EXCEPTION_OK): Update value.
65222         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65223         (OVERFLOW_EXCEPTION_OK): Likewise.
65224         (IGNORE_ZERO_INF_SIGN): Likewise.
65225         (test_exceptions): Handle underflow exceptions.
65226         (acos_test): Update for underflow exception expectations.
65227         (cexp_test): Likewise.
65228         (clog_test): Likewise.
65229         (clog10_test): Likewise.
65230         (csqrt_test): Likewise.
65231         (ctan_test): Likewise.
65232         (ctanh_test): Likewise.
65233         (exp_test): Likewise.
65234         (exp10_test): Likewise.
65235         (exp2_test): Likewise.
65236         (expm1_test): Likewise.
65237         (fma_test): Likewise.
65238         (j0_test): Likewise.
65239         (jn_test): Likewise.
65240         (nexttoward_test): Likewise.
65241         (pow_test): Likewise.
65242         (scalbn_test): Likewise.
65243         (scalbln_test): Likewise.
65244         (tan_test): Likewise.
65245         (y1_test): Likewise.
65246         * sysdeps/i386/fpu/libm-test-ulps: Update.
65247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65249 2012-05-23  David S. Miller  <davem@davemloft.net>
65251         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
65252         (__libc_sigaction): Remove unused local variables.
65254 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65256         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
65258 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
65260         mktime: avoid signed integer overflow
65261         * time/mktime.c (__mktime_internal): Do not mishandle the case
65262         where diff == INT_MIN.
65264         mktime: simplify computation of average
65265         * time/mktime.c (ranged_convert): Use new time_t_avg function
65266         instead of rolling our own (probably-slower) code.
65268         mktime: do not assume signed right shift propagates sign bit
65269         * time/mktime.c (isdst_differ): New static function.
65270         (__mktime_internal): No need to normalize tm_isdst now.
65271         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
65272         tm_isdst values.
65274         mktime: merge another wrapv change from gnulib
65275         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
65276         from some compilers.
65278         mktime: remove incorrect attempt at unusual arithmetics
65279         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
65280         The code didn't really work on such machines anyway.
65281         (TYPE_MINIMUM): Assume two's complement.
65282         (twos_complement_arithmetic): Verify that long_int and time_t
65283         are two's complement (or unsigned, in the latter case).
65285         mktime: check signed shifts on long_int and time_t, too
65286         * time/mktime.c (SHR): Check that shifts work as desired
65287         on the types long_int and time_t too, as SHR is used on
65288         such types.
65290         mktime: do not assume 'long' is wide enough
65291         * time/mktime.c (verify): Move decl up.
65292         (long_int): New type.
65293         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
65294         to remove assumption in the code that 'long' is wide enough to
65295         store year values.  This assumption is not true on x32 and on
65296         some non-glibc platforms.
65298         mktime: merge wrapv change from gnulib
65299         * time/mktime.c (WRAPV): New macro.
65300         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
65301         (guess_time_tm, __mktime_internal): Do not assume that signed
65302         integer overflow wraps around; modern compilers generate code
65303         where this assumption is no longer valid.
65305 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65307         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65308         Replace "jmp L(pseudo_end)" with "ret".
65309         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
65310         Likewise.
65312 2012-05-23  Andreas Jaeger  <aj@suse.de>
65314         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
65315         * sysdeps/unix/sysv/linux/poll.c: Remove file.
65317 2012-05-23  Andreas Jaeger  <aj@suse.de>
65318             Maximilian Attems  <max@stro.at>
65320         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
65321         New macros.
65323 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65325         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
65326         code so that pseudo_end is just ret and the stack pointer is
65327         correct also for static library in error case.
65329 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
65331         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
65332         move to syscalls.list.
65333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
65334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
65335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
65336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
65338         * manual/install.texi (Running make install): Do not mention Linux
65339         kernel version for which pt_chown is not needed.
65340         (Linux): Do not mention problems with nscd with 2.0 kernels.
65341         * INSTALL: Regenerated.
65343 2012-05-23  Andreas Jaeger  <aj@suse.de>
65345         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
65346         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
65347         macro.
65348         * sysdeps/unix/sysv/linux/s390/bits/mman.h
65349         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65350         * sysdeps/unix/sysv/linux/sh/bits/mman.h
65351         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65352         * sysdeps/unix/sysv/linux/i386/bits/mman.h
65353         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65354         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
65355         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65356         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
65357         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65358         * sysdeps/unix/sysv/linux/bits/in.h
65359         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
65361 2012-05-22  Roland McGrath  <roland@hack.frob.com>
65363         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
65364         (PREPARE_VERSION): Just use assert instead, it will be elided
65365         under [NDEBUG] anyway.
65367 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65369         * sysdeps/unix/sysv/linux/Makefile: Include
65370         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
65371         (sysdep_routines): Remove sysctl.
65372         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
65373         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
65374         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
65375         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
65376         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
65378 2012-05-22  Andreas Jaeger  <aj@suse.de>
65380         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
65381         that pseudo_end is just ret and the stack pointer is correct also
65382         for static library in error case.
65384 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
65386         [BZ #14122]
65387         * nss/nsswitch.c (defconfig_entries): New variable.
65388         (__nss_database_lookup): Don't leak defconfig entries.
65389         (nss_parse_service_list): Don't leak on error paths.
65390         (free_database_entries): New function.
65391         (free_defconfig): New function.
65392         (free_mem): Move common code to free_database_entries.
65394 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65396         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
65397         Add arch_prctl.
65398         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
65400         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
65401         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
65402         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
65403         New macro.
65404         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
65405         (INTERNAL_SYSCALL_TYPES): Likewise.
65406         (LOAD_ARGS_TYPES_[1-6]): Likewise.
65407         (LOAD_REGS_TYPES_[1-6]): Likewise.
65408         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
65409         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
65411 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65413         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
65414         copysignl for GLIBC_2_0.
65415         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
65416         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
65417         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
65418         logbl for GLIBC_2_0.
65419         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
65420         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
65422 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65424         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
65425         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65427         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65428         Use "neg %eax".
65430         * time/mktime.c: Update copyright years.
65432 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
65434         mktime: merge comment-quoting-style change from gnulib
65435         * time/mktime.c: Quote 'like this' in comments.
65436         The GNU coding standards suggest that we no longer quote `like this',
65437         as "`" and "'" are typically rendered asymmetrically nowadays.
65438         The typical gnulib style is to quote 'like this' when quoting
65439         code, and "like this" when quoting English.
65441         * time/mktime.c (compile-command): Add "-I.".
65443         mktime: merge mktime-internal.h change from gnulib
65444         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
65446         mktime: merge time_r change from gnulib
65447         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
65449         mktime: merge DEBUG change from gnulib
65450         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
65451         case system <time.h> has a #define.
65453         mktime: merge <sys/types.h> change from gnulib
65454         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
65455         since <time.t> is now guaranteed to define time_t.
65457         mktime: merge HAVE_CONFIG_H change from gnulib
65458         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
65460 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65462         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65463         Use "neg %eax".
65465         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
65466         __rlim_t cast.
65467         (struct rusage): Use anonymous union to pad each field to
65468         __syscall_slong_t.
65470 2012-05-21  David S. Miller  <davem@davemloft.net>
65472         * Makefules (o-iterator): Remove .s cases.
65473         (compile-command.s): Delete.
65474         (COMPILE.s): Delete.
65475         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
65477 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
65479         * configure.in (libc_cv_predef_stack_protector): Only consider
65480         "foobar" and "__stack_chk_fail" lines in libc_undefs.
65481         * configure: Regenerated.
65483 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65485         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65486         New macro.  Use R*LP on int and pointer.
65487         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
65488         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
65489         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
65490         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
65492         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
65493         [__WORDSIZE_TIME64_COMPAT32] instead of
65494         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
65495         (struct utmp): Likewise.
65496         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
65497         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
65498         Renamed to ...
65499         (__WORDSIZE_TIME64_COMPAT32): This.
65500         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
65501         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
65502         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
65503         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
65504         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
65505         (__WORDSIZE_TIME64_COMPAT32): New macro.
65507 2012-05-21  Andreas Jaeger  <aj@suse.de>
65509         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
65510         only if [SHARED]. Add prototype for __wcschr_ia32.
65512 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65514         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
65515         of %rbp unmolested in the jmp_buf while mangling the low bits.
65516         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
65517         unmolested high bits of %rbp while demangling the low bits.
65518         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
65520 2012-05-21  Andreas Jaeger  <aj@suse.de>
65522         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
65523         * sunrpc/svc_simple.c: Use it for registerrpc.
65524         * sunrpc/xcrypt.c: Use it for passwd2des.
65526         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
65528 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65530         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
65531         Don't define if [__SYSCALL_WORDSIZE != 32].
65532         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
65533         New macro.
65535 2012-05-21  Bruno Haible  <bruno@clisp.org>
65536             Andreas Jaeger  <aj@suse.de>
65538         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
65539         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
65540         inptr and inend for must_buffer_ch.
65541         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
65542         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
65543         * stdio-common/Makefile (tests): Remove bug15.
65544         (bug15-ENV): Remove macro.
65545         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
65546         anymore.
65548 2012-05-19  Andreas Jaeger  <aj@suse.de>
65549             Roland McGrath  <roland@hack.frob.com>
65551         * manual/contrib.texi: Completely rewritten. It contains now an
65552         alphabetical list of contributors and their contributions.
65554 2012-05-21  Richard Henderson  <rth@twiddle.net>
65556         * misc/getauxval.c (__getauxval): Use unsigned long int.
65557         * misc/sys/auxv.h: Include <sys/cdefs.h>.
65558         (getauxval): Use unsigned long int.
65560 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65562         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65564 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65566         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
65567         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
65568         __alignof__ (long double).
65570 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65572         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65574 2012-05-20  Richard Henderson  <rth@twiddle.net>
65576         * misc/getauxval.c: New file.
65577         * misc/sys/auxv.h: New file.
65578         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
65579         (routines): Add getauxval.
65580         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
65581         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
65582         * elf/dl-sysdep.c (_dl_auxv): Remove.
65583         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
65584         * elf/dl-support.c (_dl_auxv): New variable.
65585         (_dl_aux_init): Initialize it.
65586         * manual/startup.texi (Auxiliary Vector): New node.
65587         * sysdeps/generic/bits/hwcap.h: New file.
65588         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
65589         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
65590         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
65591         * sysdeps/sparc/sysdep.h: ... here.  Include it.
65592         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
65593         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
65594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65595         Update.
65596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
65597         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
65598         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
65599         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
65600         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65601         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65602         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
65603         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
65605 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65607         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65609 2012-05-19  David S. Miller  <davem@davemloft.net>
65611         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65613 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65615         [BZ #14123]
65616         * math/s_ccosh.c: Include <float.h>
65617         (__ccosh): Avoid internal overflow calculating sinh and cosh
65618         values before multiplying by sin and cos values.
65619         * math/s_ccoshf.c: Likewise.
65620         * math/s_ccoshl.c: Likewise.
65621         * math/s_csin.c: Likewise.
65622         * math/s_csinf.c: Likewise.
65623         * math/s_csinl.c: Likewise.
65624         * math/s_csinh.c: Likewise.
65625         * math/s_csinhf.c: Likewise.
65626         * math/s_csinhl.c: Likewise.
65627         * math/libm-test.inc (ccos_test): Add more tests.
65628         (ccosh_test): Likewise.
65629         (csin_test): Likewise.
65630         (csinh_test): Likewise.
65631         * sysdeps/i386/fpu/libm-test-ulps: Update.
65632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65634 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
65636         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
65637         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
65639         * sysdeps/x86_64/x32/_itoa.h: Add comment.
65641 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65643         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
65644         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
65645         * sysdeps/powerpc/soft-fp/Versions: Likewise.
65646         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
65647         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
65648         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
65649         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
65650         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
65651         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
65652         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
65653         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
65654         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
65655         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
65656         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
65657         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
65658         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
65659         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
65660         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
65661         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
65662         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
65663         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
65664         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
65665         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
65666         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
65667         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
65668         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
65669         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
65670         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
65671         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
65672         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
65673         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
65675 2012-05-18  Andreas Jaeger  <aj@suse.de>
65677         * csu/.gitignore: Delete.
65679 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65681         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
65682         (timex): Use __syscall_slong_t.
65684 2012-05-18  Andreas Jaeger  <aj@suse.de>
65685             Carlos O'Donell  <carlos_odonell@mentor.com>
65687         * manual/install.texi (Configuring and compiling): Update
65688         description about files modified in the source directory.
65689         * INSTALL: Regenerated.
65691 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65693         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
65694         value.  Use "or" to set return value to -1.
65695         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
65696         negate return value.
65698 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65700         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
65701         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
65702         failure if the compiler has Graphite support disabled.
65703         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
65704         Likewise.
65705         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
65706         (CFLAGS-memmove.c): Likewise.
65707         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
65708         Likewise.
65710 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65712         * sysdeps/x86_64/x32/_itoa.h: New file.
65714         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
65715         getdents system call only if kernel and user dirents have the
65716         same d_ino and d_off.
65718         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
65719         LLONG_MAX != LONG_MAX.
65720         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65721         (_fitoa_word): Likewise.
65723         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
65724         years.
65725         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
65726         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
65727         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
65729         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
65730         include <bits/wordsize.h>.  Check __x86_64__ instead of
65731         __WORDSIZE.
65732         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
65733         if __x86_64__ is defined.  Use anonymous union on fpstate.
65735         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
65736         anonymous union.
65738 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
65740         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
65741         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
65742         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
65743         Refer to _rtld_local_ro instead of _rtld_global_ro.
65744         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
65745         Likewise.
65746         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
65747         Likewise.
65748         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
65749         Likewise.
65750         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
65751         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
65752         of _rtld_global, and rtld_progname instead of _dl_argv[0].
65754         [BZ #10882]
65755         * sysdeps/powerpc/powerpc32/dl-machine.c
65756         (__elf_machine_runtime_setup) [PROF]: Don't reference
65757         _dl_prof_resolve.
65759 2012-05-18  Andreas Jaeger  <aj@suse.de>
65761         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
65762         function only available for GCCs before 3.4 since GCC 3.4
65763         introduced a builtin.
65764         (lrint): Likewise.
65765         (llrintf): Likewise.
65766         (llrint): Likewise.
65767         (fmaxf): Likewise.
65768         (fmax): Likewise.
65769         (fminf): Likewise.
65770         (fmin): Likewise.
65771         (rint): Likewise.
65772         (rintf): Likewise.
65773         (nearbyint): Likewise.
65774         (nearbyintf): Likewise.
65775         (ceil): Likewise.
65776         (ceilf): Likewise.
65777         (floor): Likewise.
65778         (floorf): Likewise.
65780 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65782         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
65783         on both fields and cast pointer to __syscall_ulong_t.
65785         * bits/types.h (__fsword_t): New type.
65786         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
65787         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
65788         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65789         (__FSWORD_T_TYPE): Likewise.
65790         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65791         (__FSWORD_T_TYPE): Likewise.
65792         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65793         (__FSWORD_T_TYPE): Likewise.
65794         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
65795         (__FSWORD_T_TYPE): Likewise.
65796         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
65797         __SWORD_TYPE with __fsword_t.
65798         (statfs64): Likewise.
65800 2012-05-17  David S. Miller  <davem@davemloft.net>
65802         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
65804 2012-05-17  Andreas Jaeger  <aj@suse.de>
65806         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
65807         warning.
65809 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65811         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
65813 2012-05-17  Andreas Jaeger  <aj@suse.de>
65815         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
65816         when it is used.
65818 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
65820         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
65822 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65824         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
65825         * sysdeps/x86_64/tst-mallocalign1.c: New file.
65827 2012-05-17  Andreas Jaeger  <aj@suse.de>
65828             Carlos O'Donell  <carlos_odonell@mentor.com>
65830         [BZ #14059]
65831         * sysdeps/x86_64/multiarch/init-arch.h
65832         (bit_YMM_Usable): Rename to...
65833         (bit_AVX_Usable): ... this.
65834         (bit_FMA4_Usable): New macro.
65835         (bit_XMM_state): New macro.
65836         (bit_YMM_state): New macro.
65837         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
65838         [__ASSEMBLER__] (index_AVX_Usable): ... this.
65839         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
65840         (CPUID_OSXSAVE): New macro.
65841         (CPUID_AVX): New macro.
65842         (CPUID_FMA4): New macro.
65843         (index_YMM_Usable): Rename to...
65844         (index_AVX_Usable): ... this.
65845         (HAS_AVX): Use HAS_ARCH_FEATURE.
65846         (HAS_FMA4): Likewise.
65847         (HAS_YMM_USABLE): Remove.
65848         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65849         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
65850         are present.
65851         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
65852         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
65853         * sysdeps/x86_64/multiarch/Makefile: Likewise.
65854         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
65855         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
65857 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
65859         * math/libm-test.c: Support platforms without multiple rounding modes.
65860         * math/bug-nextafter.c: Support platforms without FP exceptions.
65861         * math/bug-nexttoward.c: Likewise.
65862         * math/test-fenv.c: Likewise.
65863         * math/test-misc.c: Likewise.
65864         * stdlib/bug-getcontext.c: Likewise.
65866 2012-05-17  Andreas Jaeger  <aj@suse.de>
65868         * manual/examples/search.c (critter_cmp): Change signature to
65869         avoid warnings.
65870         * manual/string.texi (Collation Functions): Likewise.
65872 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65874         * bits/types.h: Fold copyright years.
65875         * bits/typesizes.h: Likewise.
65876         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
65877         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
65878         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
65879         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
65880         * time/time.h: Likewise.
65882 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
65884         [BZ #208]
65885         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
65886         in instead of returning them.  Return void.
65887         (__libc_mallinfo): Accumulate over all arenas.
65888         (__malloc_stats): Adjust for change in int_mallinfo interface.
65890 2012-05-16  Roland McGrath  <roland@hack.frob.com>
65892         [BZ #10375]
65893         * configure.in (NM): Add AC_CHECK_TOOL for it.
65894         (libc_extra_cflags): New substituted variable.
65895         Check for -fstack-protector being used implicitly.
65896         * configure: Regenerated.
65897         * config.make.in (config-extra-cflags): New variable,
65898         gets @libc_extra_cflags@.
65899         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
65901         [BZ #10375]
65902         * configure.in: Check for _FORTIFY_SOURCE being predefined.
65903         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
65904         * configure: Regenerated.
65905         * config.make.in (CPPUNDEFS): New substituted variable.
65906         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
65907         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
65908         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
65910 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65912         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
65913         (mq_attr): Use __syscall_slong_t.
65915 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65917         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
65918         Check __x86_64__ instead of __WORDSIZE.
65919         (_STAT_VER_LINUX): Likewise.
65920         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
65921         __syscall_ulong_t and __syscall_slong_t.
65922         (stat64): Likewise.
65924 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65926         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
65928 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65930         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
65932 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65934         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
65935         __syscall_ulong_t.
65937         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
65938         include <bits/wordsize.h>.  Check __x86_64__ instead of
65939         __WORDSIZE.
65940         (greg_t): Use "__extension__ long long int" if __x86_64__ is
65941         defined.
65942         (mcontext_t): Replace "unsigned long" with "unsigned long long".
65944         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
65945         include <bits/wordsize.h>.  Check __x86_64__ instead of
65946         __WORDSIZE.
65947         (user_regs_struct): Use "__extension__ unsigned long long"
65948         instead of "unsigned long" if __x86_64__ is defined.
65949         (user): Likewise.  Pad after pointer field if __ILP32__ is
65950         defined.
65952 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
65954         * configure.in (makeinfo): Require version 4.5 or later.  Allow
65955         versions 5 to 9.
65956         * configure: Regenerated.
65957         * manual/install.texi (texinfo): Increase version requirement to
65958         4.5 or later.
65959         * INSTALL: Regenerated.
65961         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
65963 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65965         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
65967         * sysdeps/x86_64/x32/ffs.c: New file.
65969         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
65970         __syscall_ulong_t.
65971         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
65972         defined.  Use __syscall_ulong_t.
65973         (shminfo): Use __syscall_ulong_t.
65974         (shm_info): Likewise.
65976         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
65977         __syscall_ulong_t.
65979         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
65980         <bits/wordsize.h>.
65981         (msgqnum_t): Use __syscall_ulong_t.
65982         (msglen_t): Likewise.
65983         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
65984         __syscall_ulong_t.
65986         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
65987         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65989         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
65991         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
65992         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
65994         * sysvipc/sys/msg.h (msgbuf): Replace long int with
65995         __syscall_slong_t.
65997         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
65998         include <bits/wordsize.h>.  Check __x86_64__ instead of
65999         __WORDSIZE.
66001         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
66002         "unsigned long long int" if __x86_64__ is defined.
66003         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
66005         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
66006         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66007         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
66009         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
66010         <stdint.h>.
66011         (GET_PC): Cast to uintptr_t first.
66012         (GET_FRAME): Likewise.
66013         (GET_STACK): Likewise.
66015         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
66016         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
66017         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
66018         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
66019         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
66020         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
66021         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
66022         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
66023         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
66024         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
66025         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
66026         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
66027         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
66028         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
66029         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
66030         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
66031         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
66032         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
66033         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
66034         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
66035         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
66036         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
66037         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
66038         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
66039         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
66040         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
66041         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
66042         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
66043         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
66045 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
66047         * Makerules (+depfiles): Also collect depfiles from .oS in
66048         $(extra-objs).
66049         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
66050         .oS, $(libnldbl-routines)).
66052         * Makerules (native-compile-mkdep-flags): Define.
66053         * sunrpc/Makefile (extra-objs): Add $(addprefix
66054         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
66055         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
66056         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
66057         calling $(make-target-directory).
66059 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66061         * bits/types.h (__snseconds_t): Removed.
66062         * time/time.h (struct timespec): Replace __snseconds_t with
66063         __syscall_slong_t.
66064         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
66065         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
66066         Likewise.
66067         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66068         (__SNSECONDS_T_TYPE): Likewise.
66069         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66070         (__SNSECONDS_T_TYPE): Likewise.
66071         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66072         (__SNSECONDS_T_TYPE): Likewise.
66074 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66076         * sysdeps/mach/hurd/bits/typesizes.h
66077         (__SYSCALL_SLONG_TYPE): New macro.
66078         (__SYSCALL_ULONG_TYPE): Likewise.
66080 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66082         * bits/types.h (__syscall_slong_t): New type.
66083         (__syscall_ulong_t): Likewise.
66085         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
66086         (__SYSCALL_ULONG_TYPE): Likewise.
66087         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66088         (__SYSCALL_SLONG_TYPE): Likewise.
66089         (__SYSCALL_ULONG_TYPE): Likewise.
66090         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66091         (__SYSCALL_SLONG_TYPE): Likewise.
66092         (__SYSCALL_ULONG_TYPE): Likewise.
66093         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66094         (__SYSCALL_SLONG_TYPE): Likewise.
66095         (__SYSCALL_ULONG_TYPE): Likewise.
66097 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66099         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
66100         Add sigaltstack-offsets.sym.
66101         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
66102         <sigaltstack-offsets.h>.
66103         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
66104         longjmp_msg pointer.
66105         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
66106         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
66107         signal stack.
66108         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
66110 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
66112         * elf/stackguard-macros.h: Remove file.
66113         * sysdeps/generic/stackguard-macros.h: New file.
66114         * sysdeps/i386/stackguard-macros.h: Likewise.
66115         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
66116         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
66117         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
66118         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
66119         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
66120         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
66121         * sysdeps/x86_64/stackguard-macros.h: Likewise.
66122         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
66123         <elf/stackguard-macros.h>.
66125         [BZ #14109]
66126         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
66127         __aligned__ in attribute.
66128         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
66129         (gregset_t): Likewise.
66131 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66133         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
66134         * sysdeps/x86_64/64/Implies-after: Here.  New file.
66135         * sysdeps/x86_64/x32/Implies-after: New file.
66137 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66139         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
66140         and access return value for _dl_profile_fixup.  Use R10_LP to
66141         load frame size.
66143 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66145         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
66147 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66149         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
66150         * sysdeps/x86_64/x32/sysdep.h: New file.
66152 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66154         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
66155         * sysdeps/x86_64/setjmp.S: Likewise.
66157 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66159         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
66160         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
66161         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
66162         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
66163         remove unused global constant.
66165 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
66167         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
66168         include of <not-cancel.h>.
66170 2012-05-15  Roland McGrath  <roland@hack.frob.com>
66172         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
66174 2012-05-15  Jeff Law  <law@redhat.com>
66175             Andreas Jaeger  <aj@suse.de>
66177         [BZ #13594]
66178         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
66179         out from...
66180         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
66181         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
66182         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
66183         code changing __hst_map_handle.map.
66185 2012-05-15  Roland McGrath  <roland@hack.frob.com>
66187         * configure.in (sysnames): Look for Implies-before and Implies-after
66188         files.
66189         * configure: Regenerated.
66191 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66193         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
66194         8-byte data alignment with LP_SIZE alignment.
66196 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66198         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
66199         into R10_LP.
66201 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66203         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
66205 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66207         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
66208         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
66209         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
66210         Likewise.
66211         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
66213 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66215         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
66216         (stackinfo_sub_sp): Likewise.
66218 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66220         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
66221         RAX_LP.
66223 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66225         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
66226         into R*_LP.
66228 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66230         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
66231         sizes into R*_LP.
66233 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66235         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
66237 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66239         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
66240         into R11_LP and load __x86_64_shared_cache_size_half into
66241         R8_LP.
66243 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66245         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
66246         R8_LP.
66248 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66250         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
66251         logb for POWER7.
66252         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
66253         logbf for POWER7.
66254         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
66255         logbl for POWER7.
66256         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
66257         powerpc32/power7/fpu/s_logb.c via #include.
66258         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
66259         powerpc32/power7/fpu/s_logbf.c via #include.
66260         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
66261         powerpc32/power7/fpu/s_logbl.c via #include.
66263 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
66265         * README.libm: Remove file.
66267 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66269         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
66270         count for x32.  Use R*_LP and omit operand-size suffix.
66272 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66274         * shlib-versions: Move x86_64-.*-linux.* entries to ...
66275         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
66276         * sysdeps/x86_64/x32/shlib-versions: New file.
66278 2012-05-14  Roland McGrath  <roland@hack.frob.com>
66280         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
66281         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
66282         Use _dl_fatal_printf instead.
66284 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
66286         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
66287         set if not set by the user.  Do not allow for being unset.
66288         * sysdeps/unix/sysv/linux/configure: Regenerated.
66290 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66292         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
66293         the `q' suffix from lea and replace .quad with ASM_ADDR.
66295 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66297         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
66298         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
66299         instead of $17.
66300         (PTR_DEMANGLE): Likewise.
66302 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66304         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
66305         (LP_OP): Likewise.
66306         (ASM_ADDR): Likewise.
66307         (RAX_LP): Likewise.
66308         (RBP_LP): Likewise.
66309         (RBX_LP): Likewise.
66310         (RCX_LP): Likewise.
66311         (RDI_LP): Likewise.
66312         (RSI_LP): Likewise.
66313         (RSP_LP): Likewise.
66314         (R8_LP): Likewise.
66315         (R9_LP): Likewise.
66316         (R10_LP): Likewise.
66317         (R10_LP): Likewise.
66318         (R11_LP): Likewise.
66319         (R12_LP): Likewise.
66320         (R13_LP): Likewise.
66321         (R14_LP): Likewise.
66322         (R15_LP): Likewise.
66324 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66326         * sysdeps/x86_64/x32/dl-machine.h: New file.
66328 2012-05-14  Andreas Jaeger  <aj@suse.de>
66330         * manual/Makefile (subdir): Remove export of subdir.
66331         (all): Remove target.
66332         (.PHONY): Remove all from list.
66333         (mkinstalldirs): Remove.
66334         (.PHONY): Remove installdirs from list.
66335         ($(inst_infodir)/libc.info): Use make-target-directory.
66336         (installdirs): Remove.
66337         (subdir_%): Remove.
66338         (glibc-targets): Remove.
66339         (lib): Remove.
66340         (stubs): Remove.
66341         ($(objpfx)stubs ../po/manual.pot): Remove.
66342         ($(objpfx)stamp%): Remove.
66343         (make-target-directory): Remove.
66344         (subdir_install): Remove.
66345         (routines): Remove.
66346         (aux): Remove.
66347         (sources): Remove.
66348         (objects): Remove.
66349         (headers): Remove.
66351         [BZ #13750]
66352         * manual/.gitignore: Remove, it's not needed anymore.
66353         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
66354         all files in it.
66355         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
66356         directory.
66357         (texis): Renamed to $(objpfx)texis.
66358         (texis-path): New, contains path to generated files.
66359         (chapters.%): Use texis-path for complete path, add extra argument
66360         libc-texinfo.sh.
66361         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
66362         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
66363         (summary,texi, stamp-summary): Use complete path of
66364         files. Generate files in build dir.
66365         (dir-add.texi): Build in build dir.
66366         (libm-err.texi,stamp-libm-err): Likewise.
66367         (version.texi, stamp-version): Likewise.
66368         (.%c.texi): Likewise.
66369         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
66370         (mostlyclean): Remove target.
66371         (realclean): Remove target.
66372         (generated): Add new variable with contents from mostlyclean and
66373         realclean, remove entries duplicated in common-mostlyclean, add
66374         stamp-libm-err and stamp-version.
66375         (generated-dirs): Add libc directory.
66376         ($(inst_infodir)/libc.info): Install files from build dir.
66378         * manual/install.texi (Configuring and compiling): Adjust since
66379         the info files are not part of the tar ball anymore.
66381 2012-05-14  Andreas Jaeger  <aj@suse.de>
66383         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
66384         variable.
66386 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
66388         [BZ #13717]
66389         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
66390         to 2.2.0 where earlier.
66391         * sysdeps/unix/sysv/linux/configure: Regenerated.
66392         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
66393         Remove conditional code.
66394         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
66395         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
66396         Remove conditional code.
66397         [!__NR_lchown]: Likewise.
66398         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66399         [__NR_lchown]: Likewise.
66400         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
66401         comment referencing __ASSUME_LCHOWN_SYSCALL.
66402         * sysdeps/unix/sysv/linux/i386/sigaction.c
66403         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66404         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66405         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
66406         Remove conditional code.
66407         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
66408         (__protocol_available): Remove #if 0 code.
66409         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
66410         conditional code.
66411         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
66412         * sysdeps/unix/sysv/linux/kernel-features.h
66413         (__ASSUME_GETCWD_SYSCALL): Don't define.
66414         (__ASSUME_REALTIME_SIGNALS): Likewise.
66415         (__ASSUME_PREAD_SYSCALL): Likewise.
66416         (__ASSUME_PWRITE_SYSCALL): Likewise.
66417         (__ASSUME_POLL_SYSCALL): Likewise.
66418         (__ASSUME_LCHOWN_SYSCALL): Likewise.
66419         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
66420         non-SPARC.
66421         (__ASSUME_SIOCGIFNAME): Don't define.
66422         (__ASSUME_MSG_NOSIGNAL): Likewise.
66423         (__ASSUME_SENDFILE): Define unconditionally.
66424         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
66425         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
66426         conditional code.
66427         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
66428         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
66429         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66430         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66431         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
66432         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66433         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
66435         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66436         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
66438         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66439         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
66441         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66442         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
66444         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66445         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
66447         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66448         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
66450         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66451         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
66453         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66454         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
66456         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66457         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66458         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
66459         Remove conditional code.
66460         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66461         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66462         Remove conditional code.
66463         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66464         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
66465         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
66466         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66467         Remove conditional code.
66468         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66469         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
66470         Remove conditional code.
66471         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66472         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
66473         Remove conditional code.
66474         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66475         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66476         Remove conditional code.
66477         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66478         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66479         Remove conditional code.
66480         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66481         * sysdeps/unix/sysv/linux/sh/pwrite64.c
66482         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66483         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66484         * sysdeps/unix/sysv/linux/sigaction.c
66485         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66486         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66487         * sysdeps/unix/sysv/linux/sigpending.c
66488         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66489         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66490         * sysdeps/unix/sysv/linux/sigprocmask.c
66491         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66492         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66493         * sysdeps/unix/sysv/linux/sigsuspend.c
66494         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66495         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66496         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
66497         (__libc_missing_rt_sigs): Remove.
66498         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
66499         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
66500         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
66501         Remove conditional code.
66502         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
66503         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
66504         return 1.
66505         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
66506         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
66507         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
66508         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
66510 2012-05-14  Andreas Jaeger  <aj@suse.de>
66512         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
66513         it's not used in glibc.
66514         (__coshm1): Likewise.
66515         (__acosh1p): Likewise.
66516         (__sgn): Likewise.
66518         * manual/string.texi (Copying and Concatenation): Add missing
66519         variable in concat example.
66520         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
66522 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66524         [BZ #14103]
66525         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
66526         __builtin_clzl with __builtin_clzll.
66528 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66530         [BZ #14104]
66531         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
66532         libc_freeres_ptr.
66534 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66536         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
66537         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
66538         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
66539         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
66541 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
66543         * NEWS: Update ia64 info.
66545 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
66547         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
66548         used as bcopy.
66550 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
66552         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
66553         * sysdeps/unix/syscalls.list (dup3): Likewise.
66554         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
66555         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
66557 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66559         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
66560         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
66562 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66564         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
66565         thread pointer.
66566         (TLS_IE): Use mov/add instead of movq/addq to load thread
66567         pointer.
66568         (TLS_GD_PREFIX): New.
66569         (TLS_GD): Use it.
66571 2012-05-11  David S. Miller  <davem@davemloft.net>
66573         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
66574         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
66575         (_FPU_SETCW): Likewise.
66577 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66579         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
66580         is 32-byte aligned.
66582 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
66584         [BZ #11837]
66585         * iconvdata/gb18030.c: Update tables.
66586         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
66587         characters specially.
66588         (BODY for TO_LOOP): Add encoding of missing ranges.
66590 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
66592         [BZ #13673]
66593         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
66594         * sysdeps/mach/hurd/dup3.c: Likewise.
66595         * sysdeps/mach/hurd/readlinkat.c: Likewise.
66596         * sysdeps/powerpc/memmove.c:: Likewise.
66598 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66600         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
66601         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
66603 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66605         * elf/elf.h (R_X86_64_RELATIVE64): New.
66606         (R_X86_64_NUM): Updated.
66607         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
66608         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
66609         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
66610         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
66611         tst-quad1pie tst-quad2pie
66612         (modules-names): Add tst-quadmod1 tst-quadmod2.
66613         ($(objpfx)tst-quad1): New dependency.
66614         ($(objpfx)tst-quad2): Likewise.
66615         ($(objpfx)tst-quad1pie): Likewise.
66616         ($(objpfx)tst-quad2pie): Likewise.
66617         * sysdeps/x86_64/tst-quad1.c: New file.
66618         * sysdeps/x86_64/tst-quad1pie.c: New file.
66619         * sysdeps/x86_64/tst-quad2.c: Likewise.
66620         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
66621         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
66622         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
66623         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
66624         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
66626 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66628         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
66629         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
66630         * streams/stropts.h (t_scalar_t): Define type.
66632         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
66633         (_PATH_PRESERVE): Set to "/var/lib".
66634         (_PATH_RWHODIR): Set to "/var/spool/rwho".
66636         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
66637         instead of int.
66639         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
66640         if __dir_mkfile succeeded.
66642         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
66643         checking for _hurd_dtablesize.  Unlock it right after having
66644         finished _hurd_dtable allocation.
66646 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66648         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
66649         * sysdeps/mach/hurd/configure: Regenerated.
66650         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
66651         special-casing to...
66652         * sysdeps/gnu/configure.in: ... this new file.
66653         * sysdeps/unix/sysv/linux/configure: Regenerated.
66654         * sysdeps/gnu/configure: New generated file.
66656         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
66657         for Linux: use nsec instead of usec, as well as:
66658         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
66659         members of type struct timespec.
66660         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
66661         New macros.
66662         (struct stat64): Likewise.
66663         (_STATBUF_ST_NSEC): New macro.
66664         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
66666         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
66667         __strtoul_internal rather than strtoul.
66669 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66671         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
66672         and reject them.
66674 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66676         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
66677         which preserves existing values.
66678         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
66680 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66682         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
66683         TIMEOUT values.  Return EINVAL for NFDS values either negative or
66684         greater than FD_SETSIZE.
66686 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66688         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
66689         allocated, call __vm_protect to finish enabling the existing space, and
66690         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
66691         allocate the remainder.
66693 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66695         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
66696         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
66698 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66700         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
66701         sysdeps/mach/hurd/readlink.c.
66703         * posix/tst-sysconf.c (posix_options): Only use
66704         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
66705         _POSIX_SYNCHRONIZED_IO when they are defined
66706         * sysdeps/mach/hurd/bits/posix_opt.h:
66707         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
66708         (_XOPEN_REALTIME): Undefine macro.
66709         (_XOPEN_REALTIME_THREADS): Undefine macro.
66710         (_XOPEN_SHM): Undefine macro.
66711         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
66712         macro to -1.
66713         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
66714         macro to -1.
66715         (_POSIX_ASYNC_IO): Undefine macro.
66716         (_POSIX_PRIORITIZED_IO): Undefine macro.
66717         (_POSIX_SPIN_LOCKS): Define macro to -1.
66719         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
66720         SA_NODEFER, SA_RESETHAND.
66721         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
66722         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
66723         F_DUPFD_CLOEXEC.
66725 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66727         * elf/Makefile (pldd-modules): Define unconditionally.
66729 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66731         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
66733 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66735         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
66736         Return ENOENT when name is empty.
66737         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
66739 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66741         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
66743         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
66745 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66747         Fix mlock in all cases except non-readable pages.
66748         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
66749         instead of VM_PROT_ALL as parameter to __vm_wire function.
66751         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
66752         (__mkdir): When path is `/', just fail with EEXIST.
66753         * sysdeps/mach/hurd/mkdirat.c: Likewise.
66755 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66757         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
66758         <sys/uio.h> (for writev).
66759         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
66760         and <sys/param.h> (for MIN).
66762 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66764         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
66765         REQUESTED_TIME.  Properly set the remaining time and return EINTR
66766         if interrupted.
66768 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66770         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
66771         Depend on against $(link-rpcuserlibs).
66773 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66775         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
66776         (__libc_stack_end): Do not use attribute_relro.
66777         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
66778         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
66779         to libthread-provided value.
66780         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
66781         attribute_relro.
66783 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66785         [BZ #3748]
66786         * bits/libc-lock.h (__libc_once_get): New macro.
66787         * sysdeps/mach/bits/libc-lock.h: Likewise.
66788         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
66789         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
66790         instead of using implementation details.
66792         * libio/fileops.c: Unconditionally include <kernel-features.h>.
66793         * libio/freopen.c: Likewise.
66794         * libio/freopen64.c: Likewise.
66795         * misc/syslog.c: Likewise.
66796         * nscd/connections.c: Likewise.
66797         * nscd/netgroupcache.c: Likewise.
66798         * sysdeps/posix/getcwd.c: Likewise.
66800 2012-05-10  Roland McGrath  <roland@hack.frob.com>
66802         * math/w_ilogbf.c: Add #include <limits.h>.
66804 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66806         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
66807         path instead of returning without unlocking.
66809         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
66810         immediate-write ioctls.
66811         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
66813 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66815         * sysdeps/mach/hurd/i386/init-first.c (init): Use
66816         __builtin_frame_address instead of making assumptions about the
66817         location of the return address relative to DATA.  Force early load of
66818         the return address.
66819         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
66820         __builtin_frame_address.
66822         dup3 for GNU Hurd.
66823         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
66824         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
66825         implement dup3 and do some further code clean-ups.
66826         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
66827         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
66829 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66831         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
66833         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
66834         HURD_CRITICAL_END around holding _hurd_dtable_lock.
66835         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
66836         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
66837         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
66838         d->port.lock.
66840         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
66841         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
66842         when handler == SIG_ERR, not when handler != SIG_ERR.
66844 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66846         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
66847         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
66848         definitions.
66850         accept4 for GNU Hurd.
66851         * include/sys/socket.h (__libc_accept4): New prototype.
66852         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
66853         to implement __libc_accept4.
66854         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
66855         __libc_accept4.
66856         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
66858         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
66859         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
66860         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
66861         signal-defines.sym.
66863 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66865         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
66867 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66869         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
66870         assertion on O_CLOEXEC flag.
66871         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
66872         * hurd/intern-fd.c: Likewise.
66873         * hurd/port2fd.c: Likewise.
66875 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66877         [BZ #3906]
66878         * bits/in.h (IPV6_PKTINFO): Define new macro.
66879         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
66881 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66883         [BZ #13954]
66884         [BZ #13955]
66885         [BZ #13956]
66886         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
66887         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
66888         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
66889         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
66890         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
66891         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
66892         * math/libm-test.inc (logb_test) : Additional logb tests.
66894 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
66895             Andreas Jaeger  <aj@suse.de>
66897         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
66898         * configure: Regenerated.
66899         * config.h.in (LINK_OBSOLETE_RPC): New macro.
66900         * config.make.in (link-obsolete-rpc): New substituted variable.
66901         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
66902         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
66903         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66904         (shared-only-routines): Don't set it under [link-obsolete-rpc],
66905         so that libc.a contains the symbols.
66906         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66907         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
66908         * sunrpc/auth_none.c: Likewise.
66909         * sunrpc/auth_unix.c: Likewise.
66910         * sunrpc/authdes_prot.c: Likewise.
66911         * sunrpc/authuxprot.c: Likewise.
66912         * sunrpc/clnt_gen.c: Likewise.
66913         * sunrpc/clnt_perr.c: Likewise.
66914         * sunrpc/clnt_raw.c: Likewise.
66915         * sunrpc/clnt_simp.c: Likewise.
66916         * sunrpc/clnt_tcp.c: Likewise.
66917         * sunrpc/clnt_udp.c: Likewise.
66918         * sunrpc/clnt_unix.c: Likewise.
66919         * sunrpc/des_crypt.c: Likewise.
66920         * sunrpc/des_soft.c: Likewise.
66921         * sunrpc/get_myaddr.c: Likewise.
66922         * sunrpc/key_call.c: Likewise.
66923         * sunrpc/key_prot.c: Likewise.
66924         * sunrpc/netname.c: Likewise.
66925         * sunrpc/pm_getmaps.c: Likewise.
66926         * sunrpc/pm_getport.c: Likewise.
66927         * sunrpc/pmap_clnt.c: Likewise.
66928         * sunrpc/pmap_prot.c: Likewise.
66929         * sunrpc/pmap_prot2.c: Likewise.
66930         * sunrpc/pmap_rmt.c: Likewise.
66931         * sunrpc/publickey.c: Likewise.
66932         * sunrpc/rpc_cmsg.c: Likewise.
66933         * sunrpc/rpc_common.c: Likewise.
66934         * sunrpc/rpc_dtable.c: Likewise.
66935         * sunrpc/rpc_prot.c: Likewise.
66936         * sunrpc/rpc_thread.c: Likewise.
66937         * sunrpc/rtime.c: Likewise.
66938         * sunrpc/svc.c: Likewise.
66939         * sunrpc/svc_auth.c: Likewise.
66940         * sunrpc/svc_raw.c: Likewise.
66941         * sunrpc/svc_run.c: Likewise.
66942         * sunrpc/svc_tcp.c: Likewise.
66943         * sunrpc/svc_udp.c: Likewise.
66944         * sunrpc/svc_unix.c: Likewise.
66945         * sunrpc/svcauth_des.c: Likewise.
66946         * sunrpc/xcrypt.c: Likewise.
66947         * sunrpc/xdr.c: Likewise.
66948         * sunrpc/xdr_array.c: Likewise.
66949         * sunrpc/xdr_float.c: Likewise.
66950         * sunrpc/xdr_intXX_t.c: Likewise.
66951         * sunrpc/xdr_mem.c: Likewise.
66952         * sunrpc/xdr_rec.c: Likewise.
66953         * sunrpc/xdr_ref.c: Likewise.
66954         * sunrpc/xdr_sizeof.c: Likewise.
66955         * sunrpc/xdr_stdio.c: Likewise.
66957 2012-05-10  Roland McGrath  <roland@hack.frob.com>
66959         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
66960         change.  Update copyright years.
66962 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
66964         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
66966 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
66967             Joseph Myers  <joseph@codesourcery.com>
66968             Paul Pluzhnikov  <ppluzhnikov@google.com>
66970         [BZ #14012]
66971         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
66972         requiring rpcgen.
66973         [cross-compiling] (extra-libs): Likewise.
66974         [cross-compiling] (extra-libs-others): Likewise.
66975         [cross-compiling] (librpcsvc-routines): Likewise.
66976         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
66977         [cross-compiling] (omit-deps): Likewise.
66978         (sunrpc-CPPFLAGS): New variable.
66979         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
66980         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
66981         (cross-rpcgen-objs): New variable.
66982         (extra-objs): Append $(cross-rpcgen-objs).
66983         ($(cross-rpcgen-objs)): New rule.
66984         ($(objpfx)cross-rpcgen): Likewise.
66985         (rpcgen-cmd): Define to use $(built-program-file).  Expand
66986         comment.
66987         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
66988         ($(objpfx)x%.stmp): Likewise.
66989         * sunrpc/proto.h [IS_IN_build] (_): Define.
66990         [IS_IN_build] (_libc_intl_domainname): Likewise.
66992 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66994         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
66995         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
66996         and R_X86_64_TPOFF64.
66998 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
67000         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
67001         sysdeps/unix/sysv/syscalls.list.
67002         (stime): Likewise.
67003         (utime): Likewise.
67004         * sysdeps/unix/sysv/syscalls.list: Remove file.
67006 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
67008         [BZ #3440]
67009         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
67010         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
67011         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
67012         (__LC_IDENTIFICATION): Make these macros useful in #if
67013         expressions, as required by C99.
67015 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
67017         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
67018         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
67019         after this.
67021 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
67023         * stdlib/longlong.h: Updated from GCC.
67025 2012-05-09  Andreas Jaeger  <aj@suse.de>
67027         * nscd/nscd.c (run_modes): Make named enum, reorder so that
67028         default is first entry.
67029         (run_mode): Set type.
67030         (main): Remove informal message about syslog.
67031         (options): Fix typo.
67033         [BZ #14053]
67034         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
67035         to asm.
67036         (lrint): Likewise.
67037         (llrintf): Likewise.
67038         (llrint): Likewise.
67039         (rint): Likewise.
67040         (rintf): Likewise.
67041         (nearbyint): Likewise.
67042         (nearbyintf): Likewise.
67044 2012-05-09  Andreas Jaeger  <aj@suse.de>
67045             Pedro Alves  <palves@redhat.com>
67047         * nscd/nscd.c (run_mode): Use enum.
67048         (main): Cleanup coding style issue.
67050 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
67051             Andreas Jaeger  <aj@suse.de>
67053         * nscd/nscd.c (go_background): Replaced with...
67054         (run_mode): ... this.
67055         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
67056         (options): Add -F --foreground.
67057         (main): Implement it.
67058         (parse_opt): Parse it.
67060 2012-05-09  Andreas Jaeger  <aj@suse.de>
67062         [BZ #14083]
67063         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
67064         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
67065         -Wconversion warning.
67066         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
67067         Likewise.
67069 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
67071         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
67072         == 0.
67073         (LC_ALL): Use macro-int-constant.
67074         (LC_COLLATE): Likewise.
67075         (LC_CTYPE): Likewise.
67076         (LC_MESSAGES): Likewise.
67077         (LC_MONETARY): Likewise.
67078         (LC_NUMERIC): Likewise.
67079         (LC_TIME): Likewise.
67080         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
67081         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
67082         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67083         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
67084         Specify type.
67085         [C99-based standards] (float_t): Expect type.
67086         [C99-based standards] (double_t): Expect type.
67087         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
67088         type.
67089         [C99-based standards] (HUGE_VALL): Likewise.
67090         [C99-based standards] (INFINITY): Likewise.
67091         [C99-based standards] (NAN): Likewise.
67092         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
67093         [C99-based standards] (FP_NAN): Likewise.
67094         [C99-based standards] (FP_NORMAL): Likewise.
67095         [C99-based standards] (FP_SUBNORMAL): Likewise.
67096         [C99-based standards] (FP_ZERO): Likewise.
67097         [C99-based standards] (FP_FAST_FMA): Use
67098         optional-macro-int-constant.  Specify type.  Require == 1.
67099         [C99-based standards] (FP_FAST_FMAF): Likewise.
67100         [C99-based standards] (FP_FAST_FMAL): Likewise.
67101         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
67102         [C99-based standards] (FP_ILOGBNAN): Likewise.
67103         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
67104         Specify type.
67105         [C99-based standards] (MATH_ERREXCEPT): Likewise.
67106         [C99-based standards] (math_errhandling): Specify type.
67107         [ISO99 || ISO11] (signgam): Do not allow.
67108         [non-C99-based standards] (copysignf): Do not allow.
67109         [non-C99-based standards] (exp2f): Likewise.
67110         [non-C99-based standards] (log2f): Likewise.
67111         [non-C99-based standards] (modff): Allow.
67112         [non-C99-based standards] (erff): Do not allow.
67113         [non-C99-based standards] (erfcf): Likewise.
67114         [non-C99-based standards] (gammaf): Likewise.
67115         [non-C99-based standards] (hypotf): Likewise.
67116         [non-C99-based standards] (j0f): Likewise.
67117         [non-C99-based standards] (j1f): Likewise.
67118         [non-C99-based standards] (jnf): Likewise.
67119         [non-C99-based standards] (lgammaf): Likewise.
67120         [non-C99-based standards] (tgammaf): Likewise.
67121         [non-C99-based standards] (y0f): Likewise.
67122         [non-C99-based standards] (y1f): Likewise.
67123         [non-C99-based standards] (ynf): Likewise.
67124         [non-C99-based standards] (isnanf): Likewise.
67125         [non-C99-based standards] (acoshf): Likewise.
67126         [non-C99-based standards] (asinhf): Likewise.
67127         [non-C99-based standards] (atanhf): Likewise.
67128         [non-C99-based standards] (cbrtf): Likewise.
67129         [non-C99-based standards] (expm1f): Likewise.
67130         [non-C99-based standards] (ilogbf): Likewise.
67131         [non-C99-based standards] (log1pf): Likewise.
67132         [non-C99-based standards] (logbf): Likewise.
67133         [non-C99-based standards] (nextafterf): Likewise.
67134         [non-C99-based standards] (remainderf): Likewise.
67135         [non-C99-based standards] (rintf): Likewise.
67136         [non-C99-based standards] (scalbf): Likewise.
67137         [non-C99-based standards] (copysignl): Likewise.
67138         [non-C99-based standards] (exp2l): Likewise.
67139         [non-C99-based standards] (log2l): Likewise.
67140         [non-C99-based standards] (modfl): Allow.
67141         [non-C99-based standards] (erfl): Do not allow.
67142         [non-C99-based standards] (erfcl): Likewise.
67143         [non-C99-based standards] (gammal): Likewise.
67144         [non-C99-based standards] (hypotl): Likewise.
67145         [non-C99-based standards] (j0l): Likewise.
67146         [non-C99-based standards] (j1l): Likewise.
67147         [non-C99-based standards] (jnl): Likewise.
67148         [non-C99-based standards] (lgammal): Likewise.
67149         [non-C99-based standards] (tgammal): Likewise.
67150         [non-C99-based standards] (y0l): Likewise.
67151         [non-C99-based standards] (y1l): Likewise.
67152         [non-C99-based standards] (ynl): Likewise.
67153         [non-C99-based standards] (isnanl): Likewise.
67154         [non-C99-based standards] (acoshl): Likewise.
67155         [non-C99-based standards] (asinhl): Likewise.
67156         [non-C99-based standards] (atanhl): Likewise.
67157         [non-C99-based standards] (cbrtl): Likewise.
67158         [non-C99-based standards] (expm1l): Likewise.
67159         [non-C99-based standards] (ilogbl): Likewise.
67160         [non-C99-based standards] (log1pl): Likewise.
67161         [non-C99-based standards] (logbl): Likewise.
67162         [non-C99-based standards] (nextafterl): Likewise.
67163         [non-C99-based standards] (remainderl): Likewise.
67164         [non-C99-based standards] (rintl): Likewise.
67165         [non-C99-based standards] (scalbl): Likewise.
67166         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67167         [non-C99-based standards] (FP_*): Do not allow.
67168         [C99-based standards] (FP_*): Change to
67169         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
67170         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67171         allow.
67172         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
67173         (SIG_ERR): Likewise.
67174         [X/Open-based standards] (SIG_HOLD): Likewise.
67175         (SIG_IGN): Likewise.
67176         (SIGABRT): Use macro-int-constant.  Specify type.  Require
67177         positive value.
67178         (SIGFPE): Likewise.
67179         (SIGILL): Likewise.
67180         (SIGINT): Likewise.
67181         (SIGSEGV): Likewise.
67182         (SIGTER): Likewise.
67183         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
67184         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
67185         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
67186         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
67187         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
67188         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
67189         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
67190         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
67191         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
67192         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
67193         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
67194         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
67195         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
67196         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
67197         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
67198         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
67199         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
67200         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
67201         [X/Open-based standards] (SIGTRAP): Likewise.
67202         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
67203         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
67204         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
67205         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
67206         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67207         allow.
67209 2012-05-08  Ian Wienand  <ianw@vmware.com>
67211         [BZ #14080]
67212         * time/tzset.c (__tzset_parse_tz): Update default rules for
67213         daylight time changes in the Energy Policy Act of 2005.
67215 2012-05-09  Andreas Jaeger  <aj@suse.de>
67217         [BZ #13983]
67218         * elf/ldconfig.c (parse_conf): Change string to make clear that
67219         ldconfig only issued a warning if ld.so.conf does not exist.
67221 2012-05-08  David S. Miller  <davem@davemloft.net>
67223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
67224         movxtod instead of popping the value on the stack.
67226         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67228 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
67230         * config.h.in: Add HAVE_ARM_PCS_VFP.
67232 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
67234         [BZ #13979]
67235         * include/features.h: Warn if user requests __FORTIFY_SOURCE
67236         checking but the checks are disabled for any reason.
67238 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
67240         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
67241         and ELF64_R_TYPE with ELFW(R_TYPE).
67243 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
67245         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
67246         (ulimit): Likewise.
67248         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
67249         (settimeofday): Likewise.
67251 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
67253         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
67254         a struct th_u2 inside the union, and move tu_block/tu_code into
67255         a new th_u3 union of tu_block/tu_code inside of that.  Move
67256         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
67257         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
67258         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
67259         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
67260         (th_stuff): Change to th_u1.tu_stuff.
67261         (th_data): Define.
67262         (th_msg): Change to th_u1.th_u2.tu_data.
67264 2012-05-07  David S. Miller  <davem@davemloft.net>
67266         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67268         [BZ #14074]
67269         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
67270         (SETUP_PIC_REG): Use it.
67271         (SETUP_PIC_REG_LEAF): Use it.
67273 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
67275         [BZ #13885]
67276         [BZ #13923]
67277         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67278         USE_AS_EXPM1L.
67279         (EXPL_FINITE): Likewise.
67280         (FLDLOG): Likewise.
67281         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
67282         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
67283         e_expl.S.
67284         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67285         USE_AS_EXPM1L.
67286         (EXPL_FINITE): Likewise.
67287         (FLDLOG): Likewise.
67288         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
67289         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
67290         e_expl.S.
67291         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
67292         test of -max_value argument for long double.
67293         * sysdeps/i386/fpu/libm-test-ulps: Update.
67294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67296 2012-05-06  David S. Miller  <davem@davemloft.net>
67298         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
67299         quad soft-float symbols whose references which are compiler
67300         generated.
67301         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
67303 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
67305         [BZ #13884]
67306         [BZ #13914]
67307         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67308         USE_AS_EXP10L.
67309         (EXPL_FINITE): Likewise.
67310         (FLDLOG): Likewise.
67311         (c0): Likewise.
67312         (c1): Likewise.
67313         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
67314         Adjust comments for base varying.
67315         (__expl_finite): Change alias to EXPL_FINITE.
67316         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
67317         e_expl.S.
67318         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
67319         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
67320         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
67321         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
67322         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67323         USE_AS_EXP10L.
67324         (EXPL_FINITE): Likewise.
67325         (FLDLOG): Likewise.
67326         (c0): Likewise.
67327         (c1): Likewise.
67328         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
67329         Adjust comments for base varying.
67330         (__expl_finite): Change alias to EXPL_FINITE.
67331         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
67332         tests for bugs.
67333         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67335         [BZ #14064]
67336         * math/libm-test.inc (check_float_internal): Correct ulp
67337         calculation for subnormal expected results.
67339 2012-05-06  Andreas Jaeger  <aj@suse.de>
67341         * Makeconfig (+math-flags): New, set to -frounding-math.
67342         (+cflags): Add +math-flags so that all of glibc gets compiled with
67343         it.
67345         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
67347 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
67349         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
67350         Disable one test.
67352         [BZ #13787]
67353         [BZ #13922]
67354         [BZ #14036]
67355         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
67356         (__ieee754_expl): Allow for and saturate large arguments.
67357         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
67358         (u_threshold): Likewise.
67359         (__exp): Call __ieee754_exp before checking for overflow and
67360         underflow.
67361         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
67362         (u_threshold): Likewise.
67363         (__expf): Call __ieee754_expf before checking for overflow and
67364         underflow.
67365         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
67366         (u_threshold): Likewise.
67367         (__expl): Call __ieee754_expl before checking for overflow and
67368         underflow.
67369         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
67370         (__ieee754_expl): Allow for and saturate large arguments.
67371         * math/libm-test.inc (exp_test): Add another test.  Do not allow
67372         missing overflow exception on overflow.
67373         (expm1_test): Do not allow missing overflow exception on overflow.
67375         * sysdeps/i386/fpu/e_expl.c: Move to ...
67376         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
67377         rather than using inline asm.
67378         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
67379         * sysdeps/x86_64/fpu/e_expl.S: Copy from
67380         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
67382         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
67383         (nice): Likewise.
67384         (poll): Likewise.
67385         (signal): Likewise.
67386         (time): Likewise.
67387         (times): Likewise.
67389 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67391         * sysdeps/unix/syscalls.list (adjtime): Add entry from
67392         sysdeps/unix/common/syscalls.list.
67393         (fchmod): Likewise.
67394         (fchown): Likewise.
67395         (ftruncate): Likewise.
67396         (getrusage): Likewise.
67397         (gettimeofday): Likewise.
67398         (setpgid): Likewise.
67399         (setregid): Likewise.
67400         (setreuid): Likewise.
67401         (sigaction): Likewise.
67402         (truncate): Likewise.
67403         (vhangup): Likewise.
67404         * sysdeps/unix/common/syscalls.list: Remove file.
67405         * sysdeps/unix/bsd/Implies: Don't include unix/common.
67406         * sysdeps/unix/sysv/linux/Implies: Likewise.
67408 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
67410         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
67411         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
67412         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
67413         Moved to ...
67414         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
67415         Here.
67416         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
67417         to ...
67418         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
67419         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
67420         to ...
67421         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
67422         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
67423         to ...
67424         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
67425         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
67426         to ...
67427         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
67428         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
67429         to ...
67430         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
67431         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
67432         to ...
67433         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
67434         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
67435         to ...
67436         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
67437         Here.
67438         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
67439         to ...
67440         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
67441         Here.
67442         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
67443         to ...
67444         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
67445         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
67446         Moved to ...
67447         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
67448         Here.
67449         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
67450         to ...
67451         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
67453 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67455         * sysdeps/unix/common/bits/dirent.h: Remove file.
67456         * sysdeps/unix/common/bits/fcntl.h: Likewise.
67458         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
67459         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
67460         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
67461         * sysdeps/unix/bsd/isatty.c: Likewise.
67462         * sysdeps/unix/bsd/tcdrain.c: Likewise.
67463         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
67464         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
67466 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67468         [BZ #13563]
67469         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
67470         long double comparison inaccuracies.
67471         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
67472         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67474 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
67476         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
67477         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
67479 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67481         [BZ #14049]
67482         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
67483         nonzero digits before rounding a hex value.
67484         * stdlib/tst-strtod.c (tests): Add another test.
67486 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67488         * sysdeps/s390/fpu/libm-test-ulps: Update.
67490 2012-05-03  Andreas Jaeger  <aj@suse.de>
67492         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
67493         does not get optimized out.
67494         (malloc_opt_barrier): New.
67496 2012-05-03  Andreas Jaeger  <aj@suse.de>
67497             Roland McGrath  <roland@hack.frob.com>
67499         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
67500         intermediate file deletion.
67501         (generated): Add .symlist files.
67503 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
67505         [BZ #13775]
67506         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
67507         Redirect under this condition.
67508         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67509         [__USE_GNU] (__dprintf_chk): Not under this condition.
67510         [__USE_GNU] (__vdprintf_chk): Likewise.
67511         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
67512         under this condition.
67513         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67514         [__USE_XOPEN2K8] (dprintf): Define under this condition.
67515         [__USE_XOPEN2K8] (vdprintf): Likewise.
67516         [__USE_GNU] (__dprintf_chk): Not under this condition.
67517         [__USE_GNU] (__vdprintf_chk): Likewise.
67518         [__USE_GNU] (dprintf): Likewise.
67519         [__USE_GNU] (vdprintf): Likewise.
67521 2012-05-03  Roland McGrath  <roland@hack.frob.com>
67523         * elf/Makefile (common-generated): Set this instead of generated for
67524         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
67525         $(all-built-dso)-derived lists.
67527 2012-05-03  Andreas Jaeger  <aj@suse.de>
67529         * sysdeps/i386/fpu/libm-test-ulps: Update.
67531         * FAQ: Removed.
67532         * FAQ.in: Likewise.
67533         * scripts/gen-FAQ.pl: Likewise.
67534         * manual/install.texi (Installation): Point to online location of
67535         FAQ.
67536         * Makefile (files-for-dist): Remove FAQ.
67537         (FAQ): Remove.
67539 2012-05-02  Allan McRae  <allan@archlinux.org>
67541         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
67542         (LDFLAGS-reldepmod5.so): Likewise.
67543         (LDFLAGS-reldep6mod1.so): Likewise.
67544         (LDFLAGS-reldep6mod4.so): Likewise.
67545         (LDFLAGS-reldep8mod3.so): Likewise.
67546         (LDFLAGS-unload4mod1.so): Likewise.
67547         (LDFLAGS-unload4mod2.so): Likewise.
67548         (LDFLAGS-tst-initorder): Likewise.
67549         (LDFLAGS-tst-initordera2.so): Likewise.
67550         (LDFLAGS-tst-initordera3.so): Likewise.
67551         (LDFLAGS-tst-initordera4.so): Likewise.
67552         (LDFLAGS-tst-initorderb2.so): Likewise.
67553         (LDFLAGS-noload): Likewise.
67554         (LDFLAGS-next): Likewise.
67555         (LDFLAGS-order2mod1.so): Likewise.
67556         (LDFLAGS-order2mod2.so): Likewise.
67557         (LDFLAGS-tst-initorder2): Likewise.
67558         (LDFLAGS-tst-initorder2a.so): Likewise.
67559         (LDFLAGS-tst-initorder2b.so): Likewise.
67560         (LDFLAGS-tst-initorder2c.so): Likewise.
67561         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
67563 2012-05-02  David S. Miller  <davem@davemloft.net>
67565         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67567 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
67569         [BZ #14055]
67570         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
67572 2012-05-02  Andreas Jaeger  <aj@suse.de>
67574         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
67575         since we manipulate rounding mode.
67576         (CPPFLAGS-test-idouble.c): Likewise.
67577         (CPPFLAGS-test-ifloat.c): Likewise.
67578         (CFLAGS-test-ldouble.c): Likewise.
67579         (CFLAGS-test-double.c): Likewise.
67580         (CFLAGS-test-float.c): Likewise.
67581         (CFLAGS-test-misc.c): Likewise.
67582         (CFLAGS-test-test-fenv.c): Likewise.
67584 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67586         [BZ #2550]
67587         [BZ #2570]
67588         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
67589         comparisons to determine direction to adjust input.
67591 2012-05-01  Roland McGrath  <roland@hack.frob.com>
67593         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
67594         output to the target.
67596         * scripts/localplt.awk: New file.
67597         * elf/Makefile ($(objpfx)check-localplt): Target removed.
67598         (check-localplt-CFLAGS): Variable removed.
67599         ($(all-built-dso:=.jmprel)): New static pattern rule.
67600         (generated): Add those targets.
67601         (localplt-built-dso): New variable.
67602         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
67604         * elf/check-localplt.c: File removed.
67606         * scripts/check-execstack.awk: New file.
67607         * elf/Makefile ($(objpfx)check-execstack): Target removed.
67608         (check-execstack-CFLAGS): Variable removed.
67609         ($(objpfx)check-execstack.h): Target removed.
67610         ($(objpfx)execstack-default): New target.
67611         (generated): Add that instead of check-execstack.h.
67612         ($(all-built-dso:=.phdr)): New static pattern rule.
67613         (generated): Add those targets.
67614         * elf/check-execstack.c: File removed.
67616         * scripts/check-textrel.awk: New file.
67617         * elf/Makefile ($(objpfx)check-textrel): Target removed.
67618         (check-textrel-CFLAGS): Variable removed.
67619         (all-built-dso): Use := to define.o
67620         ($(all-built-dso:=.dyn)): New static pattern rule.
67621         (generated): Add those targets.
67622         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
67623         * config.make.in (READELF): New substituted variable.
67624         * elf/check-textrel.c: File removed.
67626 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67628         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67629         allow.
67630         * conform/data/ctype.h-data [C99-based standards] (isblank):
67631         Expect function.
67632         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
67633         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
67634         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67635         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
67636         Specify type.  Require positive value.
67637         (EILSEQ): Likewise.
67638         (ERANGE): Likewise.
67639         [ISO || POSIX] (EILSEQ): Do not expect.
67640         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
67641         Specify type.  Require positive value.
67642         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
67643         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
67644         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
67645         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
67646         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
67647         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
67648         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
67649         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
67650         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
67651         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
67652         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
67653         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
67654         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
67655         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
67656         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
67657         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
67658         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
67659         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
67660         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
67661         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
67662         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
67663         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
67664         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
67665         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
67666         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
67667         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
67668         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
67669         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
67670         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
67671         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
67672         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
67673         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
67674         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
67675         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
67676         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
67677         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
67678         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
67679         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
67680         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
67681         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
67682         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
67683         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
67684         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
67685         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
67686         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
67687         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
67688         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
67689         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
67690         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
67691         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
67692         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
67693         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
67694         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
67695         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
67696         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
67697         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
67698         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
67699         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
67700         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
67701         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
67702         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
67703         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
67704         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
67705         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
67706         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
67707         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
67708         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
67709         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
67710         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
67711         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
67712         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
67713         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
67714         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
67715         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
67716         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
67717         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
67718         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
67719         Require >= 2.
67720         (FLT_ROUNDS): Expect as macro, not constant.
67721         (FLT_MANT_DIG): Use macro-int-constant.
67722         (DBL_MANT_DIG): Likewise.
67723         (LDBL_MANT_DIG): Likewise.
67724         (FLT_DIG): Likewise.
67725         (DBL_DIG): Likewise.
67726         (LDBL_DIG): Likewise.
67727         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
67728         (DBL_MIN_EXP): Likewise.
67729         (LDBL_MIN_EXP): Likewise.
67730         (FLT_MAX_EXP): Use macro-int-constant.
67731         (DBL_MAX_EXP): Likewise.
67732         (LDBL_MAX_EXP): Likewise.
67733         (FLT_MAX_10_EXP): Likewise.
67734         (DBL_MAX_10_EXP): Likewise.
67735         (LDBL_MAX_10_EXP): Likewise.
67736         (FLT_MAX): Use macro-constant.
67737         (DBL_MAX): Likewise.
67738         (LDBL_MAX): Likewise.
67739         (FLT_EPSILON): Use macro-constant.  Give upper bound.
67740         (DBL_EPSILON): Likewise.
67741         (LDBL_EPSILON): Likewise.
67742         (FLT_MIN): Likewise.
67743         (DBL_MIN): Likewise.
67744         (LDBL_MIN): Likewise.
67745         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
67746         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
67747         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
67748         [ISO11] (FLT_HAS_SUBNORM): Likewise.
67749         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
67750         [ISO11] (DBL_DECIMAL_DIG): Likewise.
67751         [ISO11] (FLT_DECIMAL_DIG): Likewise.
67752         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
67753         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
67754         [ISO11] (FLT_TRUE_MIN): Likewise.
67755         [ISO11] (LDBL_TRUE_MIN): Likewise.
67756         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67757         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
67758         (SCHAR_MIN): Use macro-int-constant.  Specify type.
67759         (SCHAR_MAX): Likewise.
67760         (UCHAR_MAX): Likewise.
67761         (CHAR_MIN): Likewise.
67762         (CHAR_MAX): Likewise.
67763         (MB_LEN_MAX): Use macro-int-constant.
67764         (SHRT_MIN): Use macro-int-constant.  Specify type.
67765         (SHRT_MAX): Likewise.
67766         (USHRT_MAX): Likewise.
67767         (INT_MAX): Likewise.
67768         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
67769         bound negative.
67770         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67771         bound with "U".
67772         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67773         bound with "L".
67774         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
67775         bound negative.  Suffix upper bound with "L".
67776         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67777         bound with "UL".
67778         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
67779         Specify type.
67780         [C99-based standards] (LLONG_MAX): Likewise.
67781         [C99-based standards] (ULLONG_MAX): Likewise.
67782         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
67783         == 0.
67784         [ISO11] (max_align_t): Require type.
67785         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67787         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
67788         from $CFLAGS, without defining away __attribute__ calls.
67789         (checknamespace): Use $CFLAGS_namespace.
67791         * conform/conformtest.pl (@keywords): Only include C99 keywords
67792         for standards based on C99 or C11.
67794         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
67795         Disable tests.
67796         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
67797         UNIX98]: Likewise.
67799         * conform/conformtest.pl: Handle "macro-int-constant" and test for
67800         usability of symbols in #if.
67802         * conform/conformtest.pl: If macro or constant types start
67803         "promoted:", expect the symbol to be of the following type
67804         promoted by the integer promotions.
67806         * conform/conformtest.pl: Parse all "constant" and "macro" lines
67807         in one place.  Also handle "macro-constant".
67809         * conform/conformtest.pl: Only accept expected macro values with
67810         "==".  Parse all "macro" lines in one place.
67811         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
67813         * conform/conformtest.pl: Handle braced types on "constant" lines
67814         instead of handling "typed-constant".
67815         * conform/data/signal.h-data: Use "constant" instead of
67816         "typed-constant".
67818         * conform/conformtest.pl: Handle "optional-" at start of lines in
67819         one place rather than duplicating several cases.  Handle each
67820         format of "macro" line with initial "optional-".
67822         * conform/conformtest.pl: Only accept expected constant or
67823         optional-constant values with "==".  Parse all "constant" lines in
67824         one place.  Parse all "optional-constant" lines in one place.
67825         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
67826         * conform/data/fmtmsg.h-data: Likewise.
67827         * conform/data/netinet/in.h-data: Likewise.
67828         * conform/data/tar.h-data: Likewise.
67829         * conform/data/limits.h-data: Use "==" form on "constant" and
67830         "optional-constant" lines.
67832         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
67833         Use -std=c99 for XOPEN2K.
67834         (@knownproblems): Remove.
67835         (newtoken): Don't check %isknown.
67837         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
67838         Do not expect macro.
67839         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
67840         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
67841         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
67842         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
67843         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
67844         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
67845         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
67846         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
67847         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
67848         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
67849         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
67850         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
67851         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
67852         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
67853         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
67854         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
67855         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
67856         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
67857         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
67858         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
67859         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
67860         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
67861         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
67862         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
67863         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
67864         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
67865         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
67866         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
67867         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
67868         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
67869         [XPG3] (acosh): Likewise.
67870         [XPG3] (asinh): Likewise.
67871         [XPG3] (atanh): Likewise.
67872         [XPG3] (cbrt): Likewise.
67873         [XPG3] (expm1): Likewise.
67874         [XPG3] (ilogb): Likewise.
67875         [XPG3] (log1p): Likewise.
67876         [XPG3] (logb): Likewise.
67877         [XPG3] (nextafter): Likewise.
67878         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
67879         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
67880         [XPG3] (remainder): Likewise.
67881         [XPG3] (rint): Likewise.
67882         [XPG3 || XPG4 || UNIX98] (round): Likewise.
67883         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
67884         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
67885         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
67886         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
67887         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
67888         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
67889         [UNIX98 || XOPEN2K] (scalb): Expect.
67890         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
67891         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
67892         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
67893         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
67894         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
67895         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
67896         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
67897         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
67898         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
67899         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
67900         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
67901         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
67902         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
67903         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
67904         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
67905         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
67906         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
67907         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
67908         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
67909         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
67910         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
67911         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
67912         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
67913         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
67914         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
67915         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
67916         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
67917         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
67918         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
67919         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
67920         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
67921         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
67922         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
67923         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
67924         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
67925         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
67926         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
67927         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
67928         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
67929         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
67930         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
67931         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
67932         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
67933         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
67934         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
67935         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
67936         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
67937         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
67938         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
67939         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
67940         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
67941         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
67942         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
67943         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
67944         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
67945         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
67946         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
67947         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
67948         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
67949         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
67950         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
67951         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
67952         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
67953         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
67954         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
67955         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
67956         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
67957         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
67958         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
67959         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
67960         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
67961         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
67962         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
67963         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
67964         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
67965         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
67966         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
67967         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
67968         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
67969         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
67970         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
67971         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
67972         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
67973         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
67974         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
67975         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
67976         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
67977         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
67978         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
67979         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
67980         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
67981         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
67982         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
67983         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
67984         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
67985         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
67986         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
67987         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
67988         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
67989         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
67990         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
67991         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
67992         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
67993         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
67994         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
67995         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
67996         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
67997         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
67998         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
67999         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
68000         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
68001         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
68002         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
68003         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
68004         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
68005         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
68006         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
68007         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
68008         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
68009         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
68010         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
68011         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
68012         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
68013         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
68014         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
68015         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
68016         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
68017         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
68018         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
68019         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
68020         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
68021         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
68022         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
68023         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
68024         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
68025         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
68026         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
68028         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
68029         _XOPEN_SOURCE_EXTENDED for XPG4.
68031         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
68033         * Makeconfig (localtime): Remove variable.
68034         (inst_localtime-file): Likewise.
68036 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
68038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
68039         Update.
68040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68041         Update.
68042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
68043         Update.
68044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
68045         Update.
68046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
68047         Update.
68048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
68049         Update.
68050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68051         Update.
68052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
68053         Update.
68054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
68055         Update.
68057 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
68059         [BZ #2550]
68060         [BZ #2570]
68061         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
68062         comparisons to determine direction to adjust input.
68063         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
68064         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
68065         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
68066         Likewise.
68067         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
68068         Likewise.
68069         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
68070         Likewise.
68071         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
68072         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
68073         Likewise.
68074         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
68075         Likewise.
68076         * math/libm-test.inc (nexttoward_test): Add more tests.
68078 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
68080         [BZ #14040]
68081         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
68082         in version GLIBC_2.1, not GLIBC_2.0.
68083         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
68084         Likewise.
68086 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
68088         [BZ #13942]
68089         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
68090         (1 - x) * (1 + x).
68091         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
68092         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
68093         * math/libm-test.inc (acos_test): Add more tests.
68094         (asin_test): Likewise.
68095         * sysdeps/i386/fpu/libm-test-ulps: Update.
68096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68098         [BZ #14034]
68099         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
68100         of square root.
68101         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
68102         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
68103         * math/libm-test.inc (acos_test_tonearest): New function.
68104         (acos_test_towardzero): Likewise.
68105         (acos_test_downward): Likewise.
68106         (acos_test_upward): Likewise.
68107         (asin_test_tonearest): Likewise.
68108         (asin_test_towardzero): Likewise.
68109         (asin_test_downward): Likewise.
68110         (asin_test_upward): Likewise.
68111         (main): Call the new functions.
68112         * sysdeps/i386/fpu/libm-test-ulps: Update.
68113         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68115         [BZ #13884]
68116         [BZ #13924]
68117         * math/e_exp10.c: Include <float.h>.
68118         (__ieee754_exp10): Handle underflow here rather than multiplying
68119         large negative argument by M_LN10.
68120         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
68121         of __ieee754_expf.
68122         * math/e_exp10l.c: Include <float.h>.
68123         (__ieee754_exp10l): Handle underflow here rather than multiplying
68124         large negative argument by M_LN10l.
68125         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
68126         spurious overflow exception on underflow.
68128 2012-04-29  Marek Polacek  <polacek@redhat.com>
68130         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
68131         (__fortify_function): New macro.
68132         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
68133         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
68134         __extern_always_inline.
68135         * libio/bits/stdio2.h: Likewise.
68136         * libio/bits/stdio.h: Likewise.
68137         * string/string.h: Likewise.
68138         * string/bits/string3.h: Likewise.
68139         * include/stdio.h: Likewise.
68140         * stdlib/bits/stdlib.h: Likewise.
68141         * stdlib/stdlib.h: Likewise.
68142         * rt/bits/mqueue2.h: Likewise.
68143         * rt/mqueue.h: Likewise.
68144         * posix/bits/unistd.h: Likewise.
68145         * posix/unistd.h: Likewise.
68146         * io/bits/poll2.h: Likewise.
68147         * io/bits/fcntl2.h: Likewise.
68148         * io/fcntl.h: Likewise.
68149         * io/sys/poll.h: Likewise.
68150         * misc/bits/syslog.h: Likewise.
68151         * misc/bits/syslog-ldbl.h: Likewise.
68152         * misc/sys/syslog.h: Likewise.
68153         * socket/bits/socket2.h: Likewise.
68154         * socket/sys/socket.h: Likewise.
68155         * debug/tst-chk1.c: Likewise.
68156         * wcsmbs/bits/wchar2.h: Likewise.
68157         * wcsmbs/bits/wchar-ldbl.h: Likewise.
68158         * wcsmbs/wchar.h: Likewise.
68160 2012-04-29  Andreas Jaeger  <aj@suse.de>
68162         * Makerules (tests): Remove enable-check-abi protection.
68163         (check-abi-warn): Remove.
68164         (check-abi-%): Remove check-abi-warn usage.
68166         * configure.in: Remove check-abi configure option.
68167         * configure: Regenerated.
68168         * config.make.in (enable-check-abi): Remove.
68170 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
68172         [BZ #14033]
68173         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
68174         double functions to double *_finite functions.
68176         [BZ #13941]
68177         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
68178         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
68179         LDBL_MIN_EXP.
68180         * stdio-common/Makefile (tests): Add tst-sprintf3.
68181         * stdio-common/tst-sprintf3.c: New file.
68183         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
68184         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
68186 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
68188         * conform/conformtest.pl: Remove duplicate typed-constant
68189         handling.
68191 2012-04-28  David S. Miller  <davem@davemloft.net>
68193         * Makerules (%.abilist): Add vpath on sysdep_dirs.
68194         (check-abi-%): Remove AWK script prerequisite and explicit
68195         abilist directory.
68196         (check-abi): Rewrite to just diff the symlist with the abilist.
68197         (config-tls, config-abi-config): Delete, no longer used.
68198         (update-abi-%): Remove AWK script and explicit abilist directory.
68199         (update-abi): Rewrite to simply compare and conditionally copy the
68200         symlist and the sysdep abilist file.  Remove update-abi-config
68201         checks.
68202         * abilist/ld.abilist: Remove.
68203         * abilist/libBrokenLocale.abilist: Remove.
68204         * abilist/libanl.abilist: Remove.
68205         * abilist/libcrypt.abilist: Remove.
68206         * abilist/libdl.abilist: Remove.
68207         * abilist/librt.abilist: Remove.
68208         * abilist/libthread_db.abilist: Remove.
68209         * abilist/libutil.abilist: Remove.
68210         * scripts/extract-abilist.awk: Remove.
68211         * scripts/merge-abilist.awk: Remove.
68212         * sysdeps/generic/libcidn.abilist: New file.
68213         * sysdeps/generic/libnss_compat.abilist: New file.
68214         * sysdeps/generic/libnss_db.abilist: New file.
68215         * sysdeps/generic/libnss_dns.abilist: New file.
68216         * sysdeps/generic/libnss_files.abilist: New file.
68217         * sysdeps/generic/libnss_hesiod.abilist: New file.
68218         * sysdeps/generic/libnss_nis.abilist: New file.
68219         * sysdeps/generic/libnss_nisplus.abilist: New file.
68220         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
68221         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
68222         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
68223         file.
68224         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
68225         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
68226         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
68227         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
68228         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
68229         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
68230         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
68231         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
68232         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
68233         file.
68234         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
68235         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
68236         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
68237         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
68238         file.
68239         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
68240         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
68241         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
68242         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
68243         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
68244         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
68245         file.
68246         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
68247         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
68248         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
68249         file.
68250         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
68251         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
68252         New file.
68253         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
68254         New file.
68255         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
68256         New file.
68257         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
68258         New file.
68259         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
68260         New file.
68261         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
68262         New file.
68263         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
68264         New file.
68265         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
68266         New file.
68267         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
68268         New file.
68269         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
68270         New file.
68271         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
68272         New file.
68273         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
68274         New file.
68275         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
68276         New file.
68277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
68278         file.
68279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
68280         New file.
68281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
68282         New file.
68283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
68284         file.
68285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
68286         New file.
68287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
68288         New file.
68289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
68290         file.
68291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
68292         New file.
68293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
68294         New file.
68295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
68296         New file.
68297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
68298         New file.
68299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
68300         New file.
68301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
68302         New file.
68303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
68304         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
68305         file.
68306         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
68307         New file.
68308         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
68309         file.
68310         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
68311         file.
68312         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
68313         file.
68314         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
68315         file.
68316         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
68317         file.
68318         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
68319         New file.
68320         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
68321         file.
68322         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
68323         file.
68324         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
68325         New file.
68326         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
68327         file.
68328         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
68329         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
68330         file.
68331         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
68332         New file.
68333         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
68334         file.
68335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
68336         file.
68337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
68338         file.
68339         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
68340         file.
68341         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
68342         file.
68343         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
68344         New file.
68345         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
68346         file.
68347         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
68348         file.
68349         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
68350         New file.
68351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
68352         file.
68353         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
68354         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
68355         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
68356         file.
68357         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
68358         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
68359         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
68360         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
68361         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
68362         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
68363         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
68364         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
68365         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
68366         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
68367         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
68368         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
68369         file.
68370         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
68371         New file.
68372         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
68373         file.
68374         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
68375         file.
68376         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
68377         file.
68378         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
68379         file.
68380         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
68381         file.
68382         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
68383         New file.
68384         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
68385         New file.
68386         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
68387         file.
68388         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
68389         New file.
68390         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
68391         file.
68392         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
68393         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
68394         file.
68395         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
68396         New file.
68397         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
68398         file.
68399         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
68400         file.
68401         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
68402         file.
68403         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
68404         file.
68405         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
68406         file.
68407         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
68408         New file.
68409         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
68410         New file.
68411         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
68412         file.
68413         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
68414         New file.
68415         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
68416         file.
68418 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
68420         * conform/conformtest.pl: Fix typo in handling typed-constant from
68421         allow-header.
68423 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68425         * README: Cut down references to pre-2.6 Linux kernels and
68426         Linuxthreads.  Update lists of configurations in libc and ports
68427         and sort alphabetically.  Say "or newer" with Linux kernel version
68428         requirements.
68430         * config.h.in [IS_IN_build]: Allow compiling without optimization.
68432 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
68434         [BZ #887]
68435         * math/libm-test.inc (logb_test_downward): New test to expose
68436         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
68437         rounding mode.
68439 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68441         [BZ #14027]
68442         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
68443         to be done.
68444         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
68445         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
68447 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
68449         * sysdeps/unix/i386/brk.S: Remove file.
68450         * sysdeps/unix/i386/dl-brk.S: Likewise.
68451         * sysdeps/unix/i386/pipe.S: Likewise.
68452         * sysdeps/unix/i386/sigreturn.S: Likewise.
68453         * sysdeps/unix/i386/syscall.S: Likewise.
68454         * sysdeps/unix/i386/vfork.S: Likewise.
68455         * sysdeps/unix/i386/wait.S: Likewise.
68457         * sysdeps/unix/common/tcsendbrk.c: Move to ...
68458         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
68460         * configure.in (arm*-none*): Do not allow without
68461         --enable-hacker-mode.
68462         (netbsd*): Remove case setting base_os.
68463         (386bsd*): Likewise.
68464         (freebsd*): Likewise.
68465         (bsdi*): Likewise.
68466         (osf*): Likewise.
68467         (sunos*): Likewise.
68468         (ultrix*): Likewise.
68469         (newsos*): Likewise.
68470         (dynix*): Likewise.
68471         (*bsd*): Likewise.
68472         (sysv*): Likewise.
68473         (isc*): Likewise.
68474         (esix*): Likewise.
68475         (sco*): Likewise.
68476         (minix*): Likewise.
68477         (irix4*): Likewise.
68478         (irix6*): Likewise.
68479         (solaris[2-9]*): Likewise.
68480         (none): Likewise.
68481         * configure: Regenerated.
68483 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68485         [BZ #11521]
68486         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
68487         overflow or cancellation in calculating denominator.
68488         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
68489         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
68490         down expression to avoid unexpected rounding in newer GCCs.
68491         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
68493 2012-04-26  David S. Miller  <davem@davemloft.net>
68495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
68496         long-double compat symbols.
68497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
68499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
68500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
68501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
68502         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
68503         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
68504         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
68505         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
68506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
68507         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
68508         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
68509         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68511 2012-04-25  David S. Miller  <davem@davemloft.net>
68513         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
68514         HWCAP_* values only after the memory barriers have been defined.
68515         (atomic_full_barrier): Define.
68516         (atomic_read_barrier): Define.
68517         (atomic_write_barrier): Define.
68519 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68521         * shlib-versions: Add libgcc_s version information.
68522         * sysdeps/generic/libgcc_s.h: Remove.
68523         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
68524         libgcc_s.h.
68525         * sysdeps/gnu/unwind-resume.c: Likewise.
68526         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
68528 2012-04-25  David S. Miller  <davem@davemloft.net>
68530         * sysdeps/unix/sparc/brk.S: Delete.
68531         * sysdeps/unix/sparc/dl-brk.S: Delete.
68532         * sysdeps/unix/sparc/pipe.S: Delete.
68533         * sysdeps/unix/sparc/sysdep.S: Delete.
68534         * sysdeps/unix/sparc/sysdep.h: Delete.
68535         * sysdeps/unix/sparc/vfork.S: Delete.
68536         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
68537         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
68538         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
68539         (ret_ERRVAL, r0, r1, MOVE): Define.
68540         (JUMPTARGET): Remove.
68541         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
68542         sysdeps/unix/sparc/sysdep.h
68543         (ENTRY, END): Remove.
68544         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68546 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
68548         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
68549         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
68550         -DIS_IN_build.
68552         * timezone/README: Update upstream location and email address for
68553         tzcode and tzdata.
68554         * timezone/zdump.c: Update from tzcode 2012b.
68555         * timezone/zic.c: Likewise.
68557         * configure.in (libc_cv_as_needed): Remove test.
68558         * configure: Regenerated.
68559         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
68560         conditional definition.
68561         [$(have-as-needed) != yes] (no-as-needed): Likewise.
68562         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
68563         * config.make.in (have-as-needed): Remove variable.
68565 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68566             Paul Pluzhnikov  <ppluzhnikov@google.com>
68568         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
68569         strings correctly.
68571 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
68573         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
68574         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
68575         * sysdeps/sh/strlen.S: Likewise.
68577 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68579         * sysdeps/unix/fork.S: Remove file.
68580         * sysdeps/unix/i386/fork.S: Likewise.
68581         * sysdeps/unix/sparc/fork.S: Likewise.
68583         * sysdeps/unix/system.c: Remove file.
68584         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
68586         * sysdeps/unix/getegid.S: Remove file.
68587         * sysdeps/unix/geteuid.S: Likewise.
68589 2012-04-24  Roland McGrath  <roland@hack.frob.com>
68591         * scripts/check-localplt.awk: New file.
68592         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
68593         of diff.
68594         * scripts/data/localplt-generic.data: Add a comment.
68596         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
68597         NODE when __dir_mkfile failed.
68598         * sysdeps/mach/hurd/symlinkat.c: Likewise.
68599         Reported by Ludovic Courtès <ludo@gnu.org>.
68601 2012-04-24  Andreas Jaeger  <aj@suse.de>
68603         * Makerules (common-clean): Also remove gen-as-const-headers
68604         files.
68606 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68608         * Makerules (native-compile): Do not change working directory for
68609         build.  Use $(OUTPUT_OPTION) in command.
68610         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
68612 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68614         [BZ #13886]
68615         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
68616         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
68617         * math/libm-test.inc (floor_test): Add more tests.
68618         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
68620 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68622         * sysdeps/unix/getdents.c: Remove file.
68623         * sysdeps/unix/sysv/getdents.c: Likewise.
68624         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
68626         * sysdeps/unix/syscalls.list (madvise): Add syscall from
68627         sysdeps/unix/mman/syscalls.list.
68628         (mmap): Likewise.
68629         (mprotect): Likewise.
68630         (msync): Likewise.
68631         (munmap): Likewise.
68632         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
68633         * sysdeps/unix/mman/syscalls.list: Remove.
68634         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
68636         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
68637         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
68638         * configure: Regenerated.
68639         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
68640         $(libgcc_s_suffix).
68641         * config.make.in (libgcc_s_suffix): Remove variable.
68643 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
68645         * sysdeps/unix/sysv/gethostname.c: Move to ...
68646         * sysdeps/posix/gethostname.c: ... here.
68648         * sysdeps/unix/execve.S: Remove file.
68650         * sysdeps/unix/_exit.S: Remove file.
68652 2012-04-23  Andreas Jaeger  <aj@suse.de>
68654         [BZ #13739]
68655         * manual/Makefile: Remove make dist support, there's no
68656         need for a stand-alone documentation tar ball.
68657         (TEXI2DVI): Define always, it's not in Makeconfig.
68658         (dist): Removed.
68659         (tar-it): Removed.
68660         (edition): Removed.
68661         (glibc-doc-$(edition).tar): Removed
68662         (%.Z): Removed.
68663         (%.gz): Removed.
68664         (%.uu): Removed.
68665         (ETAGS): Remove, it's in Makeconfig.
68666         (move-if-change): Remove, it's in Makeconfig.
68668 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
68670         [BZ #13970]
68671         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
68672         (strtod, strtof, strtold, strtol, strtoul, strtoq)
68673         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
68674         (strtod_l, strtof_l, strtold_l): Remove __wur.
68675         It is not necessarily an error to ignore strtol's return value.
68676         One can reliably look at the stored endptr to decide whether
68677         the number had valid syntax.
68679 2012-04-21  Andreas Jaeger  <aj@suse.de>
68681         [BZ #13739]
68682         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
68684 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
68686         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
68687         * sysdeps/unix/sysv/Versions: Remove file.
68689 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
68691         [BZ #13927]
68692         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68694 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
68696         [BZ #7064]
68697         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
68698         version from __vm86.
68700 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
68702         * sysdeps/unix/common/lxstat.c: Remove file.
68703         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
68705         * sysdeps/unix/sysv/Makefile: Remove file.
68707         * sysdeps/unix/sysv/direct.h: Remove file.
68709         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
68710         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
68711         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
68712         * sysdeps/unix/sysv/bits/signum.h: Likewise.
68713         * sysdeps/unix/sysv/bits/stat.h: Likewise.
68714         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
68715         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
68717         * sysdeps/unix/sysv/setrlimit.c: Remove file.
68719         * sysdeps/unix/xmknod.c: Remove file.
68720         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
68722         * sysdeps/unix/sysv/settimeofday.c: Remove file.
68724         * sysdeps/unix/sysv/i386/time.S: Remove file.
68726         * sysdeps/unix/fxstat.c: Remove file.
68727         * sysdeps/unix/xstat.c: Likewise.
68728         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
68730         * sysdeps/unix/sysv/sigaction.c: Remove file.
68732         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
68733         (sysdep_headers): Remove variable.
68734         [termio.h not in sysdep_headers] (generated): Likewise.
68735         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
68736         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
68737         * sysdeps/unix/sysv/tcdrain.c: Likewise.
68738         * sysdeps/unix/sysv/tcflow.c: Likewise.
68739         * sysdeps/unix/sysv/tcflush.c: Likewise.
68740         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
68741         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
68742         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
68743         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
68744         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
68746         * sysdeps/unix/siglist.c: Remove file.
68748         * sysdeps/unix/getppid.S: Remove file.
68750         * sysdeps/unix/mkdir.c: Remove file.
68751         * sysdeps/unix/rmdir.c: Likewise.
68753 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
68755         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
68756         ERR_MAX value.
68757         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
68758         errlist-compat value.
68760 2012-04-18  David S. Miller  <davem@davemloft.net>
68762         * sysdeps/generic/memcopy.h (reg_char): Delete.
68763         * debug/strcat_chk.c: Use char, not reg_char.
68764         * debug/strcpy_chk.c: Likewise.
68765         * debug/strncat_chk.c: Likewise.
68766         * debug/strncpy_chk.c: Likewise.
68767         * string/memchr.c: Likewise.
68768         * string/memrchr.c: Likewise.
68769         * string/rawmemchr.c: Likewise.
68770         * string/strcat.c: Likewise.
68771         * string/strchr.c: Likewise.
68772         * string/strchrnul.c: Likewise.
68773         * string/strcmp.c: Likewise.
68774         * string/strcpy.c: Likewise.
68775         * string/strncat.c: Likewise.
68776         * string/strncmp.c: Likewise.
68777         * string/strncpy.c: Likewise.
68779 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68781         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
68782         __builtin_memcopy is called when src and dest ranges are known to not
68783         overlap.
68785 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68787         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
68788         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
68789         fwd_align_merge macro call.
68790         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
68791         bwd_align_merge macro call.
68792         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
68794 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68796         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
68797         bwd_align_merge macros.
68798         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
68799         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
68800         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
68802 2012-04-18  David S. Miller  <davem@davemloft.net>
68804         * sysdeps/sparc/sparc64/memcopy.h: Delete.
68806 2012-04-18  Andreas Jaeger  <aj@suse.de>
68808         [BZ# 6794]
68809         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
68810         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
68811         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68813         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
68814         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
68815         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68817         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
68818         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
68819         Adjust for changed ldbl-128 files.
68821         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
68822         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
68823         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68825 2012-04-17  David S. Miller  <davem@davemloft.net>
68827         * sysdeps/sparc/sparc32/memcopy.h: Delete.
68829 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
68831         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
68832         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
68833         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
68834         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
68835         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
68836         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
68838 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68840         [BZ #6794]
68841         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
68842         * math/libm-test.inc: Add ilogb errno and exception tests.
68843         * math/w_ilogb.c: New file: ilogb wrapper.
68844         * math/w_ilogbf.c: New file: ilogbf wrapper.
68845         * math/w_ilogbl.c: New file: ilogbl wrapper.
68846         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
68847         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
68848         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
68849         exception being thrown with 0.0 as argument.
68850         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
68851         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
68852         exception being thrown with 0.0 as argument.
68853         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
68854         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
68855         exception being thrown with 0.0 as argument.
68856         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
68857         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
68858         exception being thrown with 0.0 as argument.
68859         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
68860         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
68861         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
68862         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
68863         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
68864         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
68865         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
68866         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
68867         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
68869 2012-04-17  Petr Baudis  <pasky@ucw.cz>
68871         * include/sys/uio.h: Change __vector to __iovec to avoid clash
68872         with altivec.
68874 2012-04-16  Marek Polacek  <polacek@redhat.com>
68876         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
68878 2012-04-16  Marek Polacek  <polacek@redhat.com>
68880         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
68881         operands of fdivp instruction.
68883 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
68885         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
68886         * elf/tst-auditmod3b.c: Likewise.
68887         * elf/tst-auditmod4b.c: Likewise.
68888         * elf/tst-auditmod5b.c: Likewise.
68889         * elf/tst-auditmod6b.c: Likewise.
68890         * elf/tst-auditmod6c.c: Likewise.
68891         * elf/tst-auditmod7b.c: Likewise.
68892         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
68893         * sysdeps/x86_64/preconfigure.in: Likewise.
68894         * sysdeps/x86_64/preconfigure: Regenerated.
68896 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
68898         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
68899         __ILP32__.
68901 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
68903         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68904         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
68906 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
68908         [BZ #13973]
68909         * locale/iso-639.def: Fix gl language name. Spotted by
68910         Yaron Shahrabani.
68912 2012-04-12  Roland McGrath  <roland@hack.frob.com>
68914         [BZ #2074]
68915         * libio/libio.h (__io_write_fn): Update comment.
68917 2012-04-12  Petr Baudis  <pasky@ucw.cz>
68919         [BZ #2074]
68920         * stdio.texi (Hook Functions): The user provided writer function
68921         is not allowed to return -1.
68923 2012-04-11  David S. Miller  <davem@davemloft.net>
68925         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68927 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
68929         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
68930         Add a leading slash to rtkaio.
68932 2012-04-11  Jim Meyering  <meyering@redhat.com>
68934         [BZ #11959]
68935         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
68936         It is not necessarily an error to ignore fwrite's return
68937         value.  One can reliably use ferror to test for errors after
68938         the fact.
68940 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
68942         * bits/types.h (__snseconds_t): New type.
68943         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
68945         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
68946         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68947         (__SNSECONDS_T_TYPE): Likewise.
68948         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68949         (__SNSECONDS_T_TYPE): Likewise.
68950         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68951         (__SNSECONDS_T_TYPE): Likewise.
68953 2012-04-10  Andreas Jaeger  <aj@suse.de>
68955         [BZ #2636]
68956         * manual/time.texi (Processor Time): Return type of times is
68957         elapsed real time since an arbitrary point in the past.
68958         (CPU Time): Move CLK_TCK from here...
68959         (Processor Time): ...to here.  Correct description.
68960         * manual/conf.texi (Constants for Sysconf): Correct description of
68961         _SC_CLK_TCK.
68963 2012-04-10  David S. Miller  <davem@davemloft.net>
68965         [BZ #13967]
68966         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
68967         where the is a gap between DT_REL(A) and DT_JMPREL.
68969 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
68971         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
68972         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
68973         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
68975 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
68977         * elf/dl-support.c (_dl_inhibit_cache): New variable.
68978         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
68979         (dl_main): Handle --inhibit-cache.
68980         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
68981         _dl_inhibit_cache.
68982         * elf/dl-load.c (_dl_map_object): Use it.
68983         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
68985 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
68987         [BZ #13872]
68988         * sysdeps/i386/fpu/e_powl.S (p78): New object.
68989         (__ieee754_powl): Saturate large exponents rather than testing for
68990         overflow of y*log2(x).
68991         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68992         * math/libm-test.inc (pow_test): Do not permit spurious overflow
68993         exceptions.
68995         [BZ #11521]
68996         * math/s_ctan.c: Include <float.h>.
68997         (__ctan): Avoid internal overflow or cancellation in calculating
68998         denominator.
68999         * math/s_ctanf.c: Likewise.
69000         * math/s_ctanl.c: Likewise.
69001         * math/s_ctanh.c: Likewise.
69002         * math/s_ctanhf.c: Likewise.
69003         * math/s_ctanhl.c: Likewise.
69004         * math/libm-test.inc (ctan_test): Add more tests.
69005         (ctanh_test): Likewise.
69006         * sysdeps/i386/fpu/libm-test-ulps: Update.
69007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69009 2012-04-09  Andreas Jaeger  <aj@suse.de>
69011         [BZ #6894]
69012         * manual/filesys.texi (Directory Entries): Mention that d_namlen
69013         is an optional BSD extension.
69015         [BZ #10254]
69016         * manual/stdio.texi (Opening Streams): Document additional fopen
69017         parameters.
69019 2012-04-09  Roland McGrath  <roland@hack.frob.com>
69021         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
69022         %eax without telling the compiler.
69024 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
69026         [BZ # 13963]
69027         * manual/install.texi: Use sourceware.org.
69029 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
69031         [BZ #13873]
69032         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
69033         (__ieee754_pow): Generate overflow and underflow using huge*huge
69034         and tiny*tiny rather than just returning constant infinity or zero
69035         for large exponents.
69036         * math/libm-test.inc (pow_test): Require overflow exceptions for
69037         applicable cases of large exponents.
69039         [BZ #706]
69040         * sysdeps/i386/fpu/e_pow.S (p10): New object.
69041         (__ieee754_pow): Use iterative multiplication algorithm only for
69042         integer exponents with absolute value below 1024.  Check for odd
69043         integer exponents when using algorithm for real exponents.
69044         * math/libm-test.inc (pow_test): Add more tests.
69045         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69047 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
69049         [BZ #13705]
69050         * math/libm-test.inc (exp_test): Do not allow overflow exception
69051         on underflow test.
69053 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
69055         [BZ #13705]
69056         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
69057         instead of __kernel_standard_f.
69059 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
69061         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
69062         * sysdeps/x86_64/memset_chk.S: Likewise.
69064 2012-04-08  Andreas Jaeger  <aj@suse.de>
69066         [BZ #10153]
69067         * manual/startup.texi (Environment Access): Describe return value
69068         for putenv and setenv.
69070         [BZ #6895]
69071         * manual/filesys.texi (Directory Entries): Add description for
69072         DT_LNK.
69074         [BZ #6890]
69075         * manual/filesys.texi (Directory Entries): Clarify that it's file
69076         system not operating system in the description of DT_UNKNOWN.
69078         [BZ #6578]
69079         * manual/syslog.texi (closelog): Fix reference, it's openlog.
69081 2012-04-08  Stephen Compall  <s11@member.fsf.org>
69083         [BZ #6649]
69084         * manual/llio.texi (Opening and Closing Files): Add cross
69085         reference to explain mode argument.
69087 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
69089         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
69090         * sysdeps/x86_64/memset_chk.S: Likewise.
69092 2012-04-07  David S. Miller  <davem@davemloft.net>
69094         * elf/elf.h (R_SPARC_WDISP10): Define.
69095         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
69096         R_SPARC_SIZE32.
69097         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
69098         R_SPARC_SIZE64 and R_SPARC_H34.
69100 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
69102         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
69103         conditions and remove no longer applicable assertion.
69105 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
69107         * bits/byteswap.h: Include <features.h>.
69108         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
69109         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
69111 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
69113         * bits/byteswap.h (__bswap_16): Removed.
69114         Include <bits/byteswap-16.h> to get __bswap_16.
69115         * sysdeps/i386/bits/byteswap.h: Likewise.
69116         * sysdeps/s390/bits/byteswap.h: Likewise.
69117         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69118         * bits/byteswap-16.h: New file.
69119         * sysdeps/i386/bits/byteswap-16.h: Likewise.
69120         * sysdeps/s390/bits/byteswap-16.h: Likewise.
69121         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
69122         * string/Makefile (headers): Add bits/byteswap-16.h.
69124 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
69126         [BZ #13895]
69127         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
69128         extra indirection.
69129         * nss/Makefile (tests-static, tests): Add tst-nss-static.
69130         * nss/tst-nss-static.c: New.
69132 2012-04-06  Robert Millan  <rmh@gnu.org>
69134         [BZ #6486]
69135         * manual/llio.texi (File Position Primitive): lseek
69136         refers to WHENCE when it really means OFFSET.
69138 2012-04-06  Andreas Jaeger  <aj@suse.de>
69140         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
69141         strncmp declarations.
69143         * abilist/libc.abilist: Add __poll and __ppoll.
69145 2012-04-05  David S. Miller  <davem@davemloft.net>
69147         * scripts/check-local-headers.sh: Accept a host triplet in the
69148         path matched by the exclude regexp.
69150         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
69151         definition.
69152         * sysdeps/powerpc/powerpc32/dl-machine.h
69153         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
69154         * sysdeps/s390/s390-32/dl-machine.h
69155         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69156         * sysdeps/sparc/sparc32/dl-machine.h
69157         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69158         * sysdeps/sparc/sparc64/dl-machine.h
69159         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69161         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
69162         lazy binding.
69163         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
69164         undefined symbol errors.
69166         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
69167         DT_NEEDED entries.
69169 2012-04-05  Michael Matz  <matz@suse.de>
69171         [BZ #13592]
69172         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
69174 2012-04-05  Andreas Jaeger  <aj@suse.de>
69176         [BZ #13908]
69177         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
69178         comment.
69180 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69182         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
69183         which ROUND is no valid rounding mode.
69185 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69187         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
69188         read again.
69189         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
69191 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69193         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
69194         an exception using FPU order intentionally.
69196 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69198         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
69199         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
69200         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
69201         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
69203 2012-04-05  Simon Josefsson  <simon@josefsson.org>
69205         [BZ #12340]
69206         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
69207         EINVAL when BUFLEN is too smal.
69209 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
69211         [BZ #13553]
69212         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
69213         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
69215 2012-04-03  Andreas Jaeger  <aj@suse.de>
69217         [BZ #13938]
69218         * manual/setjmp.texi (System V contexts): Fix sentence.
69220         [BZ #13926]
69221         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
69222         New macro for this case.
69223         [!__GNUC__] (__bswap_64): New inline function for this case.
69224         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69225         * bits/byteswap.h: Likewise.
69226         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
69227         ull, guard with __GLIBC_HAVE_LONG_LONG.
69229         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
69230         __GLIBC_HAVE_LONG_LONG.
69232         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
69233         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
69235 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69237         [BZ #13691]
69238         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
69239         inptr and inend, rather than using last_ch.
69241 2012-04-02  David S. Miller  <davem@davemloft.net>
69243         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
69244         * stdio-common/printf-parse.h (read_int): Change return type to
69245         'int', return -1 on INT_MAX overflow.
69246         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
69247         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
69248         overflows INT_MAX.  Check for overflow of in-format-string precision
69249         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
69250         SIZE_MAX not INT_MAX for integer overflow test.
69251         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
69252         skip the construct in the format string but do not record anything.
69253         * stdio-common/bug22.c: Adjust to test both width/prevision
69254         INT_MAX overflow as well as total length INT_MAX overflow.  Check
69255         explicitly for proper errno values.
69257 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
69259         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
69260         CHAR_MAX.
69261         * string/test-strcmp.c [! WIDE]: Likewise.
69262         * time/tst-mktime2.c: Likewise for INT_MAX.
69263         * string/test-string.h: #include <sys/param.h> for MIN.
69265         * csu/init-first.c (__libc_init_first): Call __ctype_init.
69266         * sysdeps/i386/init-first.c (init): Likewise.
69267         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
69268         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
69269         * sysdeps/sh/init-first.c (init): Likewise.
69271 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
69273         * po/ru.po: Update from translation team.
69274         * po/vi.po: Likewise.
69276 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
69278         * resolv/nss_dns/dns-host.c: Merge copyright years.
69280 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69282         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
69283         Optimize memcpy with prefetch if
69284         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
69285         src, dst pointers have unequal 16 byte alignments.
69287 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
69289         [BZ #13928]
69290         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
69291         from a CNAME entry and return the minimum ttl for the query.
69292         (gaih_getanswer_slice): Likewise.
69294 2012-03-30  Jeff Law  <law@redhat.com>
69296         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
69297         due to long keys.
69298         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
69299         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
69301         * resolv/nss_dns/dns-host.c: Update copyright year.
69303 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
69305         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
69306         requests to save a system call.  Fix check that all bytes are sent.
69308         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
69309         comments for sendmmsg.
69311 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69313         [BZ #13691]
69314         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
69315         with only 1 character between 0x0041 and 0x01b0.
69316         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
69317         * wcsmbs/tst-mbsnrtowcs.c: New file.
69319 2012-03-29  David S. Miller  <davem@davemloft.net>
69321         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
69322         small copies by hand.
69324 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69326         [BZ #13761]
69327         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
69328         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
69329         group memberships.
69331 2012-03-28  David S. Miller  <davem@davemloft.net>
69333         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
69334         that branches into memcpy.
69335         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
69336         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
69337         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69338         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
69339         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
69340         bits.
69341         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
69342         implementation too.
69343         * sysdeps/sparc/mempcpy.S: New file.
69345         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
69346         the IFUNC routine in the libc case.
69347         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69349         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
69350         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
69351         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
69352         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
69353         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
69354         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
69355         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
69356         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
69358         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
69359         loop to 256 bytes instead of 64 bytes and fix test signedness.
69361         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
69362         * sysdeps/sparc/sparc32/Makefile: rather than here...
69363         * sysdeps/sparc/sparc64/Makefile: and here.
69365 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
69367         * malloc/mallocbug.c: Avoid warnings about unused variables.
69369 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
69371         [BZ #13760]
69372         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
69373         in the right place. Discard and retry query if response is
69374         larger than input buffer size.
69376 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
69378         [BZ #369]
69379         [BZ #2678]
69380         [BZ #3866]
69381         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
69382         x for large integer exponent.
69383         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
69384         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
69385         sign of result as needed afterwards.
69386         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
69387         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
69388         result for underflowing pow the same as for overflow.
69389         (__kernel_standard_l): Handle powl overflow and underflow here
69390         rather than calling __kernel_standard.
69391         * math/libm-test.inc (pow_test): Add more tests.
69393         [BZ #3868]
69394         [BZ #13879]
69395         [BZ #13910]
69396         [BZ #13911]
69397         [BZ #13912]
69398         [BZ #13913]
69399         [BZ #13915]
69400         [BZ #13916]
69401         [BZ #13917]
69402         [BZ #13918]
69403         [BZ #13919]
69404         [BZ #13920]
69405         [BZ #13921]
69406         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
69407         * sysdeps/ieee754/k_standard.c: Include <float.h>.
69408         (__kernel_standard_l): New function.
69409         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
69410         __kernel_standard.
69411         * math/w_acosl.c (__acosl): Likewise.
69412         * math/w_asinl.c (__asinl): Likewise.
69413         * math/w_atan2l.c (__atan2l): Likewise.
69414         * math/w_atanhl.c (__atanhl): Likewise.
69415         * math/w_coshl.c (__coshl): Likewise.
69416         * math/w_exp10l.c (__exp10l): Likewise.
69417         * math/w_exp2l.c (__exp2l): Likewise.
69418         * math/w_fmodl.c (__fmodl): Likewise.
69419         * math/w_hypotl.c (__hypotl): Likewise.
69420         * math/w_j0l.c (__j0l, __y0l): Likewise.
69421         * math/w_j1l.c (__j1l, __y1l): Likewise.
69422         * math/w_jnl.c (__jnl, __ynl): Likewise.
69423         * math/w_lgammal.c (__lgammal): Likewise.
69424         * math/w_log10l.c (__log10l): Likewise.
69425         * math/w_log2l.c (__log2l): Likewise.
69426         * math/w_logl.c (__logl): Likewise.
69427         * math/w_powl.c (__powl): Likewise.
69428         * math/w_remainderl.c (__remainderl): Likewise.
69429         * math/w_scalbl.c (sysv_scalbl): Likewise.
69430         * math/w_sinhl.c (__sinhl): Likewise.
69431         * math/w_sqrtl.c (__sqrtl): Likewise.
69432         * math/w_tgammal.c (__tgammal): Likewise.
69433         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
69434         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
69435         * math/libm-test.inc (acos_test): Add more tests.
69436         (acosh_test): Likewise.
69437         (asin_test): Likewise.
69438         (atanh_test): Likewise.
69439         (exp_test): Likewise.
69440         (exp10_test): Likewise.
69441         (exp2_test): Likewise.
69442         (expm1_test): Likewise.
69443         (lgamma_test): Likewise.
69444         (log_test): Likewise.
69445         (log10_test): Likewise.
69446         (log1p_test): Likewise.
69447         (log2_test): Likewise.
69448         (pow_test): Do not allow some spurious overflow exceptions.
69449         (sqrt_test): Add more tests.
69450         (tgamma_test): Likewise.
69451         (y0_test): Likewise.
69452         (y1_test): Likewise.
69453         (yn_test): Likewise.
69455 2012-03-27  Anton Blanchard  <anton@samba.org>
69457         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
69458         MAP_HUGETLB.
69459         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69460         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
69461         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69463 2012-03-27  David S. Miller  <davem@davemloft.net>
69465         * conform/Makefile: Run run-conformtest.sh using $(BASH).
69467         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
69468         have-as-vis3 check.
69470 2012-03-27  Andreas Jaeger  <aj@suse.de>
69472         * sysdeps/x86_64/elf/configure.in: Moved to ...
69473         * sysdeps/x86_64/configure.in: ... here.
69474         * sysdeps/x86_64/elf/start.S: Moved to ...
69475         * sysdeps/x86_64/start.S: ... here.
69476         * sysdeps/x86_64/elf/configure: Delete.
69478         * sysdeps/x86_64/configure.in: Merge contents from
69479         sysdeps/i386/configure.in (without i686 check).
69481         * sysdeps/i386/elf/Versions: Merge into ...
69482         * sysdeps/i386/Versions: ... this.
69483         * sysdeps/i386/elf/Versions: Delete file.
69484         * sysdeps/i386/elf/start.S: Moved to ...
69485         * sysdeps/i386/start.S: ...here.
69486         * sysdeps/i386/elf/configure.in: Merge into...
69487         * sysdeps/i386/configure.in: ...here.
69488         * sysdeps/i386/elf/configure.in: Delete file.
69489         * sysdeps/i386/elf/configure: Delete file.
69491         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
69492         * debug/backtracesyms.c: ... here.
69493         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
69494         * debug/backtracesymsfd.c: ... here.
69495         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
69496         * sysdeps/generic/ifunc-sel.h: ... here.
69498         * sysdeps/unix/i386/start.c: Delete file.
69499         * sysdeps/unix/sparc/start.c: Delete file.
69500         * sysdeps/unix/start.c: Delete file.
69502         * sysdeps/sh/elf/configure.in: Moved to ...
69503         * sysdeps/sh/configure.in: ... here.
69504         * sysdeps/sh/elf/start.S: Moved to ...
69505         * sysdeps/sh/start.S: ... here.
69506         * sysdeps/sh/elf/configure: Delete file.
69508         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
69509         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
69510         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
69511         * sysdeps/powerpc/powerpc64/entry.h: ... here.
69512         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
69513         * sysdeps/powerpc/powerpc64/start.S: here.
69514         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
69515         * sysdeps/powerpc/powerpc64/Makefile: ... this.
69516         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
69517         * sysdeps/powerpc/powerpc64/configure.in: ... this.
69518         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
69520         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
69521         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
69522         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
69523         * sysdeps/powerpc/powerpc32/start.S: ... here.
69524         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
69525         * sysdeps/powerpc/powerpc32/configure.in: ... this.
69526         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
69528         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
69529         * sysdeps/powerpc/ifunc-sel.h: ... here.
69530         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
69531         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
69533         * sysdeps/sparc/elf/configure.in: Moved to ...
69534         * sysdeps/sparc/configure.in: ... here.
69535         * sysdeps/sparc/elf/configure: Delete file.
69536         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
69537         * sysdeps/sparc/sparc32/start.S: ... here.
69538         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
69539         * sysdeps/sparc/sparc64/start.S: ... here.
69540         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
69541         * sysdeps/sparc/sparc32/Makefile: ... this.
69542         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
69543         * sysdeps/sparc/sparc64/Makefile: ... this.
69545         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
69546         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
69547         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
69548         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
69549         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
69550         * sysdeps/s390/s390-32/setjmp.S: ... here.
69551         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
69552         * sysdeps/s390/s390-32/configure.in: ... here.
69553         * sysdeps/s390/s390-32/elf/configure: Delete file.
69554         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
69555         * sysdeps/s390/s390-32/start.S: ... here.
69557         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
69558         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
69559         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
69560         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
69561         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
69562         * sysdeps/s390/s390-64/setjmp.S: ... here.
69563         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
69564         * sysdeps/s390/s390-64/configure.in: ... here
69565         * sysdeps/s390/s390-64/elf/configure: Delete file.
69566         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
69567         * sysdeps/s390/s390-64/start.S: ... here.
69568         * sysdeps/s390/s390-64/elf/configure: Delete.
69570         * configure.in: Remove support for elf directories in sysdeps.
69572         * configure: Regenerated.
69573         * sysdeps/i386/configure: Regenerated.
69574         * sysdeps/powerpc/powerpc32/configure: Regenerated.
69575         * sysdeps/powerpc/powerpc64/configure: Regenerated.
69576         * sysdeps/s390/s390-32/configure: Regenerated.
69577         * sysdeps/s390/s390-64/configure: Regenerated.
69578         * sysdeps/sh/configure: Regenerated.
69579         * sysdeps/sparc/configure: Regenerated.
69580         * sysdeps/x86_64/configure: Regenerated.
69582 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
69584         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69586         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
69587         denormal result into account.
69589 2012-03-25  Roland McGrath  <roland@hack.frob.com>
69591         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
69592         Reported by Allan McRae <allan@archlinux.org>.
69594 2012-03-23  Jeff Law  <law@redhat.com>
69596         * nss/getnssent.c (__nss_getent): Fix typo.
69598 2012-03-23  David S. Miller  <davem@davemloft.net>
69600         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69602 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
69604         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
69605         to pad to uint64_t for each field.
69606         (dl_tls_index): Replace unsigned long with uint64_t.
69608 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
69609         Paul Pluzhnikov  <ppluzhnikov@google.com>
69611         [BZ #6528]
69612         * grp/Makefile (otherlibs): Don't set it.
69613         * inet/Makefile (otherlibs): Likewise.
69614         * login/Makefile (otherlibs): Likewise.
69615         * nscd/Makefile (otherlibs): Likewise.
69616         * posix/Makefile (otherlibs): Likewise.
69617         * pwd/Makefile (otherlibs): Likewise.
69618         * rt/Makefile (otherlibs): Likewise.
69619         * sunrpc/Makefile (otherlibs): Likewise.
69620         * nss/Makefile (otherlibs): Likewise.
69621         Add libnss_files to routines and static-only-routines.
69622         ($(objpfx)getent): Remove rule.
69623         * resolv/Makefile: Add libnss_dns and libresolv to routines and
69624         static-only-routines.
69626 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69628         [BZ #13892]
69629         * math/s_cexp.c: Include <float.h>.
69630         (__cexp): Handle exp result overflowing not necessarily
69631         overflowing both real and imaginary parts of result.
69632         * math/s_cexpf.c: Likewise.
69633         * math/s_cexpl.c: Likewise.
69634         * math/libm-test.inc (cexp_test): Add more tests.
69635         * sysdeps/i386/fpu/libm-test-ulps: Update.
69636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69638 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69640         * include/link.h (ELFW): New macro.
69641         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
69642         Replace ELF64_R_TYPE with ELFW(R_TYPE).
69644 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69646         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
69647         with uint64_t.
69649 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69651         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
69652         declaration.
69653         (struct La_x32_retval): Likewise.
69655 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69657         * sysdeps/x86_64/preconfigure.in: New file.
69658         * sysdeps/x86_64/preconfigure: New generated file.
69660 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69662         [BZ #13824]
69663         * math/e_exp2l.c: Include <float.h>.
69664         (__ieee754_exp2l): Handle overflow and underflow cases
69665         separately.  Only pass fractional part of argument to
69666         __ieee754_expl.
69667         * math/libm-test.inc (exp2_test): Add more tests.
69669         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
69670         negating x to take absolute value.
69671         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
69672         Likewise.
69673         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
69674         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
69675         Likewise.
69676         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
69677         computing low part if x was negated.
69678         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
69680 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69682         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
69683         la_x32_gnu_pltexit.
69684         (pltexit): Cast int_retval to ptrdiff_t.
69685         * elf/tst-auditmod3b.c: Likewise.
69686         * elf/tst-auditmod4b.c: Likewise.
69687         * elf/tst-auditmod5b.c: Likewise.
69688         * elf/tst-auditmod6b.c: Likewise.
69689         * elf/tst-auditmod6c.c: Likewise.
69690         * elf/tst-auditmod7b.c: Likewise.
69692         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
69693         and x32_gnu_pltexit.
69695         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
69696         __ELF_NATIVE_CLASS.
69697         (La_x32_regs): New macro.
69698         (La_x32_retval): Likewise.
69699         (la_x32_gnu_pltenter): New function prototype.
69700         (la_x32_gnu_pltexit): Likewise.
69702 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
69704         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
69705         exponent.
69707         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69709         * configure.in (libc_cv_cc_nofma): Check for option to disable
69710         generation of FMA instructions.
69711         * configure: Regenerate.
69712         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
69713         * sysdeps/ieee754/dbl-64/Makefile: New file.
69714         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
69715         Remove brandred-fma4.
69716         (CFLAGS-brandred-fma4.c): Remove.
69717         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
69718         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
69719         define.
69720         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
69721         define.
69723 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69725         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
69726         LLONG_MAX != LONG_MAX.
69727         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69728         (_fitoa_word): Likewise.
69729         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
69730         LLONG_MAX != LONG_MAX.
69731         * stdio-common/_itowa.h: Include <_itoa.h>.
69732         (_itowa_word): Use _ITOA_WORD_TYPE on value.
69733         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
69734         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
69735         only if not defined.
69736         (_ITOA_WORD_TYPE): Likewise.
69737         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69738         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
69740 2012-03-21  David S. Miller  <davem@davemloft.net>
69742         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69744 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69746         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
69747         of x86_64 when setting libc_cv_slibdir, libdir and
69748         libc_cv_localedir.
69749         * sysdeps/unix/sysv/linux/configure: Regenerated.
69751 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69753         * manual/lang.texi (Old Varargs): Remove section.
69754         (How Variadic): Update menu.
69755         (va_start): Do not mention varargs.h.
69757 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69758             Joseph Myers  <joseph@codesourcery.com>
69760         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
69761         link test.
69762         * configure: Regenerated.
69764 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69766         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
69767         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
69768         conformtest.pl
69770 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69772         * NOTES: Remove.
69773         * Makefile (files-for-dist): Remove NOTES.
69774         (NOTES): Remove rule.
69775         * README: Don't refer to NOTES.
69776         * manual/creature.texi: Don't include macros.texi.
69777         * manual/intro.texi (creature.texi): Remove comment referring to
69778         NOTES.
69780         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
69781         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
69782         * configure: Regenerated.
69783         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
69784         LIBC_TRY_CC_OPTION.
69785         (libc_cv_as_i686): Likewise.
69786         (libc_cv_cc_avx): Likewise.
69787         (libc_cv_cc_sse2avx): Likewise.
69788         (libc_cv_cc_fma4): Likewise.
69789         (libc_cv_cc_novzeroupper): Likewise.
69790         * sysdeps/i386/configure: Regenerated.
69792         [BZ #13883]
69793         * sysdeps/i386/fpu/s_cexp.S: Remove.
69794         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
69795         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
69796         * math/libm-test.inc (cexp_test): Add more tests.
69797         * sysdeps/i386/fpu/libm-test-ulps: Update.
69798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69800 2012-03-21  Allan McRae  <allan@archlinux.org>
69802         * timezone/Makefile: Do not install iso3166.tab and zone.tab
69804 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69806         [BZ #13871]
69807         * math/w_exp2.c: Do not include <float.h>.
69808         (o_threshold, u_threshold): Remove.
69809         (__exp2): Calculate result before checking finiteness and calling
69810         __kernel_standard.
69811         * math/w_exp2f.c: Likewise.
69812         * math/w_exp2l.c: Likewise.
69813         * math/libm-test.inc (exp2_test): Require overflow exception for
69814         1e6 input.
69816         [BZ #3866]
69817         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
69818         range of signed 64-bit integers before using fistpll.  Remove
69819         checks for whether integers fit in mantissa bits.
69820         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
69821         the range of signed 32-bit integers before using fistpl.  Remove
69822         checks for whether integers fit in mantissa bits.
69823         * sysdeps/i386/fpu/e_powl.S (p64): New object.
69824         (__ieee754_powl): Test for y outside the range of signed 64-bit
69825         integers before using fistpll.  Reduce 64-bit values to 63-bit
69826         ones as needed.
69827         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
69828         divide-by-zero is raised for zero to large negative powers.
69829         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
69830         (__ieee754_powl): Test for y outside the range of signed 64-bit
69831         integers before using fistpll.  Reduce 64-bit values to 63-bit
69832         ones as needed.
69833         * math/libm-test.inc (pow_test): Add more tests.
69835 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69837         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
69838         <stdio-common/_itoa.h>.
69839         * debug/segfault.c: Likewise.
69840         * elf/dl-cache.c: Likewise.
69841         * elf/dl-minimal.c: Likewise.
69842         * elf/dl-misc.c: Likewise.
69843         * elf/dl-sysdep.c: Likewise.
69844         * elf/dl-version.c: Likewise.
69845         * elf/rtld.c: Likewise.
69846         * hurd/hurdsock.c: Likewise.
69847         * hurd/lookup-retry.c: Likewise.
69848         * malloc/malloc.c: Likewise.
69849         * malloc/mtrace.c: Likewise.
69850         * nscd/nscd_getgr_r.c: Likewise.
69851         * nscd/nscd_getpw_r.c: Likewise.
69852         * nscd/nscd_getserv_r.c: Likewise.
69853         * posix/getopt_init.c: Likewise.
69854         * posix/wordexp.c: Likewise.
69855         * stdio-common/_itoa.c: Likewise.
69856         * stdio-common/printf_fphex.c: Likewise.
69857         * stdio-common/vfprintf.c: Likewise.
69858         * string/_strerror.c: Likewise.
69859         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
69860         * sysdeps/i386/i686/hp-timing.h: Likewise.
69861         * sysdeps/mach/_strerror.c: Likewise.
69862         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
69863         * sysdeps/mach/hurd/sethostid.c: Likewise.
69864         * sysdeps/mach/hurd/xmknodat.c: Likewise.
69865         * sysdeps/mach/xpg-strerror.c: Likewise.
69866         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
69867         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
69868         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
69869         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
69870         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
69871         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
69872         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
69873         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
69874         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
69875         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
69876         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
69877         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
69878         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
69879         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
69880         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
69881         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
69882         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
69883         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
69884         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
69885         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
69886         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
69888         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
69890         * stdio-common/_itoa.h: Moved to ...
69891         * sysdeps/generic/_itoa.h: Here.
69893         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
69895         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
69896         instead of "_itoa.h" and "_itowa.h".
69897         * stdio-common/vfprintf.: Likewise.
69899 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69901         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
69902         <bits/wordsize.h>.
69903         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
69904         (__signbit): Likwise.
69905         (llrintf): Likwise.
69906         (llrint): Likwise.
69908 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69910         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
69911         __WORDSIZE != 64.
69913 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
69915         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
69916         OVERFLOW_EXCEPTION_OK.
69917         * math/libm-test.inc ("Philosophy"): Update comment about
69918         exception testing.
69919         (OVERFLOW_EXCEPTION): Define.
69920         (OVERFLOW_EXCEPTION_OK): Likewise.
69921         (INVALID_EXCEPTION_OK): Renumber.
69922         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
69923         (IGNORE_ZERO_INF_SIGN): Likewise.
69924         (test_exceptions): Handle FE_OVERFLOW.
69925         (exp10_test): Expect overflow exceptions.
69926         (exp2_test): Likewise.
69927         (expm1_test): Likewise.
69928         (nextafter_test): Likewise.
69929         (pow_test): Likewise.
69930         (scalbn_test): Likewise.
69931         (scalbln_test): Likewise.
69933 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69935         * sysdeps/x86_64/bits/atomic.h
69936         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
69937         64bit integer.
69938         (atomic_exchange_acq): Likewise.
69939         (__arch_exchange_and_add_body): Likewise.
69940         (__arch_add_body): Likewise.
69941         (atomic_add_negative): Likewise.
69942         (atomic_add_zero): Likewise.
69944 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69946         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
69947         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
69949 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69951         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
69952         Check __x86_64__ instead of __WORDSIZE.
69954 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69956         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
69958 2012-03-19  David S. Miller  <davem@davemloft.net>
69960         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69962         * sysdeps/sparc/fpu/fenv_private.h: New file.
69963         * sysdeps/sparc/fpu/math_private.h: Use it.
69964         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
69965         Remove.
69966         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
69967         (libc_feholdexcept_setroundl): Remove.
69968         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
69969         Remove.
69970         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
69971         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
69973 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69975         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
69976         int64_t instead of long int.
69977         (INSERT_WORDS64): Likwise.
69979 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69981         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
69982         _Unwind_GetCFA return to _Unwind_Ptr first.
69984 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
69986         [BZ #13629]
69987         * math/s_clog.c: Include <float.h>.
69988         (__clog): Scale large or subnormal inputs.
69989         * math/s_clogf.c: Likewise.
69990         * math/s_clogl.c: Likewise.
69991         * math/s_clog10.c: Include <float.h>.
69992         (M_LOG10_2): Define.
69993         (__clog10): Scale large or subnormal inputs.
69994         * math/s_clog10f.c: Likewise.
69995         * math/s_clog10l.c: Likewise.
69996         * math/libm-test.inc (clog_test): Add more tests.
69997         (clog10_test): Likewise.
69998         * sysdeps/i386/fpu/libm-test-ulps: Update.
69999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70001         [BZ #11451]
70002         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
70003         x and y.
70004         * math/libm-test.inc (atan2_test): Add another test.
70006         * Makerules (common-objdir-compile): Remove.
70007         * sysdeps/unix/Makefile (config-generated): Do not add
70008         $(unix-generated) to variable.
70009         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
70010         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
70011         Remove rule.
70012         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
70013         Likewise.
70014         [generic bits/local_lim.h] (before-compile): Do not append to
70015         variable.
70016         [generic bits/local_lim.h] (common-generated): Likewise.
70017         [generic sys/param.h] (before-compile): Do not append to variable.
70018         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
70019         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
70020         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
70021         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
70022         include.
70023         [generic sys/param.h] (sys/param.h-includes): Remove variable.
70024         [generic sys/param.h] (sys/param.h-includes): Remove rule.
70025         [generic sys/param.h] ($(addprefix
70026         $(common-objpfx),$(sys/param.h-includes))): Likewise.
70027         [generic sys/param.h] (common-generated): Do not append to
70028         variable.
70029         [generic sys/param.h] (sysdep_headers): Likewise.
70030         [generic bits/errno.h] (before-compile): Do not append to
70031         variable.
70032         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
70033         rule.
70034         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
70035         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
70036         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
70037         [generic bits/errno.h] (common-generated): Do not append to
70038         variable.
70039         [generic bits/ioctls.h] (before-compile): Do not append to
70040         variable.
70041         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
70042         rule.
70043         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
70044         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
70045         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
70046         rule.
70047         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
70048         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
70049         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
70050         [generic bits/ioctls.h] (common-generated): Do not append to
70051         variable.
70052         [generic sys/syscall.h] (syscall.h): Remove variable.
70053         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
70054         rule.
70055         [generic sys/syscall.h] (before-compile): Do not append to
70056         variable.
70057         [generic sys/syscall.h] (common-generated): Likewise.
70058         * sysdeps/unix/errnos-tmpl.c: Remove file.
70059         * sysdeps/unix/errnos.awk: Likewise.
70060         * sysdeps/unix/ioctls-tmpl.c: Likewise.
70061         * sysdeps/unix/ioctls.awk: Likewise.
70062         * sysdeps/unix/mk-local_lim.c: Likewise.
70063         * sysdeps/unix/snarf-ioctls: Likewise.
70065 2012-03-19  Richard Henderson  <rth@twiddle.net>
70067         * sysdeps/i386/fpu/fenv_private.h: New file.
70068         * sysdeps/i386/fpu/math_private.h: Use it.
70069         (math_opt_barrier, math_force_eval): Remove.
70070         (libc_feholdexcept_setround_53bit): Remove.
70071         (libc_feupdateenv_53bit): Remove.
70072         * sysdeps/x86_64/fpu/math_private.h: Likewise.
70073         (math_opt_barrier, math_force_eval): Remove.
70074         (libc_feholdexcept): Remove.
70075         (libc_feholdexcept_setround): Remove.
70076         (libc_fetestexcept, libc_fesetenv): Remove.
70077         (libc_feupdateenv_test): Remove.
70078         (libc_feupdateenv, libc_feholdsetround): Remove.
70079         (libc_feresetround): Remove.
70081         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
70082         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
70084         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
70085         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
70086         (libc_feupdateenv_testl): New.
70087         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
70088         (libc_feupdateenv_testf): New.
70089         (libc_feupdateenv): Use libc_feupdateenv_test.
70090         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
70091         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
70093         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
70094         (libc_feholdsetroundf, libc_feholdsetroundl): New.
70095         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
70096         (libc_feresetround_noex): New.
70097         (libc_feresetround_noexf): New.
70098         (libc_feresetround_noexl): New.
70099         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
70100         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
70101         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
70102         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
70103         SET_RESTORE_ROUND.
70104         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
70105         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
70106         (__cos): Likewise.
70107         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
70108         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
70109         SET_RESTORE_ROUND_NOEX.
70110         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
70111         SET_RESTORE_ROUND_NOEXF.
70112         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
70113         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
70114         (libc_feholdsetroundf): New.
70115         (libc_feresetround, libc_feresetroundf): New.
70117         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
70118         (libc_feholdexcept_setround_53bit): Convert from macro to function.
70119         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
70121         * sysdeps/generic/math_private.h: Include <fenv.h>.
70122         (default_libc_feholdexcept): New.
70123         (default_libc_feholdexcept_setround): New.
70124         (default_libc_fesetenv, default_libc_feupdateenv): New.
70125         (libc_feholdexcept): Only define if undefined.
70126         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
70127         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
70128         (libc_feholdexcept_setroundl): Likewise.
70129         (libc_feholdexcept_setround_53bit): Likewise.
70130         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
70131         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
70132         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
70133         (libc_feupdateenv_53bit): Likewise.
70134         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
70135         (libc_feholdexcept): Convert from macro to inline function.
70136         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
70137         (libc_fesetenv, libc_feupdateenv): Likewise.
70139         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
70140         not previously defined.
70141         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
70142         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
70143         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
70144         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
70145         * sysdeps/ieee754/flt-32/math_private.h: New file.
70146         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
70147         math_private.h below SET_FLOAT_WORD.
70148         (__isnan, __isinf_ns, __finite): Remove.
70149         (__isnanf, __isinf_nsf, __finitef): Remove.
70151 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
70153         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70155 2012-03-17  David S. Miller  <davem@davemloft.net>
70157         [BZ #6471]
70158         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
70159         for 2.16.
70161 2012-03-16  David S. Miller  <davem@davemloft.net>
70163         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
70164         warnings.
70166         [BZ #6471]
70167         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
70168         properly.
70169         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
70170         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
70171         sysdep_routines when subdir is sysvipc.
70172         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
70173         __getshmlba helper.
70175         * sysdeps/sparc/fpu/libm-test/ulps: Update.
70177 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70179         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
70180         [__LP64__].
70182 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70184         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
70185         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
70186         (__lround): Renamed to ...
70187         (__llround): This.  Replace long int with long long int.
70188         Define lround functions as aliases of llround functions.
70189         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
70191 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70193         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
70194         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
70195         adresses to uintptr_t.  Replace "long int" and "unsigned long
70196         int" with "greg_t" on va_arg.
70198 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70200         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
70201         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
70203         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
70204         Move e_machine check before EI_CLASS check.  Handle x32
70205         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
70206         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
70207         SKIP_EM_IA_64 and include
70208         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
70210         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
70211         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
70212         (add_system_dir): New macro.
70214         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
70215         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
70217 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
70219         [BZ #2551]
70220         [BZ #2552]
70221         [BZ #2553]
70222         [BZ #2554]
70223         [BZ #2562]
70224         [BZ #2563]
70225         [BZ #2565]
70226         [BZ #2566]
70227         [BZ #2576]
70228         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
70229         (y0): Likewise.
70230         * math/w_j0f.c (j0f): Likewise.
70231         (y0f): Likewise.
70232         * math/w_j0l.c (__j0l): Likewise.
70233         (__y0l): Likewise.
70234         * math/w_j1.c (j1): Likewise.
70235         (y1): Likewise.
70236         * math/w_j1f.c (j1f): Likewise.
70237         (y1f): Likewise.
70238         * math/w_j1l.c (__j1l): Likewise.
70239         (__y1l): Likewise.
70240         * math/w_jn.c (jn): Likewise.
70241         (yn): Likewise.
70242         * math/w_jnf.c (jnf): Likewise.
70243         (ynf): Likewise.
70244         * math/w_jnl.c (__jnl): Likewise.
70245         (__ynl): Likewise.
70246         * math/libm-test.inc (j0_test): Add more tests.
70247         (j1_test): Likewise.
70248         (jn_test): Likewise.  Add trailing semicolon to existing test.
70249         (y0_test): Likewise.
70250         (y1_test): Likewise.
70251         * sysdeps/i386/fpu/libm-test-ulps: Update.
70252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70254         [BZ #13851]
70255         [BZ #13854]
70256         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
70257         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
70258         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
70259         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
70260         (__tanl): Set errno for infinite argument.
70261         * sysdeps/i386/fpu/mptan.c: Remove.
70262         * sysdeps/i386/fpu/s_tan.S: Likewise.
70263         * sysdeps/i386/fpu/s_tanl.S: Likewise.
70264         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
70265         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
70266         * math/libm-test.inc (tan_test): Add more tests and enable more
70267         tests for double and long double.
70268         * sysdeps/i386/fpu/libm-test-ulps: Update.
70269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70271 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
70273         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
70274         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
70276 2012-03-16  Roland McGrath  <roland@hack.frob.com>
70278         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
70279         * configure.in: Use it for both main tree and add-ons.
70280         * configure: Regenerated.
70282 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70284         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
70286 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
70288         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
70289         in comment.
70291         [BZ #13851]
70292         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
70293         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
70294         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
70295         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
70296         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
70297         infinite argument.
70298         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
70299         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
70300         != 0 for prec == 2.
70301         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
70302         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
70303         * sysdeps/i386/fpu/s_cosl.S: Likewise.
70304         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
70305         * sysdeps/i386/fpu/s_sinl.S: Likewise.
70306         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
70307         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
70308         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
70309         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
70310         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
70311         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
70312         * math/libm-test.inc (cos_test): Add more tests and enable more
70313         tests for long double.
70314         (sin_test): Likewise.
70315         (sincos_test): Likewise.
70316         * sysdeps/i386/fpu/libm-test-ulps: Update.
70317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70319 2012-03-16  David S. Miller  <davem@davemloft.net>
70321         * sysdeps/sparc/fpu/math_private.h: New file.
70323 2012-03-15  David S. Miller  <davem@davemloft.net>
70325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
70326         file.
70327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
70328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
70329         file.
70330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
70331         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
70332         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
70333         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
70334         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
70335         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
70336         sysdep routines.
70337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70339         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
70340         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
70342         * sysdeps/sparc/sparc-ifunc.h: New file.
70343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
70344         sparc-ifunc.h
70345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
70346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
70347         Likewise.
70348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
70349         Likewise.
70350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
70351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
70352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
70354         Likewise.
70355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
70356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
70357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
70358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
70359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
70360         Likewise.
70361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
70362         Likewise.
70363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
70364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
70365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
70366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
70367         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
70368         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
70369         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
70370         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
70371         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
70372         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
70373         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
70374         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
70375         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
70376         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
70377         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
70378         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
70379         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
70380         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
70381         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
70382         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
70383         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
70384         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
70385         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
70386         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
70388 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70390         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
70391         scaling.
70392         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70394 2012-03-15  Andreas Jaeger  <aj@suse.de>
70396         [BZ #13852]
70397         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
70398         ieee754/flt-32 implementation for sin, cos and sincos.
70399         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
70400         * sysdeps/i386/fpu/s_cosf.S: Likewise.
70401         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
70402         * sysdeps/i386/fpu/s_sinf.S: Likewise.
70403         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
70404         ieee754/flt-32 implementation for tan.
70406         * math/libm-test.inc (cos_test): Enable some large input tests for
70407         float as well
70408         (sin_test): Likewise.
70409         (sincos_test): Likewise.
70410         (tan_test): Add tests for large input.
70412         * sysdeps/i386/fpu/libm-test-ulps: Update.
70414 2012-03-15  Andreas Jaeger  <aj@suse.de>
70416         [BZ #13658]
70417         * math/libm-test.inc (cos_test): Add more test cases.
70418         (sin_test): Likewise.
70419         (sincos_test): Likewise.
70421 2012-03-15  Andreas Jaeger  <aj@suse.de>
70423         [BZ #13837]
70424         * math/libm-test.inc (cos_test): Add a test case for large input
70425         value.
70426         (sin_test): Likewise.
70427         (sincos_test): Likewise.
70429 2012-03-15  Andreas Jaeger  <aj@suse.de>
70430             Joseph Myers  <joseph@codesourcery.com>
70432         [BZ #13658]
70433         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
70434         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
70435         * sysdeps/i386/fpu/branred.c: Likewise.
70436         * sysdeps/i386/fpu/dosincos.c: Likewise.
70437         * sysdeps/i386/fpu/mpa.c: Likewise.
70438         * sysdeps/i386/fpu/s_cos.S: Likewise.
70439         * sysdeps/i386/fpu/s_sin.S: Likewise.
70440         * sysdeps/i386/fpu/s_sincos.S: Likewise.
70441         * sysdeps/i386/fpu/sincos32.c: Likewise.
70443         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
70444         Define.
70445         (libc_feupdateenv_53bit): Define.
70446         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
70447         Define.
70448         (libc_feupdateenv_53bit): Define.
70450         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
70451         53 bit (without extend i386 double precision).
70453         * math/libm-test.inc (sincos_test): Add tests for large input.
70454         (sin): Likewise.
70455         (cos): Likewise.
70457         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
70459 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70461         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70463 2012-03-15  David S. Miller  <davem@davemloft.net>
70465         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
70466         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
70467         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
70468         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
70469         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
70470         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
70471         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
70472         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
70473         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
70474         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
70475         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
70476         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
70477         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
70478         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
70479         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
70480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
70481         file.
70482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
70483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
70484         file.
70485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
70486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
70487         file.
70488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
70489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
70490         file.
70491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
70492         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
70493         fmin/fmax sysdep routines.
70494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70496 2012-03-14  David S. Miller  <davem@davemloft.net>
70498         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
70499         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
70500         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
70501         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
70502         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
70503         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
70504         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
70505         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
70506         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
70507         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
70508         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
70509         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
70510         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
70511         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
70512         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
70513         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
70514         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
70515         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
70516         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
70517         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
70518         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
70519         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
70520         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
70521         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
70522         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
70523         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
70524         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
70525         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
70526         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
70527         routines.
70528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
70529         file.
70530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
70531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
70532         file.
70533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
70534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
70535         file.
70536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
70537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
70538         file.
70539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
70540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
70541         file.
70542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
70543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
70544         file.
70545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
70546         file.
70547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
70548         file.
70549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
70550         file.
70551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
70552         New file.
70553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
70554         file.
70555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
70556         file.
70557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
70558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
70559         file.
70560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
70561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
70562         file.
70563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
70564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
70565         file.
70566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
70567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
70568         VIS3 routines.
70570         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
70571         New file.
70573         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70575         * sysdeps/sparc/configure.in: New file.
70576         * sysdeps/sparc/configure: Generate.
70577         * configure.in (libc_cv_sparc_as_vis3): Substitute.
70578         * configure: Regenerate.
70579         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
70580         * config.make.in (have-as-vis3): New.
70581         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
70582         available use -Av9d instead of -Av9a.
70583         * sysdeps/sparc/sparc64/Makefile: Likewise.
70584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
70585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
70586         New file.
70587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
70588         file.
70589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
70590         New file.
70591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
70592         file.
70593         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
70594         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
70595         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
70596         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
70597         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
70599         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
70600         fzeros/fnegs to load 0x80000000 into a float register instead of
70601         using the stack.
70602         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
70604 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70606         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70607         bits/syscall.h.
70608         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
70609         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
70610         ($(inst_includedir)/bits/syscall.h): Remove rule.
70611         ($(objpfx)bits/syscall.d): Include instead of
70612         $(objpfx)syscall-list.d.
70613         (generated): Change syscall-list.h and syscall-list.d to
70614         bits/syscall.h and bits/syscall.d.
70616 2012-03-14  Roland McGrath  <roland@hack.frob.com>
70618         [BZ #13846]
70619         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
70621 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70623         [BZ #13841]
70624         * math/s_csqrt.c: Include <float.h>.
70625         (__csqrt): Scale large or subnormal inputs.
70626         * math/s_csqrtf.c: Likewise.
70627         * math/s_csqrtl.c: Likewise.
70628         * math/libm-test.inc (csqrt_test): Add more tests.
70629         * sysdeps/i386/fpu/libm-test-ulps: Update.
70630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70632         [BZ #13840]
70633         * math/libm-test.inc (hypot_test): Add more tests.
70635 2012-03-13  David S. Miller  <davem@davemloft.net>
70637         [BZ #13840]
70638         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
70639         double-precision for the calculation instead of scaling.
70641 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
70643         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
70644         manipulate bits before adding and subtracting TWO52[sx].
70645         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
70646         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
70647         Likewise.
70648         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
70650 2012-03-13  David S. Miller  <davem@davemloft.net>
70652         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
70653         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
70654         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
70655         rtld-global-offsets.h
70656         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70658         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
70659         large parameters.
70661         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
70663         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
70664         'err' in the ifdef scope in which it is actually used.
70666         * nss/nss_db/db-init.c: Include string.h
70668 2012-03-12  David S. Miller  <davem@davemloft.net>
70670         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
70671         masking out of the most significant byte of random value used.
70672         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70673         Fix coding style in previous change.
70675         * sysdeps/unix/sysv/linux/kernel-features.h
70676         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
70677         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
70678         expression.
70679         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
70680         later.
70682 2012-03-11  David S. Miller  <davem@davemloft.net>
70684         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
70685         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
70686         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
70687         for 'resultvar' otherwise things get truncated on 64-bit.
70689         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70690         Fix masking out of the most significant byte of random value used.
70692         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70694 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
70696         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70698 2012-03-09  David S. Miller  <davem@davemloft.net>
70700         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
70701         variables with appropriate CPP guards.
70702         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
70703         from the frame pointer, not the stack pointer.  Correct layout
70704         comments.  Fix test on resulting framesize and the management of
70705         the outregs buffer for pltexit.  Preserve floating point return
70706         values across _dl_call_pltexit call.
70707         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
70708         framesize and the management of the outregs buffer for pltexit.
70709         Preserve floating point return values across _dl_call_pltexit
70710         call.
70711         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
70712         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
70713         (la_sparc64_gnu_pltexit): New functions.
70714         (print_exit): Fix format string for return register value.
70716 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
70718         * sunrpc/Makefile (others): Add rpcgen.
70719         ($(objpfx)rpcgen): Remove special build rule and dependency on
70720         libc.
70721         * sunrpc/rpcgen.c: New file.
70723 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
70725         [BZ #13673]
70726         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
70727         * stdio-common/bug-vfprintf-nargs.c: Likewise.
70728         * sysdeps/i386/crti.S: Likewise.
70729         * sysdeps/i386/crtn.S: Likewise.
70730         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
70731         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
70732         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
70733         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
70734         * sysdeps/sh/crti.S: Likewise.
70735         * sysdeps/sh/crtn.S: Likewise.
70736         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
70738         [BZ #13673]
70739         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
70740         with URL.
70741         * locale/programs/locfile-kw.gperf: Likewise.
70742         * locale/programs/charmap-kw.h: Regenerated.
70743         * locale/programs/locfile-kw.h: Likewise.
70745         [BZ #13673]
70746         * intl/plural.y: Replace FSF snail mail address with URL.
70747         * intl/plural.c: Regenerated.
70749 2012-03-09  Richard Henderson  <rth@twiddle.net>
70751         * include/math_private.h: Remove file.
70752         * math/math_private.h: Move file ...
70753         * sysdeps/generic/math_private.h: ... here.
70755         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
70756         * sysdeps/powerpc/fpu/math_private.h: Likewise.
70757         * sysdeps/x86_64/fpu/math_private.h: Likewise.
70759         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
70760         and <math_private.h>.
70761         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
70762         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
70763         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
70764         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
70765         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
70766         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
70767         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
70768         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70769         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
70770         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70771         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70772         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70773         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
70774         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70775         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
70776         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
70777         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70778         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
70779         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
70780         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
70781         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70782         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
70783         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
70784         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70785         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
70786         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
70787         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
70788         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70789         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70790         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
70791         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
70792         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70793         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
70794         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
70795         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
70796         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
70797         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
70798         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
70799         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
70800         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70801         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
70802         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
70803         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
70804         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
70805         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
70806         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
70807         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
70808         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
70809         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
70810         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
70811         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
70812         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
70813         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
70814         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
70815         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
70816         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
70817         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70818         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
70819         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
70820         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
70821         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
70822         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
70823         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70824         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
70825         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
70826         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
70827         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
70828         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
70829         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
70830         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
70831         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
70832         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70833         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
70834         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70835         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
70836         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
70837         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
70838         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
70839         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
70840         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
70841         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
70842         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
70843         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
70844         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
70845         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
70846         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
70847         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
70848         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
70849         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
70850         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70851         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70852         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
70853         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70854         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
70855         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
70856         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
70857         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70858         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
70859         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
70860         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
70861         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
70862         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
70863         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
70864         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
70865         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
70866         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
70867         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
70868         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
70869         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
70870         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
70871         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
70872         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
70873         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
70874         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
70875         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
70876         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70877         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
70878         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
70879         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
70880         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
70881         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
70882         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
70883         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70884         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
70885         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
70886         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
70887         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
70888         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
70889         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
70890         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
70891         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
70892         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
70893         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
70894         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
70895         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
70896         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70897         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
70898         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
70899         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
70900         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
70901         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70902         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70903         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70904         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
70905         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
70906         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
70907         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
70908         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
70909         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
70910         * sysdeps/ieee754/k_standard.c: Likewise.
70911         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
70912         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
70913         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70914         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
70915         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
70916         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
70917         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
70918         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
70919         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
70920         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
70921         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70922         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
70923         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
70924         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
70925         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
70926         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
70927         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
70928         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
70929         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
70930         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
70931         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
70932         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
70933         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
70934         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
70935         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
70936         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
70937         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
70938         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
70939         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
70940         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
70941         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
70942         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
70943         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
70944         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
70945         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
70946         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
70947         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
70948         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
70949         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
70950         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
70951         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
70952         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
70953         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
70954         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
70955         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
70956         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
70957         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
70958         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
70959         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
70960         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
70961         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
70962         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
70963         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
70964         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
70965         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
70966         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
70967         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
70968         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
70969         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
70970         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
70971         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
70972         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
70973         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
70974         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
70975         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70976         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70977         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
70978         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
70979         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
70980         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
70981         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
70982         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70983         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
70984         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
70985         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
70986         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
70987         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
70988         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
70989         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70990         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
70991         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
70992         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
70993         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
70994         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
70995         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
70996         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
70997         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
70998         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
70999         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
71000         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
71001         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
71002         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
71003         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
71004         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
71005         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
71006         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
71007         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
71008         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
71009         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
71010         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
71011         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
71012         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
71013         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
71014         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
71015         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
71016         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
71017         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
71018         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
71019         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
71020         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
71021         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
71022         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
71023         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
71024         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71025         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
71026         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71027         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
71028         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71029         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71030         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
71031         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71032         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
71033         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
71034         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
71035         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71036         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
71037         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
71038         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
71039         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
71040         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
71041         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
71042         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
71043         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
71044         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
71045         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
71046         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
71047         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
71048         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
71049         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
71050         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
71051         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
71052         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
71053         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
71054         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
71055         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
71056         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
71057         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
71058         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
71059         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
71060         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
71061         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
71062         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
71063         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
71064         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
71065         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
71066         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
71067         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
71068         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
71069         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
71070         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
71071         * sysdeps/ieee754/s_lib_version.c: Likewise.
71072         * sysdeps/ieee754/s_matherr.c: Likewise.
71073         * sysdeps/ieee754/s_signgam.c: Likewise.
71074         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
71075         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
71076         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
71077         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
71078         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
71079         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
71080         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
71081         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
71082         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
71083         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
71084         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
71085         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
71086         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
71087         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
71088         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
71089         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
71090         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
71091         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
71092         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
71093         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
71094         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
71096 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
71098         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
71099         * sunrpc/rpc_main.c: Likewise.
71100         * sunrpc/rpc_svcout.c: Likewise.
71102 2012-03-09  David S. Miller  <davem@davemloft.net>
71104         * include/math_private.h: New file.
71106 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
71108         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
71109         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
71110         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
71111         from <bits/socket_type.h>.
71112         (enum __socket_type): Don't define here.
71113         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
71114         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71115         bits/socket_type.h.
71117         [BZ #13566]
71118         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
71119         checking __USE_GNU.
71121         * Makerules ($(inst_includedir)/%.h): New rule.
71122         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
71123         (install-others): Remove variable setting.
71124         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
71126 2012-03-08  Richard Henderson  <rth@twiddle.net>
71128         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
71129         from macro to inline function; merge with the
71130         !__LIBC_INTERNAL_MATH_INLINES version.
71131         (__ieee754_sqrtf): Likewise.
71133         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
71134         to inline function.
71135         (__rintf, __floor, __floorf): Likewise.
71137         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
71138         macro to inline function.
71139         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
71141         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
71142         not <math/math_private.h>.
71144 2012-03-08  David S. Miller  <davem@davemloft.net>
71146         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
71147         copyright year.
71148         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
71150 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
71152         * resolv/gai_misc.c (handle_requests): Fix struct timespec
71153         normalization.
71154         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
71155         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
71157 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
71159         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
71160         be defined individually, they must be defined as a block.  Define
71161         S for printing a string instead of hidint the different by using a
71162         macro for adding the 'l'.
71163         * stdio-common/tst-fphex-wide.c: Adjust.
71165 2012-03-07  Marek Polacek  <polacek@redhat.com>
71167         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
71169 2012-03-08  Marek Polacek  <polacek@redhat.com>
71171         [BZ #13806]
71172         * stdio-common/Makefile (tests): Add tst-fphex-wide.
71173         * stdio-common/tst-fphex.c: Define a few macros to make the
71174         test reusable.  Use them.
71175         * stdio-common/tst-fphex-wide.c: New file.
71177 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
71179         [BZ #6911]
71180         * manual/macros.texi (gnusystems): New macro.
71181         (nongnusystems): Likewise.
71182         (gnulinuxhurdsystems): Likewise.
71183         (gnuhurdsystems): Likewise..
71184         (gnulinuxsystems): Likewise.
71185         * manual/charset.texi: Use new macros or @theglibc{} to refer to
71186         variants of the GNU system, not "GNU system".
71187         * manual/conf.texi: Likewise.
71188         * manual/errno.texi: Likewise.  Update example of errno macro
71189         expansion.
71190         * manual/filesys.texi: Likewise.
71191         (getumask): Document as specific to GNU/Hurd.
71192         * manual/install.texi: Likewise.  Reword some references to
71193         GNU/Linux.
71194         * manual/intro.texi: Likewise.
71195         * manual/io.texi: Likewise.
71196         (File Name Portability): Detail which constraints are inapplicable
71197         to all GNU systems and which are only inapplicable to GNU/Hurd.
71198         * manual/job.texi: Likewise.
71199         * manual/llio.texi: Likewise.
71200         (O_NOCTTY): Document as present on GNU/Linux.
71201         * manual/maint.texi: Likewise.
71202         * manual/memory.texi: Likewise.
71203         * manual/pattern.texi: Likewise.
71204         * manual/pipe.texi: Likewise.
71205         * manual/process.texi: Likewise.
71206         * manual/resource.texi: Likewise.
71207         (RUSAGE_CHILDREN): Remove statement about specifying a particular
71208         child on GNU/Hurd.
71209         * manual/setjmp.texi: Likewise.
71210         * manual/signal.texi: Likewise.
71211         * manual/startup.texi: Likewise.
71212         * manual/stdio.texi: Likewise.
71213         * manual/terminal.texi: Likewise.
71214         (ONLCR): Document as POSIX.
71215         (OXTABS): Document availability on GNU/Linux as XTABS.
71216         (ONOEOT): Document availability separately from other bits.
71217         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
71218         * manual/time.texi: Likewise.
71219         * manual/users.texi: Likewise.
71220         * INSTALL: Regenerated.
71221         * sysdeps/gnu/errlist.c: Regenerated.
71223         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
71224         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
71225         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
71226         puts.
71227         * configure: Regenerated.
71229 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
71231         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
71232         default includes instead of AC_HEADER_CHECK.
71233         * sysdeps/i386/configure: Regenerated.
71235         [BZ #10716]
71236         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
71237         * math/s_cacoshf.c (__cacoshf): Likewise.
71238         * math/s_cacoshl.c (__cacoshl): Likewise.
71239         * math/s_casinh.c (__casinh): Set signs of result from argument.
71240         * math/s_casinhf.c (__casinhf): Likewise.
71241         * math/s_casinhl.c (__casinhl): Likewise.
71242         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
71243         (casinh_test): Add more tests.
71244         * sysdeps/i386/fpu/libm-test-ulps: Update.
71245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71247 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
71249         * po/zh_TW.po: Update from translation team.
71251         * login/Makefile (distribute): Remove variable.
71252         * catgets/Makefile: Likewise.
71253         * mach/Makefile: Likewise.
71254         * malloc/Makefile: Likewise.
71255         * misc/Makefile: Likewise.
71256         * iconv/Makefile: Likewise.
71257         * nscd/Makefile: Likewise.
71258         * hurd/Makefile: Likewise.
71259         * manual/Makefile: Likewise.
71260         * locale/Makefile: Likewise.
71261         * intl/Makefile: Likewise.
71262         * conform/Makefile: Likewise.
71263         * nss/Makefile: Likewise.
71264         * time/Makefile: Likewise.
71265         * soft-fp/Makefile: Likewise.
71266         * dirent/Makefile: Likewise.
71267         * gmon/Makefile: Likewise.
71268         * po/Makefile: Likewise.
71269         * rt/Makefile: Likewise.
71270         * socket/Makefile: Likewise.
71271         * math/Makefile: Likewise.
71272         * signal/Makefile: Likewise.
71273         * debug/Makefile: Likewise.
71274         * elf/Makefile: Likewise.
71275         * timezone/Makefile: Likewise.
71276         * stdlib/Makefile: Likewise.
71277         * iconvdata/Makefile: Likewise.
71278         * sunrpc/Makefile: Likewise.
71279         * io/Makefile: Likewise.
71280         * argp/Makefile: Likewise.
71281         * inet/Makefile: Likewise.
71282         * hesiod/Makefile: Likewise.
71283         * grp/Makefile: Likewise.
71284         * csu/Makefile: Likewise.
71285         * wctype/Makefile: Likewise.
71286         * crypt/Makefile: Likewise.
71287         * libio/Makefile: Likewise.
71288         * string/Makefile: Likewise.
71289         * nis/Makefile: Likewise.
71290         * resolv/Makefile: Likewise.
71291         * stdio-common/Makefile: Likewise.
71292         * wcsmbs/Makefile: Likewise.
71293         * dlfcn/Makefile: Likewise.
71294         * posix/Makefile: Likewise.
71296         [BZ #6959]
71297         * timezone/Makefile: Don't install timezone files, just the programs
71298         and scripts.
71300 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
71302         * nss/databases.def: Add missing gshadow entry.
71304         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
71306 2012-03-06  Marek Polacek  <polacek@redhat.com>
71308         [BZ #13726]
71309         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
71310         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
71311         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
71312         * stdio-common/tst-long-dbl-fphex.c: New file.
71314 2012-03-06  David S. Miller  <davem@davemloft.net>
71316         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71317         (set_obp_int): New function.
71318         (get_obp_int): New function.
71319         (__get_clockfreq_via_dev_openprom): Likewise.
71320         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
71321         Avoid unused variable warnings on 'val' and use builtin_expect.
71322         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
71323         __builtin_expect.
71324         (INLINE_CLONE_SYSCALL): Likewise.
71326 2012-03-05  David S. Miller  <davem@davemloft.net>
71328         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71330 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
71332         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71334         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
71335         only for |x| >= 40.
71336         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71338 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
71340         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
71341         Replace gettimeofday with __vdso_gettimeofday.
71343         * sysdeps/unix/sysv/linux/x86_64/init-first.c
71344         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
71345         __vdso_clock_gettime and __vdso_getcpu.
71347         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
71348         time with __vdso_time.
71350 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71352         * manual/lang.texi (size_t): Note types to which size_t may be
71353         equivalent with the GNU C Library, but do not describe when
71354         differences between them are significant.
71356 2012-03-05  Andreas Jaeger  <aj@suse.de>
71358         * sysdeps/i386/fpu/libm-test-ulps: Update.
71360 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71362         [BZ #3976]
71363         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
71364         (__ieee754_pow): Save and restore rounding mode and use
71365         round-to-nearest for main computations.
71366         * math/libm-test.inc (pow_test_tonearest): New function.
71367         (pow_test_towardzero): Likewise.
71368         (pow_test_downward): Likewise.
71369         (pow_test_upward): Likewise.
71370         (main): Call the new functions.
71371         * sysdeps/i386/fpu/libm-test-ulps: Update.
71372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71374         [BZ #3976]
71375         * math/libm-test.inc (cosh_test_tonearest): New function.
71376         (cosh_test_towardzero): Likewise.
71377         (cosh_test_downward): Likewise.
71378         (cosh_test_upward): Likewise.
71379         (sinh_test_tonearest): Likewise.
71380         (sinh_test_towardzero): Likewise.
71381         (sinh_test_downward): Likewise.
71382         (sinh_test_upward): Likewise.
71383         (main): Call the new functions.
71384         * sysdeps/i386/fpu/libm-test-ulps: Update.
71385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71387 2012-03-05  Tom de Vries  <tom@codesourcery.com>
71389         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
71390         default stack guard is set in last bytes.
71391         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
71393 2012-03-05  Kees Cook  <keescook@chromium.org>
71395         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
71397         [BZ #13656]
71398         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
71399         possibly allocate from heap instead of stack.
71400         * stdio-common/bug-vfprintf-nargs.c: New file.
71401         * stdio-common/Makefile (tests): Add nargs overflow test.
71403 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
71405         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71407 2012-03-03  Marek Polacek  <polacek@redhat.com>
71409         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
71410         * math/math_private.h: Likewise.
71411         * stdlib/tst-strtod.c: Likewise.
71412         * sysdeps/i386/i486/bits/atomic.h: Likewise.
71413         * sysdeps/x86_64/bits/atomic.h: Likewise.
71415 2012-03-02  David S. Miller  <davem@davemloft.net>
71417         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
71418         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
71419         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
71420         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
71421         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
71422         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
71423         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
71424         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
71426 2012-03-02  Roland McGrath  <roland@hack.frob.com>
71428         [BZ #13792]
71429         * manual/examples/README: New file, says the example source files
71430         can be used under GPL>=2.
71431         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
71432         line containing just "*/".
71433         * manual/examples/add.c: Add copyright header (GPL>=2).
71434         * manual/examples/argp-ex1.c: Likewise.
71435         * manual/examples/argp-ex2.c: Likewise.
71436         * manual/examples/argp-ex3.c: Likewise.
71437         * manual/examples/argp-ex4.c: Likewise.
71438         * manual/examples/atexit.c: Likewise.
71439         * manual/examples/db.c: Likewise.
71440         * manual/examples/dir.c: Likewise.
71441         * manual/examples/dir2.c: Likewise.
71442         * manual/examples/execinfo.c: Likewise.
71443         * manual/examples/filecli.c: Likewise.
71444         * manual/examples/filesrv.c: Likewise.
71445         * manual/examples/fmtmsgexpl.c: Likewise.
71446         * manual/examples/genpass.c: Likewise.
71447         * manual/examples/inetcli.c: Likewise.
71448         * manual/examples/inetsrv.c: Likewise.
71449         * manual/examples/isockad.c: Likewise.
71450         * manual/examples/longopt.c: Likewise.
71451         * manual/examples/memopen.c: Likewise.
71452         * manual/examples/memstrm.c: Likewise.
71453         * manual/examples/mkfsock.c: Likewise.
71454         * manual/examples/mkisock.c: Likewise.
71455         * manual/examples/mygetpass.c: Likewise.
71456         * manual/examples/pipe.c: Likewise.
71457         * manual/examples/popen.c: Likewise.
71458         * manual/examples/rprintf.c: Likewise.
71459         * manual/examples/search.c: Likewise.
71460         * manual/examples/select.c: Likewise.
71461         * manual/examples/setjmp.c: Likewise.
71462         * manual/examples/sigh1.c: Likewise.
71463         * manual/examples/sigusr.c: Likewise.
71464         * manual/examples/stpcpy.c: Likewise.
71465         * manual/examples/strdupa.c: Likewise.
71466         * manual/examples/strftim.c: Likewise.
71467         * manual/examples/strncat.c: Likewise.
71468         * manual/examples/subopt.c: Likewise.
71469         * manual/examples/swapcontext.c: Likewise.
71470         * manual/examples/termios.c: Likewise.
71471         * manual/examples/testopt.c: Likewise.
71472         * manual/examples/testpass.c: Likewise.
71473         * manual/examples/timeval_subtract.c: Likewise.
71475         [BZ #13792]
71476         * manual/time.texi (Elapsed Time): Move timeval_subtract example
71477         function to ...
71478         * manual/timeval_subtract.c.texi: ... here, new file.
71480 2012-03-02  David S. Miller  <davem@davemloft.net>
71482         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
71484 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
71486         [BZ #3976]
71487         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
71488         (__sin): Save and restore rounding mode and use round-to-nearest
71489         for all computations.
71490         (__cos): Save and restore rounding mode and use round-to-nearest
71491         for all computations.
71492         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
71493         <fenv.h>.
71494         (tan): Save and restore rounding mode and use round-to-nearest for
71495         all computations.
71496         * math/libm-test.inc (cos_test_tonearest): New function.
71497         (cos_test_towardzero): Likewise.
71498         (cos_test_downward): Likewise.
71499         (cos_test_upward): Likewise.
71500         (sin_test_tonearest): Likewise.
71501         (sin_test_towardzero): Likewise.
71502         (sin_test_downward): Likewise.
71503         (sin_test_upward): Likewise.
71504         (tan_test_tonearest): Likewise.
71505         (tan_test_towardzero): Likewise.
71506         (tan_test_downward): Likewise.
71507         (tan_test_upward): Likewise.
71508         (main): Call the new functions.
71509         * sysdeps/i386/fpu/libm-test-ulps: Update.
71510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71512         [BZ #10135]
71513         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
71514         small n, then large n, before computing and testing k+n.
71515         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
71516         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
71517         Likewise.
71518         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
71519         Likewise.
71520         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
71521         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
71522         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
71523         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
71524         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
71525         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
71526         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
71527         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
71528         * math/libm-test.inc (scalbn_test): Add more tests.
71529         (scalbln_test): Likewise.
71531         * manual/filesys.texi (mode_t): Describe constraints on size and
71532         signedness, not exact equivalence to a particular type.
71533         (ino_t): Likewise.
71534         (ino64_t): Likewise.
71535         (dev_t): Likewise.
71536         (nlink_t): Likewise.
71537         (blkcnt_t): Likewise.
71538         (blkcnt64_t): Likewise.
71539         * manual/llio.texi (off_t): Likewise.
71541         [BZ #3976]
71542         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
71543         (__ieee754_exp): Save and restore rounding mode and use
71544         round-to-nearest for all computations.
71545         * math/libm-test.inc (exp_test_tonearest): New function.
71546         (exp_test_towardzero): Likewise.
71547         (exp_test_downward): Likewise.
71548         (exp_test_upward): Likewise.
71549         (main): Call the new functions.
71550         * sysdeps/i386/fpu/libm-test-ulps: Update.
71551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71553 2012-03-01  Chris Demetriou  <cgd@google.com>
71555         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
71556         have predictable order.
71558 2012-03-01  David S. Miller  <davem@davemloft.net>
71560         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
71562         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
71563         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
71564         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
71565         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
71567         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
71568         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
71569         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
71570         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
71571         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
71572         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
71573         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
71574         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
71575         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
71577         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71579         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
71580         * sysdeps/sparc/fpu/libm-test-ulps: to here.
71581         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
71583         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
71584         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
71585         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71586         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
71587         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
71588         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
71589         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
71590         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
71591         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71592         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
71593         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
71594         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71595         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
71596         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71597         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71598         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71599         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
71600         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
71601         * sysdeps/sparc/elf/configure: Regenerated.
71603 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
71605         * configure.in (AS, LD): Require binutils 2.20 or later.
71606         * configure: Regenerated.
71607         * manual/install.texi (Tools for Compilation): Give binutils 2.20
71608         as required minimum version.
71609         * INSTALL: Regenerated.
71611         [BZ #2541]
71612         [BZ #4108]
71613         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
71614         before squaring exponent.
71615         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
71616         bottom long double and 27 bits of top long double before squaring
71617         exponent.
71618         * math/libm-test.inc (erfc_test): Add more tests.
71619         * sysdeps/i386/fpu/libm-test-ulps: Update.
71620         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71623 2012-03-01  Kai Tietz  <ktietz@redhat.com>
71625         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
71626         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
71627         containing bit-fields.
71628         * soft-fp/extended.h (_FP_UNION_E): Likewise.
71629         * soft-fp/single.h (_FP_UNION_S): Likewise.
71630         * soft-fp/double.h (_FP_UNION_D): Likewise.
71632 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
71634         [BZ #13786]
71635         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
71636         not include ../strcmp.S.
71637         [USE_AS_STRNCASECMP_L]: Likewise.
71638         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
71639         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
71640         * sysdeps/i386/i686/multiarch/strncase_l-c.c
71641         (__strncasecmp_l_ia32): Define as alias to
71642         __strncasecmp_l_nonascii.
71644         [BZ #5794]
71645         * math/libm-test.inc (expm1_test): Add test for bug 5794.
71646         * sysdeps/i386/fpu/libm-test-ulps: Update.
71647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71649         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
71650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71652 2012-02-29  Jeff Law  <law@redhat.com>
71654         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
71655         out of bounds read.
71657 2012-02-29  Marek Polacek  <polacek@redhat.com>
71659         [BZ #13706]
71660         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
71661         * elf/Makefile: Add rules to run tst-unused-dep.out.
71663 2012-02-28  David S. Miller  <davem@davemloft.net>
71665         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
71666         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
71667         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
71668         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
71669         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
71670         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
71672 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
71674         * math/libm-test.inc (llround_test): Move one test from
71675         lround_test.  Use TEST_f_L in moved test.
71676         (lround_test): Move misplaced test to llround_test.  Add testcase
71677         from bug 2561.
71679 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
71681         * sysdeps/x86_64/fpu/e_expf.S: New file.
71682         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
71684 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
71686         [BZ #13637]
71687         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
71688         of remain_len that may cause incomplete multi-byte character and
71689         false match.
71690         * posix/bug-regex33.c: New file.
71691         * posix/Makefile (tests): Add bug-regex33.
71693 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
71695         * manual/macros.texi: New file.
71696         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
71697         * manual/libc.texinfo: Include macros.texi.
71698         * manual/creatute.texi: Likewise.
71699         * manual/install.texi: Likewise.
71700         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
71701         @glibcadj{} in references to the GNU C Library.
71702         * manual/charset.texi: Likewise.
71703         * manual/conf.texi: Likewise.
71704         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
71705         when not using those macros.
71706         * manual/creature.texi: Likewise.
71707         * manual/crypt.texi: Likewise.
71708         * manual/errno.texi: Likewise.
71709         * manual/filesys.texi: Likewise.
71710         * manual/header.texi: Likewise.
71711         * manual/install.texi: Likewise.
71712         * manual/intro.texi: Likewise.
71713         * manual/io.texi: Likewise.
71714         * manual/job.texi: Likewise.
71715         * manual/lang.texi: Likewise.
71716         * manual/libc.texiinfo: Likewise.
71717         * manual/llio.texi: Likewise.
71718         * manual/locale.texi: Likewise.
71719         * manual/maint.texi: Likewise.
71720         * manual/math.texi: Likewise.
71721         * manual/memory.texi: Likewise.
71722         * manual/message.texi: Likewise.
71723         * manual/nss.texi: Likewise.
71724         * manual/pattern.texi: Likewise.
71725         * manual/process.texi: Likewise.
71726         * manual/resource.texi: Likewise.
71727         * manual/search.texi: Likewise.
71728         * manual/setjmp.texi: Likewise.
71729         * manual/signal.texi: Likewise.
71730         * manual/socket.texi: Likewise.
71731         * manual/startup.texi: Likewise.
71732         * manual/stdio.texi: Likewise.
71733         * manual/string.texi: Likewise.
71734         * manual/sysinfo.texi: Likewise.
71735         * manual/syslog.texi: Likewise.
71736         * manual/terminal.texi: Likewise.
71737         * manual/time.texi: Likewise.
71738         * manual/users.texi: Likewise.
71739         * INSTALL: Regenerated.
71740         * NOTES: Regenerated.
71741         * sysdeps/gnu/errlist.c: Regenerated.
71743 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
71745         * include/dirent.h: Include <dirstream.h> before
71746         <dirent/dirent.h>.
71748 2012-02-28  David S. Miller  <davem@davemloft.net>
71750         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
71751         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
71752         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
71753         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
71755 2012-02-27  David S. Miller  <davem@davemloft.net>
71757         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
71758         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
71759         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
71760         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
71762         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
71763         frame pointer instead of stack pointer relative arg slot.
71764         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71765         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71766         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71768 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
71770         [BZ #3992]
71771         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
71773 2012-02-27  David S. Miller  <davem@davemloft.net>
71775         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
71776         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71777         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
71778         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
71779         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71780         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71781         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
71782         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
71784 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
71786         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
71787         later.  Allow versions 5-9.
71788         * configure: Regenerated.
71789         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
71790         required minimum version and 4.6 as recommended version.  Do not
71791         mention bugs in GCC 2.7 and 2.8.
71792         * INSTALL: Regenerated.
71794 2012-02-27  David S. Miller  <davem@davemloft.net>
71796         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
71797         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
71798         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
71799         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
71800         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
71801         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
71802         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
71803         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
71805         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
71806         manipulate bits before adding and subtracting TWO112[sx].
71807         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
71809 2012-02-27  Roland McGrath  <roland@hack.frob.com>
71811         [BZ #13775]
71812         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
71813         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
71814         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
71815         being in POSIX, because they are in 1003.1-2008.
71817         * rt/tst-aio.c: Include <fcntl.h>.
71818         * rt/tst-aio7.c: Likewise.
71819         * rt/tst-aio64.c: Likewise.
71821         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
71823 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
71825         * manual/install.texi (--with-headers): Describe headers as
71826         interface headers, not private headers.
71827         (Specific advice for GNU/Linux systems): Describe use of headers
71828         from "make headers_install", not private headers from older
71829         kernels.
71830         * INSTALL: Regenerated.
71831         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
71832         Change to 2.6.19.
71833         * sysdeps/unix/sysv/linux/configure: Regenerated.
71835         * manual/llio.texi (fclean): Remove documentation.
71837         * manual/Makefile (libc-texi-generated): New variable.  Include
71838         version.texi.
71839         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
71840         $(libc-texi-generated), not duplicated list of files.
71841         (version.texi, stamp-version): New rules.
71842         (realclean): Remove $(libc-texi-generated), not individual files
71843         from that list.  Do not remove dir-add.texinfo.
71844         * manual/libc.texinfo: Comment out uses of edition numbers and
71845         references to printed manual.  Remove last-updated dates.
71846         (EDITION): Comment out.
71847         (ISBN): Likewise.
71848         (VERSION, UPDATED): Remove.
71849         (version.texi): Include.
71851 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
71853         * sysdeps/posix/spawni.c: Include <signal.h>.
71854         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
71855         * sysdeps/pthread/aio_fsync.c: Likewise.
71857 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
71859         * conform/Makefile (tests): Run only when not cross-compiling and
71860         when fast-check is not defined.
71862         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
71863         * conform/data/limits.h-data: Fixes for POSIX2008.
71864         * conform/run-conformtest.sh: Run all tests.
71865         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
71866         headers.
71867         * include/bits/dlfcn.h: Likewise.
71868         * include/langinfo.h: Likewise.
71869         * include/monetary.h: Likewise.
71870         * include/sys/poll.h: Likewise.
71872         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
71873         for __USE_GNU.
71874         * posix/spawn.h: Define __need_sigset_t.
71875         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
71876         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
71877         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
71878         to get sigevent_t only.
71879         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
71880         only for __USE_GNU.
71881         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71882         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71883         process_vm_writev only for __USE_GNU.
71884         * termios/termios.h: Declare tcgetsid also for POSIX2008.
71886         * conform/Makefile: For now ignore errors from run-conformtest.
71887         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
71888         POSIX to avoid namespace pollution.  Don't prepend headers.
71889         * conform/data/aio.h-data: Fixes for POSIX testing.
71890         * conform/data/fcntl.h-data: Likewise.
71891         * conform/data/glob.h-data: Likewise.
71892         * conform/data/grp.h-data: Likewise.
71893         * conform/data/pthread.h-data: Likewise.
71894         * conform/data/pwd.h-data: Likewise.
71895         * conform/data/signal.h-data: Likewise.
71896         * conform/data/spawn.h-data: Likewise.
71897         * conform/data/stdio.h-data: Likewise.
71898         * conform/data/stdlib.h-data: Likewise.
71899         * conform/data/stropts.h-data: Likewise.
71900         * conform/data/sys/mman.h-data: Likewise.
71901         * conform/data/sys/stat.h-data: Likewise.
71902         * conform/data/sys/types.h-data: Likewise.
71903         * conform/data/sys/wait.h-data: Likewise.
71904         * conform/data/time.h-data: Likewise.
71905         * conform/data/unistd.h-data: Likewise.
71906         * conform/data/utime.h-data: Likewise.
71908         * io/sys/stat.h: fchmod was always in POSIX.
71909         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
71910         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
71911         * rt/aio.h: Define __need_timespec before including <time.h>.
71912         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
71913         struct.  Add forward declaration of pthread_attr_t and use it in
71914         sigevent.
71915         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
71916         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
71917         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
71918         always remove CLK_TCK definition.
71920 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
71922         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
71924 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
71926         * conform/run-conformtest.sh: New file.
71927         * conform/Makefile: Run run-conformtest for tests.
71928         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
71929         support.
71931         * conform/data/uchar.h-data: New file.
71932         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
71933         * conform/data/arpa/inet.h-data: Likewise.
71934         * conform/data/assert.h-data: Likewise.
71935         * conform/data/complex.h-data: Likewise.
71936         * conform/data/cpio.h-data: Likewise.
71937         * conform/data/ctype.h-data: Likewise.
71938         * conform/data/dirent.h-data: Likewise.
71939         * conform/data/dlfcn.h-data: Likewise.
71940         * conform/data/errno.h-data: Likewise.
71941         * conform/data/fcntl.h-data: Likewise.
71942         * conform/data/float.h-data: Likewise.
71943         * conform/data/fmtmsg.h-data: Likewise.
71944         * conform/data/fnmatch.h-data: Likewise.
71945         * conform/data/ftw.h-data: Likewise.
71946         * conform/data/glob.h-data: Likewise.
71947         * conform/data/grp.h-data: Likewise.
71948         * conform/data/iconv.h-data: Likewise.
71949         * conform/data/inttypes.h-data: Likewise.
71950         * conform/data/langinfo.h-data: Likewise.
71951         * conform/data/libgen.h-data: Likewise.
71952         * conform/data/limits.h-data: Likewise.
71953         * conform/data/locale.h-data: Likewise.
71954         * conform/data/math.h-data: Likewise.
71955         * conform/data/monetary.h-data: Likewise.
71956         * conform/data/mqueue.h-data: Likewise.
71957         * conform/data/ndbm.h-data: Likewise.
71958         * conform/data/net/if.h-data: Likewise.
71959         * conform/data/netdb.h-data: Likewise.
71960         * conform/data/netinet/in.h-data: Likewise.
71961         * conform/data/nl_types.h-data: Likewise.
71962         * conform/data/poll.h-data: Likewise.
71963         * conform/data/pthread.h-data: Likewise.
71964         * conform/data/pwd.h-data: Likewise.
71965         * conform/data/regex.h-data: Likewise.
71966         * conform/data/sched.h-data: Likewise.
71967         * conform/data/search.h-data: Likewise.
71968         * conform/data/semaphore.h-data: Likewise.
71969         * conform/data/setjmp.h-data: Likewise.
71970         * conform/data/signal.h-data: Likewise.
71971         * conform/data/spawn.h-data: Likewise.
71972         * conform/data/stdarg.h-data: Likewise.
71973         * conform/data/stdio.h-data: Likewise.
71974         * conform/data/stdlib.h-data: Likewise.
71975         * conform/data/string.h-data: Likewise.
71976         * conform/data/strings.h-data: Likewise.
71977         * conform/data/stropts.h-data: Likewise.
71978         * conform/data/sys/ipc.h-data: Likewise.
71979         * conform/data/sys/mman.h-data: Likewise.
71980         * conform/data/sys/msg.h-data: Likewise.
71981         * conform/data/sys/resource.h-data: Likewise.
71982         * conform/data/sys/select.h-data: Likewise.
71983         * conform/data/sys/sem.h-data: Likewise.
71984         * conform/data/sys/shm.h-data: Likewise.
71985         * conform/data/sys/socket.h-data: Likewise.
71986         * conform/data/sys/stat.h-data: Likewise.
71987         * conform/data/sys/statvfs.h-data: Likewise.
71988         * conform/data/sys/time.h-data: Likewise.
71989         * conform/data/sys/timeb.h-data: Likewise.
71990         * conform/data/sys/times.h-data: Likewise.
71991         * conform/data/sys/types.h-data: Likewise.
71992         * conform/data/sys/uio.h-data: Likewise.
71993         * conform/data/sys/un.h-data: Likewise.
71994         * conform/data/sys/utsname.h-data: Likewise.
71995         * conform/data/sys/wait.h-data: Likewise.
71996         * conform/data/syslog.h-data: Likewise.
71997         * conform/data/tar.h-data: Likewise.
71998         * conform/data/termios.h-data: Likewise.
71999         * conform/data/utime.h-data: Likewise.
72000         * conform/data/utmpx.h-data: Likewise.
72001         * conform/data/varargs.h-data: Likewise.
72002         * conform/data/wchar.h-data: Likewise.
72003         * conform/data/wctype.h-data: Likewise.
72004         * conform/data/wordexp.h-data: Likewise.
72006         * include/stropts.h: New file.
72007         * include/uchar.h: New file.
72008         * include/aio.h: Changes to allow conformtest.pl to use the headers.
72009         * include/assert.h: Likewise.
72010         * include/ctype.h: Likewise.
72011         * include/dirent.h: Likewise.
72012         * include/dlfcn.h: Likewise.
72013         * include/fcntl.h: Likewise.
72014         * include/fnmatch.h: Likewise.
72015         * include/glob.h: Likewise.
72016         * include/grp.h: Likewise.
72017         * include/libio.h: Likewise.
72018         * include/locale.h: Likewise.
72019         * include/math.h: Likewise.
72020         * include/net/if.h: Likewise.
72021         * include/netdb.h: Likewise.
72022         * include/netinet/in.h: Likewise.
72023         * include/pthread.h: Likewise.
72024         * include/pwd.h: Likewise.
72025         * include/regex.h: Likewise.
72026         * include/sched.h: Likewise.
72027         * include/search.h: Likewise.
72028         * include/setjmp.h: Likewise.
72029         * include/signal.h: Likewise.
72030         * include/stdio.h: Likewise.
72031         * include/stdlib.h: Likewise.
72032         * include/string.h: Likewise.
72033         * include/sys/cdefs.h: Likewise.
72034         * include/sys/mman.h: Likewise.
72035         * include/sys/msg.h: Likewise.
72036         * include/sys/resource.h: Likewise.
72037         * include/sys/select.h: Likewise.
72038         * include/sys/socket.h: Likewise.
72039         * include/sys/stat.h: Likewise.
72040         * include/sys/statvfs.h: Likewise.
72041         * include/sys/time.h: Likewise.
72042         * include/sys/times.h: Likewise.
72043         * include/sys/uio.h: Likewise.
72044         * include/sys/utsname.h: Likewise.
72045         * include/sys/wait.h: Likewise.
72046         * include/termios.h: Likewise.
72047         * include/time.h: Likewise.
72048         * include/ulimit.h: Likewise.
72049         * include/unistd.h: Likewise.
72050         * include/utime.h: Likewise.
72051         * include/wchar.h: Likewise.
72052         * include/wctype.h: Likewise.
72053         * include/wordexp.h: Likewise.
72055         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
72057         * time/time.h: TIME_UTC must be a macro.
72058         Make timespec_get available for ISO C11 only as well.
72060 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
72062         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
72063         Reported by Peng Haitao <penght@cn.fujitsu.com>.
72065 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72067         * configure.in: Use -o not -a in test for unsupported multi-arch.
72069 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72071         * manual/texinfo.tex: Update to version 2012-01-19.16.
72073 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72075         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
72077 2012-02-24  Roland McGrath  <roland@hack.frob.com>
72079         [BZ #13738]
72080         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
72081         * manual/fdl-1.3.texi: New file.
72082         * manual/fdl-1.1.texi: File removed.
72084         [BZ #13738]
72085         * manual/libc.texinfo (FDL_VERSION): New @set.
72086         Use it for mention of FDL in cover text.
72087         (Documentation License): Use it in @include file name.
72089 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72090             Roland McGrath  <roland@hack.frob.com>
72092         [BZ #5461]
72093         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
72094         (not LONG_LONG_MAX and LONG_LONG_MIN.
72095         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
72096         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
72097         name.
72098         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
72100 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72102         [BZ #2547]
72103         [BZ #11365]
72104         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
72105         manipulate bits before adding and subtracting TWO23[sx].
72106         * math/libm-test.inc (nearbyint_test): Add more tests.
72108 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72110         [BZ #2548]
72111         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
72112         bits before adding and subtracting TWO23[sx].
72113         * math/libm-test.inc (rint_test): Add more tests.
72114         (rint_test_tonearest): Likewise.
72115         (rint_test_towardzero): Likewise.
72116         (rint_test_downward): Likewise.
72117         (rint_test_upward: Likewise.
72119 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72121         [BZ #10110]
72122         * include/stdc-predef.h: New file.  Extracted from features.h.
72123         * include/features.h: Include stdc-predef.h.
72124         * Makefile (headers): Add stdc-predef.h.
72125         * CONFORMANCE (Compiler limitations): Update.
72127 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72129         * manual/libc.texinfo (VERSION, UPDATED): Revert.
72131 2012-02-21  David S. Miller  <davem@davemloft.net>
72133         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
72134         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
72136 2012-02-20  David S. Miller  <davem@davemloft.net>
72138         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
72139         using a normal save/restore sequence, rather than allocating a
72140         dummy stack frame just to store a frame pointer and restore.
72141         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72143 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72145         * manual/install.texi: Fix stray word in line-wrapped comment.
72147 2012-02-20  David S. Miller  <davem@davemloft.net>
72149         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
72150         both binutils and gcc support GOTDATA.
72152         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
72153         "rd %pc" in the PIC register setup sequences.
72155         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
72156         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
72157         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
72158         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
72159         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
72160         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
72161         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72162         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72163         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
72164         (SYSCALL_ERROR_HANDLER): Likewise.
72165         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
72166         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
72167         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
72168         (SYSCALL_ERROR_HANDLER): Likewise.
72170         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
72171         (HAVE_GCC_GOTDATA): New.
72172         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
72173         relocation support in both binutils and gcc.
72174         * sysdeps/sparc/elf/configure: Regenerate.
72176         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
72177         * sysdeps/sparc/sparc32/elf/configure: Delete.
72178         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
72179         * sysdeps/sparc/sparc64/elf/configure: Delete.
72180         * sysdeps/sparc/elf/configure.in: New file.
72181         * sysdeps/sparc/elf/configure: Generate.
72183         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
72184         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
72185         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
72186         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
72187         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
72189 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72191         * manual/install.texi: Do not mention specific glibc version
72192         numbers.
72193         * manual/libc.texinfo (VERSION, UPDATED): Update.
72194         (@copying): Use @copyright{} and range of years.
72196 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72198         [BZ #13695]
72199         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
72200         [crti.S not in sysdirs] (generated): Do not append.
72201         [crti.S not in sysdirs] (omit-deps): Likewise.
72202         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
72203         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
72204         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
72205         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
72206         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
72207         Likewise.
72208         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
72209         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
72210         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
72211         * csu/defs.awk: Remove file.
72212         * sysdeps/generic/initfini.c: Likewise.
72213         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
72214         variable.
72215         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
72216         Likewise.
72218 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72220         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
72221         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
72222         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
72223         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
72224         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72225         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
72226         <bits/epoll.h>.
72227         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
72228         (__EPOLL_PACKED): Define to empty if not defined by
72229         <bits/epoll.h>.
72230         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
72231         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72232         bits/epoll.h.
72234 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72236         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
72237         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
72238         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
72239         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
72240         <bits/timerfd.h>.
72241         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
72242         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72243         bits/timerfd.h.
72245 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72247         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
72248         in C locale.
72249         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72250         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
72251         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
72252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72254 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
72256         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72257         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
72259 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
72261         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
72262         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
72263         defined.
72264         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
72265         Likewise.
72266         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
72267         entry for 2.16.
72269 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
72271         * math/w_acos.c: Use non-signaling floating-point comparisons.
72272         * math/w_acosf.c: Likewise.
72273         * math/w_acosh.c: Likewise.
72274         * math/w_acoshf.c: Likewise.
72275         * math/w_acoshl.c: Likewise.
72276         * math/w_acosl.c: Likewise.
72277         * math/w_asin.c: Likewise.
72278         * math/w_asinf.c: Likewise.
72279         * math/w_asinl.c: Likewise.
72280         * math/w_atanh.c: Likewise.
72281         * math/w_atanhf.c: Likewise.
72282         * math/w_atanhl.c: Likewise.
72283         * math/w_exp2.c: Likewise.
72284         * math/w_exp2f.c: Likewise.
72285         * math/w_exp2l.c: Likewise.
72286         * math/w_j0.c: Likewise.
72287         * math/w_j0f.c: Likewise.
72288         * math/w_j0l.c: Likewise.
72289         * math/w_j1.c: Likewise.
72290         * math/w_j1f.c: Likewise.
72291         * math/w_j1l.c: Likewise.
72292         * math/w_jn.c: Likewise.
72293         * math/w_jnf.c: Likewise.
72294         * math/w_log.c: Likewise.
72295         * math/w_log10.c: Likewise.
72296         * math/w_log10f.c: Likewise.
72297         * math/w_log10l.c: Likewise.
72298         * math/w_log2.c: Likewise.
72299         * math/w_log2f.c: Likewise.
72300         * math/w_log2l.c: Likewise.
72301         * math/w_logf.c: Likewise.
72302         * math/w_logl.c: Likewise.
72303         * math/w_sqrt.c: Likewise.
72304         * math/w_sqrtf.c: Likewise.
72305         * math/w_sqrtl.c: Likewise.
72306         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72307         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
72308         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72309         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
72310         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
72312 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72314         [BZ #9739]
72315         * manual/string.texi (strnlen): Use correct parameter name in
72316         equivalent expression.
72318 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72320         [BZ #11174]
72321         * manual/users.texi (seteuid): Consistently use neweuid for
72322         argument name.
72324 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72326         [BZ #13704]
72327         * manual/nss.texi (Services in the NSS configuration): Correct
72328         list of services in example configuration file.
72330 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
72332         [BZ #11322]
72333         * manual/arith.texi: Remove statements about negative zero
72334         behaving identically to zero.
72336 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
72338         [BZ #5993]
72339         * manual/install.texi: Do not document upgrading from libc5.
72341 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
72343         [BZ #4596]
72344         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
72346 2012-02-18  David S. Miller  <davem@davemloft.net>
72348         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
72349         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
72350         %o7 across the call.
72351         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
72352         instead.
72353         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
72354         SETUP_PIC_REG_LEAF.
72355         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72356         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
72357         * sysdeps/sparc/crtn.S: Likewise.
72359 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
72361         * aout/Makefile: Remove.
72363 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
72365         [BZ #13058]
72366         * manual/examples/argp-ex1.c (main): Format definition in GNU
72367         style.
72368         * manual/examples/argp-ex2.c (main): Likewise.
72369         * manual/examples/argp-ex3.c (main): Likewise.
72370         * manual/examples/argp-ex4.c (main): Likewise.
72371         * manual/examples/longopt.c (main): Use new-style prototype
72372         definition.
72373         * manual/examples/strncat.c (main): Specify return type and use
72374         (void) for arguments.
72375         * manual/examples/subopt.c (main): Use char **argv argument.
72377 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72379         [BZ #5077]
72380         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
72381         rounding modes.
72383 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
72385         [BZ #6907]
72386         * manual/string.texi (strchr): Change when strchrnul is
72387         recommended.
72389 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
72391         [BZ #174]
72392         * manual/locale.texi (setlocale): Document LOCPATH.
72394 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72396         [BZ #10210]
72397         * manual/process.texi (execle): Move @dots{} before last argument.
72399 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
72401         [BZ #12047]
72402         * manual/charset.texi (Generic Charset Conversion): Fix typo
72403         (LC_TYPE -> LC_CTYPE).
72405 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
72407         [BZ #5805]
72408         * manual/arith.texi (scalbn): Use @var{} on parameter names.
72409         (scalbnf): Likewise.
72410         (scalbnl): Likewise.
72411         (scalbln): Likewise.
72412         (scalblnf): Likewise.
72413         (scalblnl): Likewise.
72414         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
72415         (vwarnx): Likewise.
72416         (verr): Likewise.
72417         (verrx): Likewise.
72418         * manual/filesys.texi (telldir): Use braces around return type.
72419         * manual/llio.texi (mmap): Add space after comma.
72420         (mmap64): Likewise.
72421         * manual/math.texi (jn): Use @var{} on parameter names.
72422         (jnf): Likewise.
72423         (jnl): Likewise.
72424         (yn): Likewise.
72425         (ynf): Likewise.
72426         (ynl): Likewise.
72427         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
72428         line.
72429         * manual/resource.texi (ulimit): Use @dots{} instead of literal
72430         "...".
72431         (sched_get_priority_min): Remove semicolon on @deftypefun line.
72432         (sched_get_priority_max): Likewise.
72433         * manual/signal.texi (sigvec): Add space after comma.
72434         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
72435         names.
72436         (if_indextoname): Likewise.
72437         (if_freenameindex): Likewise.
72438         (sendto): Use ',' instead of '.' in prototype.
72439         * manual/startup.texi (syscall): Use @dots{} instead of literal
72440         "...".
72441         * manual/stdio.texi (__fpending): Separate initial words of
72442         paragraph from @deftypefun line.
72443         * manual/syslog.texi (syslog): Use @dots{} instead of literal
72444         "...".
72445         (vsyslog): Use @var{} on parameter names.
72446         * manual/terminal.texi (stty): Use @var{} on parameter names.
72447         * manual/users.texi (getutmp): Use @var{} on parameter names.
72448         (getutmpx): Likewise.
72450 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72452         [BZ #6884]
72453         * manual/stdio.texi (fopen): Fix typos in description of
72454         ",ccs=STRING".
72456 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
72458         [BZ #4026]
72459         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
72460         get clock_id definition.
72462 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
72464         [BZ #4822]
72465         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
72466         (madvise): Cast every argument to void on its own.
72468 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72470         [BZ #9902]
72471         * manual/startup.texi (Exit Status): Fix typo.
72473 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72475         [BZ #10140]
72476         * manual/examples/argp-ex1.c: Include <stdlib.h>.
72477         * manual/examples/argp-ex2.c: Likewise.
72478         * manual/examples/argp-ex3.c: Likewise.
72480 2012-02-16  Richard Henderson  <rth@redhat.com>
72482         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
72483         * sysdeps/s390/s390-32/initfini.c: Remove.
72484         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
72485         * sysdeps/s390/s390-64/initfini.c: Remove.
72487 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72489         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
72490         compiler output for sysdeps/generic/initfini.c.
72491         * sysdeps/sh/elf/initfini.c: Remove file.
72493 2012-02-16  David S. Miller  <davem@davemloft.net>
72495         [BZ #11494]
72496         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
72498         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
72499         * sysdeps/sparc/crti.S: New file.
72500         * sysdeps/sparc/crtn.S: New file.
72501         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
72502         * sysdeps/sparc/sparc64/Makefile: Likewise.
72504 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
72506         [BZ #3335]
72507         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
72509 2012-02-15  Roland McGrath  <roland@hack.frob.com>
72511         [BZ #4822]
72512         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
72514         * mach/devstream.c (cookie_io_functions_t): Macro removed.
72515         (write, read, close): Likewise.
72516         Patch by Aurelien Jarno <aurelien@aurel32.net>.
72518 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
72520         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
72521         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
72522         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
72523         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
72524         <bits/signalfd.h>.
72525         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
72526         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72527         bits/signalfd.h.
72529 2012-02-14  Marek Polacek  <polacek@redhat.com>
72531         * sysdeps/x86_64/crti.S: New file.
72532         * sysdeps/x86_64/crtn.S: New file.
72533         * sysdeps/x86_64/elf/initfini.c: Remove file.
72535 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72537         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
72538         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
72539         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
72540         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
72541         <bits/inotify.h>.
72542         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
72543         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72544         bits/inotify.h.
72546 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72548         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
72549         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
72550         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
72551         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
72552         <bits/eventfd.h>.
72553         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
72554         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72555         bits/eventfd.h.
72557 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
72559         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
72560         __feraiseexcept instead of feraiseexcept.
72562         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
72563         nanosleep invocations.
72564         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
72565         strings, and add error checking for a nanosleep invocations.
72567 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
72569         Replace FSF snail mail address with URLs, as per GNU coding standards.
72570         Most of the snail mail addresses were wrong anyway, and omitting
72571         them makes the source code easier to maintain.  Almost all of the
72572         changes are to license notices and to locale LC_IDENTIFICATION
72573         addresses, except for this one:
72574         * manual/libc.texinfo: In "Published by", give the FSF's URL,
72575         not its snail mail address.
72577 2012-02-09  Richard Henderson  <rth@twiddle.net>
72579         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
72580         of kernel-features.h.
72582         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
72584 2012-02-08  Marek Polacek  <polacek@redhat.com>
72586         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
72587         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
72588         * sysdeps/gnu/_G_config.h: Likewise.
72589         * sysdeps/generic/_G_config.h: Likewise.
72591 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
72593         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
72594         tests.
72595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72597         * sysdeps/powerpc/powerpc32/crti.S: New file.
72598         * sysdeps/powerpc/powerpc32/crtn.S: New file.
72599         * sysdeps/powerpc/powerpc64/crti.S: New file.
72600         * sysdeps/powerpc/powerpc64/crtn.S: New file.
72602         * Makeconfig (have-initfini): Don't set.
72603         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
72604         * configure.in (nopic_initfini): Don't substitute.
72605         * config.h.in (HAVE_INITFINI): Don't #undef.
72606         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
72607         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
72609 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
72611         Support crti.S and crtn.S provided directly by architectures.
72612         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
72613         [crti.S in sysdirs] (omit-deps): Likewise.
72614         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
72615         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
72616         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
72617         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
72618         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
72619         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
72620         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
72621         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
72622         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
72623         compiler output for sysdeps/generic/initfini.c.
72624         * sysdeps/i386/elf/Makefile: Remove file.
72625         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
72627 2012-02-07  Marek Polacek  <polacek@redhat.com>
72629         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
72630         * sysdeps/gnu/_G_config.h: Likewise.
72631         * sysdeps/mach/hurd/_G_config.h: Likewise.
72633 2012-02-07  Marek Polacek  <polacek@redhat.com>
72635         * math/Makefile (tests): Add tst-CMPLX2.
72636         * math/tst-CMPLX2.c: New file.
72638 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
72640         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72642         * math/libm-test.inc (jn_test): Add missing L suffix.
72644 2012-02-06  Marek Polacek  <polacek@redhat.com>
72646         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
72647         * sysdeps/i386/fpu/e_powf.S: Likewise.
72648         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72649         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
72650         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72651         * sysdeps/i386/fpu/e_pow.S: Likewise.
72652         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
72653         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72654         * sysdeps/i386/fpu/s_expm1.S: Likewise.
72655         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
72656         * sysdeps/i386/fpu/e_log2.S: Likewise.
72657         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72658         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72659         * sysdeps/i386/fpu/e_powl.S: Likewise.
72660         * sysdeps/i386/fpu/s_log1p.S: Likewise.
72661         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72662         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
72663         * sysdeps/i386/fpu/e_logl.S: Likewise.
72664         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
72665         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
72666         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
72667         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
72668         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72669         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72670         * sysdeps/i386/fpu/e_log.S: Likewise.
72671         * sysdeps/i386/fpu/s_cexp.S: Likewise.
72672         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72673         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
72674         * sysdeps/i386/fpu/e_logf.S: Likewise.
72675         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72676         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72677         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
72678         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
72679         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
72680         * sysdeps/i386/fpu/e_log10.S: Likewise.
72681         * sysdeps/i386/fpu/s_frexp.S: Likewise.
72682         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72683         * sysdeps/i386/fpu/s_asinh.S: Likewise.
72684         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
72685         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72686         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
72687         * sysdeps/i386/asm-syntax.h: Likewise.
72688         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72689         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72690         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72691         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
72692         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
72693         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72694         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
72695         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
72696         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72697         * sysdeps/powerpc/sysdep.h: Likewise.
72698         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
72699         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72701 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
72703         [BZ #411]
72704         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
72706 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
72708         * sysdeps/i386/sysdep.h: Include <features.h>.
72709         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
72710         version.
72712 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
72714         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
72715         Define.
72716         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
72717         LOAD_PIC_REG_STR.
72719 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72721         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
72722         (SETUP_PIC_REG): Use GET_PC_THUNK.
72723         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
72724         macro.
72726 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72728         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
72729         for non-PIC compilation.
72730         (SETUP_PIC_REG): Add .p2align directive.
72731         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
72732         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
72733         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
72734         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
72735         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
72736         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
72737         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
72738         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
72739         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
72740         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
72741         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
72742         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
72743         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
72744         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
72745         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
72746         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
72747         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
72748         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
72749         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
72750         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
72751         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
72752         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
72753         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
72754         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
72755         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
72756         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
72757         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72758         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
72759         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
72760         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
72761         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
72762         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72763         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
72764         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
72765         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
72766         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
72767         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
72768         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
72769         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
72770         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
72771         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
72773 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72775         * math/tst-CMPLX.c: Include <stdio.h>.
72777 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
72779         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
72780         float.
72781         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
72782         * sysdeps/sparc/bits/mathdef.h: Likewise.
72784 2012-01-31  Marek Polacek  <polacek@redhat.com>
72786         * libio/libio.h: Don't define _PARAMS.
72787         * locale/programs/config.h: Don't define PARAMS.
72788         * stdlib/strtol_l.c: Likewise.
72789         (__strtol_l): Remove PARAMS from the prototype.
72791 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
72793         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
72794         names.  Just use the correct names.  Remove unnecessary wrapper
72795         functions.
72796         * malloc/arena.c: Likewise.
72797         * malloc/hooks.c: Likewise.
72799         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
72800         ARENA_TEST says not to.  Simplify test for creation of a new arena.
72801         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
72803 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
72805         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
72806         into tail calls.
72807         (update_get_addr): New function.
72808         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
72809         GET_ADDR_MODULE parameter.
72811 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
72813         * crypt/cert.c: Remove __STDC__ conditionals.
72814         * crypt/crypt-entry.c: Likewise.
72815         * crypt/crypt_util.c: Likewise.
72816         * libio/filedoalloc.c: Likewise.
72817         * libio/fileops.c: Likewise.
72818         * libio/genops.c: Likewise.
72819         * libio/iofclose.c: Likewise.
72820         * libio/iofdopen.c: Likewise.
72821         * libio/iofopen.c: Likewise.
72822         * libio/iofopen64.c: Likewise.
72823         * libio/iogetdelim.c: Likewise.
72824         * libio/iopopen.c: Likewise.
72825         * libio/obprintf.c: Likewise.
72826         * libio/oldfileops.c: Likewise.
72827         * libio/oldiofclose.c: Likewise.
72828         * libio/oldiofdopen.c: Likewise.
72829         * libio/oldiofopen.c: Likewise.
72830         * libio/oldiopopen.c: Likewise.
72831         * libio/wfiledoalloc.c: Likewise.
72832         * libio/wgenops.c: Likewise.
72833         * locale/programs/xmalloc.c: Likewise.
72834         * misc/syslog.c: Likewise.
72835         * stdio-common/xbug.c: Likewise.
72836         * string/memchr.c: Likewise.
72837         * string/memcmp.c: Likewise.
72838         * string/memrchr.c: Likewise.
72839         * string/rawmemchr.c: Likewise.
72840         * sysdeps/posix/getcwd.c: Likewise.
72841         * time/strftime_l.c: Likewise.
72843 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
72845         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
72846         * config.make.in (config-cflags-sse2avx): Define.
72847         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
72848         Fix typo.
72850 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
72852         * scripts/config.guess: Update from upstream config git repository.
72853         * scripts/config.sub: Likewise.
72855 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
72857         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
72858         (EM_NUM): Update.
72859         (R_TILEPRO_*, R_TILEGX_*): New macros.
72861         * scripts/firstversions.awk: Fix bug in version range handling.
72863         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
72865         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
72867         * include/sys/epoll.h: New file.
72868         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
72869         libc_hidden_def.
72871 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
72873         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
72874         Avoid unnecessary __WORDSIZE == 64 test.
72875         (fmaxf): Use VEX format if possible.
72876         (fmax): Likewise.
72877         (fminf): Likewise.
72878         (fmin): Likewise.
72880         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
72881         * math/math_private.h: Remove libc_fegetround* and
72882         libc_fesetround*.
72883         * sysdeps/i386/configure.in: Check for -msse2avx.
72884         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
72885         also if SSE2AVX is defined.
72886         Remove libc_fegetround* and libc_fesetround*.
72887         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
72888         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
72889         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
72890         of HAS_YMM_USABLE.
72891         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72892         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72893         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72894         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72895         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72897         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
72899 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72901         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
72902         size is not set.
72903         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
72905 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
72907         [BZ #13618]
72908         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
72909         relocation.
72910         * Makeconfig (libm): Define.
72911         * elf/Makefile: Add rules to build and run tst-relsort1.
72912         * elf/tst-relsort1.c: New file.
72913         * elf/tst-relsort1mod1.c: New file.
72914         * elf/tst-relsort1mod2.c: New file.
72916 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
72918         * math/s_ldexp.c: Remove __STDC__ conditionals.
72919         * math/s_ldexpf.c: Likewise.
72920         * math/s_ldexpl.c: Likewise.
72921         * math/s_nextafter.c: Likewise.
72922         * math/s_nexttowardf.c: Likewise.
72923         * math/s_significand.c: Likewise.
72924         * math/s_significandf.c: Likewise.
72925         * math/s_significandl.c: Likewise.
72926         * math/w_jnl.c: Likewise.
72927         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
72928         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
72929         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
72930         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
72931         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
72932         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
72933         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
72934         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
72935         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
72936         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
72937         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
72938         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72939         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
72940         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
72941         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
72942         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
72943         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
72944         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
72945         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
72946         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72947         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72948         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
72949         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
72950         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
72951         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
72952         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
72953         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
72954         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
72955         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
72956         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
72957         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
72958         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
72959         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
72960         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
72961         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
72962         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
72963         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
72964         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
72965         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
72966         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
72967         * sysdeps/ieee754/k_standard.c: Likewise.
72968         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72969         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
72970         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
72971         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
72972         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
72973         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
72974         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
72975         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
72976         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
72977         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
72978         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
72979         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
72980         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
72981         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
72982         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
72983         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
72984         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
72985         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
72986         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
72987         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
72988         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
72989         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
72990         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
72991         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
72992         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
72993         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
72994         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72995         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72996         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72997         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
72998         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
72999         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
73000         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
73001         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
73002         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
73003         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
73004         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
73005         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
73006         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
73007         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
73008         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
73009         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
73010         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
73011         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
73012         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
73013         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
73014         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
73015         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
73016         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
73017         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
73018         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
73019         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
73020         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
73021         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
73022         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
73023         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
73024         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
73025         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73026         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73027         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73028         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
73029         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
73030         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
73031         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
73032         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
73033         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
73034         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
73035         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
73036         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
73037         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
73038         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
73039         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
73040         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
73041         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
73042         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
73043         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
73044         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
73045         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
73046         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
73047         * sysdeps/ieee754/s_matherr.c: Likewise.
73048         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
73049         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
73050         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
73051         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
73053 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
73055         * crypt/md5.h: Remove __STDC__ conditionals.
73056         * libio/libioP.h: Likewise.
73057         * locale/programs/config.h: Likewise.
73058         * sysdeps/generic/sysdep.h: Likewise.
73059         * sysdeps/i386/asm-syntax.h: Likewise.
73060         * sysdeps/s390/asm-syntax.h: Likewise.
73061         * sysdeps/unix/sysdep.h: Likewise.
73062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
73063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
73065 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
73067         * libio/libio.h: Remove __STDC__ conditionals.
73068         * malloc/obstack.h: Likewise.
73069         * math/complex.h: Likewise.
73070         * math/math.h: Likewise.
73071         * sysdeps/generic/_G_config.h: Likewise.
73072         * sysdeps/gnu/_G_config.h: Likewise.
73073         * sysdeps/mach/hurd/_G_config.h: Likewise.
73074         * sysdeps/powerpc/bits/mathdef.h: Likewise.
73075         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
73076         * sysdeps/sparc/bits/mathdef.h: Likewise.
73078 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
73080         [BZ #13583]
73081         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
73082         Clean up HAS_* macros.
73083         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
73084         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
73085         possible.
73086         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
73087         HAS_AVX.
73088         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73089         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73090         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73091         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73092         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73094 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
73096         * elf/tst-unique3.cc (gets): Remove declaration.
73097         * elf/tst-unique3lib.cc (gets): Likewise.
73098         * elf/tst-unique3lib2.cc (gets): Likewise.
73099         * elf/tst-unique4.cc (gets): Likewise.
73101 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
73103         * include/stdio.h: Add C++ protection.  Add gets declarations and
73104         definitions.
73105         * debug/tst-chk1.c: Don't declare gets here.
73106         * stdio-common/tst-gets.c: Likewise.
73108 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
73110         * posix/glob: Remove directory.
73112 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
73114         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
73116 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
73118         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
73119         of the non-standard EPFNOSUPPORT.
73121 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73123         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
73124         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
73125         ANYWHERE set to 1 only on KERN_NO_SPACE error.
73127 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
73129         * wcsmbs/uchar.h: Test __STDC_VERSION__.
73131 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
73133         * nscd/aicache.c (addhstaiX): Do not cache negative results of
73134         transient errors.
73135         * nscd/grpcache.c (cache_addgr): Likewise.
73136         * nscd/hstcache.c (cache_addhst): Likewise.
73137         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73138         * nscd/pwdcache.c (cache_addpw): Likewise.
73139         * nscd/servicescache.c (cache_addserv): Likewise.
73141 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
73143         * malloc/malloc.c: Various cleanups.
73144         * malloc/hooks.c: Likewise.
73146         * stdlib/Makefile (tests): Add bug-fmtmsg1.
73147         * stdlib/bug-fmtmsg1.c: New file.
73149         * stdlib/fmtmsg.c (init): Add missing unlock.
73150         Patch by Peng Haitao <penght@cn.fujitsu.com>.
73152 2012-01-12  Marek Polacek  <polacek@redhat.com>
73154         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
73155         and _GNU_SOURCE.
73157 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
73159         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
73160         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
73161         macro to ensure uniqueness of label name.
73162         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
73163         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
73165 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
73167         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
73169         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
73170         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
73171         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
73172         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
73174 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
73176         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
73178         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
73179         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
73180         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
73182         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
73184         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
73185         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
73186         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
73187         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
73189         * math/bits/math-finite.h: Add ldexp support.
73191 2012-01-10  Marek Polacek  <polacek@redhat.com>
73193         * locale/programs/localedef.h (show_archive_content): Add noreturn
73194         attribute.
73196 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
73198         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
73200 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73202         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
73204         * io/Makefile (headers): Add bits/poll2.h.
73206 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
73208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
73209         typo #include statement.
73211 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73213         * include/sys/cdefs.h: Define __attribute_alloc_size.
73214         * catgets/gencat.c: Add alloc_size attribute and apply consistently
73215         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
73216         * elf/pldd.c: Likewise.
73217         * iconv/iconv_charmap.c: Likewise.
73218         * iconv/iconvconfig.c: Likewise.
73219         * iconv/strtab.c: Likewise.
73220         * locale/programs/locale.c: Likewise.
73221         * locale/programs/localedef.h: Likewise.
73222         * locale/programs/simple-hash.c: Likewise.
73223         * nscd/nscd.h: Likewise.
73224         * nss/makedb.c: Likewise.
73225         * sysdeps/generic/ldconfig.h: Likewise.
73226         * locale/programs/localedef.c: Remove xmalloc prototype.
73227         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
73229 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
73231         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
73232         appropriate.
73234 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73236         * math/Makefile (tests): Add tst-CMPLX.
73237         * math/tst-CMPLX.c: New file.
73239         * math/complex.h (CMPLXL): Fix typo.
73241         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
73242         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
73243         GLIBC_2.16.
73244         * debug/tst-chk1.c: Add poll and ppoll tests.
73245         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
73246         * include/sys/poll.h: Add hidden proto for ppoll.
73247         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
73248         * sysdeps/mach/hurd/ppoll.c: Likewise.
73249         * io/ppoll.c: Likewise.
73250         * debug/poll_chk.c: New file.
73251         * debug/ppoll_chk.c: New file.
73252         * include/bits/poll2.h: New file.
73253         * io/bits/poll2.h: New file.
73255         [BZ #1350]
73256         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
73258         * configure.in: static is always set to yes.  Remove.
73259         * config.make.in: Don't set build-static.
73260         * Makeconfig: Remove use of build-static.
73261         * dlfcn/Makefile: Likewise.
73262         * elf/Makefile: Likewise.
73263         * math/Makefile: Likewise.
73264         * misc/Makefile: Likewise.
73265         * nptl/Makefile: Likewise.
73266         * sysdeps/mach/hurd/Makefile: Likewise.
73268         * configure.in: PWD_P is not used anymore.
73269         * config.make.in: Remove PWD_P entry.
73271         * configure.in: Remove last remnants of RANLIB.
73272         No need to check for signed size_t anymore.
73273         Don't set libc_commonpagesize and libc_relro_required here for Alpha
73274         and IA-64.
73275         Remove __builtin_expect test because we require at least gcc 3.4.
73276         * aclocal.m4: Likewise.
73278         * wcsmbs/mbrtoc16.c: Implement using towc function.
73279         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
73280         * wcsmbs/wcsmbsload.c: Likewise.
73281         * iconv/gconv_simple.c: Likewise.
73282         * iconv/gconv_int.h: Likewise.
73283         * iconv/gconv_builtin.h: Likewise.
73284         * iconv/iconv_prog.c: Remove CHAR16 handling.
73286         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
73288         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
73290         * configure.in: Remove --with-elf and --enable-bounded options.
73291         Dont set base_machine for ia64.  More non-ELF conditions removed.
73292         Remove testing and setting of leading underscore information.
73293         * config.make.in (build-bounded): Set to no.
73294         * config.h.in: Remove NO_UNDERSCORES entry.
73295         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
73296         them.
73297         * csu/start.c: Remove !NO_UNDERSCORE code.
73298         * locale/localeinfo.h: Likewise.
73299         * sysdeps/generic/machine-gmon.h: Likewise.
73300         * sysdeps/generic/sysdep.h: Likewise.
73301         * sysdeps/i386/sysdep.h: Likewise.
73302         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73303         * sysdeps/mach/sysdep.h: Likewise.
73304         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73305         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73306         * sysdeps/sh/sysdep.h: Likewise.
73307         * sysdeps/sparc/sparc32/alloca.S: Likewise.
73308         * sysdeps/unix/i386/sysdep.S: Likewise.
73309         * sysdeps/unix/sparc/start.c: Likewise.
73310         * sysdeps/unix/sparc/sysdep.S: Likewise.
73311         * sysdeps/unix/sparc/sysdep.h: Likewise.
73312         * sysdeps/unix/start.c: Likewise.
73313         * sysdeps/unix/x86_64/sysdep.S: Likewise.
73314         * sysdeps/x86_64/sysdep.h: Likewise.
73316 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
73318         [BZ #13553]
73319         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
73320         for non-gcc.
73321         * argp/argp-fmtstream.h: Use const instead __const.
73322         * argp/argp.h: Likewise.
73323         * assert/assert.h: Likewise.
73324         * bits/fenv.h: Likewise.
73325         * bits/sched.h: Likewise.
73326         * bits/sigset.h: Likewise.
73327         * bits/sigthread.h: Likewise.
73328         * catgets/nl_types.h: Likewise.
73329         * conform/data/pthread.h-data: Likewise.
73330         * crypt/crypt-private.h: Likewise.
73331         * crypt/crypt.h: Likewise.
73332         * crypt/crypt_util.c: Likewise.
73333         * ctype/ctype.h: Likewise.
73334         * debug/execinfo.h: Likewise.
73335         * debug/mbsnrtowcs_chk.c: Likewise.
73336         * debug/mbsrtowcs_chk.c: Likewise.
73337         * debug/wcsnrtombs_chk.c: Likewise.
73338         * debug/wcsrtombs_chk.c: Likewise.
73339         * debug/wcstombs_chk.c: Likewise.
73340         * dirent/dirent.h: Likewise.
73341         * dlfcn/dlfcn.h: Likewise.
73342         * elf/neededtest4.c: Likewise.
73343         * grp/grp.h: Likewise.
73344         * gshadow/gshadow.h: Likewise.
73345         * iconv/gconv.h: Likewise.
73346         * iconv/gconv_int.h: Likewise.
73347         * iconv/gconv_simple.c: Likewise.
73348         * iconv/iconv.h: Likewise.
73349         * iconv/loop.c: Likewise.
73350         * iconv/skeleton.c: Likewise.
73351         * include/aio.h: Likewise.
73352         * include/aliases.h: Likewise.
73353         * include/argz.h: Likewise.
73354         * include/arpa/inet.h: Likewise.
73355         * include/assert.h: Likewise.
73356         * include/dirent.h: Likewise.
73357         * include/dlfcn.h: Likewise.
73358         * include/execinfo.h: Likewise.
73359         * include/fcntl.h: Likewise.
73360         * include/fenv.h: Likewise.
73361         * include/glob.h: Likewise.
73362         * include/grp.h: Likewise.
73363         * include/libintl.h: Likewise.
73364         * include/mntent.h: Likewise.
73365         * include/netdb.h: Likewise.
73366         * include/pwd.h: Likewise.
73367         * include/rpc/netdb.h: Likewise.
73368         * include/sched.h: Likewise.
73369         * include/search.h: Likewise.
73370         * include/shadow.h: Likewise.
73371         * include/signal.h: Likewise.
73372         * include/stdio.h: Likewise.
73373         * include/stdlib.h: Likewise.
73374         * include/string.h: Likewise.
73375         * include/sys/socket.h: Likewise.
73376         * include/sys/stat.h: Likewise.
73377         * include/sys/statfs.h: Likewise.
73378         * include/sys/statvfs.h: Likewise.
73379         * include/sys/syslog.h: Likewise.
73380         * include/sys/time.h: Likewise.
73381         * include/sys/uio.h: Likewise.
73382         * include/time.h: Likewise.
73383         * include/unistd.h: Likewise.
73384         * include/utmp.h: Likewise.
73385         * include/wchar.h: Likewise.
73386         * include/wctype.h: Likewise.
73387         * inet/aliases.h: Likewise.
73388         * inet/arpa/inet.h: Likewise.
73389         * inet/netinet/ether.h: Likewise.
73390         * inet/netinet/in.h: Likewise.
73391         * intl/libintl.h: Likewise.
73392         * io/bits/fcntl2.h: Likewise.
73393         * io/fcntl.h: Likewise.
73394         * io/ftw.h: Likewise.
73395         * io/sys/poll.h: Likewise.
73396         * io/sys/stat.h: Likewise.
73397         * io/sys/statfs.h: Likewise.
73398         * io/sys/statvfs.h: Likewise.
73399         * io/utime.h: Likewise.
73400         * libio/bits/stdio.h: Likewise.
73401         * libio/bits/stdio2.h: Likewise.
73402         * libio/libio.h: Likewise.
73403         * libio/libioP.h: Likewise.
73404         * libio/stdio.h: Likewise.
73405         * locale/lc-ctype.c: Likewise.
73406         * locale/locale.h: Likewise.
73407         * login/utmp.h: Likewise.
73408         * malloc/arena.c: Likewise.
73409         * malloc/malloc.c: Likewise.
73410         * malloc/malloc.h: Likewise.
73411         * malloc/mcheck.c: Likewise.
73412         * malloc/mtrace.c: Likewise.
73413         * math/bits/mathcalls.h: Likewise.
73414         * math/fenv.h: Likewise.
73415         * math/math_private.h: Likewise.
73416         * misc/bits/error.h: Likewise.
73417         * misc/bits/syslog.h: Likewise.
73418         * misc/err.h: Likewise.
73419         * misc/error.h: Likewise.
73420         * misc/fstab.h: Likewise.
73421         * misc/mntent.h: Likewise.
73422         * misc/regexp.h: Likewise.
73423         * misc/search.h: Likewise.
73424         * misc/sgtty.h: Likewise.
73425         * misc/sys/mman.h: Likewise.
73426         * misc/sys/syslog.h: Likewise.
73427         * misc/sys/uio.h: Likewise.
73428         * misc/sys/xattr.h: Likewise.
73429         * misc/ttyent.h: Likewise.
73430         * nis/rpcsvc/ypclnt.h: Likewise.
73431         * nss/nss.h: Likewise.
73432         * posix/bits/unistd.h: Likewise.
73433         * posix/fnmatch.h: Likewise.
73434         * posix/glob.h: Likewise.
73435         * posix/sched.h: Likewise.
73436         * posix/spawn.h: Likewise.
73437         * posix/sys/wait.h: Likewise.
73438         * posix/unistd.h: Likewise.
73439         * posix/wordexp.h: Likewise.
73440         * pwd/pwd.h: Likewise.
73441         * resolv/netdb.h: Likewise.
73442         * resource/sys/resource.h: Likewise.
73443         * rt/aio.h: Likewise.
73444         * rt/bits/mqueue2.h: Likewise.
73445         * rt/mqueue.h: Likewise.
73446         * shadow/shadow.h: Likewise.
73447         * signal/signal.h: Likewise.
73448         * socket/send.c: Likewise.
73449         * socket/sendto.c: Likewise.
73450         * socket/sys/socket.h: Likewise.
73451         * stdio-common/printf.h: Likewise.
73452         * stdlib/bits/stdlib.h: Likewise.
73453         * stdlib/fmtmsg.h: Likewise.
73454         * stdlib/monetary.h: Likewise.
73455         * stdlib/stdlib.h: Likewise.
73456         * stdlib/ucontext.h: Likewise.
73457         * streams/stropts.h: Likewise.
73458         * string/argz.h: Likewise.
73459         * string/bits/string2.h: Likewise.
73460         * string/string.h: Likewise.
73461         * string/strings.h: Likewise.
73462         * sunrpc/rpc/auth.h: Likewise.
73463         * sunrpc/rpc/auth_des.h: Likewise.
73464         * sunrpc/rpc/clnt.h: Likewise.
73465         * sunrpc/rpc/netdb.h: Likewise.
73466         * sunrpc/rpc/pmap_clnt.h: Likewise.
73467         * sunrpc/rpc/xdr.h: Likewise.
73468         * sysdeps/generic/inttypes.h: Likewise.
73469         * sysdeps/generic/net/if.h: Likewise.
73470         * sysdeps/generic/sys/swap.h: Likewise.
73471         * sysdeps/gnu/net/if.h: Likewise.
73472         * sysdeps/gnu/utmpx.h: Likewise.
73473         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
73474         * sysdeps/i386/i486/bits/string.h: Likewise.
73475         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
73476         * sysdeps/s390/bits/string.h: Likewise.
73477         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
73478         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
73479         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
73480         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
73481         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
73482         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
73483         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
73484         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
73485         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
73486         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
73487         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
73488         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
73489         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
73490         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
73491         * sysdeps/unix/sysv/linux/readv.c: Likewise.
73492         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
73493         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
73494         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73495         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
73496         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
73497         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73498         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
73499         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
73500         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
73501         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
73502         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
73503         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
73504         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73505         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
73506         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
73507         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
73508         * sysvipc/sys/ipc.h: Likewise.
73509         * sysvipc/sys/msg.h: Likewise.
73510         * sysvipc/sys/sem.h: Likewise.
73511         * sysvipc/sys/shm.h: Likewise.
73512         * termios/termios.h: Likewise.
73513         * time/sys/time.h: Likewise.
73514         * time/time.h: Likewise.
73515         * wcsmbs/bits/wchar2.h: Likewise.
73516         * wcsmbs/uchar.h: Likewise.
73517         * wcsmbs/wchar.h: Likewise.
73518         * wctype/wctype.h: Likewise.
73520         [BZ #13551]
73521         * Makeconfig: Remove all but ELF support including AIX support.
73522         * Makerules: Likewise.
73523         * config.h.in: Likewise.
73524         * config.make.in: Likewise.
73525         * configure: Likewise.
73526         * configure.in: Likewise.
73527         * csu/Makefile: Likewise.
73528         * csu/version.c: Likewise.
73529         * debug/Makefile: Likewise.
73530         * dlfcn/Makefile: Likewise.
73531         * elf/Makefile: Likewise.
73532         * extra-lib.mk: Likewise.
73533         * iconv/Makefile: Likewise.
73534         * include/libc-symbols.h: Likewise.
73535         * include/shlib-compat.h: Likewise.
73536         * resolv/Makefile: Likewise.
73537         * resolv/res_libc.c: Likewise.
73538         * rt/Makefile: Likewise.
73539         * sysdeps/i386/asm-syntax.h: Likewise.
73540         * sysdeps/i386/sysdep.h: Likewise.
73541         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73542         * sysdeps/mach/sysdep.h: Likewise.
73543         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
73544         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
73545         * sysdeps/s390/asm-syntax.h: Likewise.
73546         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73547         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73548         * sysdeps/sh/sysdep.h: Likewise.
73549         * sysdeps/unix/sparc/sysdep.h: Likewise.
73550         * sysdeps/wordsize-32/divdi3.c: Likewise.
73551         * sysdeps/x86_64/sysdep.h: Likewise.
73553         * argp/Versions: Remove _argp_unlock_xxx.
73555         [BZ #13559]
73556         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
73557         * abilist/libBrokenLocale.abilist: Likewise.
73558         * abilist/libanl.abilist: Likewise.
73559         * abilist/libc.abilist: Likewise.
73560         * abilist/libcrypt.abilist: Likewise.
73561         * abilist/libdl.abilist: Likewise.
73562         * abilist/libm.abilist: Likewise.
73563         * abilist/libnsl.abilist: Likewise.
73564         * abilist/libpthread.abilist: Likewise.
73565         * abilist/libresolv.abilist: Likewise.
73566         * abilist/librt.abilist: Likewise.
73567         * abilist/libthread_db.abilist: Likewise.
73568         * abilist/libutil.abilist: Likewise.
73569         * abilist/libnss_db.abilist: New file.
73571         * scripts/abilist.awk: Add support for indirect functions.
73573         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
73575         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
73577         * shlib-versions: Remove entries for ports architectures.
73579         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
73580         files in ports.
73581         * elf/stackguard-macros.h: Remove support for IA-64.
73582         * elf/tst-auditmod1.c: Likewise.
73583         * sysdeps/generic/ldsodefs.h: Likewise.
73585         * sysdeps/unix/sysv/linux/configure.in: Ports should define
73586         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
73587         configure files.
73589         [BZ #13552]
73590         * configure.in: Remove --enable-omitfp support.
73591         * FAQ.in: Adjust.
73592         * config.make.in: Likewise.
73593         * Makeconfig: Likewise.
73594         * manual/install.texi: Likewise.
73596         In case anyone cares, the IA-64 architecture could move to ports.
73597         * sysdeps/ia64/*: Removed.
73598         * sysdeps/unix/sysv/linux/ia64/*: Removed.
73599         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
73601         [BZ #13555]
73602         * configure.in: Remove entries for unsupported architectures.
73604         [BZ #13533]
73605         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
73606         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
73607         routines.
73608         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
73609         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
73610         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
73611         fall back to using wcrtomb.
73612         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
73613         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
73614         renaming.
73615         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
73616         * wcsmbs/tst-c16c32-1.c: New file.
73618         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
73619         local variable.
73621         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
73623         * elf/tst-unique3.cc: Add explicit declaration of gets.
73624         * elf/tst-unique3lib.cc: Likewise.
73625         * elf/tst-unique3lib2.cc: Likewise.
73626         * elf/tst-unique4.cc: Likewise.
73628         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
73630 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
73632         [BZ #13566]
73633         * assert/assert.h (static_assert): Don't define for C++.
73634         * libio/stdio.h (gets): Do declare for C++ <= C++11.
73635         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
73637 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
73639         * iconv/loop.c (single loop): Fix assertion in storing of
73640         remaining bytes.
73642         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
73644 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
73646         * posix/getconf.c: Update copyright year.
73647         * nss/getent.c: Likewise.
73648         * nss/makedb.c: Likewise.
73649         * iconv/iconvconfig.c: Likewise.
73650         * iconv/iconv_prog.c: Likewise.
73651         * elf/ldconfig.c: Likewise.
73652         * elf/pldd.c: Likewise.
73653         * elf/sotruss.ksh: Likewise.
73654         * catgets/gencat.c: Likewise.
73655         * csu/version.c: Likewise.
73656         * elf/ldd.bash.in: Likewise.
73657         * elf/sprof.c (print_version): Likewise.
73658         * locale/programs/locale.c: Likewise.
73659         * locale/programs/localedef.c: Likewise.
73660         * login/programs/pt_chown.c: Likewise.
73661         * nscd/nscd.c (print_version): Likewise.
73662         * debug/xtrace.sh: Likewise.
73663         * malloc/memusage.sh: Likewise.
73664         * malloc/mtrace.pl: Likewise.
73665         * debug/catchsegv.sh: Likewise.
73667 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
73669         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
73670         pure attribute.
73672 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
73674         [BZ #13533]
73675         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
73676         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
73677         transformations.
73678         * iconv/gconv_int.h: Likewise.
73679         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
73680         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
73681         from libc for GLIBC_2.16.
73682         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
73683         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
73684         * wcsmbs/uchar.h: Really define mbstate_t.
73685         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
73686         * wcsmbs/c16rtomb.c: New file.
73687         * wcsmbs/mbrtoc16.c: New file.
73688         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
73689         for C/POSIX locale.
73690         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
73691         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
73693         * wcsmbs/wchar.h: Add missing __restrict.
73695 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
73697         [BZ #13532]
73698         * time/Makefile (routines): Add timespec_get.
73699         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
73700         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
73701         timespec for ISO C11.
73702         * time/timespec_get.c: New file.
73703         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
73704         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
73706         [BZ #13531]
73707         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
73708         * stdlib/stdlib.h: Declare aligned_alloc.
73709         * Versions.def: Add GLIBC_2.16 for libc.
73710         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
73712         [BZ 13527]
73713         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
73714         ISO C11.
73716         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
73717         code.
73719         [BZ #13528]
73720         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
73722         [BZ #13529]
73723         * assert/assert.h (static_assert): Define.
73725         * version.h: Update for 2.16 development version.
73727         [BZ #13526]
73728         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
73729         _ISOC11_SOURCE.
73731         * version.h (RELEASE): Bump for 2.15 release.
73732         * include/features.h (__GLIBC_MINOR__): Bump to 15.
73734         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
73735         Patch by Marek Polacek <mpolacek@redhat.com>.
73737         * bits/byteswap.h: Protect long long constants with __extension__.
73738         * sysdeps/i386/bits/byteswap.h: Likewise.
73739         * sysdeps/ia64/bits/byteswap.h: Likewise.
73740         * sysdeps/s390/bits/byteswap.h: Likewise.
73741         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73743 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73745         [BZ #13540]
73746         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
73747         destination buffer.
73748         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
73750 2011-12-23  Marek Polacek  <polacek@redhat.com>
73752         * elf/dl-addr.c (determine_info): Add inline keyword.
73753         * elf/tst-auditmod4b.c (check_avx): Likewise.
73754         * elf/tst-auditmod6b.c (check_avx): Likewise.
73755         * elf/tst-auditmod6c.c (check_avx): Likewise.
73756         * elf/tst-auditmod7b.c (check_avx): Likewise.
73758 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
73760         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
73761         !__SSE_MATH__.
73763 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73765         [BZ #13540]
73766         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
73767         processing for last bytes.
73769 2011-08-06  Bruno Haible  <bruno@clisp.org>
73771         [BZ #13061]
73772         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
73773         U+0385, not to U+1FEE.
73775         [BZ #13062]
73776         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
73777         entry for U+00A5 U+0301.
73779 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
73781         [BZ #13166]
73782         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
73783         buffer for the output is too small.
73785         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
73786         optimization.
73788         [BZ #13185]
73789         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
73790         SSE flags if possible.
73792 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73794         [BZ #13540]
73795         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
73796         processing for last bytes.
73798 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
73800         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
73801         (syscall-list-default-options, syscall-list-default-condition)
73802         (syscall-list-includes): Define.
73803         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
73804         list of ABIs and options and #if conditions for each ABI.  Do not
73805         handle common syscalls between ABIs specially.
73806         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
73807         Remove.
73808         (syscall-list-variants, syscall-list-32bit-options)
73809         (syscall-list-32bit-condition, syscall-list-64bit-options)
73810         (syscall-list-64bit-condition): Define.
73811         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
73812         (syscall-list-variants, syscall-list-32bit-options)
73813         (syscall-list-32bit-condition, syscall-list-64bit-options)
73814         (syscall-list-64bit-condition): Define.
73815         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
73816         Remove.
73817         (syscall-list-variants, syscall-list-32bit-options)
73818         (syscall-list-32bit-condition, syscall-list-64bit-options)
73819         (syscall-list-64bit-condition): Define.
73820         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
73821         Remove.
73822         (syscall-list-variants, syscall-list-32bit-options)
73823         (syscall-list-32bit-condition, syscall-list-64bit-options)
73824         (syscall-list-64bit-condition): Define.
73826 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
73828         * locale/iso-639.def: Add brx entry.
73830         [BZ #13328]
73831         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
73832         Proposed by Mariusz_Cukr <marcukr@op.pl>.
73834         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
73835         __feraiseexcept_renamed.
73837 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
73839         [BZ #13538]
73840         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
73841         EPOLLET with unsigned values.
73842         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73843         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73845         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
73846         to large cancellation.
73847         * math/s_cacoshf.c: Likewise.
73848         * math/s_cacoshl.c: Likewise.
73850 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
73852         [BZ #13305]
73853         [BZ #12786]
73854         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
73855         * math/s_cacoshf.c: Likewise.
73856         * math/s_cacoshl.c: Likewise.
73858 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
73860         [BZ #13439]
73861         * iconv/gconv.h: Define __GCONV_SWAP.
73862         * iconvdata/unicode.c: The swap bit must be stored in __flags.
73863         * iconvdata/utf-16.c: Likewise.
73864         * iconvdata/utf-32.c: Likewise.
73866 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
73868         [BZ #13524]
73869         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
73870         numerator after shifting it by one limb.
73872 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
73874         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
73875         under [__USE_EXTERN_INLINES].
73877 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
73879         [BZ #13446]
73880         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
73882 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73884         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
73885         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
73886         optimized code.
73887         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
73888         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
73889         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
73890         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
73891         for strncasecmp/strncasecmp_l compilation.
73892         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
73893         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
73895 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
73897         [BZ #13484]
73898         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
73899         of __asm__.
73901 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
73903         [BZ #13506]
73904         * time/tzfile.c (__tzfile_read): Check values from file header.
73906 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
73908         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
73909         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
73910         * powerpc/powerpc32/dl-start.S: Likewise.
73911         * powerpc/powerpc32/elf/start.S: Likewise.
73912         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
73913         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
73914         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
73915         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
73916         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
73917         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
73918         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
73919         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
73920         * powerpc/powerpc32/fpu/s_round.S: Likewise.
73921         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
73922         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
73923         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
73924         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
73925         * powerpc/powerpc32/memset.S: Likewise.
73926         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
73927         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
73928         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
73929         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
73930         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
73931         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
73932         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
73933         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
73934         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
73935         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
73936         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
73937         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
73938         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
73940 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73942         * math/libm-test.inc: Added more nearbyint tests.
73943         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
73944         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
73945         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
73946         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
73948 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
73950         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
73951         FD_CLOEXEC.
73953 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73955         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
73956         Add wcscpy-ssse3 wcscpy-c.
73957         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
73958         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
73959         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
73960         * sysdeps/x86_64/wcschr.S: New file.
73961         * sysdeps/x86_64/wcsrchr.S: New file.
73962         * string/test-strcmp.c: Remove checking of wcscmp function for
73963         wrong alignments.
73964         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
73965         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
73966         wcsrchr-sse2 wcsrchr-c.
73967         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
73968         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
73969         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
73970         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
73971         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
73972         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
73973         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
73974         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
73975         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
73976         * wcsmbc/wcschr.c (WCSCHR): New macro.
73978 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73980         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
73981         * wcsmbs/test-wcsrchr.c: New file.
73982         * string/test-strrchr.c: Add wcsrchr support.
73983         (WIDE): New macro.
73984         * wcsmbs/test-wcscpy.c: New file.
73985         * string/test-strcpy.c: Add wcscpy support.
73986         (WIDE): New macro.
73988 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
73990         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
73991         the inner loop.
73993 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
73995         [BZ #13472]
73996         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
73998 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
74000         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
74001         Minor optimizations.
74003         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
74004         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
74005         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
74007 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
74009         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
74010         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
74011         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
74012         for gcc to avoid warnings.
74013         * inet/Makefile (tests): Add tst-checks.
74014         * inet/tst-checks.c: New file.
74016         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
74017         warning.
74019         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
74020         __wmemcmp_sse2.
74022         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
74023         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
74025         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
74027 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
74029         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
74030         problem.
74032         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
74034 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
74036         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
74037         conditional on GCC version.
74038         (__arch_compare_and_exchange_val_8_acq)
74039         (__arch_compare_and_exchange_val_16_acq)
74040         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
74041         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
74042         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
74044 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
74046         * sysdeps/sh/backtrace.c: New file.
74048 2011-12-02  Andreas Schwab  <schwab@redhat.com>
74050         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
74051         parenthesis.
74053 2011-12-01  Andreas Schwab  <schwab@redhat.com>
74055         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
74056         falling back to utime.
74058 2011-11-30  Andreas Schwab  <schwab@redhat.com>
74060         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
74061         expectations for float.
74063 2011-11-29  Andreas Schwab  <schwab@redhat.com>
74065         * locale/weight.h (findidx): Add parameter len.
74066         * locale/weightwc.h (findidx): Likewise.
74067         * posix/fnmatch_loop.c (FCT): Adjust caller.
74068         * posix/regcomp.c (build_equiv_class): Likewise.
74069         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
74070         * posix/regexec.c (check_node_accept_bytes): Likewise.
74071         * string/strcoll_l.c (STRCOLL): Likewise.
74072         * string/strxfrm_l.c (STRXFRM): Likewise.
74074 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
74076         * Makefile.in: Remove CVSOPT handling.
74077         * configure.in: Remove use of AC_REVISION.
74078         * iconvdata/Makefile (distribute): No need to filter out CVS.
74079         * scripts/list-sources.sh: Remove CVS, subversion and monotone
74080         handling.
74082 2011-11-16  Andreas Schwab  <schwab@redhat.com>
74084         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
74085         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
74086         [USE_AS_STRNCASECMP_L]: Likewise.
74087         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
74088         NO_TLS_DIRECT_SEG_REFS.
74089         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
74090         Fix argument offsets for non-PIC.
74091         [USE_AS_STRNCASECMP_L]: Likewise.
74092         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
74093         NO_TLS_DIRECT_SEG_REFS.
74095 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
74097         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
74098         O_CLOEXEC.
74099         * locale/loadlocale.c (_nl_load_locale): Likewise.
74101 2011-11-15  Andreas Schwab  <schwab@redhat.com>
74103         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
74104         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
74105         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
74106         (SYSCALL_GETTIME): Set errno on error.
74108         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
74109         count references to noai6ai_cached.
74111 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
74113         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
74115         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
74116         FD_CLOEXEC for /proc/self/maps.
74118         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
74119         FD_CLOEXEC for /proc/meminfo.
74121         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
74122         gai.conf.
74124         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
74125         FD_CLOEXEC for given file.
74127         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
74129         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
74130         FD_CLOEXEC for /etc/hosts.
74131         (_gethtent): Likewise.
74133         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
74135         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
74136         cancellation and set FD_CLOEXEC for /etc/netgroup.
74138         * nss/nss_files/files-key.c (search): Don't allow cancellation when
74139         reading /etc/publickey.
74141         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
74142         allow cancellation when reading /etc/group.
74144         * nss/nss_files/files-alias.c (internal_setent): Don't allow
74145         cancellation.
74146         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
74148         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
74149         when using data file.
74151         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
74153         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
74154         (write_nis_obj): Use "c" and "e" in fopen.
74156         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
74158         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
74160         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
74162         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
74164         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
74165         locale.alias.
74167         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
74169         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
74171         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
74173         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
74174         file parsing and set FD_CLOEXEC.
74176 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
74178         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
74180 2011-11-14  Andreas Schwab  <schwab@redhat.com>
74182         * malloc/arena.c (arena_get2): Don't call reused_arena when
74183         _int_new_arena failed.
74185 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
74187         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
74188         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
74189         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
74190         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74191         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74192         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
74193         to compile strcasecmp and strncasecmp.
74194         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
74195         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
74197         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
74199 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
74201         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
74202         locale-defines.sym to gen-as-const-headers.
74203         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
74204         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
74205         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
74206         to compile strcasecmp and strncasecmp.
74207         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
74208         strcasecmp_l and strncasecmp_l.
74209         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
74210         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
74211         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
74212         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
74213         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
74214         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
74215         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
74216         * sysdeps/i386/i686/multiarch/strncase.S: New file.
74217         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
74218         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
74219         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
74221 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
74223         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
74224         result of SYSDEP_GETTIME_CPU to retval.
74225         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
74226         parameter list to macro.  Remove trailing semicolon.  Adjust users.
74228         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
74229         variable.
74231         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
74232         mantissa words.
74233         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
74235         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
74236         from unused variable.
74238         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
74239         DWARF definitions.
74240         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
74241         for assembling.
74243         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
74244         over namespaces.
74246         * sunrpc/rpc_prot.c (rejected): Fix case value.
74248         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
74249         unsigned long long int to avoid warnings in shift.
74251         * posix/regex_internal.c (re_string_reconstruct): Actually use result
74252         of use of trans.
74253         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
74254         variable tmp.
74256         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
74257         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
74258         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
74260         * nis/nis_table.c (nis_list): Use variable of correct type for
74261         result of __follow_path call.
74263 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74265         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
74266         of math functions ceil, trunc, floor, round, and sqrt, when
74267         avaliable on the platform.
74268         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
74269         name clash.
74270         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
74271         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
74272         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
74274 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
74276         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
74277         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
74279 2011-11-11  Roland McGrath  <roland@hack.frob.com>
74281         * include/unistd.h: Fix __readlink return type.
74282         Reported by Chris Metcalf <cmetcalf@tilera.com>.
74284 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
74286         * stdlib/ucontext.h: Undo last change for makecontext.
74288 2011-11-11  Andreas Schwab  <schwab@redhat.com>
74290         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
74292         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
74293         * setjmp/setjmp.h: Mark functions as non-leaf.
74294         * setjmp/bits/setjmp2.h: Likewise.
74295         * stdlib/ucontext.h: Likewise.
74297 2011-11-10  Andreas Schwab  <schwab@redhat.com>
74299         * malloc/arena.c (_int_new_arena): Don't increment narenas.
74300         (reused_arena): Don't check arena limit.
74301         (arena_get2): Atomically check arena limit.
74303 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
74305         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
74306         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
74308         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
74309         instructions.
74311 2011-11-07  Andreas Schwab  <schwab@redhat.com>
74313         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
74314         handler when locking.
74316         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
74317         Fix size of allocated buffer.
74319 2011-11-04  Andreas Schwab  <schwab@redhat.com>
74321         [BZ #10103]
74322         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
74323         declarations for long double functions.
74324         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
74326         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
74328 2011-11-03  Andreas Schwab  <schwab@redhat.com>
74330         * nscd/nscd.c (main): Don't start AVC thread until credentials are
74331         installed.
74333         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
74334         is disabled.
74336 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74338         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
74340 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
74342         * include/alloca.h (stackinfo_alloca_round): Define.
74343         (extend_alloca): Use it.
74344         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
74345         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
74346         here.
74348         * scripts/check-local-headers.sh: Ignore libaudit.h.
74350         * nscd/Makefile (extra-objs): Make recursively expanded.
74352 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
74354         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
74355         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
74357         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
74358         * posix/tst-rfc3484-2.c: Likewise.
74359         * posix/tst-rfc3484-3.c: Likewise.
74361         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
74362         process_vm_writev.
74363         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
74364         process_vm_writev.
74365         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
74366         process_vm_writev from libc using GLIBC_2.15 version.
74368         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
74370 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
74372         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
74373         stack usage.
74375 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
74377         [BZ #13367]
74378         * nss/getent.c (initgroups_keys): Show error message in case no group
74379         names are given.
74381         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
74382         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
74383         __bump_nl_timestamp.
74384         * nscd/connections (nscd_init): When host database is served open
74385         netlink socket and request notification about configuration changes.
74386         (main_loop_poll): Track netlink file descriptor and bump timestamp
74387         in case data becomes available.
74388         (main_loop_epoll): Likewise.
74389         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
74390         (database_pers_head): Add extra_data fileds.
74391         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
74392         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
74393         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
74394         Adjust caller.
74395         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
74396         in6ai data, call __free_in6ai.
74397         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
74398         Add -DHAVE_NETLINK.
74399         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
74400         interface information.  Reuse previous data if netlink timestamp
74401         is not changed.
74402         (__bump_nl_timestamp): New function.
74403         (__free_in6ai): New function.
74405 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
74407         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
74408         close_not_cancel_no_status here.
74409         (__check_pf): Reorganize code a bit to not call close twice if OOM.
74411 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74413         [BZ #13276]
74414         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
74415         return value.
74417         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
74418         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
74419         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
74421 2011-07-03  Andreas Jaeger  <aj@suse.de>
74423         [BZ #10709]
74424         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
74425         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
74426         * math/libm-test.inc (sin_test): Add test case.
74428 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74430         [BZ #13337]
74431         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
74432         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74434         * elf/chroot_canon.c (chroot_canon): Cleanups.
74436         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
74438         [BZ #13335]
74439         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
74440         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74442         * string/test-strchr.c: Make usable for strchrnul testing.
74443         * string/test-strchrnul.c: New file.
74444         * string/Makefile (strop-tests): Add strchrnul.
74446         * po/it.po: Update from translation team.
74447         * po/es.po: Likewise.
74449 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
74451         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
74452         the three constants needed as parameters.  Drop the others.
74453         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
74454         __m128i_strloadu_tolower.
74455         Create and initialize variable zero and use it in all the places
74456         where _mm_setzero_si128 was used.
74458         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
74459         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
74460         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
74461         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
74462         anymore.
74463         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
74464         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
74465         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
74466         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
74467         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
74468         __mpranred, __mptan.
74469         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
74470         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
74471         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
74472         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
74473         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
74474         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
74475         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
74476         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
74477         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
74479 2011-10-28  Andreas Schwab  <schwab@redhat.com>
74481         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
74482         redefine if SHARED.
74483         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
74485         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
74486         wide char related routines to wcsmbs subdir.
74488 2011-10-27  Andreas Schwab  <schwab@redhat.com>
74490         [BZ #13344]
74491         * misc/sys/cdefs.h (__THROWNL): Define.
74492         * posix/unistd.h: Use __THREADNL instead of __THREAD
74493         for memory synchronization functions.
74495 2011-10-26  Roland McGrath  <roland@hack.frob.com>
74497         [BZ #13349]
74498         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
74499         doesn't exist.
74500         * manual/stdio.texi (Obstack Streams): Node removed.
74502 2011-10-26  Andreas Schwab  <schwab@redhat.com>
74504         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
74505         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74506         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74508         * math/math_private.h (math_force_eval): Allow non-addressable
74509         arguments.
74510         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
74512 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74514         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
74515         file is not needed.
74517         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
74518         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
74519         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74520         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74521         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74522         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74523         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74524         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
74525         Add AVX variants.
74526         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
74527         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
74528         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
74529         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
74530         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
74531         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
74532         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
74533         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
74534         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
74535         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
74536         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
74537         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
74538         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
74539         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
74540         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
74541         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
74542         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
74543         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
74544         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
74546         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
74547         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
74549         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
74550         place.  Use VEX encoding when compiling for AVX.
74552 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74554         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
74555         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
74557         * string/test-strchr.c (do_test): Don't generate NUL bytes.
74559 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74561         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
74562         useless if() expression.
74563         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74564         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
74565         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
74566         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74567         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
74568         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74569         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74570         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74571         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
74572         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74573         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74574         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74575         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
74576         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74577         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
74578         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74579         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74580         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74581         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
74583         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
74585 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74587         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
74588         condition.
74589         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74591 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74593         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
74594         .text section.  Avoid duplicate constants.
74595         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
74596         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74597         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74598         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74599         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74600         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74601         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74602         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74603         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
74604         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
74605         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
74606         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
74607         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
74608         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
74609         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
74610         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
74611         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
74612         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
74613         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
74614         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74615         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
74616         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
74617         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
74618         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
74619         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
74620         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
74621         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
74622         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
74623         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
74624         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
74625         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
74626         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
74627         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
74628         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
74629         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
74630         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
74631         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
74632         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
74633         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
74634         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
74635         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
74636         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
74637         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
74638         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
74639         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
74641 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
74643         * sysdeps/x86_64/dla.h: Move to ...
74644         * sysdeps/x86_64/fpu/dla.h: ...here.
74645         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
74646         situations.  Use __builtin_fma only for gcc 4.6 and up.
74648         * config.make.in: Add have-mfma4 entry.
74649         * configure.in: Substitute libc_cv_cc_fma4.
74650         * math/Makefile (dbl-only-routines): Add sincostab.
74651         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
74652         Use __sincostab not sincos.
74653         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
74654         name is a macro.
74655         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74656         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74657         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74658         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
74659         using __copysign.
74660         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
74661         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
74662         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
74663         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
74664         and __inv.
74665         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
74666         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
74667         __copysign.
74668         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
74669         define aliases when function name is a macro.
74670         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
74671         sysdeps/ieee754/dbl-64/sincos.tbl.
74672         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
74673         fma4-enabled routines.
74674         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
74675         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
74676         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
74677         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
74678         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
74679         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
74680         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
74681         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
74682         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
74683         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
74684         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
74685         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
74686         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
74687         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
74688         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
74689         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
74690         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
74691         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
74692         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
74693         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
74694         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
74695         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
74696         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
74697         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
74698         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
74699         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
74700         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
74701         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
74702         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
74703         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
74705         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
74706         rename.
74707         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74708         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74709         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74710         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74711         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74712         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74713         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74714         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74716 2011-10-24  Andreas Schwab  <schwab@redhat.com>
74718         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
74720 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74722         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
74724         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
74725         prediction.
74726         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
74728         * string/strnlen.c: Don't define STRNLEN, reverse logic.
74729         Remove unused variable magic_bits.
74730         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
74732         * string/strnlen.c: Define and use STRNLEN macro.
74733         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
74734         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
74735         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
74736         * wcsmbs/wcslen.c: Define and use WCSLEN.
74737         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
74738         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
74739         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
74740         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
74741         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
74742         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
74743         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
74745 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74747         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74748         strnlen-sse2-no-bsf.
74749         Rename strlen-no-bsf to strlen-sse2-no-bsf.
74750         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
74751         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
74752         Add strnlen support.
74753         (USE_AS_STRNLEN): New macro.
74754         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
74755         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
74756         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
74757         * sysdeps/x86_64/wcslen.S: New file.
74759 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
74761         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74762         XMM-moves are used for copying on small sizes.
74764 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74766         * wcsmbs/Makefile (strop-tests): Add wcschr.
74767         * wcsmbs/test-wcschr.c: New file.
74768         * string/test-strchr.c: Update.
74769         Add wcschr support.
74770         (WIDE): New macro.
74772 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74774         * wcsmbs/Makefile (strop-tests): Add wcslen.
74775         * wcsmbs/test-wcslen.c: New file.
74776         * string/test-strlen.c: Update.
74777         Add wcslen support.
74778         (WIDE): New macro.
74780 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74782         * po/it.po: Update from translation team.
74784 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74786         * sysdeps/x86_64/wcscmp.S: Update.
74787         Fix wrong comparison semantics.
74788         wcscmp shall use signed comparison not unsigned.
74789         Don't use substraction to avoid overflow bug.
74790         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
74791         * wcsmbc/wcscmp.c: Likewise.
74792         * string/test-strcmp.c: Likewise.
74793         Add new tests to check cases with negative values.
74795 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74797         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
74798         * sysdeps/x86_64/dla.h: ...here.  New file.
74799         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
74800         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74801         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74802         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74803         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74804         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
74805         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74806         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74807         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74809 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
74811         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
74812         __ynl_finite aliases.
74814 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
74816         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74818         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
74819         define DLA_FMA.
74820         [DLA_FMA] (EMULV): Use DLA_FMA.
74821         [DLA_FMA] (MUL12): Use EMULV.
74822         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
74823         that are not needed.
74824         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74825         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74826         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74827         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74828         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74829         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74830         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74832 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
74834         * math/s_nan.c: Undef __nan.
74835         * math/s_nanf.c: Undef __nanf.
74836         * math/s_nanl.c: Undef __nanl.
74837         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
74838         "math_private.h".
74840 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
74842         * math/s_catan.c: Add branch predictions.
74843         * math/s_catanf.c: Likewise.
74844         * math/s_catanh.c: Likewise.
74845         * math/s_catanhf.c: Likewise.
74846         * math/s_catanhl.c: Likewise.
74847         * math/s_catanl.c: Likewise.
74848         * math/s_cexp.c: Likewise.
74849         * math/s_cexpf.c: Likewise.
74850         * math/s_cexpl.c: Likewise.
74851         * math/s_clog.c: Likewise.
74852         * math/s_clog10.c: Likewise.
74853         * math/s_clog10f.c: Likewise.
74854         * math/s_clog10l.c: Likewise.
74855         * math/s_clogf.c: Likewise.
74856         * math/s_clogl.c: Likewise.
74857         * math/s_csqrt.c: Likewise.
74858         * math/s_csqrtf.c: Likewise.
74859         * math/s_csqrtl.c: Likewise.
74860         * math/s_ctanf.c: Likewise.
74861         * math/s_ctanh.c: Likewise.
74862         * math/s_ctanhf.c: Likewise.
74863         * math/s_ctanhl.c: Likewise.
74864         * math/s_ctanl.c: Likewise.
74866         * math/math_private.h: Define __nan, __nanf, __nanl.
74867         * math/s_cacosh.c: Include <math_private.h>.
74868         * math/s_cacoshl.c: Likewise.
74869         * math/s_casinh.c: Likewise.
74870         * math/s_casinhf.c: Likewise.
74871         * math/s_casinhl.c: Likewise.
74872         * math/s_ccos.c: Rely entire on ccosh.
74873         * math/s_ccosf.c: Rely entire on ccoshf.
74874         * math/s_ccosl.c: Rely entirely on ccoshl.
74875         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
74876         Remove tests for FE_INVALID.
74877         * math/s_ccoshf.c: Likewise.
74878         * math/s_ccoshl.c: Likewise.
74879         * math/s_csin.c: Likewise.
74880         * math/s_csinf.c: Likewise.
74881         * math/s_csinh.c Likewise.
74882         * math/s_csinhf.c: Likewise.
74883         * math/s_csinhl.c: Likewise.
74884         * math/s_csinl.c: Likewise.
74885         * math/s_ctan.c: Likewise.
74886         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
74887         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
74888         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
74890 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
74892         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
74893         compilation problems.
74895         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
74896         __builtin_expect.
74898 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
74900         * sysdeps/i386/configure.in: Test for -mfma4 option.
74901         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
74902         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
74903         COMMON_CPUID_INDEX_80000001.
74904         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
74905         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
74906         use it if FMA3 is not supported.
74907         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
74909         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
74910         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
74912 2011-10-20  Andreas Schwab  <schwab@redhat.com>
74914         [BZ #12892]
74915         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
74916         it would create a cycle with a link time dependency.
74918 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
74920         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
74921         instruction.
74922         * string/Makefile (strop-tests): Add rawmemchr.
74923         * string/test-rawmemchr.c: New file.
74925         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
74926         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
74927         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
74928         when compiling str{,n}casecmp and when AVX is available.  Hook up
74929         new optimized code in initializers.
74931 2011-10-19  Andreas Schwab  <schwab@redhat.com>
74933         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
74934         __feraiseexcept instead of feraiseexcept.
74936 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
74938         * math/math_private.h: Define defaults for libc_fetestexcept and
74939         libc_feupdateenv.
74940         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
74941         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
74942         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
74943         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
74944         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
74945         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
74946         libc_fetestexcept and libc_feupdateenv.
74948         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
74949         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
74950         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
74951         * sysdeps/x86_64/fpu/math_private.h: Define special version of
74952         libc_feholdexcept_setround.
74954         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
74955         Add s_nearbyint-c and s_nearbyintf-c.
74956         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
74957         nearbyintf inlines.
74958         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
74959         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
74960         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
74961         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
74963         * math/math_private.h: Define defaults for libc_fegetround,
74964         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
74965         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
74966         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
74967         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
74968         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
74969         standard functions.
74970         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
74971         Remove comments and hacks for old compiler versions.
74972         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
74973         libc_fegetround, libc_fesetround, libc_feholdexcept, and
74974         libc_feholdexceptl.
74976 2011-10-18  Andreas Schwab  <schwab@redhat.com>
74978         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
74979         (__feraiseexcept_renamed): Add __NTH.
74980         (feraiseexcept): Add __NTH.  Rename local variables to fix
74981         namespace violations.
74983 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
74985         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
74987         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
74989         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
74990         recently added interfaces.
74991         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
74993         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
74994         about macro parameter expansion.
74996         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
74997         __NO_MATH_INLINES is defined.  Cleanups.
74999         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
75000         and __floorf is target has SSE4.1.
75001         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
75002         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
75003         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
75004         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
75006         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
75007         name.
75008         (floorf): Likewise.
75010         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
75012 2011-10-17  Andreas Schwab  <schwab@redhat.com>
75014         * misc/sys/cdefs.h: Fix last change.
75016         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
75017         database lookup.
75019 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
75021         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
75023         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
75024         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75025         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
75026         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75027         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75028         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
75029         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75030         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75031         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
75032         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
75033         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
75034         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
75035         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
75036         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
75037         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
75038         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
75039         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
75040         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
75041         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
75042         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
75043         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
75044         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
75046         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
75047         ceil, ceilf, floor, floorf.
75049         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
75050         Perform IRELATIVE relocations last.
75052         * elf/do-rel.h: Add another parameter nrelative, replacing the
75053         local variable with the same name.  Change name of the function
75054         to end in Rel or Rela (uppercase).
75055         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
75056         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
75057         elf_dynamic_do_##reloc function.
75059 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
75061         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
75062         is sufficient, at least on modern CPUs.
75064         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
75066         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
75067         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
75069         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
75070         __expl_finite.
75071         * math/bits/math-finite.h: Add entries for exp.
75072         * math/e_expl.c: Add __*_finite alias.
75073         * sysdeps/i386/fpu/e_exp.S: Likewise.
75074         * sysdeps/i386/fpu/e_expf.S: Likewise.
75075         * sysdeps/i386/fpu/e_expl.c: Likewise.
75076         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75077         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
75078         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
75079         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
75080         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
75081         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
75082         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
75084         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
75085         is sufficient, at least on modern CPUs.
75087         * ctype/ctype-info.c (__ctype_init): Define.
75088         * include/ctype.h (__ctype_init): Declare.
75089         (__ctype_b_loc): The variable is always initialized.
75090         (__ctype_toupper_loc): Likewise.
75091         (__ctype_tolower_loc): Likewise.
75092         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
75093         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
75095 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
75097         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
75099         * configure.in: Also look in $cxxmachine/include for C++ system
75100         headers.
75102 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75104         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
75105         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
75106         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
75107         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
75108         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
75109         (USE_AS_WMEMCMP): New macro.
75110         Fixing indents.
75111         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
75112         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
75113         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
75114         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
75115         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75116         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
75117         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
75118         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
75119         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
75120         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
75121         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
75122         (USE_AS_WMEMCMP): New macro.
75123         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
75124         * sysdeps/string/test-memcmp.c: Update.
75125         Fix simple_wmemcmp.
75126         Add new tests.
75127         * wcsmbs/wmemcmp.c: Update.
75128         (WMEMCMP): New macro.
75129         Fix overflow bug.
75131 2011-10-12  Andreas Jaeger  <aj@suse.de>
75133         [BZ #13268]
75134         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
75136 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
75138         * libio/iofwide.c (do_length): Avoid warning.
75140         * ctype/ctype.h (__isctype_f): Add missing __THROW.
75142 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
75144         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
75146         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
75147         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
75148         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
75149         * sysdeps/i386/i686/fpu/e_log.S: New file.
75150         * sysdeps/i386/i686/fpu/e_logf.S: New file.
75151         * sysdeps/i386/i686/fpu/e_logl.S: New file.
75153         * ctype/ctype.h: Add support for inlined isXXX functions when
75154         compiling C++ code.
75156 2011-10-14  Andreas Schwab  <schwab@redhat.com>
75158         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75160         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
75162 2011-10-13  Roland McGrath  <roland@hack.frob.com>
75164         [BZ #13291]
75165         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
75167 2011-10-13  Andreas Schwab  <schwab@redhat.com>
75169         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
75170         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
75171         feraiseexcept.
75173         * sysdeps/x86_64/memrchr.S: Check for zero size.
75175         * string/stratcliff.c: Add memrchr tests.
75177 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75179         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75180         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
75181         rawmemchr-sse2 rawmemchr-sse2-bsf.
75182         * sysdeps/i386/i686/multiarch/memchr.S: New file.
75183         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
75184         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
75185         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
75186         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
75187         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
75188         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
75189         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
75190         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
75191         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
75192         * string/memrchr.c (MEMRCHR): New macro.
75194 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
75196         Add integration with gcc's -ffinite-math-only and optimize wrapper
75197         functions in libm.
75198         * Versions.def: Define GLIBC_2.15 version for libm.
75199         * math/Makefile (headers): Add bits/math-finite.h.
75200         * math/bits/math-finite.h: New file.
75201         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
75202         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
75203         * math/e_acoshl.c: Add __*_finite alias.
75204         * math/e_acosl.c: Likewise.
75205         * math/e_asinl.c: Likewise.
75206         * math/e_atan2l.c: Likewise.
75207         * math/e_atanhl.c: Likewise.
75208         * math/e_coshl.c: Likewise.
75209         * math/e_exp10.c: Likewise.
75210         * math/e_exp10f.c: Likewise.
75211         * math/e_exp10l.c: Likewise.
75212         * math/e_exp2l.c: Likewise.
75213         * math/e_fmodl.c: Likewise.
75214         * math/e_gammal_r.c: Likewise.
75215         * math/e_hypotl.c: Likewise.
75216         * math/e_j0l.c: Likewise.
75217         * math/e_j1l.c: Likewise.
75218         * math/e_jnl.c: Likewise.
75219         * math/e_lgammal_r.c: Likewise.
75220         * math/e_log10l.c: Likewise.
75221         * math/e_log2l.c: Likewise.
75222         * math/e_logl.c: Likewise.
75223         * math/e_powl.c: Likewise.
75224         * math/e_sinhl.c: Likewise.
75225         * math/e_sqrtl.c: Likewise.
75226         * math/e_scalb.c: Completely rewritten and optimized.
75227         * math/e_scalbf.c: Likewise.
75228         * math/e_scalbl.c: Likewise.
75229         * math/w_acos.c: Likewise.
75230         * math/w_acosf.c: Likewise.
75231         * math/w_acosl.c: Likewise.
75232         * math/w_acosh.c: Likewise.
75233         * math/w_acoshf.c: Likewise.
75234         * math/w_acoshl.c: Likewise.
75235         * math/w_asin.c: Likewise.
75236         * math/w_asinf.c: Likewise.
75237         * math/w_asinl.c: Likewise.
75238         * math/w_atan2.c: Likewise.
75239         * math/w_atan2f.c: Likewise.
75240         * math/w_atan2l.c: Likewise.
75241         * math/w_atanh.c: Likewise.
75242         * math/w_atanhf.c: Likewise.
75243         * math/w_atanhl.c: Likewise.
75244         * math/w_exp10.c: Likewise.
75245         * math/w_exp10f.c: Likewise.
75246         * math/w_exp10l.c: Likewise.
75247         * math/w_fmod.c: Likewise.
75248         * math/w_fmodf.c: Likewise.
75249         * math/w_fmodl.c: Likewise.
75250         * math/w_j0.c: Likewise.
75251         * math/w_j0f.c: Likewise.
75252         * math/w_j0l.c: Likewise.
75253         * math/w_j1.c: Likewise.
75254         * math/w_j1f.c: Likewise.
75255         * math/w_j1l.c: Likewise.
75256         * math/w_jn.c: Likewise.
75257         * math/w_jnf.c: Likewise.
75258         * math/w_log.c: Likewise.
75259         * math/w_logf.c: Likewise.
75260         * math/w_logl.c: Likewise.
75261         * math/w_log10.c: Likewise.
75262         * math/w_log10f.c: Likewise.
75263         * math/w_log10l.c: Likewise.
75264         * math/w_log2.c: Likewise.
75265         * math/w_log2f.c: Likewise.
75266         * math/w_log2l.c: Likewise.
75267         * math/w_pow.c: Likewise.
75268         * math/w_powf.c: Likewise.
75269         * math/w_powl.c: Likewise.
75270         * math/w_remainder.c: Likewise.
75271         * math/w_remainderf.c: Likewise.
75272         * math/w_remainderl.c: Likewise.
75273         * math/w_scalb.c: Likewise.
75274         * math/w_scalbf.c: Likewise.
75275         * math/w_scalbl.c: Likewise.
75276         * math/w_sqrt.c: Likewise.
75277         * math/w_sqrtf.c: Likewise.
75278         * math/w_sqrtl.c: Likewise.
75279         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
75280         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
75281         used.
75282         * math/math_private.h: Declare __kernel_standard_f.
75283         * math/w_cosh.c: Remove cruft and optimize a bit.
75284         * math/w_coshf.c: Likewise.
75285         * math/w_coshl.c: Likewise.
75286         * math/w_exp2.c: Likewise.
75287         * math/w_exp2f.c: Likewise.
75288         * math/w_exp2l.c: Likewise.
75289         * math/w_hypot.c: Likewise.
75290         * math/w_hypotf.c: Likewise.
75291         * math/w_hypotl.c: Likewise.
75292         * math/w_lgamma.c: Likewise.
75293         * math/w_lgamma_r.c: Likewise.
75294         * math/w_lgammaf.c: Likewise.
75295         * math/w_lgammaf_r.c: Likewise.
75296         * math/w_lgammal.c: Likewise.
75297         * math/w_lgammal_r.c: Likewise.
75298         * math/w_sinh.c: Likewise.
75299         * math/w_sinhf.c: Likewise.
75300         * math/w_sinhl.c: Likewise.
75301         * math/w_tgamma.c: Likewise.
75302         * math/w_tgammaf.c: Likewise.
75303         * math/w_tgammal.c: Likewise.
75304         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75305         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75306         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
75307         Minor optimizations.  Pretty printing.  Remove cruft.
75308         * sysdeps/i386/fpu/e_acosf.S: Likewise.
75309         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75310         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75311         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75312         * sysdeps/i386/fpu/e_acosl.c: Likewise.
75313         * sysdeps/i386/fpu/e_asin.S: Likewise.
75314         * sysdeps/i386/fpu/e_asinf.S: Likewise.
75315         * sysdeps/i386/fpu/e_atan2.S: Likewise.
75316         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
75317         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
75318         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75319         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75320         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75321         * sysdeps/i386/fpu/e_exp10.S: Likewise.
75322         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
75323         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
75324         * sysdeps/i386/fpu/e_exp2.S: Likewise.
75325         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
75326         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
75327         * sysdeps/i386/fpu/e_fmod.S: Likewise.
75328         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
75329         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
75330         * sysdeps/i386/fpu/e_hypot.S: Likewise.
75331         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
75332         * sysdeps/i386/fpu/e_log.S: Likewise.
75333         * sysdeps/i386/fpu/e_log10.S: Likewise.
75334         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75335         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75336         * sysdeps/i386/fpu/e_log2.S: Likewise.
75337         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75338         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75339         * sysdeps/i386/fpu/e_logf.S: Likewise.
75340         * sysdeps/i386/fpu/e_logl.S: Likewise.
75341         * sysdeps/i386/fpu/e_pow.S: Likewise.
75342         * sysdeps/i386/fpu/e_powf.S: Likewise.
75343         * sysdeps/i386/fpu/e_powl.S: Likewise.
75344         * sysdeps/i386/fpu/e_remainder.S: Likewise.
75345         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
75346         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
75347         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75348         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75349         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75350         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
75351         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
75352         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
75353         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
75354         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75355         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75356         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
75357         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75358         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
75359         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
75360         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
75361         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75362         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
75363         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
75364         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
75365         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75366         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
75367         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
75368         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75369         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
75370         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
75371         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75372         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75373         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
75374         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
75375         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75376         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75377         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
75378         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
75379         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
75380         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
75381         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
75382         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
75383         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75384         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
75385         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75386         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
75387         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
75388         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
75389         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
75390         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
75391         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
75392         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
75393         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
75394         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
75395         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
75396         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
75397         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75398         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
75399         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
75400         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
75401         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
75402         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
75403         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
75404         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
75405         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
75406         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75407         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
75408         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
75409         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
75410         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
75411         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
75412         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
75413         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
75414         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
75415         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75416         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75417         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
75418         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
75419         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
75420         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
75421         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
75422         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
75423         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
75424         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
75425         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
75426         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
75427         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
75428         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
75429         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
75430         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
75431         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75432         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
75433         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75434         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
75435         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
75436         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75437         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75438         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
75439         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75440         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
75441         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
75442         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
75443         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75444         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
75445         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
75446         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
75447         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
75448         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
75449         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
75450         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
75451         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
75452         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
75453         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
75454         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
75455         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
75456         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
75457         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75458         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75459         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75460         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75461         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
75462         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75463         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
75464         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
75465         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
75466         (__isnanf): Likewise.
75467         (__isinf_ns): Likewise.
75468         (__isinf_nsf): Likewise.
75469         (__finite): Likewise.
75470         (__finitef): Likewise.
75471         (__ieee754_sqrt): Define as macro.
75472         (__ieee754_sqrtf): Define as macro.
75473         (__ieee754_sqrtl): Define as macro.
75474         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
75475         inlined copy.
75476         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
75477         __FINITE_MATH_ONLY__ consistent.
75478         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
75480 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
75482         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
75483         of rawmemchr.
75485         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
75487 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
75489         * po/ja.po: Update from translation team.
75491 2011-10-08  Roland McGrath  <roland@hack.frob.com>
75493         * locale/programs/locarchive.c (prepare_address_space): New function.
75494         (create_archive, enlarge_archive, open_archive): Use it.
75496         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
75497         inside [SHARED], where it is used.
75499         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
75501         * nss/getent.c (netgroup_keys): Remove unused variable.
75502         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
75504 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
75506         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
75507         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
75508         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
75509         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
75510         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
75511         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
75512         * math/Makefile (libm-calls): Add s_isinf_ns.
75513         * math/divtc3.c: Use __isinf_nsl instead of isinf.
75514         * math/multc3.c: Likewise.
75515         * math/s_casin.c: Likewise.
75516         * math/s_casinf.c: Likewise.
75517         * math/s_casinl.c: Likewise.
75518         * math/s_ccos.c: Likewise.
75519         * math/s_ccosf.c: Likewise.
75520         * math/s_ccosl.c: Likewise.
75521         * math/s_ctan.c: Likewise.
75522         * math/s_ctanf.c: Likewise.
75523         * math/s_ctanh.c: Likewise.
75524         * math/s_ctanhf.c: Likewise.
75525         * math/s_ctanhl.c: Likewise.
75526         * math/s_ctanl.c: Likewise.
75527         * math/w_fmod.c: Likewise.
75528         * math/w_fmodf.c: Likewise.
75529         * math/w_fmodl.c: Likewise.
75530         * math/w_remainder.c: Likewise.
75531         * math/w_remainderf.c: Likewise.
75532         * math/w_remainderl.c: Likewise.
75533         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
75534         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
75535         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
75536         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
75537         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
75538         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
75539         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
75540         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
75542         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
75543         of the number.
75544         * stdio-common/printf_fphex.c: Likewise.
75545         * stdio-common/printf_size.c: Likewise.
75547         * math/e_exp10.c: Include math_private.h using <...> not "...".
75548         * math/e_exp10f.c: Likewise.
75549         * math/e_exp10l.c: Likewise.
75550         * math/e_exp2l.c: Likewise.
75551         * math/e_j0l.c: Likewise.
75552         * math/e_j1l.c: Likewise.
75553         * math/e_jnl.c: Likewise.
75554         * math/e_lgammal_r.c: Likewise.
75555         * math/e_rem_pio2l.c: Likewise.
75556         * math/e_scalb.c: Likewise.
75557         * math/e_scalbf.c: Likewise.
75558         * math/e_scalbl.c: Likewise.
75559         * math/k_cosl.c: Likewise.
75560         * math/k_sinl.c: Likewise.
75561         * math/k_tanl.c: Likewise.
75562         * math/s_cacoshf.c: Likewise.
75563         * math/s_catan.c: Likewise.
75564         * math/s_catanf.c: Likewise.
75565         * math/s_catanh.c: Likewise.
75566         * math/s_catanhf.c: Likewise.
75567         * math/s_catanhl.c: Likewise.
75568         * math/s_catanl.c: Likewise.
75569         * math/s_ccosh.c: Likewise.
75570         * math/s_ccoshf.c: Likewise.
75571         * math/s_ccoshl.c: Likewise.
75572         * math/s_cexp.c: Likewise.
75573         * math/s_cexpf.c: Likewise.
75574         * math/s_cexpl.c: Likewise.
75575         * math/s_clog.c: Likewise.
75576         * math/s_clog10.c: Likewise.
75577         * math/s_clog10f.c: Likewise.
75578         * math/s_clog10l.c: Likewise.
75579         * math/s_clogf.c: Likewise.
75580         * math/s_clogl.c: Likewise.
75581         * math/s_csin.c: Likewise.
75582         * math/s_csinf.c: Likewise.
75583         * math/s_csinh.c: Likewise.
75584         * math/s_csinhf.c: Likewise.
75585         * math/s_csinhl.c: Likewise.
75586         * math/s_csinl.c: Likewise.
75587         * math/s_csqrt.c: Likewise.
75588         * math/s_csqrtf.c: Likewise.
75589         * math/s_csqrtl.c: Likewise.
75590         * math/s_ctan.c: Likewise.
75591         * math/s_ctanf.c: Likewise.
75592         * math/s_ctanh.c: Likewise.
75593         * math/s_ctanhf.c: Likewise.
75594         * math/s_ctanhl.c: Likewise.
75595         * math/s_ctanl.c: Likewise.
75596         * math/s_ldexp.c: Likewise.
75597         * math/s_ldexpf.c: Likewise.
75598         * math/s_ldexpl.c: Likewise.
75599         * math/s_significand.c: Likewise.
75600         * math/s_significandf.c: Likewise.
75601         * math/s_significandl.c: Likewise.
75602         * math/w_acos.c: Likewise.
75603         * math/w_acosf.c: Likewise.
75604         * math/w_acosh.c: Likewise.
75605         * math/w_acoshf.c: Likewise.
75606         * math/w_acoshl.c: Likewise.
75607         * math/w_acosl.c: Likewise.
75608         * math/w_asin.c: Likewise.
75609         * math/w_asinf.c: Likewise.
75610         * math/w_asinl.c: Likewise.
75611         * math/w_atan2.c: Likewise.
75612         * math/w_atan2f.c: Likewise.
75613         * math/w_atan2l.c: Likewise.
75614         * math/w_atanh.c: Likewise.
75615         * math/w_atanhf.c: Likewise.
75616         * math/w_atanhl.c: Likewise.
75617         * math/w_cosh.c: Likewise.
75618         * math/w_coshf.c: Likewise.
75619         * math/w_coshl.c: Likewise.
75620         * math/w_dremf.c: Likewise.
75621         * math/w_exp10.c: Likewise.
75622         * math/w_exp10f.c: Likewise.
75623         * math/w_exp10l.c: Likewise.
75624         * math/w_exp2.c: Likewise.
75625         * math/w_exp2f.c: Likewise.
75626         * math/w_fmod.c: Likewise.
75627         * math/w_fmodf.c: Likewise.
75628         * math/w_fmodl.c: Likewise.
75629         * math/w_hypot.c: Likewise.
75630         * math/w_hypotf.c: Likewise.
75631         * math/w_hypotl.c: Likewise.
75632         * math/w_j0.c: Likewise.
75633         * math/w_j0f.c: Likewise.
75634         * math/w_j0l.c: Likewise.
75635         * math/w_j1.c: Likewise.
75636         * math/w_j1f.c: Likewise.
75637         * math/w_j1l.c: Likewise.
75638         * math/w_jn.c: Likewise.
75639         * math/w_jnf.c: Likewise.
75640         * math/w_jnl.c: Likewise.
75641         * math/w_lgamma.c: Likewise.
75642         * math/w_lgamma_r.c: Likewise.
75643         * math/w_lgammaf.c: Likewise.
75644         * math/w_lgammaf_r.c: Likewise.
75645         * math/w_lgammal.c: Likewise.
75646         * math/w_lgammal_r.c: Likewise.
75647         * math/w_log.c: Likewise.
75648         * math/w_log10.c: Likewise.
75649         * math/w_log10f.c: Likewise.
75650         * math/w_log10l.c: Likewise.
75651         * math/w_log2.c: Likewise.
75652         * math/w_log2f.c: Likewise.
75653         * math/w_log2l.c: Likewise.
75654         * math/w_logf.c: Likewise.
75655         * math/w_logl.c: Likewise.
75656         * math/w_pow.c: Likewise.
75657         * math/w_powf.c: Likewise.
75658         * math/w_powl.c: Likewise.
75659         * math/w_remainder.c: Likewise.
75660         * math/w_remainderf.c: Likewise.
75661         * math/w_remainderl.c: Likewise.
75662         * math/w_scalb.c: Likewise.
75663         * math/w_scalbf.c: Likewise.
75664         * math/w_scalbl.c: Likewise.
75665         * math/w_sinh.c: Likewise.
75666         * math/w_sinhf.c: Likewise.
75667         * math/w_sinhl.c: Likewise.
75668         * math/w_sqrt.c: Likewise.
75669         * math/w_sqrtf.c: Likewise.
75670         * math/w_sqrtl.c: Likewise.
75671         * math/w_tgamma.c: Likewise.
75672         * math/w_tgammaf.c: Likewise.
75673         * math/w_tgammal.c: Likewise.
75675         * po/ja.po: Update from translation team.
75677 2011-09-29  Andreas Jaeger  <aj@suse.de>
75679         [BZ #13179]
75680         * sunrpc/netname.c (netname2host): Fix logic.
75682         [BZ #6779]
75683         [BZ #6783]
75684         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
75685         correctly.
75686         * math/w_remainder.c (__remainder): Likewise.
75687         * math/w_remainderf.c (__remainderf): Likewise.
75688         * math/libm-test.inc (remainder_test): Add test cases.
75690 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75692         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
75693         sdiv_qrnnd.
75695 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
75697         * string/test-memcmp.c: Avoid unncessary #defines.
75698         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
75700 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75702         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
75703         Use new sse2 version for core i3 - i7 as it's faster
75704         than sse42 version.
75705         (bit_Prefer_PMINUB_for_stringop): New.
75706         * sysdeps/x86_64/rawmemchr.S: Update.
75707         Replace with faster SSE2 version.
75708         * sysdeps/x86_64/memrchr.S: New file.
75709         * sysdeps/x86_64/memchr.S: Update.
75710         Replace with faster SSE2 version.
75712 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
75714         * elf/dl-load.c (lose): Add cast to avoid warning.
75716 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
75718         * po/ca.po: Update from translation team.
75720         * inet/getnetgrent_r.c: Hook up nscd.
75721         * nscd/Makefile (routines): Add nscd_netgroup.
75722         (nscd-modules): Add netgroupcache.
75723         (CFLAGS-netgroupcache.c): Define.
75724         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
75725         (cache_search): Add const to second parameter.
75726         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
75727         INNETGR.
75728         (dbs): Add netgrdb entry.
75729         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
75730         (verify_persistent_db): Handle netgrdb.
75731         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
75732         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
75733         GETFDNETGR.
75734         (netgroup_response_header): Define.
75735         (innetgroup_response_header): Define.
75736         (datahead): Add netgroup_response_header and innetgroup_response_header
75737         elements.
75738         * nscd/nscd.conf: Add entries for netgroup cache.
75739         * nscd/nscd.h (dbtype): Add netgrdb.
75740         (_PATH_NSCD_NETGROUP_DB): Define.
75741         (netgroup_iov_disabled): Declare.
75742         (xmalloc, xcalloc, xrealloc): Move declarations here.
75743         (cache_search): Adjust prototype.
75744         Add netgroup-related prototypes.
75745         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
75746         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
75747         (__nscd_innetgr): Declare.
75748         * nscd/selinux.c (perms): Use access_vector_t as element type and
75749         add netgroup-related initializers.
75750         * nscd/netgroupcache.c: New file.
75751         * nscd/nscd_netgroup.c: New file.
75752         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
75753         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
75754         For four parameters use innetgr.
75755         * nss/nss_files/files-init.c: Add definition and callback for netgr.
75756         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
75757         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
75758         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
75760         * nscd/connections.c (register_traced_file): Don't register file
75761         for disabled databases.
75763 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
75765         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
75767         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
75768         from tree and freeing node.
75770 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
75772         * nss/nsswitch.c (__nss_database_lookup): Handle
75773         nss_parse_service_list out of memory case.
75775 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
75777         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
75778         out of memory case.
75780 2011-10-04  Andreas Schwab  <schwab@redhat.com>
75782         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
75783         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
75784         pass it down.
75785         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
75786         elf_machine_rela, elf_machine_lazy_rel.
75787         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
75788         (ELF_DYNAMIC_DO_REL): Likewise.
75789         (ELF_DYNAMIC_DO_RELA): Likewise.
75790         (ELF_DYNAMIC_RELOCATE): Likewise.
75791         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
75792         to ELF_DYNAMIC_DO_REL.
75793         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
75794         (dl_main): In trace mode always set __RTLD_NOIFUNC.
75795         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
75796         elf_machine_rela.
75797         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
75798         skip_ifunc, don't call ifunc function if non-zero.
75799         (elf_machine_rela): Likewise.
75800         (elf_machine_lazy_rel): Likewise.
75801         (elf_machine_lazy_rela): Likewise.
75802         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
75803         (elf_machine_lazy_rel): Likewise.
75804         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
75805         Likewise.
75806         (elf_machine_lazy_rel): Likewise.
75807         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75808         Likewise.
75809         (elf_machine_lazy_rel): Likewise.
75810         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
75811         (elf_machine_lazy_rel): Likewise.
75812         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
75813         (elf_machine_lazy_rel): Likewise.
75814         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
75815         (elf_machine_lazy_rel): Likewise.
75816         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
75817         (elf_machine_lazy_rel): Likewise.
75818         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
75819         (elf_machine_lazy_rel): Likewise.
75820         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
75821         (elf_machine_lazy_rel): Likewise.
75823 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
75825         * nss/nss_files/files-init.c (_nss_files_init): Use static
75826         initialization for all the *_traced_file variables.
75828 2011-09-28  Andreas Schwab  <schwab@redhat.com>
75830         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75832 2011-09-27  Roland McGrath  <roland@hack.frob.com>
75834         [BZ #13226]
75835         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
75837 2011-09-27  Andreas Schwab  <schwab@redhat.com>
75839         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
75840         Reread the line before reparsing it.
75842 2011-09-26  Andreas Schwab  <schwab@redhat.com>
75844         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
75846 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
75847             Maxim Kuvyrkov  <maxim@codesourcery.com>
75848             Joseph Myers  <joseph@codesourcery.com>
75850         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
75851         if needed for __stack_chk_guard.
75853 2011-09-19  Roland McGrath  <roland@hack.frob.com>
75855         * sysdeps/posix/spawni.c (script_execute): Always define it.
75856         It will be optimized away if unused.
75857         (maybe_script_execute): New function.
75858         (__spawni): Call it.
75860         * Makerules: Don't include tls.make.
75861         (config-tls): Always set to thread.
75862         * tls.make.c: File removed.
75864 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
75866         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
75867         * config.make.in (CPPFLAGS-config): New substituted variable.
75869 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
75871         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
75873         [BZ #13192]
75874         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
75875         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
75877 2011-09-15  Roland McGrath  <roland@hack.frob.com>
75879         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
75880         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
75881         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
75882         (CALL_FAIL): Likewise.
75883         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
75884         (CALL_FAIL): Macro removed.
75885         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
75887 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
75889         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
75890         for __FINITE_MATH_ONLY__ == 1.
75892 2011-09-15  Andreas Schwab  <schwab@redhat.com>
75894         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
75895         __ieee754_sqrt instead of sqrt.
75896         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
75897         __ieee754_sqrtf instead of sqrtf.
75898         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
75899         __floorf instead of floorf.
75900         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
75901         __floorf, __truncf instead of floorf, truncf.
75903 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
75905         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
75907         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
75908         __extern_always_inline.
75909         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
75910         32-bit.
75912 2011-09-14  Andreas Schwab  <schwab@redhat.com>
75914         * elf/rtld.c (dl_main): Also relocate in dependency order when
75915         doing symbol dependency testing.
75917 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
75919         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75920         Always define `refsym'.
75922 2011-09-13  Andreas Schwab  <schwab@redhat.com>
75924         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
75925         (__FD_ELT): Renamed from __FDELT.
75926         * misc/bits/select2.h (__FD_ELT): Likewise.
75927         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
75928         __FD_MASK instead of __FDELT, __FDMASK.
75929         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75930         Likewise.
75931         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75932         Likewise.
75934         * elf/Makefile (gen-ldd): Fix pattern.
75936         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
75937         (init_tls): Likewise.
75939 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
75941         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
75943 2011-09-12  Andreas Schwab  <schwab@redhat.com>
75945         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
75946         `struct cmsghdr *' instead of `void *'.
75947         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
75948         Likewise.
75950 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
75952         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
75953         if non-absolute.
75954         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
75955         ldd_rewrite_script.
75957 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
75959         * configure.in: Remove --with-tls option.
75960         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
75961         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
75962         out in case it is missing.
75963         * sysdeps/ia64/elf/configure.in: Likewise.
75964         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
75965         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
75966         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
75967         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
75968         * sysdeps/sh/elf/configure.in: Likewise.
75969         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
75970         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
75971         * sysdeps/x86_64/elf/configure.in: Likewise.
75972         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
75973         * sysdeps/mach/hurd/tls.h: Likewise.
75975         [BZ #13067]
75976         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
75978         [BZ #13090]
75979         * configure.in: Fix use of AC_INIT.
75981         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
75983 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
75985         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
75986         __set_errno.
75987         * malloc/hooks.c: Likewise.
75989         [BZ #11929]
75990         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
75991         variables statically.
75992         (narenas): Initialize.
75993         (list_lock): Initialize.
75994         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
75995         initializtion of main_arena and list_lock.  Small cleanups.
75996         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
75997         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
75998         Add initializers to main_arena and mp_.
75999         (malloc_state): Remove pagesize member.  Change all users to use
76000         GLRO(dl_pagesize).
76002         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
76003         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
76004         is always initialized.
76006         * malloc/malloc.c: Removed unused configurations and dead code.
76007         * malloc/arena.c: Likewise.
76008         * malloc/hooks.c: Likewise.
76009         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
76011         * include/tls.h: Removed.  USE___THREAD must always be defined.
76012         * bits/libc-tsd.h: Don't handle !USE___THREAD.
76013         * elf/dl-libc.c: Likewise.
76014         * elf/dl-tsd.c: Likewise.
76015         * include/errno.h: Likewise.
76016         * include/netdb.h: Likewise.
76017         * include/resolv.h: Likewise.
76018         * inet/herrno-loc.c: Likewise.
76019         * inet/herrno.c: Likewise.
76020         * malloc/arena.c: Likewise.
76021         * malloc/hooks.c: Likewise.
76022         * malloc/malloc.c: Likewise.
76023         * resolv/res-state.c: Likewise.
76024         * resolv/res_libc.c: Likewise.
76025         * sysdeps/i386/dl-machine.h: Likewise.
76026         * sysdeps/ia64/dl-machine.h: Likewise.
76027         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
76028         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
76029         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
76030         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
76031         * sysdeps/sh/dl-machine.h: Likewise.
76032         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
76033         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
76034         * sysdeps/unix/i386/sysdep.S: Likewise.
76035         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
76036         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
76037         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
76038         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
76039         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
76040         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
76041         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
76042         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
76043         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76044         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
76045         * sysdeps/unix/x86_64/sysdep.S: Likewise.
76046         * sysdeps/x86_64/dl-machine.h: Likewise.
76047         * tls.make.c: Likewise.
76049         * configure.in: Remove --with-__thread option.  Make tests for
76050         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
76051         tls_model attribute fail if no support is available.  Remove
76052         USE_IN_LIBIO.
76053         * Makeconfig: Adjust for dropped configure option.  All features are
76054         now mandatory.
76055         * Makerules: Likewise.
76056         * Versions.def: Likewise.
76057         * argp/argp-fmtstream.c: Likewise.
76058         * argp/argp-fmtstream.h: Likewise.
76059         * argp/argp-help.c: Likewise.
76060         * assert/assert.c: Likewise.
76061         * config.h.in: Likewise.
76062         * config.make.in: Likewise.
76063         * configure: Likewise.
76064         * configure.in: Likewise.
76065         * csu/Versions: Likewise.
76066         * csu/init.c: Likewise.
76067         * elf/tst-audit2.c: Likewise.
76068         * elf/tst-tls10.c: Likewise.
76069         * elf/tst-tls10.h: Likewise.
76070         * elf/tst-tls11.c: Likewise.
76071         * elf/tst-tls12.c: Likewise.
76072         * elf/tst-tls14.c: Likewise.
76073         * elf/tst-tlsmod11.c: Likewise.
76074         * elf/tst-tlsmod12.c: Likewise.
76075         * elf/tst-tlsmod13.c: Likewise.
76076         * elf/tst-tlsmod13a.c: Likewise.
76077         * elf/tst-tlsmod14a.c: Likewise.
76078         * elf/tst-tlsmod15b.c: Likewise.
76079         * elf/tst-tlsmod16a.c: Likewise.
76080         * elf/tst-tlsmod16b.c: Likewise.
76081         * elf/tst-tlsmod7.c: Likewise.
76082         * elf/tst-tlsmod8.c: Likewise.
76083         * elf/tst-tlsmod9.c: Likewise.
76084         * gmon/gmon.c: Likewise.
76085         * grp/fgetgrent_r.c: Likewise.
76086         * grp/putgrent.c: Likewise.
76087         * hurd/fopenport.c: Likewise.
76088         * include/libc-symbols.h: Likewise.
76089         * include/tls.h: Likewise.
76090         * intl/gettextP.h: Likewise.
76091         * intl/loadinfo.h: Likewise.
76092         * locale/global-locale.c: Likewise.
76093         * locale/localeinfo.h: Likewise.
76094         * mach/devstream.c: Likewise.
76095         * malloc/arena.c: Likewise.
76096         * malloc/set-freeres.c: Likewise.
76097         * misc/err.c: Likewise.
76098         * misc/getttyent.c: Likewise.
76099         * misc/mntent_r.c: Likewise.
76100         * posix/getopt.c: Likewise.
76101         * posix/wordexp.c: Likewise.
76102         * pwd/fgetpwent_r.c: Likewise.
76103         * resolv/Versions: Likewise.
76104         * resolv/res_hconf.c: Likewise.
76105         * shadow/fgetspent_r.c: Likewise.
76106         * shadow/putspent.c: Likewise.
76107         * stdio-common/printf_fphex.c: Likewise.
76108         * stdio-common/tmpfile.c: Likewise.
76109         * stdlib/abort.c: Likewise.
76110         * stdlib/fmtmsg.c: Likewise.
76111         * sunrpc/auth_unix.c: Likewise.
76112         * sunrpc/clnt_perr.c: Likewise.
76113         * sunrpc/clnt_tcp.c: Likewise.
76114         * sunrpc/clnt_udp.c: Likewise.
76115         * sunrpc/clnt_unix.c: Likewise.
76116         * sunrpc/openchild.c: Likewise.
76117         * sunrpc/svc_simple.c: Likewise.
76118         * sunrpc/svc_tcp.c: Likewise.
76119         * sunrpc/svc_udp.c: Likewise.
76120         * sunrpc/svc_unix.c: Likewise.
76121         * sunrpc/xdr.c: Likewise.
76122         * sunrpc/xdr_array.c: Likewise.
76123         * sunrpc/xdr_rec.c: Likewise.
76124         * sunrpc/xdr_ref.c: Likewise.
76125         * sunrpc/xdr_stdio.c: Likewise.
76127 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76129         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76131 2011-07-03  Andreas Jaeger  <aj@suse.de>
76133         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
76134         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
76135         regenerate with gen-libm-tests.pl.
76137 2010-05-12  Petr Baudis  <pasky@suse.cz>
76139         [BZ #11589]
76140         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
76141         around j0() zero points by switching to j1().
76142         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76143         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76144         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76145         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76147 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76149         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
76150         instead of 0.
76151         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
76152         instead of 0.
76153         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76154         Patch in part by Pavel Roskin <proski@gnu.org>.
76156         [BZ #13138]
76157         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
76158         realloc.
76159         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
76160         Free memory block if necessary.
76162         [BZ #12847]
76163         * libio/genops.c (INTDEF): For string streams the _lock pointer can
76164         be NULL.  Don't lock in this case.
76166 2011-09-09  Roland McGrath  <roland@hack.frob.com>
76168         * elf/elf.h (ELFOSABI_GNU): New macro.
76169         (ELFOSABI_LINUX): Define to that.
76171 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
76173         * string/strncat.c (strncat): Undef the symbol in case it has been
76174         defined in bits/string.h.
76176 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76178         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
76180         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
76181         link map.
76183 2011-08-17  Andreas Jaeger  <aj@suse.de>
76185         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
76187 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
76188             Ian Lance Taylor  <iant@google.com>
76190         * math/libm-test.inc (lround_test): New testcase.
76191         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
76193 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
76195         * Makefile: Remove support for automatic cvs check-ins.
76196         * Makerules: Likewise.
76197         * config.make.in: Likewise.
76198         * configure.in: Likewise.
76199         * intl/Makefile: Likewise.
76200         * locale/Makefile: Likewise.
76201         * po/Makefile: Likewise.
76202         * posix/Makefile: Likewise.
76203         * sysdeps/gnu/Makefile: Likewise.
76204         * sysdeps/mach/hurd/Makefile: Likewise.
76205         * sysdeps/sparc/sparc32/Makefile: Likewise.
76207         [BZ #13118]
76208         * posix/Makefile (bug-regex32-ENV): Define.
76209         Patch by John Stanley <jpsinthemix@verizon.net>.
76211         * misc/Makefile (headers): Add bits/select2.h.
76212         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
76213         * misc/bits/select2.h: New file.
76214         * include/bits/select2.h: New file.
76215         * debug/Makefile (routines): Add fdelt_chk.
76216         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
76217         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
76218         FD_ISSET.
76219         * debug/fdelt_chk.c: New file.
76221         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
76222         * wcsmbs/test-wmemcmp.c: Likewise.
76223         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
76224         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
76226 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76228         * string/Makefile (strop-tests): Add memcmp.
76229         * string/test-wmemcmp.c: New file.
76230         * string/test-memcmp.c: Add wmemcmp support.
76232 2011-09-08  Roland McGrath  <roland@hack.frob.com>
76234         [BZ #13153]
76235         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
76236         2011-07-19 change.
76238         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
76239         garbage value in a __mach_port_mod_refs call in the cases of the
76240         task-self and thread-self ports.
76242 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76244         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
76246 2011-09-08  Andreas Schwab  <schwab@redhat.com>
76248         * elf/dl-load.c (lose): Check for non-null L.
76250 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
76252         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
76254         * elf/dl-libc.c (dlerror_run): Pass back error code from
76255         dl_catch_error.
76257         [BZ #13123]
76258         * elf/dl-load.c (lose): Free l_origin if it is valid.
76260         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
76261         names.
76262         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
76263         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
76264         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
76265         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
76266         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
76267         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
76269 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76271         * sysdeps/powerpc/fpu/e_hypot.c: New file.
76272         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
76273         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
76274         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
76275         * sysdeps/powerpc/fpu/k_cosf.c: New file.
76276         * sysdeps/powerpc/fpu/k_sinf.c: New file.
76277         * sysdeps/powerpc/fpu/s_cosf.c: New file.
76278         * sysdeps/powerpc/fpu/s_sinf.c: New file.
76279         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
76280         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
76282 2011-08-15  Alan Modra  <amodra@gmail.com>
76284         [BZ #13092]
76285         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
76286         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
76287         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
76288         ppc_mcount to static-only-routines.
76289         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
76290         __mcount_internal.
76291         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
76292         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
76294 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
76296         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
76297         for finite and infinity parameters.
76299 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
76301         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
76302         and add nop instructions for throughput optimization.
76303         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
76305 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
76307         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
76308         aligned copy for power7 with vector-scalar instructions.
76309         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
76311 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
76313         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
76314         AVX check.
76316 2011-09-07  Andreas Schwab  <schwab@redhat.com>
76318         [BZ #13144]
76319         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
76320         last change.
76322 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
76324         * sysdeps/unix/sysv/linux/x86_64/init-first.c
76325         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
76326         syscall wrapper around clock_gettime in __vdso_clock_gettime.
76327         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
76328         clock_gettime.
76330 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76332         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
76333         Forgot to demangle the pointer.
76335         * sysdeps/i386/sysdep.h: Define atom_text_section.
76336         * sysdeps/x86_64/sysdep.h: Likewise.
76337         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
76338         section with atom_text_section.
76339         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
76340         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
76341         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
76342         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76343         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
76345         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
76346         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
76347         already be defined.  Change to take two parameters and don't assign
76348         result to variable.  Adjust all users.
76349         Define INTERNAL_GETTIME if not already defined.
76350         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
76351         call.
76352         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
76353         HAVE_CLOCK_GETTIME_VSYSCALL.
76354         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
76356         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
76357         gettimeofday vsyscall, just use time.
76359 2011-09-06  Andreas Schwab  <schwab@redhat.com>
76361         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
76362         <errno.h>.
76364 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76366         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
76367         syscall on x86-64.
76368         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
76369         syscall.
76370         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
76371         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
76372         syscall if possible.
76374 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76376         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
76377         e_ident.  Don't pass to find_mapsXX.
76378         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
76380 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76382         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76383         strchr-sse2-no-bsf strrchr-sse2-no-bsf
76384         * sysdeps/x86_64/multiarch/strchr.S: Update.
76385         Check bit_slow_BSF bit.
76386         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76387         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
76388         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
76390 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76392         [BZ #13134]
76393         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
76394         before glibc 2.15.
76395         (tryshell): Define.
76396         (__spawni): Change last parameter to be flag.  Test
76397         SPAWN_XFLAGS_USE_PATH flag to use path or not.
76398         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
76399         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
76400         * posix/spawni.c: Likewise.
76401         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
76402         * posix/spawnp.c: Likewise.  Change normal version to use
76403         SPAWN_XFLAGS_USE_PATH.
76404         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
76405         SPAWN_XFLAGS_TRY_SHELL.
76407         [BZ #13150]
76408         * posix/glob.h: Remove gcc 1.x support.
76410         [BZ #13068]
76411         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
76413 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76415         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76416         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
76417         strrchr-sse2-bsf
76418         * sysdeps/i386/i686/multiarch/strchr.S: New file.
76419         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
76420         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
76421         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
76422         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
76423         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
76425 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76427         * sysdeps/x86_64/wcscmp.S: New file.
76429         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
76430         wcscmp-c wcscmp-sse2
76431         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
76432         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
76433         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
76434         * wcsmbs/wcscmp.c: Allow renaming.
76436 2011-09-05  David S. Miller  <davem@davemloft.net>
76438         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
76439         stack slot, rather than the struct return pointer slot.
76440         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
76441         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
76442         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
76443         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
76445 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76447         * po/ja.po: Update from translation team.
76449         [BZ #13144]
76450         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
76451         kernel in 64-bit binaries.
76453 2011-09-01  David S. Miller  <davem@davemloft.net>
76455         * elf/elf.h (HWCAP_SPARC_*): Move to..
76456         * sysdeps/sparc/sysdep.h: this new file and add new values.
76457         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
76458         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
76459         _DL_HWCAP_COUNT to 24.
76460         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
76461         entries.
76462         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
76463         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
76464         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
76465         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
76466         instead of magic constants.
76467         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76469 2011-08-31  David S. Miller  <davem@davemloft.net>
76471         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
76472         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
76473         Reimplement to do errno handling inline.
76474         (SYSCALL_ERROR_HANDLER): New macro.
76475         (__SYSCALL_STRING): Do not do errno handling in asm.
76476         (__CLONE_SYSCALL_STRING): Delete.
76477         (__INTERNAL_SYSCALL_STRING): Delete.
76478         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
76479         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
76480         (PSEUDO): Reimplement to do errno handling inline.
76481         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
76482         (SYSCALL_ERROR_HANDLER): New macro.
76483         (__SYSCALL_STRING): Do not do errno handling in asm.
76484         (__CLONE_SYSCALL_STRING): Delete.
76485         (__INTERNAL_SYSCALL_STRING): Delete.
76486         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
76487         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
76488         i386.
76489         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
76490         (inline_syscall*): Add 'err' argument.
76491         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
76492         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
76493         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
76494         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
76496         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
76497         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
76499 2011-08-30  Andreas Schwab  <schwab@redhat.com>
76501         * elf/rtld.c (dl_main): Relocate objects in dependency order.
76503 2011-08-29  Jiri Olsa <jolsa@redhat.com>
76505         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
76506         directive.
76508 2011-08-24  David S. Miller  <davem@davemloft.net>
76510         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
76512 2011-08-24  Andreas Schwab  <schwab@redhat.com>
76514         * elf/Makefile: Add rules to build and run unload8 test.
76515         * elf/unload8.c: New file.
76516         * elf/unload8mod1.c: New file.
76517         * elf/unload8mod1x.c: New file.
76518         * elf/unload8mod2.c: New file.
76519         * elf/unload8mod3.c: New file.
76521         * elf/dl-close.c (_dl_close_worker): Reset private search list if
76522         it wasn't used.
76524 2011-08-23  David S. Miller  <davem@davemloft.net>
76526         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
76527         subtract stack bias.
76528         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
76529         %sp not %fp in calculations.
76530         (_JMPBUF_UNWINDS_ADJ): Likewise.
76532         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
76533         (aio_suspend): Call it to force an exception region around the
76534         AIO_MISC_WAIT() invocation.
76536 2011-08-23  Andreas Schwab  <schwab@redhat.com>
76538         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
76539         backslash.
76541 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
76543         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
76544         protection macro.
76545         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
76546         and <dl-machine.h>.
76547         (Elf64_FuncDesc): Remove.
76549 2011-08-22  David S. Miller  <davem@davemloft.net>
76551         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
76552         sigaltstack check, add missing cfi directives.
76553         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
76554         missing cfi directives, and sigaltstack handling.
76556 2011-08-16  Andreas Schwab  <schwab@redhat.com>
76558         [BZ #11724]
76559         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
76560         object is seen twice.
76561         * elf/dl-fini.c (_dl_sort_fini): Likewise.
76563         * elf/Makefile (distribute): Add tst-initorder2.c.
76564         (tests): Add tst-initorder2.
76565         (modules-names): Add tst-initorder2a tst-initorder2b
76566         tst-initorder2c tst-initorder2d.  Add rules to build them.
76567         ($(objpfx)tst-initorder2.out): New rule.
76568         * elf/tst-initorder2.c: New file.
76569         * elf/tst-initorder2.exp: New file.
76571 2011-08-22  Andreas Schwab  <schwab@redhat.com>
76573         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
76575         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
76576         dependencies back to end of function.
76578         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
76579         $(elfobjdir)/ld.so.
76581 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
76583         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
76584         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
76585         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
76586         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
76587         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
76588         of __vdso_gettimeofday.
76589         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
76590         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
76591         attribute_hidden.
76592         (_libc_vdso_platform_setup): Remove initialization of
76593         __vdso_gettimeofday and __vdso_time.
76595 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76597         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
76598         and fgetc_unlocked.
76599         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
76600         getc_unlocked.
76602         * elf/dl-open.c (add_to_global): Report additions to the global scope
76603         for LD_DEBUG=scopes.
76604         (dl_open_worker): Also print scope of newly loaded dependencies.
76605         (_dl_show_scope): Indicate if there is no scope.
76607         [BZ #13114]
76608         * stdio-common/Makefile (tests): Add bug24.
76609         * stdio-common/bug24.c: New file.
76611 2011-08-19  Andreas Jaeger  <aj@suse.de>
76613         [BZ #13114]
76614         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
76615         non-existant file when using close-on-exec mode.
76617 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76619         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
76620         the very first instruction.
76622         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
76623         the CFI state in the end.
76624         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
76625         inclusion of dl-trampoline.h.
76626         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
76628 2011-08-19  Andreas Schwab  <schwab@redhat.com>
76630         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
76631         expectations for long double.
76633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
76634         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
76636 2011-08-14  David S. Miller  <davem@davemloft.net>
76638         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
76639         artificual limit depends upon the system page size.
76641 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76643         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
76644         * resolv/Makefile: Define CFLAGS-libresolv.
76646 2011-08-17  Andreas Schwab  <schwab@redhat.com>
76648         * nss/makedb.c (compute_tables): Make variables used in nested
76649         function static.
76651 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76653         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
76654         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
76655         if buffer was too small.
76657         * elf/pldd.c (main): Attach to all threads in the process.
76658         Rewrite /proc handling to use *at functions.
76660 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
76662         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
76663         specifies first scope to show.
76664         (dl_open_worker): Update callers.  Move printing scope of new
76665         object to before the relocation.
76666         * elf/rtld.c (dl_main): Update _dl_show_scope call.
76667         * sysdeps/generic/ldsodefs.h: Update declaration.
76669         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
76670         string for the scope number.
76672 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
76674         * nscd/servicescache.c (cache_addserv): Make sure written is always
76675         initialized.
76677 2011-08-14  Roland McGrath  <roland@hack.frob.com>
76679         * sysdeps/i386/i486/bits/atomic.h
76680         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
76681         statement expression, so as to suppress "set but not used" warning.
76682         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
76684         * string/strncat.c (STRNCAT): Use prototype definition.
76686         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
76687         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
76688         -Iprograms here.
76689         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
76690         (localedef-modules): Add localedef.
76691         (locale-modules): Add locale.
76693         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
76694         * elf/rtld.c (dl_main): Invert order of assignment in last change,
76695         to avoid a warning.
76697 2011-08-14  David S. Miller  <davem@davemloft.net>
76699         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
76700         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
76702 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
76704         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
76705         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
76706         * elf/rtld.c (dl_main): Set l_name of vDSO.
76707         Call _dl_show_scope when DL_DEBUG_SCOPES.
76708         (process_dl_debug): Recognize scopes flag and also set it for all.
76709         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
76710         Declare _dl_show_scope.
76712         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
76713         (do_dlopen): Pass caller_dlopen to dl_open.
76714         (__libc_dlopen_mode): Initialize caller_dlopen.
76716         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
76717         of libc.  Make tolower call locale-independent.  Optimize a bit by
76718         using isdigit instead of isalnum.
76719         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
76721 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
76723         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
76724         was a dependency or dynamically loaded.
76726 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
76728         * intl/l10nflist.c: Allow architecture-specific pop function.
76729         * sysdeps/x86_64/l10nflist.c: New file.
76731         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
76732         classification.
76734 2011-08-10  Andreas Schwab  <schwab@redhat.com>
76736         * include/dirent.h: Add libc_hidden_proto for scandirat and
76737         scandirat64.  Don't declare __scandirat64.
76738         * dirent/scandirat.c: Add libc_hidden_def.
76739         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
76740         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
76742 2011-08-10  David S. Miller  <davem@davemloft.net>
76744         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
76745         enum.
76746         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
76747         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
76748         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
76750 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
76752         * Versions.def [libc]: Add GLIBC_2.15.
76753         * dirent/Makefile (routines): Add scandirat and scandirat64.
76754         * dirent/Versions [libc]: Export scandirat and scandirat64 for
76755         GLIBC_2.15.
76756         * dirent/dirent.h: Declare scandirat and scandirat64.
76757         * dirent/scandirat.c: New file.
76758         * dirent/scandirat64.c: New file.
76759         * sysdeps/wordsize-64/scandirat.c: New file.
76760         * sysdeps/wordsize-64/scandirat64.c: New file.
76761         * dirent/opendir.c: Define opendirat.
76762         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
76763         using scandirat.
76764         * dirent/scandir64.c: Adjust for scandir.c change.
76765         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
76766         __scandirat64, and __scandir_cancel_handler.
76767         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
76768         additional parameter and use openat instead of open (outside of ld.so).
76769         Add new __opendir as wrapper around __opendirat.
76770         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
76771         here without requiring old scandirat implementation.
76773 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
76775         * dirent/scandir.c (cancel_handler): Renamed to
76776         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
76777         defined.  Adjust users.
76778         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
76779         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
76781 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
76783         * string/test-string.h (IMPL): Use __STRING to expand name and then
76784         stringify it.
76786         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
76787         of cleanups.
76789 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76791         * string/Makefile: Update.
76792         (strop-tests): Append strncat.
76793         * string/test-wcscmp.c: New file.
76794         New comprehensive test for wcscmp.
76795         * string/test-strcmp.c: Update.
76796         (WIDE): New define.
76798 2011-07-22  Andreas Schwab  <schwab@redhat.com>
76800         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
76801         line.
76803 2011-07-26  Andreas Schwab  <schwab@redhat.com>
76805         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
76806         encoding to ACE if AI_IDN.
76808 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
76810         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
76811         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
76813 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76815         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
76816         Fix overflow bug in strncat.
76817         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
76819         * string/test-strncat.c: Update.
76820         Add new tests for checking overflow bugs.
76822 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76824         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76825         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
76826         * sysdeps/i386/i686/multiarch/strcat.S: New file.
76827         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
76828         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
76829         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
76830         * sysdeps/i386/i686/multiarch/strncat.S: New file.
76831         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
76832         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
76834         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
76835         (USE_AS_STRCAT): Define.
76836         Add strcat and strncat support.
76837         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
76839 2011-07-25  Andreas Schwab  <schwab@redhat.com>
76841         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
76842         __n bigger than INT_MAX+1.
76843         (__strncmp_g): Likewise.
76845 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
76847         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
76848         * libio/stido.h: Likewise.
76850         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
76851         (AF_NFC): Define.
76852         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
76853         (AF_NFC): Define.
76855         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
76856         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
76857         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
76858         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
76859         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
76861         [BZ #13021]
76862         * scripts/test-installation.pl: Don't expect libnss_test1 to be
76863         installed.
76865         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
76866         typo.
76867         (_dl_x86_64_save_sse): Likewise.
76869 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
76871         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
76872         OSXSAVE.
76873         (_dl_x86_64_save_sse): Likewise.
76875         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
76877         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
76879 2011-07-21  Andreas Schwab  <schwab@redhat.com>
76881         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
76882         change.
76883         (_dl_x86_64_save_sse): Use correct AVX check.
76885 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76887         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
76888         bug in strncpy/strncat.
76889         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
76891 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
76893         * string/tester.c (test_strcat): Add tests for different alignments
76894         of source and destination.
76895         (test_strncat): Likewise.
76897 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
76899         [BZ #12852]
76900         * posix/glob.c (glob): Check passed in values before using them in
76901         expressions to avoid some overflows.
76902         (glob_in_dir): Likewise.
76904         [BZ #13007]
76905         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
76906         check for AVX enablement so that we don't crash with old kernels and
76907         new hardware.
76908         * elf/tst-audit4.c: Add same checks here.
76909         * elf/tst-audit6.c: Likewise.
76911         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
76913 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
76915         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
76917 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
76919         * po/cs.po: Update from translation team.
76920         * po/bg.po: Likewise.
76922 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
76924         * misc/sys/cdefs.h: Add support for const attribute.
76925         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
76926         to gnu_dev_{major,minor,makedev} functions.
76928 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
76930         * intl/dcigettext.c (get_output_charset): Add missing bracket.
76932 2011-07-20  Andreas Schwab  <schwab@redhat.com>
76934         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
76935         strlen results.
76937 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76939         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
76940         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
76941         register in order to avoid conflicts with the soft frame pointer
76942         being held in r11 when necessary.
76943         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
76944         (INTERNAL_VSYSCALL_NCS): Likewise.
76946 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
76948         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
76949         * elf/dl-fini.c (_dl_fini): Adjust caller.
76950         * elf/dl-close.c (_dl_close_worker): Likewise.
76951         * sysdeps/generic/ldsodefs.h: Adjust declaration.
76953 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
76955         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
76956         "aux_cache->nlibs < 0".
76958         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
76959         in the reload-count case.
76961 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76963         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76964         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
76965         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
76966         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
76967         * sysdeps/x86_64/multiarch/strcat.S: New file.
76968         * sysdeps/x86_64/multiarch/strncat.S: New file.
76969         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
76970         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
76971         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
76972         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
76973         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
76974         (USE_AS_STRCAT): Define.
76975         Add strcat and strncat support.
76976         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76977         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
76978         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
76979         * string/strncat.c: Update.
76980         (USE_AS_STRNCAT): Define.
76981         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76982         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
76983         and i7.
76984         * sysdeps/x86_64/multiarch/init-arch.h
76985         (bit_Prefer_PMINUB_for_stringop): New.
76986         (index_Prefer_PMINUB_for_stringop): Likewise.
76987         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
76988         bit_Prefer_PMINUB_for_stringop.
76990 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
76992         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
76993         buffer64.
76994         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
76995         of casting of buffer.
76996         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
76997         buffer32 and buffer64.
76998         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
76999         writes instead of casting of buffer.
77000         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
77001         buffer32.
77002         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
77003         casting of buffer.
77005 2011-07-19  Andreas Schwab  <schwab@redhat.com>
77007         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
77009 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
77011         * nscd/nscd.c (termination_handler): Don't do anything for a database
77012         if it has not yet been initialized.
77014 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
77016         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
77018 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
77020         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
77022 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
77024         * po/nl.po: Update from translation team.
77025         * po/sv.po: Likewise.
77027 2011-07-16  Roland McGrath  <roland@hack.frob.com>
77029         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
77030         now disallowed by GCC.
77032         * configure.in (use-default-link): Default to yes if a test -shared
77033         link meets our qualifications.
77034         * configure: Regenerated.
77036         * config.make.in (output-format): New variable.
77037         * configure.in: Check for ld --print-output-format support.
77038         * configure: Regenerated.
77039         * Makerules ($(common-objpfx)format.lds)
77040         [$(output-format) != unknown]: Just use $(output-format),
77041         instead of the linker-script munging.
77043 2011-07-14  Roland McGrath  <roland@hack.frob.com>
77045         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
77046         of $(common-objpfx)shlib.lds.
77047         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
77049         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
77050         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
77052         * configure.in (-z relro check): Adjust test code to add a large
77053         writable data section after it.
77054         * configure: Regenerated.
77056 2011-07-11  Roland McGrath  <roland@hack.frob.com>
77058         * configure.in (-z relro check): Fix test code to make the variable
77059         truly const.
77060         * configure: Regenerated.
77062 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
77064         * nscd/nscd.h (struct traced_file): Define.
77065         (struct database_dyn): Remove inotify_descr, reset_res, and filename
77066         elements.  Add traced_files.
77067         (inotify_fd): Declare.
77068         (register_traced_file): Declare.
77069         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
77070         (inotify_fd): Export.
77071         (resolv_conf_descr): Remove.
77072         (nscd_init): Move inotify descriptor creation to main.
77073         Don't register files for notification here.
77074         (register_traced_file): New function.
77075         (invalidate_cache): Don't use reset_res to determine whether to call
77076         res_init, go through the list of registered files.
77077         (main_loop_poll): The inotify descriptors are now stored in the
77078         structures for the traced files.
77079         (main_loop_epoll): Likewise.
77080         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
77081         to __nss_disable_nscd.
77082         * nscd/cache.c (prune_cache): There is no single inotify descriptor
77083         for a database anymore.  Check the records for all the registered
77084         files instead.
77085         * nss/Makefile (libnss_files-routines): Add files-init.
77086         (libnss_db-routines): Add db-init.
77087         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
77088         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
77089         * nss/nss_db/db-init.c: New file.
77090         * nss/nss_files/files-init.c: New file.
77091         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
77092         __nss_lookup_function.
77093         (__nss_lookup_function): Call nss_load_library.
77094         (nss_load_all_libraries): New function.
77095         (__nss_disable_nscd): Take parameter with callback function for files
77096         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
77097         used for the cached services.
77098         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
77099         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
77100         options for features to all the files in nscd.
77102         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
77104 2011-07-10  Roland McGrath  <roland@hack.frob.com>
77106         * csu/elf-init.c (__libc_csu_init): Comment typo.
77108 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
77110         * po/pl.po: Update from translation team.
77111         * po/ja.po: Likewise.
77112         * po/ru.po: Likewise.
77113         * po/ko.po: Likewise.
77114         * po/fr.po: Likewise.
77116 2011-07-09  Roland McGrath  <roland@hack.frob.com>
77118         * configure.in (.ctors/.dtors header and trailer check):
77119         Use an empirical test on a built program.
77120         * configure: Regenerated.
77122         * configure.in (-z relro check): Use an empirical test on a built DSO.
77123         Detect, but do not require, on ia64.
77124         * configure: Regenerated.
77126         * configure.in (READELF): Find it with AC_CHECK_TOOL.
77127         Update tests that use readelf to use $READELF instead.
77128         * configure: Regenerated.
77130 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
77132         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
77133         if the result is not used.
77135 2011-07-05  Andreas Jaeger  <aj@suse.de>
77137         [BZ#9696]
77138         * stdlib/tst-strtod.c: Add testcase.
77140 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
77142         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
77143         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
77144         The latter has a higher limit.  Take additional parameter to pass to
77145         the new function.
77146         (__pathconf): Pass file to __statfs_link_max.
77147         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
77148         __statfs_link_max.
77149         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
77150         __statfs_link_max.
77152         [BZ #12868]
77153         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
77154         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77155         Handle Lustre.
77156         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
77157         (__statfs_filesize_max): Likewise.
77158         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
77160 2011-07-05  Andreas Jaeger  <aj@suse.de>
77162         * resolv/res_comp.c (dn_skipname): Remove unused variable.
77164 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
77166         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
77167         `status' variable.
77168         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
77169         Likewise.
77171 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
77173         * Makefile (strop-tests): Add strncat.
77174         * string/test-strncat.c: New file.
77176 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
77178         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
77180 2011-06-21  Andreas Jaeger  <aj@suse.de>
77182         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
77183         Copy rule from iconvdata/Makefile.
77185 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
77187         [BZ #12922]
77188         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
77189         but no long options are defined, just return 'W'.
77191 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
77193         [BZ #9696]
77194         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
77196 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
77198         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
77199         netgroups to read.
77200         (innetgr): Likewise.
77202 2011-07-05  Roland McGrath  <roland@hack.frob.com>
77204         * config.make.in (install_root): Default to $(DESTDIR).
77206 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
77208         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
77210 2011-07-02  Roland McGrath  <roland@hack.frob.com>
77212         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
77214         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
77215         containing directory rather than embedding absolute directory names.
77217         * scripts/check-local-headers.sh: Rewritten using awk.
77218         Match by word, not by line.  Print error messages for matches.
77219         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
77221         * Makerules [shlib-lds-flags empty]:
77222         ($(common-objpfx)libc_pic.opts): New target.
77223         ($(common-objpfx)libc_pic.os.clean): New target.
77224         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
77226         * config.make.in (OBJCOPY): New variable.
77227         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
77228         * configure: Regenerated.
77230         * config.make.in (use-default-link): New variable.
77231         * configure.in (use_default_link): Grok --with-default-link to set it.
77232         * configure: Regenerated.
77233         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
77234         (shlib-lds, shlib-lds-flags): Define to empty.
77236         * Makerules (shlib-lds): New variable.
77237         (shlib-lds-flags): New variable.
77238         (build-shlib, build-moduile, build-module-asneeded): Use it.
77239         ($(common-objpfx)libc.so): Use $(shlib-lds).
77240         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
77241         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
77243         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
77244         DT_FLAGS/DT_FLAGS_1 with zero flags.
77246         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
77247         linker script munging.
77249 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
77251         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
77252         as 128-bit value.
77253         * crypt/sha512.c (sha512_process_block): Perform total addition using
77254         128-bit if possible.
77255         (__sha512_finish_ctx): Likewise.
77256         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
77257         as 64-bit value.
77258         * crypt/sha256.c (SWAP64): Define.
77259         (sha256_process_block): Perform total addition using 64-bit if
77260         possible.
77261         (__sha256_finish_ctx): Likewise.
77263 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
77265         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
77266         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77267         * nscd/hstcache.c (cache_addhst): Likewise.
77268         * nscd/grpcache.c (cache_addgr): Likewise.
77269         * nscd/aicache.c (addhstaiX): Likewise.
77270         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
77272 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
77274         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
77275         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77276         * nscd/hstcache.c (cache_addhst): Likewise.
77277         * nscd/grpcache.c (cache_addgr): Likewise.
77278         * nscd/aicache.c (addhstaiX): Likewise.
77280 2011-07-01  Andreas Schwab  <schwab@redhat.com>
77282         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
77283         domain only when needed.
77285 2011-06-30  Andreas Schwab  <schwab@redhat.com>
77287         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
77288         is always restored.
77290 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
77292         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
77293         are re-adding the entry.
77294         * nscd/servicescache.c (cache_addserv): Likewise.
77296 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
77298         * sysdeps/generic/dl-irel.h: fix protection against multiple
77299         inclusions.
77300         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
77302 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
77304         [BZ #12935]
77305         * malloc/memusage.sh: Fix quoting in message.
77306         * debug/xtrace.sh: Likewise.
77308         * configure.in: Remove support for --experimental-malloc option, make
77309         it the default.
77310         * config.make.in: Likewise.
77311         * malloc/Makefile: Likewise.
77313 2011-06-27  Andreas Schwab  <schwab@redhat.com>
77315         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
77316         two-byte characters.
77318 2011-06-27  Roland McGrath  <roland@hack.frob.com>
77320         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
77321         AC_CACHE_CHECK invocation.
77322         * configure: Regenerated.
77324         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
77326 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
77328         [BZ #12350]
77329         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
77330         bit from old_res_options.
77332         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
77334         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
77335         value type for setfct.
77337 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
77339         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77340         __gettimeofday instead of gettimeofday.
77342 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
77344         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
77346 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
77348         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
77350         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
77351         info.
77353 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77355         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77356         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77357         strcpy-sse2-unaligned strncpy-sse2-unaligned
77358         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
77359         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
77360         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
77361         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
77362         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
77363         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
77364         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
77365         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
77366         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
77367         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
77368         (STRCPY): Support SSE2 and SSSE3 versions.
77370 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
77372         [BZ #12874]
77373         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
77374         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
77375         kernels which artificially limit size of requests.
77377 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77379         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77380         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77381         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
77382         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
77383         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
77384         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
77385         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
77386         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
77387         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
77388         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
77389         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
77390         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
77391         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
77392         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
77393         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
77394         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77395         Enable unaligned load optimization for Intel Core i3, i5 and i7
77396         processors.
77397         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
77398         Define.
77399         (index_Fast_Unaligned_Load): Define.
77400         (HAS_FAST_UNALIGNED_LOAD): Define.
77402 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
77404         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
77406 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77408         [BZ #12907]
77409         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
77410         until it is clear that the information is realy needed.
77411         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
77413 2011-06-22  Andreas Schwab  <schwab@redhat.com>
77415         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
77417 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77419         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77420         /sys/devices/system/cpu/online if it is usable.
77422         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
77423         reading the information from the /proc filesystem to once a second.
77425 2011-06-21  Andreas Jaeger  <aj@suse.de>
77427         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
77428         NULL after inclusion of kernel headers.
77430 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
77432         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
77433         calls to internal_setent.
77435         [BZ #12885]
77436         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
77437         addresses using gethostbyname4_r ignore IPv4 addresses.
77439         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
77440         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
77442         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
77444 2011-06-20  David S. Miller  <davem@davemloft.net>
77446         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
77447         inclusions.
77448         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
77450         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
77451         (elf_irel): Use it.
77452         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
77453         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
77454         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
77455         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
77456         * sysdeps/x86_64/dl-irel.h: Likewise.
77458         * elf/dl-runtime.c: Use elf_ifunc_invoke.
77459         * elf/dl-sym.c: Likewise.
77461 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77463         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
77464         need to dereference resplen2.
77466 2011-06-14  Andreas Schwab  <schwab@redhat.com>
77468         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
77470 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77472         * Makeconfig: Define vardbdir and inst_vardbdir.
77473         * nss/Makefile: Add rules to install db-Makefile.
77475         * nss/nss_db/db-XXX.c: Cleanup.
77477         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
77478         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
77479         GLIBC_PRIVATE.
77480         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
77481         * nss/makedb.c: Implement -g option to specify that value strings
77482         are generated and should not be added to table iterated over for
77483         get*ent calls.
77484         * nss/nss_db/db-initgroups.c: New file.
77486         * nss/getent.c: Add support for initgroups lookups through getgrouplist
77487         interface.
77489         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
77490         (internal_getgrouplist): Adjust to name change.
77491         Update use_initgroups_entry if this is not the first call.
77492         * nss/databases.def: Add initgroups entry.
77494         * nss/makedb.c (compute_tables): Check result of multiple hash table
77495         sizes to minimize maximum chain length.
77497 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
77499         * Versions.def: Add entry for libnss_db.
77500         * shlib-versions: Likewise.
77501         * nss/Makefile: Add rules to build libnss_db.
77502         * nss/Versions: Add libnss_db information.  Organize libnss_files
77503         entries better.
77504         * nss/db-Makefile: Add gshadow support.  Change rules for the new
77505         makedb progra.  Some minor improvements to generate smaller files.
77506         * nss/nss_db/nss_db.h: Move NSS database header data structures to
77507         here from...
77508         * nss/makedb.c: ...here.
77509         Improve database format to be smaller and require less memory at
77510         runtime.
77511         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
77512         db anymore.
77513         * nss/nss_db/db-netgrp.c: Likewise.
77514         * nss/nss_db/db-open.c: Likewise.
77515         * nss/nss_files/flies-XXX.x: Adjust comments.
77516         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
77517         * nss/nss_files/files-grp.c: Likewise.
77518         * nss/nss_files/files-hosts.c: Likewise.
77519         * nss/nss_files/files-network.c: Likewise.
77520         * nss/nss_files/files-proto.c: Likewise.
77521         * nss/nss_files/files-pwd.c: Likewise.
77522         * nss/nss_files/files-rpc.c: Likewise.
77523         * nss/nss_files/files-service.c: Likewise.
77524         * nss/nss_files/files-sgrp.c: Likewise.
77525         * nss/nss_files/files-spwd.c: Likewise.
77526         * nss/nss_db/db-alias.c: Removed.
77527         * nss/nss_db/dummy-db.h: Removed.
77529 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
77531         * nss/makedb.c: Rewritten to not use database library.
77532         * nss/Makefile: Update to build new makedb program.
77534 2011-06-14  Andreas Jaeger  <aj@suse.de>
77536         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
77537         memset declaration.
77539 2011-06-10  Andreas Schwab  <schwab@redhat.com>
77541         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
77542         tmpbuf.
77544 2011-06-10  Roland McGrath  <roland@hack.frob.com>
77546         * Makerules (shlib.lds): Fail if the linker script comes out empty.
77547         * elf/Makefile ($(objpfx)ld.so): Likewise.
77549         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
77550         Don't list ld.so twice in dependencies.
77552         * posix/bug-regex31.c: Include <stdlib.h>.
77554         * nscd/hstcache.c (cache_addhst): Remove unused variable.
77556         * nis/nss_compat/compat-spwd.c
77557         (getspent_next_nss_netgr): Remove unused variable.
77558         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
77560         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
77561         nonmembers" output to use the right array.
77563         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
77565         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
77567         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
77568         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
77569         * catgets/gencat.c (read_input_file): Likewise.
77570         * locale/programs/locarchive.c (enlarge_archive): Likewise.
77572         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
77573         variable definition inside #if's controlling its use.
77575         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
77577         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
77579         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
77581         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
77582         unreachable code.
77584         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
77586         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
77587         * configure: Regenerated.
77589         * Makerules: Revert last change.
77590         * elf/Makefile: Likewise.
77592 2011-06-09  Roland McGrath  <roland@hack.frob.com>
77594         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
77595         * elf/Makefile ($(objpfx)librtld.os): Likewise.
77596         (reloc-link): Likewise.
77598 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
77600         * elf/Makefile: Add rules to build pldd.
77601         * elf/pldd.c: New file.
77602         * elf/pldd-xx.c: New file.
77604 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
77606         * version.h: Update for 2.15 development version.
77608 2011-06-07  David S. Miller  <davem@davemloft.net>
77610         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
77611         ifuncs.
77612         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
77613         elf_machine_lazy_rel): Likewise.
77614         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
77615         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
77616         elf_machine_lazy_rel): Likewise.
77617         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
77618         dl_hwcap via passed in argument.
77619         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
77620         Likewise.
77622 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77624         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
77626 2011-06-06  Roland McGrath  <roland@hack.frob.com>
77628         [BZ #12849]
77629         * manual/fdl-1.1.texi: New file, verbatim from:
77630         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
77631         * manual/lgpl-2.1.texi: New file, verbatim from:
77632         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
77633         * manual/Makefile (licenses): New variable, list those new file names.
77634         (texis): Use it.
77635         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
77637         * manual/fdl.texi: File removed.
77638         * manual/lesser.texi: File removed.
77639         * manual/libc.texinfo (Copying, Documentation License):
77640         Use new @include file names, put @appendix directive before @include.
77642 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
77644         [BZ #12841]
77645         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
77646         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
77647         (mq_open): Add __NTH.
77649 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
77651         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77652         Assume Intel Core i3/i5/i7 processor if AVX is available.
77654 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
77656         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
77657         typo.
77659 2011-05-31  Andreas Schwab  <schwab@redhat.com>
77661         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
77662         memory.  Use alloca_account.  Fix memory leak when retrying.
77664 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
77666         * version.h (RELEASE): Bump for 2.14 release.
77667         * include/features.h (__GLIBC_MINOR__): Bump to 14.
77669         * config.make.in (RANLIB): Remove entry.
77671 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
77673         * po/Makefile (po-sed-cmd): Add ksh to extensions.
77674         (libc.pot): Work around missing support for .ksh extension in xgettext.
77676         [BZ #12684]
77677         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
77678         if both request failed.
77679         (send_dg): In case of server errors clear resplen or *resplen2.
77681         [BZ #12454]
77682         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
77683         when there are multiple maps.
77684         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
77685         (_dl_fini): Remove test here.
77687         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
77689 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
77691         [BZ #12350]
77692         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
77693         bit from old_res_options.
77694         (gaih_inet): Likewise.
77696         [BZ #11099]
77697         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
77698         as signed.
77700         * resolv/res_init.c (res_setoptions): Make the code more compact.
77702         [BZ #11558]
77703         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
77704         set RES_USEVC.
77706         [BZ #11634]
77707         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
77709         * malloc/malloc.h: Mark malloc hook variables as deprecated.
77711         [BZ #11781]
77712         * malloc/malloc.h: Declare malloc hook variables as volatile.
77714         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
77715         in last patch.
77717         [BZ #11799]
77718         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
77719         raise in the comment.
77720         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
77721         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
77722         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
77724 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
77726         [BZ #12811]
77727         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
77728         grow the buffers more if it already has to be sufficient.
77729         (build_wcs_upper_buffer): Likewise.
77730         * posix/regexec.c (check_matching): Likewise.
77731         (clean_state_log_if_needed): Likewise.
77732         (extend_buffers): Don't enlarge buffers beyond size of the input
77733         buffer.
77734         Patches mostly by Emil Wojak <emil@wojak.eu>.
77735         * posix/bug-regex32.c: New file.
77736         * posix/Makefile (tests): Add bug-regex32.
77738         * locale/findlocale.c (_nl_find_locale): Return right away if
77739         _nl_explode_name failed.
77740         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
77742         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
77744         * debug/xtrace.sh: Unify messages.
77745         * malloc/memusage.sh: Likewise.
77747         [BZ #12813]
77748         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
77749         time symbol from vDSO.  Substitute with vsyscall if not available.
77750         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
77751         __vdso_time.
77753         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
77754         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
77755         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
77756         Add sendmmsg and internal_sendmmsg.
77757         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
77758         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
77759         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
77761         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
77762         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
77763         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
77765 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
77767         [BZ #12813]
77768         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
77769         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
77770         available.
77771         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
77772         __vdso_getcpu.
77774         [BZ #12814]
77775         * iconvdata/Makefile (tests): Add bug-iconv9.
77776         * iconvdata/bug-iconv9.c: New file.
77778 2011-05-27  Andreas Schwab  <schwab@redhat.com>
77780         [BZ #12814]
77781         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
77783 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
77785         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77786         (struct user_regs_struct): Change intcs field back to cs.
77788 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
77790         * po/ja.po: Update from translation team.
77792 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
77794         [BZ #12795]
77795         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
77796         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
77798 2011-05-20  Andreas Schwab  <schwab@redhat.com>
77800         * stdlib/longlong.h: Update from GCC.
77802 2011-05-23  Andreas Schwab  <schwab@redhat.com>
77804         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
77805         parameter name.
77806         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
77807         Add parameter name.
77808         (__sysconf): Pass it down.
77810 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
77812         [BZ #12671]
77813         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
77814         some situations.
77815         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
77816         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
77817         add in in __libc_use_alloca calls.  Adjust callers.
77818         (glob): Use malloc in some situations.
77820         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
77821         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
77822         pltexit.
77824 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
77826         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
77827         and CLOCK_BOOTTIME_ALARM.
77829         [BZ #12782]
77830         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
77831         is returned.
77833         * string/_strerror.c (__strerror_r): Print negative errors as signed
77834         numbers.
77836         [BZ #12777]
77837         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
77838         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
77839         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
77841         * configure.in: Fix typo in redirection and correct removal of test
77842         files in two cases.
77844         [BZ #12788]
77845         * locale/setlocale.c (new_composite_name): Fix test to check for
77846         identical name of all categories.
77848         [BZ #12792]
77849         * libio/filedoalloc.c (local_isatty): New function.
77850         (_IO_file_doallocate): Use local_isatty.
77851         * stdio-common/perror.c (perror): In case a new stream is used
77852         forward the stream error.
77853         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
77854         error flag.
77856 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
77858         [BZ #11884]
77859         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
77860         alloca.
77861         * include/alloca.h (extend_alloca_account): Define.
77863         [BZ #11857]
77864         * posix/regex.h: Fix comments with documentation of user-accessible
77865         fields after compilation and describe correct free'ing of pattern
77866         after re_compile_pattern.
77867         Patch by Reuben Thomas <rrt@sc3d.org>.
77869 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
77871         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
77872         and -mno-altivec to prevent the compiler from using Altivec and/or
77873         VSX instructions when the corresponding registers are not available.
77875 2011-05-19  Andreas Schwab  <schwab@redhat.com>
77877         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
77879 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
77881         * libio/freopen.c (freopen): Use __dup2, not dup2.
77882         * libio/freopen64.c (freopen64): Likewise.
77884 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
77886         [BZ #12775]
77887         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
77888         * math/Makefile (tests): Add test-powl.
77889         (CFLAGS-test-powl.c): Define.
77890         * math/test-powl.c: New file.
77892 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77894         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
77896 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
77898         [BZ #11837]
77899         * iconvdata/gb18030.c: Update to GB18020-2005.
77901 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
77903         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
77904         RE_SYNTAX_POSIX_AWK): Update to match recent development.
77905         Patch by Aharon Robbins <arnold@skeeve.com>.
77907         [BZ #11892]
77908         * stdlib/putenv.c (putenv): Don't always create copy of the variable
77909         on the stack.
77911         [BZ #11895]
77912         * misc/pselect.c (__pselect): Handle timeout value errors hidden
77913         through underflows.
77915         [BZ #12766]
77916         * misc/error.c (error_at_line): Ensure file_name and old_file_name
77917         point to strings before performing equality test for error_one_per_line
77918         mode.
77920         [BZ #11697]
77921         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
77923         [BZ #11820]
77924         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77925         (struct user_fpregs_struct): Avoid __uint*_t types.
77927         [BZ #6420]
77928         * malloc/mtrace.c (tr_where): Add additional parameter to point to
77929         symbol info.  Use it instead of calling _dl_addr locally.
77930         (lock_and_info): New function.
77931         (tr_freehook): Call lock_and_info and pass symbol info as additional
77932         parameter to tr_where.
77933         (tr_mallochook): Likewise.
77934         (tr_reallochook): Likewise.
77935         (tr_memalignhook): Likewise.
77937         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
77938         used and couldn't be at all thread-safe.
77940 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
77942         * libio/freopen.c (freopen): Don't close old file descriptor
77943         before the new one is opened.  Instead dup the new file descriptor
77944         to the old one after the new stream is created.
77945         * libio/freopen64.c (freopen64): Likewise.
77946         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
77947         * libio/fileops.c (_IO_new_file_close_it): Handle new
77948         _IO_FLAGS2_NOCLOSE flag.
77949         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
77950         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
77951         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
77952         _IO_FLAGS2_NOCLOSE flag.
77953         * include/unistd.h: Add hidden_proto for dup3.
77954         Define __have_dup3.
77955         * io/dup3.c: Define hidden symbol.
77956         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
77958         [BZ #7101]
77959         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
77960         when an incomplete long option is used.
77961         * posix/tst-getopt_long1.c: New file.
77962         * posix/Makefile (tests): Add tst-getopt_long1.
77964         [BZ #10138]
77965         * scripts/config.guess: Update from autoconf-2.68.
77966         * scripts/config.sub: Likewise.
77968         [BZ #10157]
77969         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
77970         tests into ...
77971         (has_cpuclock): ...this.  New function.
77972         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
77973         macro here based on has_cpuclock code.
77975         [BZ #10149]
77976         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77977         First byte (not low byte) is now always NUL.
77978         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
77980         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77981         Use non-cancelable interfaces.
77983         [BZ #9809]
77984         * locale/iso-639.def: Add entry for Sorani.
77986         [BZ #11901]
77987         * include/stdlib.h: Move include protection to the right place.
77988         Define abort_msg_s.  Declare __abort_msg with it.
77989         * stdlib/abort.c (__abort_msg): Adjust type.
77990         * assert/assert.c (__assert_fail_base): New function.  Majority
77991         of code from __assert_fail.  Allocate memory for __abort_msg with
77992         mmap.
77993         (__assert_fail): Now call __assert_fail_base.
77994         * assert/assert-perr.c: Remove bulk of implementation.  Use
77995         __assert_fail_base.
77996         * include/assert.hL Declare __assert_fail_base.
77997         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
77998         mmap.
77999         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
78001 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
78003         [BZ #11952]
78004         [BZ #12453]
78005         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
78006         until all modules are registered in the DTV.
78007         * elf/Makefile: Add rules to build and run tst-tls19.
78008         * elf/tst-tls19.c: New file.
78009         * elf/tst-tls19mod1.c: New file.
78010         * elf/tst-tls19mod2.c: New file.
78011         * elf/tst-tls19mod3.c: New file.
78012         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
78014         [BZ #12083]
78015         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
78016         correctly.
78018         [BZ #12601]
78019         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
78020         two-byte sequence errors.
78021         * iconvdata/Makefile (tests): Add bug-iconv8.
78022         * iconvdata/bug-iconv8.c: New file.
78024         [BZ #12626]
78025         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
78026         buf2 definition.
78028         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
78030         [BZ #12432]
78031         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
78032         (dummy_getcfa): New function.
78033         (init): Get _Unwind_GetCFA address, use dummy if not found.
78034         (backtrace_helper): In recursion check, also check whether CFA changes.
78035         (__backtrace): Completely initialize arg.
78037         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
78038         storing incomplete byte sequence in state object.  Avoid testing for
78039         guaranteed too small input if we know there is enough data available.
78041 2011-05-11  Andreas Schwab  <schwab@redhat.com>
78043         * Makeconfig (+link-pie): Indent.
78044         * Rules (binaries-pie): Define if $(have-fpie) and
78045         $(build-shared).
78046         (binaries-shared): Also filter out $(binaries-pie).
78047         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
78048         * nscd/Makefile (others-pie): Add nscd.
78049         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
78050         ($(objpfx)nscd): Remove command override.
78051         * login/Makefile (others-pie): Add pt_chown.
78052         ($(objpfx)pt_chown): Remove command override.
78053         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
78054         remove command overrides.
78056 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
78058         * libio/tst_putwc.c: Fix error messages.
78060         [BZ #12724]
78061         * libio/fileops.c (_IO_new_file_close_it): Always flush when
78062         currently writing and seek to current position when not.
78063         * libio/Makefile (tests): Add bug-fclose1.
78064         * libio/bug-fclose1.c: New file.
78066 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
78068         [BZ #12511]
78069         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
78070         don't set DF_1_NODELETE here.
78071         (do_lookup_x): When entering new entry test for copy relocation
78072         and if necessary set DF_1_NODELETE flag.
78073         * elf/tst-unique4.cc: New file.
78074         * elf/tst-unique4.h: New file.
78075         * elf/tst-unique4lib.cc: New file.
78076         * elf/Makefile: Add rules to build and run tst-unique4.
78077         Patch by Piotr Bury <pbury@goahead.com>.
78079 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
78081         [BZ #12052]
78082         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
78084         [BZ #12625]
78085         * misc/mntent_r.c (addmntent): Flush the stream after the output
78087         [BZ #12393]
78088         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
78089         (is_trusted_path_normalize): Skip initial colon.  Append slash
78090         to empty buffer.  Duplicate is_trusted_path code but allow
78091         constructed patch to be prefix.
78092         (is_dst): Allow $ORIGIN followed by /.
78093         (_dl_dst_substitute): Correct clearing of check_for_trusted.
78094         Correct testing of result of is_trusted_path_normalize
78095         (decompose_rpath): Fix warning.
78097 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
78099         [BZ #11257]
78100         * grp/initgroups.c (internal_getgrouplist): When we found the service
78101         list through the initgroups entry in nsswitch.conf do not always
78102         continue on a successful lookup.  Don't always use the
78103         __nss_group_database value if it is set.
78104         * nss/nsswitch.conf (initgroups): Change action for successful db
78105         lookup to continue for compatibility.
78107 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
78109         [BZ #11532]
78110         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
78111         and CP774 modules.
78112         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
78113         and CP774 modules.
78114         * iconvdata/tst-tables.sh: Likewise.
78115         * iconvdata/cp770.c: New file.
78116         * iconvdata/cp771.c: New file.
78117         * iconvdata/cp772.c: New file.
78118         * iconvdata/cp773.c: New file.
78119         * iconvdata/cp774.c: New file.
78120         * iconvdata/testdata/CP770: New file.
78121         * iconvdata/testdata/CP770..UTF8: New file.
78122         * iconvdata/testdata/CP771: New file.
78123         * iconvdata/testdata/CP771..UTF8: New file.
78124         * iconvdata/testdata/CP772: New file.
78125         * iconvdata/testdata/CP772..UTF8: New file.
78126         * iconvdata/testdata/CP773: New file.
78127         * iconvdata/testdata/CP773..UTF8: New file.
78128         * iconvdata/testdata/CP774: New file.
78129         * iconvdata/testdata/CP774..UTF8: New file.
78131         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
78132         END CHARMAP line.
78133         * iconvdata/gen-8bit-gap.sh: Likewise.
78134         * iconvdata/gen-8bit.sh: Likewise.
78136         * locale/iso-639.def: Add ary entry.
78138         [BZ #11258]
78139         * locale/C-translit.h.in: Add U20A1 transliteration.
78141         [BZ #12178]
78142         * locale/iso-639.def: Add wae entry.
78143         Patch by Kevin Bortis <bortis@translate-wae.ch>.
78145         [BZ #12545]
78146         * locale/programs/localedef.c (construct_output_path): Use ssize_t
78147         for n.
78149         [BZ #12711]
78150         * locale/C-translit.h.in: Add entry for U20B9.
78151         Patch by pravin.d.s@gmail.com.
78153 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
78155         [BZ #12713]
78156         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
78157         ENAMETOOLONG use generic getcwd.
78158         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
78159         in rtld.  Use *stat64.
78160         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
78161         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
78162         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
78163         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
78164         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
78165         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
78166         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
78167         __fstatat64 macros.
78168         * include/dirent.h: Add libc_hidden_proto for rewinddir.
78169         * dirent/rewinddir.c: Add libc_hidden_def.
78170         * sysdeps/mach/hurd/rewinddir.c: Likewise.
78171         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
78173         * include/dirent.h (__alloc_dir): Add flags parameter.
78174         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
78175         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
78176         __alloc_dir.
78177         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
78178         from fdopendir if O_CLOEXEC is already set.
78180 2011-03-15  Alan Modra  <amodra@gmail.com>
78182         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
78183         l_tls_firstbyte_offset non-zero.  Save padding offset in
78184         l_tls_firstbyte_offset for later use.
78185         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
78186         freeing static tls block.
78188 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
78190         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
78191         where #ifdef was intended.  The intent is to prevent ARG_MAX from
78192         being defined by the kernel headers.
78194 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
78196         [BZ #12734]
78197         * resolv/resolv.h: Define RES_NOTLDQUERY.
78198         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
78199         no-tld-query and set RES_NOTLDQUERY.
78200         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
78201         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
78202         modern BIND to search name as TLD unless forbidden.
78204 2011-05-07  Petr Baudis  <pasky@suse.cz>
78205             Ulrich Drepper  <drepper@gmail.com>
78207         [BZ #12393]
78208         * elf/dl-load.c (fillin_rpath): Move trusted path check...
78209         (is_trusted_path): ...to here.
78210         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
78211         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
78212         using is_trusted_path_normalize() in setuid scripts.
78214 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
78216         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
78217         __BEGIN/__END_DECLS.
78219 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
78221         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
78222         NSS_STATUS_NOTFOUND if no record was found.
78224 2011-05-05  Andreas Schwab  <schwab@redhat.com>
78226         * sunrpc/Makefile (headers): Add rpc/netdb.h.
78227         (headers-not-in-tirpc): Remove rpc/netdb.h
78228         * resolv/netdb.h: Revert last change.
78230 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
78232         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
78233         circular dependency between libgcc.a and libc.a.
78235 2011-05-05  Andreas Schwab  <schwab@redhat.com>
78237         * resolv/netdb.h: Don't include <rpc/netdb.h>.
78238         * nis/Makefile: Don't install rpcsvc/*.
78239         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
78240         instead of <rpc/types.h>.
78241         (MAXHOSTNAMELEN): Define.
78243 2011-05-03  Andreas Schwab  <schwab@redhat.com>
78245         * elf/ldconfig.c (add_dir): Don't crash on empty path.
78247 2011-04-28  Maciej Babinski  <mbabinski@google.com>
78249         [BZ #12714]
78250         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
78251         gethostbyname4_r when IPv6 results are possible.
78253 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
78255         [BZ #12723]
78256         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
78257         _PC_PIPE_BUF handling.
78259 2011-04-30  Bruno Haible  <bruno@clisp.org>
78261         [BZ #12717]
78262         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
78263         * resolv/netdb.h (getnameinfo): Change type of flags parameter
78264         to 'int'.
78265         * inet/getnameinfo.c (getnameinfo): Likewise.
78267 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
78269         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
78270         to groups setting in database lookup.
78271         * nss/nsswitch.conf: Add initgroups entry.
78273 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
78275         [BZ #12685]
78276         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
78277         mode string.
78278         Patch by Eric Blake <eblake@redhat.com>.
78280 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
78282         * sunrpc/Makefile (need-export-routines): Add svc_run.
78283         (routines): Remove svc_run.
78284         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
78285         * sunrpc/clnt_perr.c (clnt_perrno): Export.
78286         * sunrpc/svc_run.c (svc_run): Likewise.
78287         * sunrpc/svc_udp.c (svcudp_create): Likewise.
78289 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
78291         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
78292         problem in reallocation in last patch.
78294 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
78296         * sunrpc/Makefile: Move inclusion of Rules.
78298 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
78300         * nss/nss_files/files-initgroups.c: New file.
78301         * nss/Makefile (libnss_files-routines): Add files-initgroups.
78302         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
78303         _nss_files_initgroups_dyn.
78305 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
78307         * elf/elf.h (R_ARM_IRELATIVE): Define.
78309 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
78311         * po/ru.po: Update from translation team.
78313 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
78315         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
78316         dependencies.
78318 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
78320         [BZ #12653]
78321         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
78322         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
78323         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
78324         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
78325         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
78327 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
78329         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
78330         differing bytes.
78331         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
78332         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
78333         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
78335 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
78337         [BZ #12420]
78338         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
78339         storing it.
78340         * stdlib/bug-getcontext.c: New file.
78341         * stdlib/Makefile: Add rules to build and run bug-getcontext.
78343 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78345         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
78346         instructions into .machine "z9-109".
78347         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
78348         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
78350 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78352         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
78353         between environment variables and auxiliary vector.
78355 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
78357         * Makefile: Add rules to build linkobj/libc.so.
78358         * include/libc-symbols.h: Define libc_hidden_nolink.
78359         * include/rpc/auth.h: Mark functions which are to be hidden.
78360         * include/rpc/auth_des.h: Likewise.
78361         * include/rpc/auth_unix.h: Likewise.
78362         * include/rpc/clnt.h: Likewise.
78363         * include/rpc/des_crypt.h: Likewise.
78364         * include/rpc/key_prot.h: Likewise.
78365         * include/rpc/pmap_clnt.h: Likewise.
78366         * include/rpc/pmap_prot.h: Likewise.
78367         * include/rpc/pmap_rmt.h: Likewise.
78368         * include/rpc/rpc_msg.h: Likewise.
78369         * include/rpc/svc.h: Likewise.
78370         * include/rpc/svc_auth.h: Likewise.
78371         * include/rpc/xdr.h: Likewise.
78372         * nis/Makefile: Link all DSOs against linkobj/libc.so.
78373         * nss/Makefile: Likewise.
78374         * sunrpc/Makefile: Don't install headers.  Build library with normal
78375         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
78376         * sunrpc/auth_des.c: Hide exported symbols by default, export some
78377         for the compat linking library.  Remove use of INTDEF/INTUSE.
78378         * sunrpc/auth_none.c: Likewise.
78379         * sunrpc/auth_unix.c: Likewise.
78380         * sunrpc/authdes_prot.c: Likewise.
78381         * sunrpc/authuxprot.c: Likewise.
78382         * sunrpc/clnt_gen.c: Likewise.
78383         * sunrpc/clnt_perr.c: Likewise.
78384         * sunrpc/clnt_raw.c: Likewise.
78385         * sunrpc/clnt_simp.c: Likewise.
78386         * sunrpc/clnt_tcp.c: Likewise.
78387         * sunrpc/clnt_udp.c: Likewise.
78388         * sunrpc/clnt_unix.c: Likewise.
78389         * sunrpc/des_crypt.c: Likewise.
78390         * sunrpc/des_soft.c: Likewise.
78391         * sunrpc/get_myaddr.c: Likewise.
78392         * sunrpc/key_call.c: Likewise.
78393         * sunrpc/key_prot.c: Likewise.
78394         * sunrpc/netname.c: Likewise.
78395         * sunrpc/pm_getmaps.c: Likewise.
78396         * sunrpc/pm_getport.c: Likewise.
78397         * sunrpc/pmap_clnt.c: Likewise.
78398         * sunrpc/pmap_prot.c: Likewise.
78399         * sunrpc/pmap_prot2.c: Likewise.
78400         * sunrpc/pmap_rmt.c: Likewise.
78401         * sunrpc/publickey.c: Likewise.
78402         * sunrpc/rpc_cmsg.c: Likewise.
78403         * sunrpc/rpc_common.c: Likewise.
78404         * sunrpc/rpc_dtable.c: Likewise.
78405         * sunrpc/rpc_prot.c: Likewise.
78406         * sunrpc/rpc_thread.c: Likewise.
78407         * sunrpc/rtime.c: Likewise.
78408         * sunrpc/svc.c: Likewise.
78409         * sunrpc/svc_auth.c: Likewise.
78410         * sunrpc/svc_authux.c: Likewise.
78411         * sunrpc/svc_raw.c: Likewise.
78412         * sunrpc/svc_run.c: Likewise.
78413         * sunrpc/svc_simple.c: Likewise.
78414         * sunrpc/svc_tcp.c: Likewise.
78415         * sunrpc/svc_udp.c: Likewise.
78416         * sunrpc/svc_unix.c: Likewise.
78417         * sunrpc/svcauth_des.c: Likewise.
78418         * sunrpc/xcrypt.c: Likewise.
78419         * sunrpc/xdr.c: Likewise.
78420         * sunrpc/xdr_array.c: Likewise.
78421         * sunrpc/xdr_float.c: Likewise.
78422         * sunrpc/xdr_intXX_t.c: Likewise.
78423         * sunrpc/xdr_mem.c: Likewise.
78424         * sunrpc/xdr_rec.c: Likewise.
78425         * sunrpc/xdr_ref.c: Likewise.
78426         * sunrpc/xdr_sizeof.c: Likewise.
78427         * sunrpc/xdr_stdio.c: Likewise.
78429 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
78431         [BZ #12650]
78432         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
78433         * sysdeps/ia64/dl-tls.h: Likewise.
78434         * sysdeps/powerpc/dl-tls.h: Likewise.
78435         * sysdeps/s390/dl-tls.h: Likewise.
78436         * sysdeps/sh/dl-tls.h: Likewise.
78437         * sysdeps/sparc/dl-tls.h: Likewise.
78438         * sysdeps/x86_64/dl-tls.h: Likewise.
78439         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
78441 2011-03-14  Andreas Schwab  <schwab@redhat.com>
78443         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
78444         rpath element also skip the following colon.
78445         (expand_dynamic_string_token): Add is_path parameter and pass
78446         down to DL_DST_REQUIRED and _dl_dst_substitute.
78447         (decompose_rpath): Call expand_dynamic_string_token with
78448         non-zero is_path.  Ignore empty rpaths.
78449         (_dl_map_object_from_fd): Call expand_dynamic_string_token
78450         with zero is_path.
78452 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
78454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
78455         Make cancelable.
78457 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
78459         [BZ #12655]
78460         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
78461         Patch by Filipe David Manana <fdmanana@apache.org>.
78463 2011-04-07  Andreas Schwab  <schwab@redhat.com>
78465         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
78466         Maintain aligned stack.
78467         (CHECK_RSP): Remove unused macro.
78469 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
78471         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
78472         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
78474 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
78476         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
78478         * include/features.h: Mention __USE_XOPEN2K8 in comment.
78480 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
78482         [BZ #12518]
78483         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
78484         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
78485         * sysdeps/x86_64/memmove.c: New file.
78486         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
78487         (memcpy): Renamed to ...
78488         (__new_memcpy): This.
78489         (memcpy): Provide GLIBC_2_14 memcpy.
78490         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
78491         (memcpy): Provide GLIBC_2_2_5 memcpy.
78493 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78495         [BZ #12631]
78496         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
78498 2011-03-30  Andreas Schwab  <schwab@redhat.com>
78500         * misc/syncfs.c: New file.
78501         * misc/Makefile (routines): Add syncfs.
78502         * posix/unistd.h: Declare syncfs.
78503         * sysdeps/unix/syscalls.list: Add syncfs.
78505 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78507         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
78508         open_by_handle_at.
78509         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
78510         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78511         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78512         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78513         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78514         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
78515         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78517 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78519         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
78520         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78521         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
78522         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78523         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78524         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78525         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78527         * io/Makefile: Compile fallocate.c, fallocate64.c, and
78528         sync_file_range.c with -fexceptions.
78529         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
78530         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
78531         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
78532         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
78533         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
78534         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
78535         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
78536         sync_file_range as cancellation point
78537         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
78538         now a wrapper around __call_sync_file_range with cancellation handling.
78539         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
78540         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
78541         function name to __call_sync_file_range.
78542         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
78543         Add call_sync_file_range.
78545 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78547         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78548         bits/timex.h.
78550 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78552         * iconv/iconv.h: Fix typo in comment.
78553         * io/fcntl.h: Likewise.
78554         * libio/stdio.h: Likewise.
78555         * posix/spawn.h: Likewise.
78556         * posix/unistd.h: Likewise.
78557         * stdlib/stdlib.h: Likewise.
78558         * time/time.h: Likewise.
78559         * wcsmbs/wchar.h: Likewise.
78561         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
78562         open_by_handle): Add.
78563         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
78564         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
78565         Augment a few comments.
78566         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78567         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78568         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78569         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78570         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78571         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
78572         open_by_handle.
78574         * io/fcntl.h (AT_EMPTY_PATH): Define.
78576 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
78578         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
78579         * sysdeps/unix/sysv/linux/bits/time.h: New file.
78580         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
78581         to...
78582         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
78583         * Versions.def: Add GLIBC_2.14.
78584         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
78585         Export.
78587 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
78589         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
78590         round counter.
78591         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78593 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78595         [BZ #12597]
78596         * string/test-strncmp.c (do_page_test): New function.
78597         (check2): Likewise.
78598         (test_main): Call check2.
78599         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
78601 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
78603         [BZ #12587]
78604         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
78605         Handle cache information in CPU leaf 4.
78606         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78608 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
78610         [BZ #12583]
78611         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
78612         character representation.
78613         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
78615 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
78617         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
78618         END(__isnan) to END(__isnanf) to match function entry point/label
78619         EALIGN(__isnanf,...).
78621 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
78623         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
78625 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
78627         [BZ #12510]
78628         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
78629         copy from the symbol referenced in the relocation to initialize the
78630         used variable.
78631         Patch by Piotr Bury <pbury@goahead.com>.
78632         * elf/Makefile: Add rules to build and tst-unique3.
78633         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
78634         * elf/tst-unique3.cc: New file.
78635         * elf/tst-unique3.h: New file.
78636         * elf/tst-unique3lib.cc: New file.
78637         * elf/tst-unique3lib2.cc: New file.
78639         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
78641 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
78643         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
78644         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
78645         to _start.
78647 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
78649         * elf/dl-load.c (_dl_map_object): If we are looking for the first
78650         to-be-loaded object along a path to loader is ld.so.
78652 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
78653             Ulrich Drepper  <drepper@gmail.com>
78655         * sysdeps/x86_64/memset.S: After aligning destination, code
78656         branches to different locations depending on the value of
78657         misalignment, when multiarch is enabled. Fix this.
78659 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
78661         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
78662         Set _x86_64_preferred_memory_instruction for AMD processsors.
78663         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78664         Set bit_Prefer_SSE_for_memop for AMD processors.
78666 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
78668         * libio/fmemopen.c (fmemopen): Optimize a bit.
78670 2011-03-03  Andreas Schwab  <schwab@redhat.com>
78672         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
78674 2011-03-03  Roland McGrath  <roland@redhat.com>
78676         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
78678 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
78680         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
78681         __bzero_ultra1 instead of __memset_ultra1.
78683 2011-02-23  Andreas Schwab  <schwab@redhat.com>
78684             Ulrich Drepper  <drepper@gmail.com>
78686         [BZ #12509]
78687         * include/link.h (struct link_map): Add l_orig_initfini.
78688         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
78689         returning unsuccessfully.
78690         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
78691         close of a file loaded at startup, restore the original l_initfini
78692         list.
78693         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
78694         list, store the pointer.
78695         * elf/Makefile ($(objpfx)noload-mem): New rule.
78696         (noload-ENV): Define.
78697         (tests): Add $(objpfx)noload-mem.
78698         * elf/noload.c: Include <memcheck.h>.
78699         (main): Call mtrace.  Close all opened handles.
78701 2011-02-17  Andreas Schwab  <schwab@redhat.com>
78703         [BZ #12454]
78704         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
78705         dependencies are missing.
78707 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78709         Fix __if_freereq crash: Unlike the generic version which uses free,
78710         Hurd needs munmap.
78711         * sysdeps/mach/hurd/ifreq.h: New file.
78713 2011-01-27  Petr Baudis  <pasky@suse.cz>
78714             Ulrich Drepper  <drepper@gmail.com>
78716         [BZ 12445]#
78717         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
78718         to extend_alloca().
78719         * stdio-common/bug23.c: New file.
78720         * stdio-common/Makefile (tests): Add bug23.
78722 2010-09-28  Andreas Schwab  <schwab@redhat.com>
78723             Ulrich Drepper  <drepper@gmail.com>
78725         [BZ #12489]
78726         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
78727         before performing relro protection.  At old place add assertion
78728         to make sure nothing changed.
78730 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
78731             Glauber de Oliveira Costa  <glommer@gmail.com>
78733         * elf/elf.h: Add new ARM TLS relocs.
78735 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
78737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78738         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
78739         cast from r3.
78740         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
78741         'tests' variable.
78742         * sysdeps/wordsize-64/tst-writev.c: New file.
78744 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
78746         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
78747         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
78748         insns in _dl_start to prevent a TOC reference before relocs are
78749         resolved.
78751 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
78753         [BZ #12469]
78754         * Makeconfig: Remove RANLIB definition.
78755         * Makerules: Don't use RANLIB.
78756         * aclocal.m4: Remove ranlib test.
78757         * configure.in: No need to check for ranlib.
78758         * elf/rtld-Rules: Don't use RANLIB.
78760 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78762         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
78763         protection macro.
78764         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
78765         inclusion protection macro.
78767         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
78768         SIGRTMIN and SIGRTMAX and print information in that case only when
78769         SIGRTMIN is defined.
78771 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
78773         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
78774         arginfo fn returning -1.
78776         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
78777         and thousands string is zero terminated.
78779 2011-02-03  Andreas Schwab  <schwab@redhat.com>
78781         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
78782         sysdeps/unix/sysv/linux/bits/socket.h.
78784 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78786         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
78787         (__CPU_COUNT): Remove old macros.
78788         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
78789         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
78790         (__CPU_ALLOC, __CPU_FREE): Add macros.
78791         (__sched_cpualloc, __sched_cpufree): Add declarations.
78793 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
78795         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
78796         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
78797         * nscd/aicache.c (addhstaiX): Return timeout of added value.
78798         (readdhstai): Return value of addhstaiX call.
78799         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
78800         (addgrbyX): Return value returned by cache_addgr.
78801         (readdgrbyname): Return value returned by addgrbyX.
78802         (readdgrbygid): Likewise.
78803         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
78804         (addpwbyX): Return value returned by cache_addpw.
78805         (readdpwbyname): Return value returned by addhstbyX.
78806         (readdpwbyuid): Likewise.
78807         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
78808         (addservbyX): Return value returned by cache_addserv.
78809         (readdservbyname): Return value returned by addservbyX:
78810         (readdservbyport): Likewise.
78811         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
78812         (addhstbyX): Return value returned by cache_addhst.
78813         (readdhstbyname): Return value returned by addhstbyX.
78814         (readdhstbyaddr): Likewise.
78815         (readdhstbynamev6): Likewise.
78816         (readdhstbyaddrv6): Likewise.
78817         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
78818         (readdinitgroups): Return value returned by addinitgroupsX.
78819         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
78820         (prune_cache): Keep track of timeout value of re-added entries.
78821         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
78822         * nscd/nscd.h: Adjust prototypes of readd* functions.
78824 2011-02-04  Roland McGrath  <roland@redhat.com>
78826         * nis/nis_server.c (nis_servstate): Use the right name for 0.
78827         (nis_stats): Likewise.
78828         * nis/nis_modify.c (nis_modify): Likewise.
78829         * nis/nis_remove.c (nis_remove): Likewise.
78830         * nis/nis_add.c (nis_add): Likewise.
78832         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
78834         * posix/fnmatch_loop.c: Add some consts.
78836         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
78838 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
78840         [BZ #12460]
78841         * config.make.in (config-cflags-novzeroupper): Define.
78842         * configure.in: Substitute libc_cv_cc_novzeroupper.
78843         * elf/Makefile (AVX-CFLAGS): Define.
78844         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
78845         (CFLAGS-tst-auditmod4a.c): Likewise.
78846         (CFLAGS-tst-auditmod4b.c): Likewise.
78847         (CFLAGS-tst-auditmod6b.c): Likewise.
78848         (CFLAGS-tst-auditmod6c.c): Likewise.
78849         (CFLAGS-tst-auditmod7b.c): Likewise.
78850         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
78852 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
78854         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
78855         function to the callback.
78856         Patch partly by Jiri Olsa <jolsa@redhat.com>.
78858 2011-02-02  Andreas Schwab  <schwab@redhat.com>
78860         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
78861         of errno.
78863 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
78865         [BZ #11724]
78866         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
78867         of constructors.
78868         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
78869         of destructors.
78870         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
78872         [BZ #11724]
78873         * elf/Makefile: Add rules to build and run new test.
78874         * elf/tst-initorder.c: New file.
78875         * elf/tst-initorder.exp: New file.
78876         * elf/tst-initordera1.c: New file.
78877         * elf/tst-initordera2.c: New file.
78878         * elf/tst-initordera3.c: New file.
78879         * elf/tst-initordera4.c: New file.
78880         * elf/tst-initorderb1.c: New file.
78881         * elf/tst-initorderb2.c: New file.
78882         * elf/tst-order-a1.c: New file.
78883         * elf/tst-order-a2.c: New file.
78884         * elf/tst-order-a3.c: New file.
78885         * elf/tst-order-a4.c: New file.
78886         * elf/tst-order-b1.c: New file.
78887         * elf/tst-order-b2.c: New file.
78888         * elf/tst-order-main.c: New file.
78889         New test case by George Gensure <werkt0@gmail.com>.
78891 2010-10-01  Andreas Schwab  <schwab@redhat.com>
78893         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
78894         decoding ACE if AI_CANONIDN.
78896 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
78898         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
78900 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
78902         * version.h (RELEASE): Bump for 2.13 release.
78903         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
78905         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
78907         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
78908         MADV_NOHUGEPAGE.
78909         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
78910         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
78911         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
78912         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
78913         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
78914         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78916         * posix/getconf.c: Update copyright year.
78917         * catgets/gencat.c: Likewise.
78918         * csu/version.c: Likewise.
78919         * debug/catchsegv.sh: Likewise.
78920         * debug/xtrace.sh: Likewise.
78921         * elf/ldconfig.c: Likewise.
78922         * elf/ldd.bash.in: Likewise.
78923         * elf/sprof.c (print_version): Likewise.
78924         * iconv/iconv_prog.c: Likewise.
78925         * iconv/iconvconfig.c: Likewise.
78926         * locale/programs/locale.c: Likewise.
78927         * locale/programs/localedef.c: Likewise.
78928         * malloc/memusage.sh: Likewise.
78929         * malloc/mtrace.pl: Likewise.
78930         * nscd/nscd.c (print_version): Likewise.
78931         * nss/getent.c: Likewise.
78933         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
78934         PF_CAIF, and PF_ALG.
78935         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78937 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
78939         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
78940         (modules-names): Use them.
78941         (ifunc-test-modules, ifunc-pie-tests): Define.
78942         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
78943         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
78944         (test-extras): Likewise.
78945         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
78946         $(compile-command.c).
78947         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
78948         (all-built-dso): Define.
78949         (check-textrel.out, check-execstack.out): Depend on it.
78951         * configure.in: Don't override --enable-multi-arch.
78953 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
78955         [BZ #6812]
78956         * nscd/hstcache.c (tryagain): Define.
78957         (cache_addhst): Return tryagain not notfound for temporary errors.
78958         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
78959         failed.
78961 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
78963         [BZ #10563]
78964         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
78965         to make the syscall.
78966         * sysdeps/unix/sysv/linux/setgroups.c: New file.
78968         [BZ #12378]
78969         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
78970         and fall back to matching as normal character if the string ends before
78971         the matching ']' is found.  This is what POSIX requires.
78972         * posix/testfnm.c: Adjust test result.
78973         * posix/globtest.sh: Adjust test result.  Add new test.
78974         * posix/tst-fnmatch.input: Likewise.
78975         * posix/tst-fnmatch2.c: Add new test.
78977 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
78979         * elf/Makefile (check-execstack): Revert last change.  Depend on
78980         check-execstack.h.
78981         (check-execstack.h): New target.
78982         (generated): Add check-execstack.h.
78983         * elf/check-execstack.c: Include "check-execstack.h".
78984         (main): Revert last change.
78985         (handle_file): Return zero if GNU_STACK is absent and
78986         DEFAULT_STACK_PERMS doesn't include PF_X.
78988 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
78990         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
78991         in child fails because the descriptor is already closed.
78992         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
78993         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
78994         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
78996         [BZ #12397]
78997         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
78998         syscall.
79000         [BZ #10484]
79001         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
79002         temporary buffer used to handle multi lookups locally.
79003         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
79005 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
79007         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
79008         loader is ld.so.
79010 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
79012         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
79013         alignment for SSE2.
79015 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
79017         [BZ #12394]
79018         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
79019         characters.  When rounding increased number of integer digits recompute
79020         number of groups.
79021         * stdio-common/tst-grouping.c: New file.
79022         * stdio-common/Makefile: Add rules to build and run tst-grouping.
79024 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
79026         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
79027         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
79029         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
79030         void.
79031         * bits/select.h: Likewise.
79033 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
79035         * po/ja.po: Update from translation team.
79037 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
79039         [BZ #11155]
79040         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
79041         implementation just like for lxstat, fxstatat, et al.
79043 2010-12-27  Jim Meyering  <meyering@redhat.com>
79045         [BZ #12348]
79046         * posix/regexec.c (build_trtable): Return failure indication upon
79047         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
79049 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
79051         [BZ #12201]
79052         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
79053         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
79054         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
79055         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
79057         [BZ #12207]
79058         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
79060         [BZ #12204]
79061         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
79062         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
79064 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
79066         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
79067         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
79068         script has SORT_BY_INIT_PRIORITY.
79069         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
79070         NO_CTORS_DTORS_SECTIONS is defined.
79071         * elf/soinit.c: Likewise.
79072         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
79073         NO_CTORS_DTORS_SECTIONS is defined.
79074         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
79075         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
79076         * sysdeps/sh/init-first.c: Likewise.
79077         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
79079 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
79081         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
79082         always use the slow path.
79084 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
79086         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
79087         similar rule which adds the sysdep directories to the header search in
79088         order to pick up the correct platform stackinfo.h.
79089         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
79090         perform test if it is, otherwise return successfully without testing.
79091         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
79092         DEFAULT_STACK_PERMS define in stackinfo.h.
79093         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
79094         defined in stackinfo.h.
79095         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
79096         DEFAULT_STACK_PERMS defined in stackinfo.h.
79097         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
79098         * sysdeps/ia64/stackinfo.h: Likewise.
79099         * sysdeps/s390/stackinfo.h: Likewise.
79100         * sysdeps/sh/stackinfo.h: Likewise.
79101         * sysdeps/sparc/stackinfo.h: Likewise.
79102         * sysdeps/x86_64/stackinfo.h: Likewise.
79103         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
79104         PF_X for powerpc64.  Retain PF_X for powerpc32.
79106 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
79108         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
79109         accurately.
79110         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
79111         GETDENTS_64BIT_ALIGNED.
79113 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
79115         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
79117 2010-12-10  Andreas Schwab  <schwab@redhat.com>
79119         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
79120         _GNU_SOURCE.
79122         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
79123         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
79124         Remove __restrict.
79125         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
79126         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
79128 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
79130         [BZ #11655]
79131         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
79132         are initialized.
79134 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
79136         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
79138 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
79140         * po/it.po: Update from translation team.
79142 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
79144         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
79145         unused codes.
79147 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
79149         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
79151 2010-11-24  Andreas Schwab  <schwab@redhat.com>
79153         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
79154         specially.
79155         (gaih_getanswer_slice): Likewise.
79157 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
79159         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
79161 2010-05-31  Petr Baudis  <pasky@suse.cz>
79163         [BZ #11149]
79164         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
79165         silently even in the chroot mode.
79167 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
79169         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
79170         last patch a bit.  Pretty printing
79172 2010-05-31  Petr Baudis <pasky@suse.cz>
79174         [BZ #10085]
79175         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
79176         initialization of skip_initgroups_dyn.
79178 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
79180         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
79181         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
79183 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
79185         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
79187 2010-11-11  Andreas Schwab  <schwab@redhat.com>
79189         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
79190         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
79191         (tst-fnmatch-ENV): Set MALLOC_TRACE.
79192         ($(objpfx)tst-fnmatch-mem): New rule.
79193         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
79194         * posix/tst-fnmatch.c (main): Call mtrace.
79196 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
79198         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79199         Support Intel processor model 6 and model 0x2c.
79201 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
79203         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
79204           signed comparison.
79206 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
79208         [BZ #12205]
79209         * string/test-strncasecmp.c (check_result): New function.
79210         (do_one_test): Use it.
79211         (check1): New function.
79212         (test_main): Use it.
79213         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
79214         Support strcasecmp and strncasecmp.
79216 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
79218         [BZ #12194]
79219         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
79220         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79222 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
79224         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
79225         IFUNC support.
79226         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79227         memset-x86-64.
79228         * sysdeps/x86_64/multiarch/bzero.S: New file.
79229         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
79230         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
79231         * sysdeps/x86_64/multiarch/memset.S: New file.
79232         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
79233         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79234         Set bit_Prefer_SSE_for_memop for Intel processors.
79235         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
79236         Define.
79237         (index_Prefer_SSE_for_memop): Define.
79238         (HAS_PREFER_SSE_FOR_MEMOP): Define.
79240 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
79242         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
79243         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
79245 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
79247         [BZ #12191]
79248         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
79249         (__x86_64_raw_data_cache_size_half): Likewise.
79250         (__x86_64_raw_shared_cache_size): Likewise.
79251         (__x86_64_raw_shared_cache_size_half): Likewise.
79253         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
79254         (__x86_64_raw_data_cache_size_half): Likewise.
79255         (__x86_64_raw_shared_cache_size): Likewise.
79256         (__x86_64_raw_shared_cache_size_half): Likewise.
79257         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
79258         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
79259         and __x86_64_raw_shared_cache_size_half.  Round
79260         __x86_64_data_cache_size_half, __x86_64_data_cache_size
79261         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
79262         to multiple of 256 bytes.
79264 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
79266         [BZ #12167]
79267         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
79268         of inacessible symlinks.  Verify result of symlink before returning it.
79269         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
79270         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
79272 2010-10-28  Erich Ritz  <erichritz@gmail.com>
79274         * math/math.h (isinf): Fix typo in comment.
79276 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
79278         * po/da.po: Update from translation team.
79280 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
79282         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
79283         is added to the list.
79285 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79286             Ulrich Drepper  <drepper@gmail.com>
79288         * elf/dl-object.c (_dl_new_object): Don't append the new object to
79289         the global list here.  Move code to...
79290         (_dl_add_to_namespace_list): ...here.  New function.
79291         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
79292         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
79293         * elf/dl-load.c (lose): Don't remove the element from the list.
79294         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
79295         (_dl_map_object): Likewise.
79297 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
79299         [BZ #12159]
79300         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
79301         into all bytes of SSE register.
79302         Patch by Richard Li <richardpku@gmail.com>.
79304 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
79306         [BZ #12140]
79307         * malloc/malloc.c (_int_free): Fill correct number of bytes when
79308         perturbing.
79310 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
79312         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
79313         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
79314         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
79315         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
79316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
79317         submachine.
79318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
79320 2010-10-22  Andreas Schwab  <schwab@redhat.com>
79322         * include/dlfcn.h (__RTLD_SECURE): Define.
79323         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
79324         mode & __RTLD_SECURE instead.
79325         (open_path): Rename preloaded parameter to secure.
79326         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
79327         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
79328         * elf/dl-deps.c (openaux): Likewise.
79329         * elf/rtld.c (struct map_args): Remove is_preloaded.
79330         (map_doit): Don't use it.
79331         (dl_main): Likewise.
79332         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
79333         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
79335 2010-09-09  Andreas Schwab  <schwab@redhat.com>
79337         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
79338         (sysd-rules-targets): Remove duplicates.
79339         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
79340         rtld-%.$o dependency.
79342 2010-10-18  Andreas Schwab  <schwab@redhat.com>
79344         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
79345         _dl_map_object do it.
79347 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
79349         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
79350         fast fma builtins, define the macros in the C99 standard.
79351         (FP_FAST_FMAF): Likewise.
79352         (FP_FAST_FMAL): Likewise.
79353         * sysdeps/x86_64/bits/mathdef.h: Likewise.
79355         * bits/mathdef.h: Update copyright year.
79356         * sysdeps/powerpc/bits/mathdef.h: Likewise.
79358 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
79360         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
79361         builtins, define the macros in the C99 standard.
79362         (FP_FAST_FMAF): Likewise.
79363         (FP_FAST_FMAL): Likewise.
79364         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
79365         multiply/add.
79366         (FP_FAST_FMAF): Likewise.
79368 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
79370         [BZ #3268]
79371         * math/libm-test.inc (fma_test): Some new testcases.
79372         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
79373         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
79374         y and infinite z.  Do multiplication by C already in long double.
79375         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
79376         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
79377         y and infinite z.  Do bitwise or of inexact bit into u.d.
79378         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
79379         * sysdeps/i386/fpu/s_fmaf.S: Removed.
79380         * sysdeps/i386/fpu/s_fma.S: Removed.
79381         * sysdeps/i386/fpu/s_fmal.S: Removed.
79383 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
79385         [BZ #3268]
79386         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
79387         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
79388         computation is not scheduled after fetestexcept.  Fix value
79389         of minimum denormal long double.
79391 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
79393         [BZ #3268]
79394         * math/libm-test.inc (fma_test): Add some more tests.
79395         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
79396         correctly.
79398 2010-10-15  Andreas Schwab  <schwab@redhat.com>
79400         * scripts/data/localplt-s390-linux-gnu.data: New file.
79401         * scripts/data/localplt-s390x-linux-gnu.data: New file.
79403 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
79405         [BZ #3268]
79406         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
79407         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
79408         instead of dbl-64.
79409         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
79410         inlines.
79411         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
79412         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
79413         if one of x and y is very large and the other is subnormal.
79414         * sysdeps/s390/fpu/s_fmaf.c: New file.
79415         * sysdeps/s390/fpu/s_fma.c: New file.
79416         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
79417         * sysdeps/powerpc/fpu/s_fma.S: New file.
79418         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
79419         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
79420         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
79422 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
79424         [BZ #3268]
79425         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
79426         fma tests.
79427         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
79428         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
79429         * sysdeps/i386/i686/multiarch/s_fma.c: Include
79430         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
79431         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
79432         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
79433         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
79435 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
79437         [BZ #12078]
79438         * posix/regcomp.c (parse_branch): One more memory leak plugged.
79439         * posix/bug-regex31.input: Add test case.
79441 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79443         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
79444         * posix/bug-regex31.input: New file.
79446         [BZ #12078]
79447         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
79448         (parse_sub_exp): Fix last change, use postorder.
79450         * posix/bug-regex31.c: New file.
79451         * posix/Makefile: Add rules to build and run bug-regex31.
79453         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
79455         [BZ #12078]
79456         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
79458         [BZ #12108]
79459         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
79460         to have entries in sys_siglist.
79462         [BZ #12093]
79463         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
79464         be NULL.
79466 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
79468         [BZ #3268]
79469         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
79470         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
79471         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
79472         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
79473         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
79474         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
79475         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
79476         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
79477         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
79478         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
79479         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
79480         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
79481         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
79482         * math/ftestexcept.c (fetestexcept): Likewise.
79483         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
79484         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
79485         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
79486         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
79487         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
79488         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
79489         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79491 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79493         [BZ #12107]
79494         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
79495         newline.
79497 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
79499         * string/bug-strstr1.c: New file.
79500         * string/Makefile: Add rules to build and run bug-strstr1.
79502 2010-10-05  Eric Blake  <eblake@redhat.com>
79504         [BZ #12092]
79505         * string/str-two-way.h (two_way_long_needle): Always clear memory
79506         when skipping input due to the shift table.
79508 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
79510         [BZ #12005]
79511         * malloc/mcheck.c: Handle large requests.
79513         [BZ #12077]
79514         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
79515         for strncmp and strncasecmp.
79516         * string/stratcliff.c: Add tests for strcmp and strncmp.
79517         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
79519 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79521         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
79522         __set_fpscr.
79524 2010-09-30  Andreas Jaeger  <aj@suse.de>
79526         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
79527         (CGROUP_SUPER_MAGIC): Define.
79528         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79529         Handle btrfs and cgroup file systems.
79530         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
79531         Likewise.
79533 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
79535         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
79536         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
79538 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79540         [BZ #12067]
79541         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
79542         trying to locate the ELF header.
79544 2010-09-27  Andreas Schwab  <schwab@redhat.com>
79546         [BZ #11611]
79547         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
79548         Mask out sign-bit copies when constructing f_fsid.
79550 2010-09-24  Petr Baudis <pasky@suse.cz>
79552         * debug/stack_chk_fail_local.c: Add missing licence exception.
79553         * debug/warning-nop.c: Likewise.
79555 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
79557         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
79558         implementing getdents64 using getdents syscall, set d_type if
79559         __ASSUME_GETDENTS32_D_TYPE.
79561 2010-09-16  Andreas Schwab  <schwab@redhat.com>
79563         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
79564         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
79566 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
79568         [BZ #12037]
79569         * posix/unistd.h: Undo change of feature selection for ftruncate from
79570         2010-01-11.
79572 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
79574         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
79575         detection.
79577 2010-09-20  Andreas Schwab  <schwab@redhat.com>
79579         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
79580         fanotify_mark.
79581         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79583 2010-09-14  Andreas Schwab  <schwab@redhat.com>
79585         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
79586         variables after CHECK_SP call.
79587         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
79589 2010-09-13  Andreas Schwab  <schwab@redhat.com>
79590             Ulrich Drepper  <drepper@redhat.com>
79592         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
79593         re-relocationg ld.so.
79594         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
79595         _dl_init_paths call.
79596         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
79597         here anymore.
79599 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
79601         * resolv/res_init.c (__res_vinit): Count the default server we added.
79603 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
79604             Ulrich Drepper  <drepper@redhat.com>
79606         [BZ #11968]
79607         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
79608         (____longjmp_chk): Use %ebx for saving value across system call.
79609         Add unwind info.
79611 2010-09-06  Andreas Schwab  <schwab@redhat.com>
79613         * manual/Makefile: Don't mix pattern rules with normal rules.
79615 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
79617         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
79618         operation.
79619         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
79620         * libio/iofopncook.c (_IO_cookie_init): Likewise.
79621         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
79622         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
79623         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
79624         Likewise.
79626 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
79628         [BZ #11979]
79629         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
79630         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
79632 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
79634         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
79635         * sysdeps/x86_64/addmul_1.S: Likewise.
79636         * sysdeps/x86_64/lshift.S: Likewise.
79637         * sysdeps/x86_64/mul_1.S: Likewise.
79638         * sysdeps/x86_64/rshift.S: Likewise.
79639         * sysdeps/x86_64/sub_n.S: Likewise.
79640         * sysdeps/x86_64/submul_1.S: Likewise.
79642 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79644         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
79645         Define __sched_param instead of SCHED_* and sched_param when
79646         <bits/sched.h> is included with __need_schedparam defined.
79647         * bits/sched.h [__need_schedparam]
79648         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
79649         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
79650         (__defined_schedparam): Define to 1.
79651         (__sched_param): New structure, identical to sched_param.
79652         (__need_schedparam): Undefine.
79654 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
79656         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
79657         (epoll_create1): Declare.
79659         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
79661 2010-08-31  Andreas Schwab  <schwab@redhat.com>
79663         [BZ #7066]
79664         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
79665         shifting retval into place.
79667 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
79669         * nis/rpcsvc/nis.h: Update copyright notice.
79670         * nis/rpcsvc/nis.x: Likewise.
79671         * nis/rpcsvc/nis_callback.h: Likewise.
79672         * nis/rpcsvc/nis_callback.x: Likewise.
79673         * nis/rpcsvc/nis_object.x: Likewise.
79674         * nis/rpcsvc/nis_tags.h: Likewise.
79675         * nis/rpcsvc/yp.h: Likewise.
79676         * nis/rpcsvc/yp.x: Likewise.
79677         * nis/rpcsvc/ypupd.h: Likewise.
79678         * nis/yp_xdr.c: Likewise.
79679         * nis/ypupdate_xdr.c: Likewise.
79681         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
79682         mainly the body of pmap_getport.  Add parameters to specify timeouts.
79683         (pmap_getport): Use __libc_rpc_getport.
79684         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
79685         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
79686         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
79688 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
79690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
79691         fanotify_mark.
79693 2010-08-27  Roland McGrath  <roland@redhat.com>
79695         * sysdeps/i386/i686/multiarch/Makefile
79696         (CFLAGS-varshift.c): New variable.
79698 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
79700         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
79701         * sysdeps/i386/i686/multiarch/varshift.c: New file.
79703         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
79705         * sysdeps/x86_64/strlen.S: Minimal code improvement.
79707 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
79709         * sysdeps/x86_64/strlen.S: Unroll the loop.
79710         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79711         strlen-sse2 strlen-sse2-bsf.
79712         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
79713         __strlen_no_bsf if bit_Slow_BSF is set.
79714         (__strlen_sse42): Removed.
79715         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
79716         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
79718 2010-08-25  Roland McGrath  <roland@redhat.com>
79720         * sysdeps/x86_64/multiarch/varshift.S: File removed.
79721         * sysdeps/x86_64/multiarch/varshift.c: New file.
79722         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
79723         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
79724         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
79725         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
79727 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
79729         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79730         strlen-sse2 strlen-sse2-bsf.
79731         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
79732         __strlen_sse2_bsf if bit_Slow_BSF is unset.
79733         (__strlen_sse2): Removed.
79734         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
79735         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
79736         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
79737         bit_Slow_BSF for Atom.
79738         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
79739         (index_Slow_BSF): Define.
79740         (HAS_SLOW_BSF): Define.
79742 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
79744         [BZ #10851]
79745         * resolv/res_init.c (__res_vinit): When no server address at all
79746         is given default to loopback.
79748 2010-08-24  Roland McGrath  <roland@redhat.com>
79750         * configure.in: Remove config-name.h generation.
79751         * configure: Regenerated.
79752         * config-name.in: File removed.
79753         * scripts/config-uname.sh: New file.
79754         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
79755         ($(objdir)config-name.h): New target.
79757         * sunrpc/rpc_parse.h: Avoid nested comment.
79759 2010-08-24  Richard Henderson  <rth@redhat.com>
79760             Ulrich Drepper  <drepper@redhat.com>
79761             H.J. Lu  <hongjiu.lu@intel.com>
79763         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
79764         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
79765         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
79766         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
79767         _mm_alignr_epi8 with _mm_loadu_si128.
79768         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
79769         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
79770         (__m128i_shift_right): Removed.
79771         * sysdeps/i386/i686/multiarch/varshift.h: New file.
79772         * sysdeps/i386/i686/multiarch/varshift.S: New file.
79773         * sysdeps/x86_64/multiarch/varshift.h: New file.
79774         * sysdeps/x86_64/multiarch/varshift.S: New file.
79776 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
79778         * configure.in: Move assembler checks to before sysdep dir checking.
79780 2010-08-20  Petr Baudis  <pasky@suse.cz>
79782         * LICENSES: Sync the sunrpc license.
79784 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
79786         * sunrpc/auth_des.c: Update copyright notice once again.
79787         * sunrpc/auth_none.c: Likewise.
79788         * sunrpc/auth_unix.c: Likewise.
79789         * sunrpc/authdes_prot.c: Likewise.
79790         * sunrpc/authuxprot.c: Likewise.
79791         * sunrpc/bindrsvprt.c: Likewise.
79792         * sunrpc/clnt_gen.c: Likewise.
79793         * sunrpc/clnt_perr.c: Likewise.
79794         * sunrpc/clnt_raw.c: Likewise.
79795         * sunrpc/clnt_simp.c: Likewise.
79796         * sunrpc/clnt_tcp.c: Likewise.
79797         * sunrpc/clnt_udp.c: Likewise.
79798         * sunrpc/clnt_unix.c: Likewise.
79799         * sunrpc/des_crypt.c: Likewise.
79800         * sunrpc/des_soft.c: Likewise.
79801         * sunrpc/get_myaddr.c: Likewise.
79802         * sunrpc/getrpcport.c: Likewise.
79803         * sunrpc/key_call.c: Likewise.
79804         * sunrpc/key_prot.c: Likewise.
79805         * sunrpc/openchild.c: Likewise.
79806         * sunrpc/pm_getmaps.c: Likewise.
79807         * sunrpc/pm_getport.c: Likewise.
79808         * sunrpc/pmap_clnt.c: Likewise.
79809         * sunrpc/pmap_prot.c: Likewise.
79810         * sunrpc/pmap_prot2.c: Likewise.
79811         * sunrpc/pmap_rmt.c: Likewise.
79812         * sunrpc/rpc/auth.h: Likewise.
79813         * sunrpc/rpc/auth_unix.h: Likewise.
79814         * sunrpc/rpc/clnt.h: Likewise.
79815         * sunrpc/rpc/des_crypt.h: Likewise.
79816         * sunrpc/rpc/key_prot.h: Likewise.
79817         * sunrpc/rpc/netdb.h: Likewise.
79818         * sunrpc/rpc/pmap_clnt.h: Likewise.
79819         * sunrpc/rpc/pmap_prot.h: Likewise.
79820         * sunrpc/rpc/pmap_rmt.h: Likewise.
79821         * sunrpc/rpc/rpc.h: Likewise.
79822         * sunrpc/rpc/rpc_des.h: Likewise.
79823         * sunrpc/rpc/rpc_msg.h: Likewise.
79824         * sunrpc/rpc/svc.h: Likewise.
79825         * sunrpc/rpc/svc_auth.h: Likewise.
79826         * sunrpc/rpc/types.h: Likewise.
79827         * sunrpc/rpc/xdr.h: Likewise.
79828         * sunrpc/rpc_clntout.c: Likewise.
79829         * sunrpc/rpc_cmsg.c: Likewise.
79830         * sunrpc/rpc_common.c: Likewise.
79831         * sunrpc/rpc_cout.c: Likewise.
79832         * sunrpc/rpc_dtable.c: Likewise.
79833         * sunrpc/rpc_hout.c: Likewise.
79834         * sunrpc/rpc_main.c: Likewise.
79835         * sunrpc/rpc_parse.c: Likewise.
79836         * sunrpc/rpc_parse.h: Likewise.
79837         * sunrpc/rpc_prot.c: Likewise.
79838         * sunrpc/rpc_sample.c: Likewise.
79839         * sunrpc/rpc_scan.c: Likewise.
79840         * sunrpc/rpc_scan.h: Likewise.
79841         * sunrpc/rpc_svcout.c: Likewise.
79842         * sunrpc/rpc_tblout.c: Likewise.
79843         * sunrpc/rpc_util.c: Likewise.
79844         * sunrpc/rpc_util.h: Likewise.
79845         * sunrpc/rpcinfo.c: Likewise.
79846         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
79847         * sunrpc/rpcsvc/key_prot.x: Likewise.
79848         * sunrpc/rpcsvc/klm_prot.x: Likewise.
79849         * sunrpc/rpcsvc/mount.x: Likewise.
79850         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
79851         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
79852         * sunrpc/rpcsvc/rex.x: Likewise.
79853         * sunrpc/rpcsvc/rstat.x: Likewise.
79854         * sunrpc/rpcsvc/rusers.x: Likewise.
79855         * sunrpc/rpcsvc/sm_inter.x: Likewise.
79856         * sunrpc/rpcsvc/spray.x: Likewise.
79857         * sunrpc/rpcsvc/yppasswd.x: Likewise.
79858         * sunrpc/rtime.c: Likewise.
79859         * sunrpc/svc.c: Likewise.
79860         * sunrpc/svc_auth.c: Likewise.
79861         * sunrpc/svc_authux.c: Likewise.
79862         * sunrpc/svc_raw.c: Likewise.
79863         * sunrpc/svc_run.c: Likewise.
79864         * sunrpc/svc_simple.c: Likewise.
79865         * sunrpc/svc_tcp.c: Likewise.
79866         * sunrpc/svc_udp.c: Likewise.
79867         * sunrpc/svc_unix.c: Likewise.
79868         * sunrpc/svcauth_des.c: Likewise.
79869         * sunrpc/xcrypt.c: Likewise.
79870         * sunrpc/xdr.c: Likewise.
79871         * sunrpc/xdr_array.c: Likewise.
79872         * sunrpc/xdr_float.c: Likewise.
79873         * sunrpc/xdr_mem.c: Likewise.
79874         * sunrpc/xdr_rec.c: Likewise.
79875         * sunrpc/xdr_ref.c: Likewise.
79876         * sunrpc/xdr_sizeof.c: Likewise.
79877         * sunrpc/xdr_stdio.c: Likewise.
79879         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
79880         handling.
79882 2010-08-19  Andreas Schwab  <schwab@redhat.com>
79884         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
79886 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
79888         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
79889         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
79890         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
79891         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
79892         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
79893         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
79894         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
79895         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
79896         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
79897         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
79898         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
79899         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
79900         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
79901         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
79903 2010-07-26  Anton Blanchard  <anton@samba.org>
79905         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
79906         * malloc/arena.c (heap_trim): Likewise.
79908 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
79910         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
79911         here.  Not...
79912         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
79913         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
79915 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
79917         * sysdeps/i386/elf/Makefile: New file.
79919 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
79921         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
79922         from fanotify_init.
79923         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
79924         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79926 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
79928         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
79929         of strncasecmp_l.
79930         * sysdeps/multiarch/strcmp.S: Likewise.
79932 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
79934         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
79935         strncase_l-nonascii.
79936         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
79937         Add strncase_l-ssse3.
79938         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
79939         * sysdeps/x86_64/strcmp.S: Likewise.
79940         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
79941         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
79942         * sysdeps/x86_64/strncase.S: New file.
79943         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
79944         * sysdeps/x86_64/strncase_l.S: New file.
79945         * string/Makefile (strop-tests): Add strncasecmp.
79946         * string/test-strncasecmp.c: New file.
79948         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
79949         warning.
79951         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
79952         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
79954 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
79956         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
79958 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
79960         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
79961         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
79962         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
79964 2010-05-01  Alan Modra  <amodra@gmail.com>
79966         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
79967         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
79968         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
79969         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
79970         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
79971         tidying.  Don't tail-call __sigjmp_save for static lib.
79972         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
79973         save location.
79974         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
79975         (CALL_MCOUNT): Add eh info, and nop after bl.
79976         (TAIL_CALL_SYSCALL_ERROR): New macro.
79977         (PSEUDO_RET): Use it.
79978         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
79979         Correct save location of integer regs and cr.
79980         (_dl_profile_resolve): Correct cr save location.  Delete nops
79981         after bl when SHARED.  Reduce cfi size a little by better
79982         placement of cfi directives.
79983         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
79984         make a stack frame.  Instead use parm save area as a temp.
79985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
79986         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
79987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
79988         Don't make a stack frame for parent, use parm save area.
79989         Increase child stack frame to 112 bytes.  Don't save unused reg,
79990         and adjust reg usage.  Set up cfi on error recovery and
79991         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
79992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
79993         (__makecontext): Add dummy nop after jump to exit.
79994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
79995         Use correct parm save area and cr save, reduce stack frame.
79996         Correct cfi for possible PSEUDO_RET frame setup.
79997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
79998         Branch to local label emitted by PSEUDO_RET rather than
79999         __syscall_error.
80001 2010-08-12  Andreas Schwab  <schwab@redhat.com>
80003         [BZ #11904]
80004         * locale/programs/locale.c (print_assignment): New function.
80005         (show_locale_vars): Use it.
80007 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
80009         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
80010         field.
80011         (struct statfs64): Likewise.
80012         (_STATFS_F_FLAGS): Define.
80013         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
80014         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80015         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
80016         (ST_VALID): Define locally.
80017         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
80018         __statvfs_getflags, use the provided value.
80019         * sysdeps/unix/sysv/linux/kernel-features.h: Define
80020         __ASSUME_STATFS_F_FLAGS.
80022         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
80024         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
80025         Add sys/fanotify.h.
80026         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
80027         fanotify_mask for GLIBC_2.13.
80028         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
80029         fanotify_init and fanotify_mark.
80030         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
80031         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
80033         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
80034         Add prlimit.
80035         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
80036         prlimit64 for GLIBC_2.13.
80037         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
80038         prlimit64.
80039         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
80040         syscall.
80041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
80042         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
80043         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
80044         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
80045         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
80046         add prlimit alias.
80047         * sysdeps/unix/sysv/linux/prlimit.c: New file.
80049         [BZ #11903]
80050         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
80051         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
80053         * nss/Makefile: Add rules to build and run tst-nss-test1.
80054         * shlib-versions: Add entry for libnss_test1.
80055         * nss/nss_test1.c: New file.
80056         * nss/tst-nss-test1.c: New file.
80058         * nss/nsswitch.c (__nss_database_custom): Define new variable.
80059         (__nss_configure_lookup): Set appropriate entry in
80060         __nss_configure_lookup to true.
80061         * nss/nsswitch.h: Define enum with indeces of databases in
80062         databases and __nss_database_custom arrays.  Declare
80063         __nss_database_custom.
80064         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
80065         to avoid using nscd when custom rules are installed.
80066         * nss/getXXbyYY_r.c: Likewise.
80067         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
80069         * nss/nss_files/files-parse.c: Whitespace fixes.
80071 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
80073         [BZ #11883]
80074         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
80075         * posix/fnmatch_loop.c: Likewise.
80077 2010-07-17  Andi Kleen  <ak@linux.intel.com>
80079         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
80080         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
80081         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
80082         * Versions.def [GLIBC_2.13]: Add.
80084 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
80086         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
80087         Also fail if tpwd after pwuid call is NULL.
80089 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80091         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
80092         when converting to ms.
80094 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80096         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
80097         EOPNOTSUPP errors with ENOTTY.
80098         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
80099         EOPNOTSUPP errors with ENOTTY.
80101 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
80103         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
80104         Add strcasecmp_l-ssse3.
80105         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
80106         strcasecmp.
80107         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
80108         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
80109         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
80111 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
80113         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
80115         * string/Makefile (strop-tests): Add strcasecmp.
80116         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
80117         strcasecmp_l-nonascii.
80118         (gen-as-const-headers): Add locale-defines.sym.
80119         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
80120         * sysdeps/x86_64/strcasecmp.S: New file.
80121         * sysdeps/x86_64/strcasecmp_l.S: New file.
80122         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
80123         * sysdeps/x86_64/locale-defines.sym: New file.
80124         * string/test-strcasecmp.c: New file.
80126         * string/test-strcasestr.c: Test both ends of the range of characters.
80127         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
80129 2010-07-29  Roland McGrath  <roland@redhat.com>
80131         [BZ #11856]
80132         * manual/locale.texi (Yes-or-No Questions): Fix example code.
80134 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
80136         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
80137         for ld.so.
80139 2010-07-27  Andreas Schwab  <schwab@redhat.com>
80141         * manual/memory.texi (Malloc Tunable Parameters): Document
80142         M_PERTURB.
80144 2010-07-26  Roland McGrath  <roland@redhat.com>
80146         [BZ #11840]
80147         * configure.in (-fgnu89-inline check): Set and substitute
80148         gnu89_inline, not libc_cv_gnu89_inline.
80149         * configure: Regenerated.
80150         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
80152 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
80154         * string/test-strnlen.c: New file.
80155         * string/Makefile (strop-tests): Add strnlen.
80156         * string/tester.c (test_strnlen): Add a few more test cases.
80157         * string/tst-strlen.c: Better error reporting.
80159         * sysdeps/x86_64/strnlen.S: New file.
80161 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
80163         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
80164         lower-latency instructions.
80166 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
80168         * string/test-strcasestr.c: New file.
80169         * string/test-strstr.c: New file.
80170         * string/Makefile (strop-tests): Add strstr and strcasestr.
80171         * string/str-two-way.h: Don't undefine MAX.
80172         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
80174 2010-07-21  Andreas Schwab  <schwab@redhat.com>
80176         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80177         strcasestr-nonascii.
80178         (CFLAGS-strcasestr-nonascii.c): Define.
80179         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
80180         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
80181         Remove unused attribute.
80183 2010-07-20  Roland McGrath  <roland@redhat.com>
80185         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
80186         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
80187         ld.so.cache was broken.  With it, there is no way to disable dsocaps
80188         like LD_HWCAP_MASK can disable hwcaps.
80190 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
80192         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
80194 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
80196         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
80197         call in strcasestr.
80198         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
80199         __strcasestr_sse42_nonascii.
80200         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
80201         strcasestr-nonascii.c.
80202         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
80204 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
80206         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
80207         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
80208         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
80209         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
80211 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
80213         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
80214         fcntl.
80216 2010-07-06  Andreas Schwab  <schwab@redhat.com>
80218         [BZ #11577]
80219         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
80220         dl_signal_cerror.
80222 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
80224         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
80225         _PC_PIPE_BUF using F_GETPIPE_SZ.
80227 2010-07-05  Roland McGrath  <roland@redhat.com>
80229         * manual/arith.texi (Rounding Functions): Fix rint description
80230         implicit in round description.
80232 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
80234         * elf/Makefile: Fix linking for a few tests to make recent linker
80235         happy.
80237 2010-06-30  Andreas Schwab  <schwab@redhat.com>
80239         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
80240         $(common-objpfx)libc_nonshared.a.
80242 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
80244         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
80245         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
80246         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
80247         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
80248         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
80249         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
80250         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
80251         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
80252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
80253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
80254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
80255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
80256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
80257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
80258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
80259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
80260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
80261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
80262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
80263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
80264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
80265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
80266         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
80267         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
80268         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
80269         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
80270         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
80271         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
80272         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
80273         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
80274         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
80275         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
80276         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
80277         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
80278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
80279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
80280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
80281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
80282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
80283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
80284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
80285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
80286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
80287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
80288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
80289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
80290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
80291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
80293 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
80295         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
80296         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
80297         * string/memmove.c (memmove): Renamed to ...
80298         (MEMMOVE): ...this.  Default to memmove.
80299         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
80300         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
80301         (END_CHK): Define.
80302         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80303         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
80304         mempcpy-ssse3-back memmove-ssse3-back.
80305         * sysdeps/x86_64/multiarch/bcopy.S: New file .
80306         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
80307         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
80308         * sysdeps/x86_64/multiarch/memcpy.S: New file.
80309         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
80310         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
80311         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
80312         * sysdeps/x86_64/multiarch/memmove.c: New file.
80313         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
80314         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
80315         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
80316         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
80317         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
80318         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
80319         Define.
80320         (index_Fast_Copy_Backward): Define.
80321         (HAS_ARCH_FEATURE): Define.
80322         (HAS_FAST_REP_STRING): Define.
80323         (HAS_FAST_COPY_BACKWARD): Define.
80325 2010-06-21  Andreas Schwab  <schwab@redhat.com>
80327         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
80328         Restore proper fallback handling.
80330 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
80332         [BZ #11701]
80333         * posix/group_member.c (__group_member): Correct checking loop.
80335         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
80336         OOM in getpwuid_r correctly.  Return error number when the caller
80337         should return, otherwise -1.
80338         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
80339         call returning > 0 value.
80340         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
80342 2010-06-07  Andreas Schwab  <schwab@redhat.com>
80344         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
80345         libc_nonshared.a from targets in modules-names.
80347 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
80349         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
80350         requires it.
80352 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
80354         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
80355         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
80356         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
80357         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
80359 2010-06-02  Andreas Schwab  <schwab@redhat.com>
80361         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
80363 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
80365         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
80366         and F_GETPIPE_SZ.
80367         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
80368         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80369         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80370         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80371         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80372         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80374 2010-06-14  Roland McGrath  <roland@redhat.com>
80376         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
80378 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
80380         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
80381         __REDIRECT followed by __THROW.
80382         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
80383         * posix/getopt.h (getopt): Likewise.
80385 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
80387         * hurd/lookup-at.c (__file_name_lookup_at): Accept
80388         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
80389         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
80390         in AT_FLAGS.
80391         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
80392         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
80394 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
80396         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
80398 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
80400         [BZ #11640]
80401         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80402         Properly check family and model.
80404 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
80406         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
80408 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
80410         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
80412 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
80414         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
80415         symbol reference.
80417 2010-05-19  Andreas Schwab  <schwab@redhat.com>
80419         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
80420         symbol reference.
80422 2010-05-21  Andreas Schwab  <schwab@redhat.com>
80424         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
80425         and internal_recvmmsg.
80426         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
80427         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
80428         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
80429         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
80431         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
80432         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
80433         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
80435 2010-05-20  Andreas Schwab  <schwab@redhat.com>
80437         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
80439 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
80441         POWER7 optimizations.
80442         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
80443         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
80445 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
80447         * version.h: Update for 2.13 development version.
80449 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
80451         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
80452         exceptions.  Return 0.
80454 2010-05-07  Roland McGrath  <roland@redhat.com>
80456         * elf/ldconfig.c (main): Add a const.
80458 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
80460         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
80461         (args_options): Add no-idn option.
80462         (ahosts_keys_int): Add idn_flags to ai_flags.
80463         (parse_option): Handle 'i' option to clear idn_flags.
80465         * malloc/malloc.c (_int_free): Possible race in the most recently
80466         added check.  Only act on the data if no current modification
80467         happened.
80469 See ChangeLog.17 for earlier changes.