hppa: Add MAP_HUGETLB and MAP_STACK defines [BZ #19285]
[glibc.git] / ChangeLog
blob203d39473cc5407ea01bb6e24c46710ba08698ab
1 2016-01-02  Helge Deller  <deller@gmx.de>
3         [BZ #19285]
4         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
5         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
6         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
7         (MADV_xxK_PAGES): Remove.
9 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
11         [BZ #15421]
12         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
13         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
14         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
15         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
17 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
19         [BZ #19408]
20         * sysdeps/unix/sysv/linux/personality.c: New file.
21         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
22         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
23         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
24         (sysdep_routines): Add personality.
25         (tests): Add tst-personality.
26         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
27         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
28         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
29         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
30         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
31         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
32         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
33         Likewise.
34         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
35         Likewise.
36         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
37         Likewise.
38         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
39         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
40         Likewise.
42 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
44         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
45         (PATH_ARM_SYSTYPE): Remove.
46         (PATH_CPUINFO): Likewise.
47         (IO_BASE_FOOTBRIDGE): Likewise.
48         (IO_SHIFT_FOOTBRIDGE): Likewise.
49         (struct platform): Likewise.
50         (init_iosys): Remove compatibility code for 2.4 kernels.
51         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
53 2015-12-29  Florian Weimer  <fweimer@redhat.com>
55         * malloc/tst-malloc-thread-fail.c: New file.
56         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
57         (tst-malloc-thread-fail): Link against libpthread.
59 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
61         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
62         (get_parser): New function.
63         (main): New function.
65 2015-12-29  Rob Wu  <rob@robwu.nl>
67         [BZ #19369]
68         * resolv/res_init.c (__res_vinit): Reset defdname before use.
70 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
72         [BZ #19270]
73         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
75 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
77         [BZ #15421]
78         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
80 2015-12-23  Torvald Riegel  <triegel@redhat.com>
82         [BZ #13690]
83         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
84         after releasing it.
85         (__lll_robust_unlock): Likewise.
86         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
87         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
88         (lll_robust_unlock): Likewise.
89         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
90         Prevent warnings in callers.
92 2015-12-23  Florian Weimer  <fweimer@redhat.com>
94         * malloc/arena.c (list_lock): Update comment.
96 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
98         * sysdeps/powerpc/hwcapinfo.c: Export symbol
99         __parse_hwcap_and_convert_at_platform to libc.a.
101 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
103         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
104         platform and feature support for POWER9.
105         * sysdeps/powerpc/dl-procinfo.h: Likewise.
106         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
107         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
108         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
109         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
110         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
111         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
112         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
114 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
116         Harmonize generic stdio-lock support with nptl
118         This fixes build when _IO_funlockfile is a macro, fixes build where
119         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
120         stack unwind.
122         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
123         _IO_release_lock ): Use cleanup attribute on new
124         _IO_acquire_lock_file variable instead of assuming that
125         _IO_release_lock will be called.
126         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
127         _IO_acquire_lock_needs_exceptions_enabled.
128         (_IO_acquire_lock_clear_flags2): New macro.
130 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
132         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
134 2015-12-21  Florian Weimer  <fweimer@redhat.com>
136         [BZ #19182]
137         * malloc/arena.c (list_lock): Document lock ordering requirements.
138         (free_list_lock): New lock.
139         (ptmalloc_lock_all): Comment on free_list_lock.
140         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
141         (detach_arena): Update comment.  free_list_lock is now needed.
142         (_int_new_arena): Use free_list_lock around detach_arena call.
143         Acquire arena lock after list_lock.  Add comment, including FIXME
144         about incorrect synchronization.
145         (get_free_list): Switch to free_list_lock.
146         (reused_arena): Acquire free_list_lock around detach_arena call
147         and attached threads counter update.  Add two FIXMEs about
148         incorrect synchronization.
149         (arena_thread_freeres): Switch to free_list_lock.
150         * malloc/malloc.c (struct malloc_state): Update comments to
151         mention free_list_lock.
153 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
155         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
156         Remove functions.
157         (sloww, sloww1): Accept argument to offset quadrant.
158         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
159         quadrant.
160         (__sin, __cos): Consolidate common code into new functions.
161         (reduce_sincos_1, do_sincos_1): New functions.
162         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
164         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
165         code to new functions.
166         (reduce_sincos_2, do_sincos_2): New functions.
167         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
169         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
170         common code for sincos.
171         (__cos) [!IN_SINCOS]: Likewise.
172         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
173         New function.
174         (__sincos): Use it.
176 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
178         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
179         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
180         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
182 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
184         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
185         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
186         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
187         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
188         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
189         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
190         index_Prefer_No_VZEROUPPER): New feature.
191         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
192         Prefer_No_VZEROUPPER for Knights Landing.
194 015-12-18  Torvald Riegel  <triegel@redhat.com>
196         * math/atest-exp2.c (mp_exp_m1): Remove.
198 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
200         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
201         syscalls.
202         (__SYSCALL0): New macro.
203         (__SYSCALL1): Likewise.
204         (__SYSCALL2): Likewise.
205         (__SYSCALL3): Likewise.
206         (__SYSCALL4): Likewise.
207         (__SYSCALL5): Likewise.
208         (__SYSCALL6): Likewise.
209         (__SYSCALL_CONCAT_X): Likewise.
210         (__SYSCALL_CONCAT): Likewise.
211         (__SYSCALL_DIST): Likewise.
212         (__SYSCALL_CALL): Likewise.
214 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
216         [BZ #19363]
217         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
219 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
221         [BZ #19375]
222         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
223         negative subnormals.
225 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
227         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
228         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
229         (INTERNAL_SYSCALL_NCS): Use it.
230         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
232 2015-12-16  Florian Weimer  <fweimer@redhat.com>
234         [BZ #19243]
235         * malloc/arena.c (get_free_list): Remove assert and adjust
236         reference count handling.  Add comment about reused_arena
237         interaction.
238         (reused_arena): Add comments abount get_free_list interaction.
239         * malloc/tst-malloc-thread-exit.c: New file.
240         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
241         (tst-malloc-thread-exit): Link against libpthread.
243 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
245         [BZ #19367]
246         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
247         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
248         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
249         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
250         (index_Prefer_MAP_32BIT_EXEC): Likewise.
252 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
254         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
255         Silvermont optimizations for Knights Landing.
257 2015-12-15  Andreas Schwab  <schwab@suse.de>
259         [BZ #17197]
260         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
261         immediately after emitting SI.
262         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
263         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
264         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
265         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
266         * iconvdata/bug-iconv10.c: New file.
267         * iconvdata/Makefile (tests): Add bug-iconv10.
268         ($(objpfx)bug-iconv10.out): New rule.
270 2015-12-15  Florian Weimer  <fweimer@redhat.com>
272         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
273         aliasing violation.
275 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
277         [BZ #18472]
278         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
279         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
280         conditionals for them.
281         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
282         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
283         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
284         sys/kdaemon.h.
285         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
286         compat-only syscall, obsoleted in glibc 2.23.
287         (create_module): Likewise.
288         (get_kernel_syms): Likewise.
289         (query_module): Likewise.
290         (uselib): Likewise.
291         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
293 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
295         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
296         <linux/version.h>.
297         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
298         conditional code.
299         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
300         and ioshift_name initialization.
302 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
304         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
305         Fix indentation.
307 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
309         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
311 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
313         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
315 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
316             Jakub Wilk  <jwilk@debian.org>
318         [BZ #19347]
319         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
320         to change the group of the device to the tty group.
322 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
324         Split large string section; add truncation advice
325         * manual/examples/strncat.c: Remove.
326         This example was misleading, as the code would have undefined
327         behavior if "hello" was longer than SIZE.  Anyway, the manual
328         shouldn't encourage strncpy+strncat for this sort of thing.
329         * manual/string.texi (Copying Strings and Arrays): Split into
330         three sections Copying Strings and Arrays, Concatenating Strings,
331         and Truncating Strings, as this section was way too long.  All
332         cross-referenced changed.  Add advice about string-truncation
333         functions.  Remove misleading strncat example.
335 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
337         * manual/nss.texi (NSS Modules Interface): Document
338         NSS_STATUS_NOTFOUND and SUCCESS.
340 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
342         [BZ 18568]
343         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
344         201505L, for Unicode 8.
346 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
348         * locale/C-translit.h: Regenerate.
350 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
352         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
353         and U+0153.
355 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
357         [BZ #19351]
358         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
359         expanding log(1+z), compare z rather than its square with epsilon
360         to determine when to avoid evaluating the expansion.
362         [BZ #19350]
363         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
364         Increase overflow threshold.
366         [BZ #19349]
367         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
368         when small.
370         * sysdeps/unix/sysv/linux/i386/kernel-features.h
371         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
372         New macro.
373         [__LINUX_KERNEL_VERSION >= 0x040300]
374         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
375         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
376         Likewise.
377         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
378         Likewise.
379         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
380         Likewise.
381         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
382         Likewise.
383         [__LINUX_KERNEL_VERSION >= 0x040300]
384         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
385         [__LINUX_KERNEL_VERSION >= 0x040300]
386         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
387         [__LINUX_KERNEL_VERSION >= 0x040300]
388         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
389         [__LINUX_KERNEL_VERSION >= 0x040300]
390         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
391         [__LINUX_KERNEL_VERSION >= 0x040300]
392         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
393         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
394         Likewise.
395         [__LINUX_KERNEL_VERSION >= 0x040300]
396         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
397         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
398         Likewise.
399         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
400         Likewise.
401         [__LINUX_KERNEL_VERSION >= 0x040300]
402         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
403         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
404         Likewise.
405         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
406         Likewise.
407         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
408         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
409         Likewise.
410         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
411         Likewise.
412         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
413         Likewise.
414         [__LINUX_KERNEL_VERSION >= 0x040300]
415         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
416         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
417         Likewise.
418         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
419         Likewise.
420         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
421         Likewise.
422         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
423         Likewise.
424         [__LINUX_KERNEL_VERSION >= 0x040300]
425         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
426         [__LINUX_KERNEL_VERSION >= 0x040300]
427         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
428         [__LINUX_KERNEL_VERSION >= 0x040300]
429         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
430         [__LINUX_KERNEL_VERSION >= 0x040300]
431         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
432         [__LINUX_KERNEL_VERSION >= 0x040300]
433         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
434         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
435         Likewise.
436         [__LINUX_KERNEL_VERSION >= 0x040300]
437         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
438         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
439         Likewise.
440         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
441         Likewise.
442         [__LINUX_KERNEL_VERSION >= 0x040300]
443         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
444         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
445         Likewise.
446         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
447         Likewise.
448         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
449         (__ASSUME_SOCKET_SYSCALL): Likewise.
450         (__ASSUME_BIND_SYSCALL): Likewise.
451         (__ASSUME_CONNECT_SYSCALL): Likewise.
452         (__ASSUME_LISTEN_SYSCALL): Likewise.
453         (__ASSUME_ACCEPT_SYSCALL): Likewise.
454         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
455         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
456         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
457         (__ASSUME_SEND_SYSCALL): Likewise.
458         (__ASSUME_SENDTO_SYSCALL): Likewise.
459         (__ASSUME_RECV_SYSCALL): Likewise.
460         (__ASSUME_RECVFROM_SYSCALL): Likewise.
461         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
462         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
463         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
464         (__ASSUME_SENDMSG_SYSCALL): Likewise.
465         (__ASSUME_RECVMSG_SYSCALL): Likewise.
466         * sysdeps/unix/sysv/linux/sh/kernel-features.h
467         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
468         Likewise.
469         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
470         Likewise.
471         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
472         Likewise.
473         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
474         Likewise.
475         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
476         Likewise.
477         [__LINUX_KERNEL_VERSION >= 0x020625]
478         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
479         [__LINUX_KERNEL_VERSION >= 0x020625]
480         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
481         [__LINUX_KERNEL_VERSION >= 0x020625]
482         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
483         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
484         Likewise.
485         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
486         Likewise.
487         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
488         Likewise.
489         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
490         Likewise.
491         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
492         Likewise.
493         [__LINUX_KERNEL_VERSION >= 0x020625]
494         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
495         [__LINUX_KERNEL_VERSION >= 0x020625]
496         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
497         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
498         Likewise.
499         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
500         Likewise.
502 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
504         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
505         record the current if the current ABI and CPU support the FP64
506         extension.
507         (has-modd-spreg): Define to record the current if the current ABI and
508         CPU support 32-bit floating point values in odd FPU registers.
509         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
510         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
511         $(has-modd-spreg) equals yes.
512         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
513         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
514         $(has-modd-spreg) equal yes.
516 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
518         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
519         basename.
521 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
523         * benchtests/Makefile (bench-math): Move ffs and ffsll...
524         (bench-string): ... here.
525         (bench): Add bench-string.
526         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
527         to *-benchset to reflect what they are.
528         (benchset): Adjust.
530         * benchtests/sincos-inputs: Add inputs from sin-inputs and
531         cos-inputs.
533 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
535         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
536         __attribute__ ((__simd__)) for vector math function declarations.
538 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
540         Fix typo in strncat, wcsncat manual entries
541         * manual/string.texi (Copying and Concatenation): Fix typos in
542         sample implementations of strncat and wcsncat, by having them use
543         the old value of the destination length, not the new one.
545 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
547         [BZ #16961]
548         [BZ #16962]
549         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
550         string on the stack for strtod.
551         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
552         a string on the stack for strtof.
553         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
554         constructing a string on the stack for strtold.
555         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
556         __strtold_nan to GLIBC_PRIVATE.
557         * math/test-nan-overflow.c: New file.
558         * math/test-nan-payload.c: Likewise.
559         * math/Makefile (tests): Add test-nan-overflow and
560         test-nan-payload.
562 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
564         Consistency about byte vs character in string.texi
565         * manual/string.texi (String and Array Utilities):
566         Distinguish more carefully among bytes, multibyte characters,
567         and wide characters.  Use "byte" when talking about C 'char',
568         to distinguish it more clearly from multibyte characters.
569         Say "wide character" or "multibyte character" instead of
570         "character", when a wide or multibyte character is intended.
571         Similarly for "multibyte string" versus "string".
572         Define these terms more carefully.
574 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
576         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
577         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
578         Likewise.
579         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
580         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
581         * sysdeps/sh/math_private.h: New file.
582         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
583         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
584         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
585         long double function name.
586         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
587         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
588         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
589         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
590         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
592         Remove __finitel, __isinfl, and __isnanl.
593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
594         Likewise.
595         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
596         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
597         Remove __finitel.
598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
599         Likewise.
600         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
602 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
604         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
605         installed libmvec_nonshared.a.
607 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
609         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
610         (sysdep_routines): Likewise.
611         (sysdep-rtld-routines): Likewise.
612         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
613         [$(subdir) = nptl](tests-static): test-get_hwcap-static
614         * sysdeps/powerpc/Versions: Added new
615         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
616         * sysdeps/powerpc/hwcapinfo.c: New file.
617         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
618         and parse hwcap, hwcap2 and platform number information.
619         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
620         to store HWCAP+HWCAP2 and platform number.
621         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
622         for HWCAP+HWCAP2 and platform number in the TCB.
623         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
624         the HWCAP, HWCAP2 and platform number in the TCB.
625         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
626         (TLS_INIT_TP): Included calls to add the hwcap and
627         at_platform values in the TCB in TP initialization.
628         (TLS_DEFINE_INIT_TP): Likewise.
629         (THREAD_GET_HWCAP): New macro.
630         (THREAD_SET_HWCAP): Likewise.
631         (THREAD_GET_AT_PLATFORM): Likewise.
632         (THREAD_SET_AT_PLATFORM): Likewise.
633         * sysdeps/powerpc/powerpc32/dl-machine.h:
634         (dl_platform_init): New function that calls
635         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
636         powerpc32.
637         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
638         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
639         this functionality, static linking case.
640         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
641         linking case.
642         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
643         __parse_hwcap_and_convert_at_platform for the static linking case.
644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
645         Included the new __parse_hwcap_and_convert_at_platform symbol in the
646         ABI list for GLIBC 2.23.
647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
648         Likewise.
649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
650         Likewise.
652 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
654         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
655         * configure: Regenerate.
656         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
657         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
659 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
661         * iconvdata/ibm930.c: Add comment explaining encoding uses.
662         * iconvdata/ibm933.c: Likewise.
663         * iconvdata/ibm935.c: Likewise.
664         * iconvdata/ibm937.c: Likewise.
665         * iconvdata/ibm939.c: Likewise.
667 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
669         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
670         pthread_join.
671         * nptl/tst-cancel21.c (tf): Likewise.
673 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
675         [BZ #19313]
676         * bits/typesizes.h (__CPU_MASK_TYPE): New.
677         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
678         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
679         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
680         Likewise.
681         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
682         Likewise.
683         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
684         Likewise.
685         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
686         Likewise.
687         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
688         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
689         unsigned long int with __CPU_MASK_TYPE.
691 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
693         * sysdeps/aarch64/libm-test-ulps: Regenerated.
695 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
697         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
698         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
699         t512.x.
700         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
702 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
704         [BZ #19214]
705         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
706         argument to return extended model.  Update family and model
707         with extended family and model when family == 0x0f.
708         (init_cpu_features): Updated.
710 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
712         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
713         signed off_t, so 32bit bigger than 2GiB values are fine actually.
715         * sysdeps/mach/hurd/mmap64.c: New file.
717 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
719         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
720         rights for its main user thread in NEWTASK.
722 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
724         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
725         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
727 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
729         [BZ #14259]
730         * Makeconfig: Rename localedir to complocaledir.
731         Rename inst_localedir to inst_complocaledir.
732         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
733         * config.make.in: Use complocaledir and libc_cv_complocaledir.
734         * configure.ac: Use libc_cv_complocaledir.
735         * configure: Regenerate.
736         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
737         -DCOMPLOCALEDIR.
738         * locale/findlocale.c: Use COMPLOCALEDIR.
739         * locale/loadarchive.c: Likewise.
740         * locale/programs/locale.c: Likewise.
741         * locale/programs/localedef.c: Likewise.
742         * locale/programs/locarchive.c: Likewise.
743         * localedata/Makefile: Use inst_complocaledir.
744         * sysdeps/gnu/configure: Regenerate.
745         * sysdeps/hppa/configure: Regenerate.
746         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
747         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
749         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
750         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
751         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
752         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
754 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
756         [BZ #19058]
757         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
758         AS_NEEDED.
759         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
760         workaround.
761         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
762         libmvec-static-only-routines): Added new file.
763         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
765 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
767         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
768         of interrupted RPC instead of restoring it.
770         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
771         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
772         libc_hidden_def.
773         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
774         into initialized data instead of common. Define rtld_hidden_data_def.
775         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
776         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
777         libc_hidden_def.
778         (if_freenameindex): Add libc_hidden_weak.
779         (if_nameindex): Add libc_hidden_weak.
780         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
781         __open64.
782         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
783         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
784         * sysdeps/mach/nanosleep.c: Include <time.h>
785         (__nanosleep): Rename to __libc_nanosleep.
786         (__nanosleep): Add weak_alias.
787         (nanosleep): Update alias.
789 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
791         * stdlib/strtod_nan.c: New file.
792         * stdlib/strtod_nan_double.h: Likewise.
793         * stdlib/strtod_nan_float.h: Likewise.
794         * stdlib/strtod_nan_main.c: Likewise.
795         * stdlib/strtod_nan_narrow.h: Likewise.
796         * stdlib/strtod_nan_wide.h: Likewise.
797         * stdlib/strtof_nan.c: Likewise.
798         * stdlib/strtold_nan.c: Likewise.
799         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
800         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
801         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
802         * wcsmbs/wcstod_nan.c: Likewise.
803         * wcsmbs/wcstof_nan.c: Likewise.
804         * wcsmbs/wcstold_nan.c: Likewise.
805         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
806         strtold_nan.
807         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
808         wcstof_nan.
809         * include/stdlib.h (__strtof_nan): Declare and use
810         libc_hidden_proto.
811         (__strtod_nan): Likewise.
812         (__strtold_nan): Likewise.
813         (__wcstof_nan): Likewise.
814         (__wcstod_nan): Likewise.
815         (__wcstold_nan): Likewise.
816         * include/wchar.h (____wcstoull_l_internal): Declare.
817         * stdlib/strtod_l.c: Do not include <ieee754.h>.
818         (____strtoull_l_internal): Remove declaration.
819         (STRTOF_NAN): Define macro.
820         (SET_MANTISSA): Remove macro.
821         (STRTOULL): Likewise.
822         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
823         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
824         (STRTOF_NAN): Define macro.
825         (SET_MANTISSA): Remove macro.
826         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
827         (SET_MANTISSA): Remove macro.
828         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
829         macro.
830         (SET_MANTISSA): Remove macro.
831         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
832         macro.
833         (SET_MANTISSA): Remove macro.
834         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
835         (SET_MANTISSA): Remove macro.
836         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
837         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
838         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
840         [BZ #19266]
841         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
842         upper case and lower case letters inside NAN(), not using TOLOWER.
843         * stdlib/tst-strtod-nan-locale-main.c: New file.
844         * stdlib/tst-strtod-nan-locale.c: Likewise.
845         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
846         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
847         Depend on $(gen-locales).
848         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
849         * wcsmbs/tst-wcstod-nan-locale.c: New file.
850         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
851         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
852         Depend on $(gen-locales).
853         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
855 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
857         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
859         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
861         __finitel, __isinfl, and __isnanl.
862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
863         Likewise.
864         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
865         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
866         __finitel.
867         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
868         Likewise.
869         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
871 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
873         * malloc/memusage.c (me): Remove redundant getenv call.
875 2015-10-24  Florian Weimer  <fweimer@redhat.com>
877         [BZ #19143]
878         [BZ #19164]
879         * nptl/check-cpuset.h: Remove.
880         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
881         Remove CPU set size check.
882         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
883         Likewise.
884         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
885         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
886         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
887         (__pthread_setaffinity_new): Remove CPU set size check.
888         * sysdeps/unix/sysv/linux/sched_setaffinity.c
889         (__kernel_cpumask_size): Remove.
890         (__sched_setaffinity_new): Remove CPU set size check.
891         * manual/threads.texi (Default Thread Attributes): Remove stale
892         reference to check_cpuset_attr, determine_cpumask_size in comment.
893         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
894         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
895         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
896         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
897         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
898         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
899         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
900         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
901         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
902         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
903         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
904         skeleton test file.
905         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
906         tst-affinity-pid.
908 2015-11-24  Florian Weimer  <fweimer@redhat.com>
910         * scripts/update-abilist.sh: New file.
911         * Makefile (+subdir_targets): Add subdir_update-all-abi.
912         * Makerules (update-all-abi-%, update-all-abi)
913         (subdir_update-all-abi): New targets.
914         * elf/Makefile (update-all-abi): New target.
916 2015-11-24  Florian Weimer  <fweimer@redhat.com>
918         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
919         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
920         (__libc_lock_define_initialized): Use it.
921         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
922         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
923         * malloc/malloc.c (main_arena): Likewise.
924         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
925         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
927 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
929         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
930         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
931         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
932         (PTRACE_O_MASK): Update value.
933         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
934         New value in enum __ptrace_setoptions.
935         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
936         (PTRACE_O_MASK): Update value.
937         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
938         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
939         (PTRACE_O_MASK): Update value.
940         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
941         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
942         (PTRACE_O_MASK): Update value.
943         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
944         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
945         (PTRACE_O_MASK): Update value.
946         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
947         New value in enum __ptrace_setoptions.
948         (PTRACE_O_MASK): Update value.
949         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
950         New value in enum __ptrace_setoptions.
951         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
952         (PTRACE_O_MASK): Update value.
954         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
955         New macro.
956         (PACKET_AUXDATA): Likewise.
957         (PACKET_ORIGDEV): Likewise.
958         (PACKET_VERSION): Likewise.
959         (PACKET_HDRLEN): Likewise.
960         (PACKET_RESERVE): Likewise.
961         (PACKET_TX_RING): Likewise.
962         (PACKET_LOSS): Likewise.
963         (PACKET_VNET_HDR): Likewise.
964         (PACKET_TX_TIMESTAMP): Likewise.
965         (PACKET_TIMESTAMP): Likewise.
966         (PACKET_FANOUT): Likewise.
967         (PACKET_TX_HAS_OFF): Likewise.
968         (PACKET_QDISC_BYPASS): Likewise.
969         (PACKET_ROLLOVER_STATS): Likewise.
970         (PACKET_FANOUT_DATA): Likewise.
971         (PACKET_MR_UNICAST): Likewise.
973         [BZ #19242]
974         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
975         (TOUPPER): Likewise.
976         * stdlib/tst-strtol-locale-main.c: New file.
977         * stdlib/tst-strtol-locale.c: Likewise.
978         * stdlib/Makefile (tests): Add tst-strtol-locale.
979         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
980         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
981         Depend on $(gen-locales).
982         * wcsmbs/tst-wcstol-locale.c: New file.
983         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
984         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
985         tr_TR.ISO-8859-9.
986         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
987         Depend on $(gen-locales).
989 2015-11-20  Roland McGrath  <roland@hack.frob.com>
991         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
992         __glibc_likely instead of __builtin_expect.  After falling back to
993         dyncode_create in a non-ET_DYN case, use the allocate_code_data
994         system interface to register the code pages as occupied.
996 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
998         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
999         [!ARM_MATH_PRIVATE_H].
1000         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
1001         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1002         [!HPPA_MATH_PRIVATE_H].
1003         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
1004         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
1005         to [!I386_MATH_PRIVATE_H].
1006         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
1007         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
1008         Change guard to [!M68K_MATH_PRIVATE_H].
1009         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
1010         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
1011         guard to [!MICROBLAZE_MATH_PRIVATE_H].
1012         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
1013         macro.
1014         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1015         [!MIPS_MATH_PRIVATE_H].
1016         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
1017         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1018         [!NIO2_MATH_PRIVATE_H].
1019         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
1020         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1021         [!TILE_MATH_PRIVATE_H].
1022         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
1024         [BZ #15421]
1025         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
1026         initialize with 0 and define as weak alias of __signgam.
1027         * include/math.h [!_ISOMAC] (__signgam): Declare.
1028         * math/Makefile (libm-calls): Add w_lgamma_compat.
1029         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
1030         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
1031         test-signgam-ullong-init.
1032         (tests-static): Add test-signgam-uchar-static,
1033         test-signgam-uchar-init-static, test-signgam-uint-static,
1034         test-signgam-uint-init-static, test-signgam-ullong-static and
1035         test-signgam-ullong-init-static.
1036         (CFLAGS-test-signgam-uchar.c): New variable.
1037         (CFLAGS-test-signgam-uchar-init.c): Likewise.
1038         (CFLAGS-test-signgam-uchar-static.c): Likewise.
1039         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
1040         (CFLAGS-test-signgam-uint.c): Likewise.
1041         (CFLAGS-test-signgam-uint-init.c): Likewise.
1042         (CFLAGS-test-signgam-uint-static.c): Likewise.
1043         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
1044         (CFLAGS-test-signgam-ullong.c): Likewise.
1045         (CFLAGS-test-signgam-ullong-init.c): Likewise.
1046         (CFLAGS-test-signgam-ullong-static.c): Likewise.
1047         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
1048         * math/Versions (libm): Add GLIBC_2.23.
1049         * math/lgamma-compat.h: New file.
1050         * math/test-signgam-main.c: Likewise.
1051         * math/test-signgam-uchar-init-static.c: Likewise.
1052         * math/test-signgam-uchar-init.c: Likewise.
1053         * math/test-signgam-uchar-static.c: Likewise.
1054         * math/test-signgam-uchar.c: Likewise.
1055         * math/test-signgam-uint-init-static.c: Likewise.
1056         * math/test-signgam-uint-init.c: Likewise.
1057         * math/test-signgam-uint-static.c: Likewise.
1058         * math/test-signgam-uint.c: Likewise.
1059         * math/test-signgam-ullong-init-static.c: Likewise.
1060         * math/test-signgam-ullong-init.c: Likewise.
1061         * math/test-signgam-ullong-static.c: Likewise.
1062         * math/test-signgam-ullong.c: Likewise.
1063         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
1064         wrapper of w_lgamma_main.c.
1065         * math/w_lgamma_compat.c: New file.
1066         * math/w_lgamma_compatf.c: Likewise.
1067         * math/w_lgamma_compatl.c: Likewise.
1068         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
1069         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
1070         defining compatibility symbols.
1071         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
1072         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
1073         wrapper of w_lgammaf_main.c.
1074         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
1075         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
1076         defining compatibility symbols.
1077         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
1078         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
1079         wrapper of w_lgammal_main.c.
1080         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
1081         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
1082         defining compatibility symbols.
1083         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
1084         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
1085         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
1086         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
1087         <lgamma-compat.h>.
1088         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
1089         (__ieee754_gamma): Define as alias.
1090         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
1091         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
1092         <lgamma-compat.h>.
1093         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
1094         (__ieee754_gammaf): Define as alias.
1095         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
1096         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
1097         <lgamma-compat.h>.
1098         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
1099         (__ieee754_gammal): Define as alias.
1100         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
1101         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
1102         <math/w_lgamma_compat.c>.
1103         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
1104         Define as alias of __lgamma_compat and use in defining lgammal.
1105         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
1106         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
1107         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
1108         (USE_AS_COMPAT): New macro.
1109         (LGAMMA_OLD_VER): Undefine and redefine.
1110         (lgammal): Do not define here.
1111         (gammal): Only define here if [GAMMA_ALIAS].
1112         * conform/linknamespace.pl (@whitelist): Remove signgam.
1113         * sysdeps/nacl/libm.abilist: Update.
1114         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1115         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1116         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1117         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1118         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1119         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1120         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1121         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1122         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1123         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1124         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1125         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1127         Likewise.
1128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1129         Likewise.
1130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1131         Likewise.
1132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1133         Likewise.
1134         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1135         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1136         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1137         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1138         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1140         Likewise.
1141         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1142         Likewise.
1143         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1144         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1145         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1147 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1149         [BZ #16364]
1150         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
1151         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
1153 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1155         * sysdeps/s390/fpu/bits/mathinline.h:
1156         Use __asm__ [__volatile__] instead of asm [volatile].
1157         * sysdeps/s390/abort-instr.h: Likewise.
1158         * sysdeps/s390/atomic-machine.h: Likewise.
1159         * sysdeps/s390/bits/string.h: Likewise.
1160         * sysdeps/s390/dl-tls.h: Likewise.
1161         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
1162         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
1163         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
1164         * sysdeps/s390/fpu/fesetround.c: Likewise.
1165         * sysdeps/s390/fpu/fpu_control.h: Likewise.
1166         * sysdeps/s390/fpu/s_fma.c: Likewise.
1167         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
1168         * sysdeps/s390/memusage.h: Likewise.
1169         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
1170         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
1171         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
1172         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
1173         * sysdeps/s390/nptl/tls.h: Likewise.
1174         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
1175         * sysdeps/s390/s390-32/backtrace.c: Likewise.
1176         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1177         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
1178         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1179         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1180         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
1181         * sysdeps/s390/s390-64/backtrace.c: Likewise.
1182         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1183         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
1184         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
1185         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1186         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1187         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
1188         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
1189         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
1190         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
1191         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1192         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
1193         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1194         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
1195         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1196         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
1198 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1199             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1201         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
1202         Add lwarx hint, and use macro for acquire instruction.
1203         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
1204         Likewise.
1205         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
1206         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
1207         update to use new atomic macros.
1209 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1211         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1212         (__lll_trylock_elision): Fix setting of adapt_count.
1213         * sysdeps/unix/sysv/linux/powerpc/htm.h
1214         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
1215         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
1216         (_ABORT_SYSCALL): Renumber, and clarify definition.
1217         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
1219 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1221         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
1222         after system headers to prevent MIN/MAX redefinition.  Define
1223         HAVE_ALLOCA to preserve builtin alloca usage.
1225 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
1227         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
1228         static and don't set or restore rounding.
1229         (__cos)[IN_SINCOS]: Likewise.
1230         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
1231         (__sincos): Set and restore rounding mode.  Remove check for infinite
1232         or NaN input.
1234         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
1236         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
1237         as used.
1239 2015-11-16  Florian Weimer  <fweimer@redhat.com>
1241         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
1243 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
1245         * config.make.in (have-glob-dat-reloc): New.
1246         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
1247         target supports GLOB_DAT relocaton. AC_SUBST.
1248         * configure: Regenerated.
1249         * elf/Makefile (tests): Add tst-prelink.
1250         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
1251         (tst-prelink-ENV): New.
1252         ($(objpfx)tst-prelink-conflict.out): Likewise.
1253         ($(objpfx)tst-prelink-cmp.out): Likewise.
1254         * sysdeps/x86/tst-prelink.c: Moved to ...
1255         * elf/tst-prelink.c: Here.
1256         * sysdeps/x86/tst-prelink.exp: Moved to ...
1257         * elf/tst-prelink.exp: Here.
1258         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
1259         (tst-prelink-ENV): Removed.
1260         ($(objpfx)tst-prelink-conflict.out): Likewise.
1261         ($(objpfx)tst-prelink-cmp.out): Likewise.
1262         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
1264 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
1266         [BZ #14551]
1267         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
1268         (__mpn_construct_long_double): If high part overflows to infinity,
1269         set errno and recompute overflowed result of the correct sign.
1270         * sysdeps/ieee754/ldbl-128ibm/Makefile
1271         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
1272         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
1273         $(libm).
1274         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
1276 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
1278         [BZ #15479]
1279         [BZ #19238]
1280         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
1281         floating-point state after first operation on input.  Restore full
1282         state rather than just rounding mode.
1283         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
1284         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
1285         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
1287         [BZ #19235]
1288         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
1289         add 0.5 to integer arguments.
1290         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
1291         Likewise.
1292         (.LC2): New object.
1294 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
1296         * scripts/pylintrc (reports): Set to no.
1298 2015-11-10  Roland McGrath  <roland@hack.frob.com>
1300         * elf/dl-load.c (open_verify): Take new argument FD.
1301         Skip __open call if passed FD is not -1.
1302         (_dl_map_object, open_path): Update callers.
1303         * elf/dl-sysdep-open.h: New file.
1304         * elf/dl-load.c: Include it.
1305         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
1306         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
1307         * sysdeps/nacl/dl-sysdep-open.h: New file.
1308         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
1309         from libc to rtld.
1311 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
1313         [BZ #19228]
1314         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
1315         and restore full floating-point state.
1316         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1317         Likewise.
1318         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
1319         Likewise.
1320         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
1321         Likewise.
1322         * math/test-nearbyint-except-2.c: New file.
1323         * math/Makefile (tests): Add test-nearbyint-except-2.
1325 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
1327         [BZ #19178]
1328         * sysdeps/x86/Makefile (tests): Add tst-prelink.
1329         (tst-prelink-ENV): New.
1330         ($(objpfx)tst-prelink-conflict.out): Likewise.
1331         ($(objpfx)tst-prelink-cmp.out): Likewise.
1332         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
1333         * sysdeps/x86/tst-prelink.c: New file.
1334         * sysdeps/x86/tst-prelink.exp: Likewise.
1336 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
1338         * math/auto-libm-test-in: Add another test of pow.
1339         * math/auto-libm-test-out: Regenerated.
1340         * math/libm-test.inc (pow_test_data): Add another test.
1342 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1344         [BZ #19219]
1345         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
1346         weak_alias to nearbyintl.
1348 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
1350         * sysdeps/aarch64/bits/string.h: New file.
1351         (_STRING_ARCH_unaligned): Define.
1353 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
1355         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
1356         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
1357         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
1358         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
1359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
1361 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
1363         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
1364         for original name of the DSO.  Add it to the name list of the DSO
1365         if it is actually given.
1366         (_dl_map_object): Keep track of whether an audit module rewrote
1367         the file name.  If yes, pass the original name to
1368         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
1369         debugging is enabled, log the change of the file name.
1370         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
1371         _dl_map_object_from_fd.
1372         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
1373         * elf/tst-audit11.c: New file
1374         * elf/tst-auditmod11.c: New file.
1375         * elf/tst-audit11mod1.c: New file.
1376         * elf/tst-audit11mod2.c: New file.
1377         * elf/tst-audit11mod2.map: New file.
1378         * elf/tst-audit12.c: New file
1379         * elf/tst-auditmod12.c: New file.
1380         * elf/tst-audit12mod1.c: New file.
1381         * elf/tst-audit12mod2.c: New file.
1382         * elf/tst-audit12mod2.map: New file.
1383         * elf/tst-audit12mod3.c: New file.
1385 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1387         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
1388         Don't create weak aliases,
1389         because versioned symbols are created later.
1390         * sysdeps/s390/s390-32/setjmp.S
1391         (setjmp, _setjmp): Remove weak and rename to an unique name
1392         in SHARED case due to existing versioned symbols.
1393         * sysdeps/s390/s390-64/setjmp.S: Likewise.
1394         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
1395         (getcontext): Create weak alias only in non SHARED case.
1396         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1398 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1400         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
1401         (__ASSUME_*_SYSCALL) Define new macros.
1402         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
1403         Remove socketcall syscalls.
1404         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
1405         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
1406         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
1407         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
1408         * sysdeps/unix/sysv/linux/send.c (__libc_send):
1409         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
1411 2015-11-09  Florian Weimer  <fweimer@redhat.com>
1413         [BZ #12926]
1414         Terminate process on invalid netlink response.
1415         * sysdeps/unix/sysv/linux/netlinkaccess.h
1416         (__netlink_assert_response): Declare.
1417         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
1418         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
1419         (sysdep_routines): Add netlink_assert_response.
1420         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
1421         __netlink_assert_response.
1422         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
1423         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
1424         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
1425         __netlink_assert_response.
1427 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
1429         [BZ #19178]
1430         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
1431         (RTYPE_CLASS_PLT): Likewise.
1432         (RTYPE_CLASS_COPY): Likewise.
1433         (RTYPE_CLASS_TLS): Likewise.
1434         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
1435         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
1436         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
1437         DL_DEBUG_PRELINK.
1439 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
1441         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
1442         calls with argument -0.5.
1443         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
1445         * configure.ac (libc_cv_z_nodelete): Remove configure test.
1446         (libc_cv_z_nodlopen): Likewise.
1447         (libc_cv_z_initfirst): Likewise.
1448         * configure: Regenerated.
1450 2015-11-06  Florian Weimer  <fweimer@redhat.com>
1452         Simplify abilist format to be line-based.
1453         * scripts/abilist.awk: Collect descriptors in the descs variable.
1454         (emit): Write descs variable and sort it
1455         externally, with sort.
1456         * sysdeps/**/*.abilist: Convert to new format.
1458 2015-11-06  Mark Wielaard  <mjw@redhat.com>
1460         [BZ #11460]
1461         * io/Makefile (routines): Add fts64.
1462         (tests): Add tst-fts and tst-fts-lfs.
1463         (CFLAGS-fts64.c): New.
1464         * io/Versions (GLIBC_2.23): New.
1465         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
1466         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
1467         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
1468         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
1469         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
1470         (FTSENT64): Likewise.
1471         (fts64_children): Likewise.
1472         (fts64_close): Likewise.
1473         (fts64_open): Likewise.
1474         (fts64_read): Likewise.
1475         (fts64_set): Likewise.
1476         * io/fts64.c: New file.
1477         * io/tst-fts.c: New test.
1478         * io/tst-fts-lfs.c: Likewise.
1479         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
1480         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
1481         fts64_set.
1482         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1483         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1484         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1485         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1486         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1487         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1488         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1489         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1490         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1491         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1492         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1493         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1494         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1496         Likewise.
1497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1498         Likewise.
1499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1501         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1502         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1503         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1504         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1505         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1508         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1509         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1510         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1511         * sysdeps/wordsize-64/fts.c: New file.
1512         * sysdeps/wordsize-64/fts64.c: Likewise.
1513         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
1514         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
1515         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
1516         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
1518 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
1520         * math/libm-test.inc (NON_FINITE): New macro.
1521         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
1522         * math/gen-libm-test.pl (show_exceptions): Add argument
1523         $non_finite.
1524         (parse_args): Update call to show_exceptions.
1525         * math/test-math-finite.h: New file.
1526         * math/test-math-no-finite.h: Likewise.
1527         * math/test-double-finite.c: Likewise.
1528         * math/test-float-finite.c: Likewise.
1529         * math/test-ldouble-finite.c: Likewise.
1530         * math/test-double.c: Include "test-math-no-finite.h".
1531         * math/test-float.c: Include "test-math-no-finite.h".
1532         * math/test-ldouble.c: Include "test-math-no-finite.h".
1533         * math/test-math-inline.h (TEST_FINITE): New macro.
1534         * math/test-math-vector.h (TEST_FINITE): Likewise.
1535         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
1536         (libm-tests): Add test-float-finite and test-double-finite.
1537         ($(objpfx)test-float-finite.o): New dependency on
1538         $(objpfx)libm-test.stmp.
1539         ($(objpfx)test-double-finite.o): Likewise.
1540         ($(objpfx)test-ldouble-finite.o): Likewise.
1541         (libm-test-no-inline-cflags): New variable.
1542         (libm-test-finite-cflags): Likewise.
1543         (CFLAGS-test-float-finite.c): Likewise.
1544         (CFLAGS-test-double-finite.c): Likewise.
1545         (CFLAGS-test-ldouble-finite.c): Likewise.
1546         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
1547         (CFLAGS-test-double.c): Likewise.
1548         (CFLAGS-test-ldouble.c): Likewise.
1550 2015-11-05  Roland McGrath  <roland@hack.frob.com>
1552         * io/fcntl.c (__fcntl): Add ... to prototype.
1553         * misc/ioctl.c (__ioctl): Likewise.
1554         * misc/syscall.c (syscall): Likewise.
1556 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
1558         * scripts/list-fixed-bugs.py: New file.
1560         [BZ #19213]
1561         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
1562         returned for argument 1.
1563         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
1564         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
1565         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
1566         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
1567         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
1568         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
1570         [BZ #19211]
1571         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
1572         __USE_XOPEN], not if [!__USE_ISOC99].
1573         (lgammaf): Likewise.
1574         (lgammal): Likewise.
1575         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
1576         (gammaf): Likewise.
1577         (gammal): Likewise.
1578         * math/test-signgam-finite-c11.c: New file.
1579         * math/test-signgam-finite-c99.c: Likewise.
1580         * math/test-signgam-finite.c: Likewise.
1581         * math/Makefile (tests): Add test-signgam-finite,
1582         test-signgam-finite-c99 and test-signgam-finite-c11.
1583         (CFLAGS-test-signgam-finite.c): New variable.
1584         (CFLAGS-test-signgam-finite-c99.c): Likewise.
1585         (CFLAGS-test-signgam-finite-c11.c): Likewise.
1587         [BZ #19212]
1588         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
1589         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
1590         500].
1591         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
1592         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
1593         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
1594         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
1595         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
1596         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
1597         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
1598         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
1599         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
1600         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
1602         [BZ #19209]
1603         * math/bits/math-finite.h (ldexp): Remove declaration.
1604         (ldexpf): Likewise.
1605         (ldexpl): Likewise.
1607         [BZ #19205]
1608         * math/bits/math-finite.h (acosf): Condition declaration on
1609         [__USE_ISOC99].
1610         (acosl): Likewise.
1611         (acoshf): Likewise.
1612         (acoshl): Likewise.
1613         (asinf): Likewise.
1614         (asinl): Likewise.
1615         (atan2f): Likewise.
1616         (atan2l): Likewise.
1617         (atanhf): Likewise.
1618         (atanhl): Likewise.
1619         (coshf): Likewise.
1620         (coshl): Likewise.
1621         (expf): Likewise.
1622         (expl): Likewise.
1623         (fmodf): Likewise.
1624         (fmodl): Likewise.
1625         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
1626         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
1627         (j0l): Likewise.
1628         (y0f): Likewise.
1629         (y0l): Likewise.
1630         (j1f): Likewise.
1631         (j1l): Likewise.
1632         (y1f): Likewise.
1633         (y1l): Likewise.
1634         (jnf): Likewise.
1635         (jnl): Likewise.
1636         (ynf): Likewise.
1637         (ynl): Likewise.
1638         (lgammaf_r): Condition declaration on [__USE_ISOC99].
1639         (lgammal_r): Likewise.
1640         (__lgamma_r_finite): New declaration.
1641         (__lgammaf_r_finite): Likewise.
1642         (__lgammal_r_finite): Likewise.
1643         (lgamma): Use __lgamma_r_finite.
1644         (lgammaf): Condition definition on [__USE_ISOC99].  Use
1645         __lgammaf_r_finite.
1646         (lgammal): Condition definition on [__USE_ISOC99].  Use
1647         __lgammal_r_finite.
1648         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
1649         __lgamma_r_finite.
1650         (gammaf): Condition definition on [__USE_ISOC99].  Use
1651         __lgammaf_r_finite.
1652         (gammal): Condition definition on [__USE_ISOC99].  Use
1653         __lgammal_r_finite.
1654         (logf): Condition declaration on [__USE_ISOC99].
1655         (logl): Likewise.
1656         (log10f): Likewise.
1657         (log10l): Likewise.
1658         (ldexpf): Likewise.
1659         (ldexpl): Likewise.
1660         (powf): Likewise.
1661         (powl): Likewise.
1662         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
1663         __USE_ISOC99].
1664         (remainderf): Condition declaration on [__USE_ISOC99].
1665         (remainderl): Likewise.
1666         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
1667         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
1668         (scalbl): Likewise.
1669         (sinhf): Condition declaration on [__USE_ISOC99].
1670         (sinhl): Likewise.
1671         (sqrtf): Likewise.
1672         (sqrtl): Likewise.
1674 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
1676         * sysdeps/arm/atomic-machine.h
1677         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
1678         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
1679         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
1680         Remove conditional code.
1681         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
1682         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
1683         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
1684         Change conditional to [__ASSEMBLER__].
1685         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
1686         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
1687         [!__ASSEMBLER__].
1688         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
1689         code.
1690         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
1691         conditional macro definitions.
1692         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
1693         (__arch_compare_and_exchange_val_16_acq): Likewise.
1694         (__arch_compare_and_exchange_val_32_acq): Likewise.
1695         (atomic_exchange_and_add): Likewise.
1696         (atomic_add): Likewise.
1697         (atomic_add_negative): Likewise.
1698         (atomic_add_zero): Likewise.
1699         (atomic_bit_set): Likewise.
1700         (atomic_bit_test_set): Likewise.
1701         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
1702         code unconditional.
1703         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1705         * math/test-math-errno.h: New file.
1706         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
1707         empty.
1708         (TEST_ERRNO): New macro.
1709         (TEST_EXCEPTIONS): Likewise.
1710         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
1711         (TEST_EXCEPTIONS): Likewise.
1712         * math/test-math-vector.h (TEST_ERRNO): Likewise.
1713         * math/test-double.c: Include "test-math-errno.h".
1714         * math/test-float.c: Likewise.
1715         * math/test-ldouble.c: Likewise.
1716         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
1717         code unconditional.
1718         (test_exceptions): Only run code if TEST_EXCEPTIONS.
1719         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
1720         unconditional.
1721         (test_errno): Only run code if TEST_ERRNO.
1722         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
1724 2015-11-04  Florian Weimer  <fweimer@redhat.com>
1726         * nptl/tst-once5.cc: Remove attribution.
1728 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
1730         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
1731         sqrt, tan, tanh, y0, y1 and yn.
1732         * math/auto-libm-test-out: Regenerated.
1733         * math/libm-test.inc (scalb_test_data): Add more tests.
1734         (scalbn_test_data): Likewise.
1735         (scalbln_test_data): Likewise.
1736         (signbit_test_data): Likewise.
1737         (sin_test_data): Likewise.
1738         (sincos_test_data): Likewise.
1739         (sinh_test_data): Likewise.
1740         (sqrt_test_data): Likewise.
1741         (tan_test_data): Likewise.
1742         (tanh_test_data): Likewise.
1743         (tgamma_test_data): Likewise.
1744         (y0_test_data): Likewise.
1745         (y1_test_data): Likewise.
1746         (yn_test_data): Likewise.
1747         (significand_test_data): Likewise.
1748         * sysdeps/i386/fpu/libm-test-ulps: Update.
1750 2015-11-03  David Kastrup  <dak@gnu.org>
1752         [BZ #18604]
1753         * assert/assert.h (assert): Don't macro-expand failed assertion
1754         expression in error message.
1755         * malloc/malloc.c (assert): Likewise.
1757 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
1759         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
1760         test.
1761         * configure: Regenerated.
1763 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
1765         * math/libm-test.inc (modf_test_data): Add more tests.
1766         (nearbyint_test_data): Likewise.
1767         (nextafter_test_data): Likewise.
1768         (nexttoward_test_data): Likewise.
1769         (pow_test_data): Likewise.
1770         (remainder_test_data): Likewise.
1771         (remquo_test_data): Likewise.
1772         (rint_test_data): Likewise.
1774         [BZ #19201]
1775         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
1776         Check for zero remainder in case of large exponents and ensure
1777         correct sign of result in that case.
1778         * math/libm-test.inc (remainder_test_data): Add more tests.
1780         [BZ #6799]
1781         * math/s_nextafter.c: Include <errno.h>.
1782         (__nextafter): Set errno on overflow and underflow.
1783         * math/s_nexttowardf.c: Include <errno.h>.
1784         (__nexttowardf): Set errno on overflow and underflow.
1785         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
1786         (__nextafterl): Set errno on overflow and underflow.
1787         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
1788         (__nexttoward): Set errno on overflow and underflow.
1789         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
1790         (__nexttowardf): Set errno on overflow and underflow.
1791         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
1792         (__nextafterf): Set errno on overflow and underflow.
1793         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
1794         (__nextafterl): Set errno on overflow and underflow.
1795         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
1796         (__nexttoward): Set errno on overflow and underflow.
1797         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
1798         (__nexttowardf): Set errno on overflow and underflow.
1799         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
1800         (__nextafterl): Set errno on overflow and underflow.
1801         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
1802         (__nexttoward): Set errno on overflow and underflow.
1803         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
1804         (__nexttowardf): Set errno on overflow and underflow.
1805         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
1806         (__nexttoward): Set errno on overflow and underflow.
1807         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
1808         (__nexttowardf): Set errno on overflow and underflow.
1809         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
1810         (__nldbl_nexttowardf): Set errno on overflow and underflow.
1811         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
1812         (__nextafterl): Set errno on overflow and underflow.
1813         * math/libm-test.inc (nextafter_test_data): Do not allow errno
1814         setting to be missing on overflow.  Add more tests.
1815         (nexttoward_test_data): Likewise.
1817         * configure.ac (libc_cv_initfini_array): Remove configure test.
1818         * configure: Regenerated.
1820 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
1822         [BZ #19189]
1823         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
1824         non-finite argument handle arguments with negative sign.
1826         * math/libm-test.inc (j0_test_data): Do not test sign of zero
1827         result from infinite argument.
1828         (j1_test_data): Likewise.
1829         (jn_test_data): Likewise.
1830         (y0_test_data): Likewise.
1831         (y1_test_data): Likewise.
1832         (yn_test_data): Likewise.
1834         [BZ #16171]
1835         * math/w_remainder.c (drem): Define as weak alias of __remainder.
1836         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
1837         * math/w_remainderf.c (dremf): Define as weak alias of
1838         __remainderf.
1839         * math/w_remainderl.c (dreml): Define as weak alias of
1840         __remainderl.
1841         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
1842         __remainder.
1843         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
1844         __remainderf.
1845         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
1846         __remainderl.
1847         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
1848         weak alias of remainderl.
1849         * sysdeps/ieee754/ldbl-opt/w_remainder.c
1850         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
1851         alias of __remainder.
1852         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
1853         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
1854         strong alias of __remainderl.
1855         (dreml): Use long_double_symbol.
1856         * math/Makefile (libm-calls): Remove w_drem.
1857         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
1858         (CFLAGS-nldbl-drem.c): Remove variable.
1859         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
1860         * math/w_drem.c: Remove file.
1861         * math/w_dremf.c: Likewise.
1862         * math/w_dreml.c: Likewise.
1863         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
1864         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
1865         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
1867         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
1868         * sysdeps/i386/configure: Regenerated.
1869         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
1870         * sysdeps/x86_64/configure: Regenerated.
1872         * configure.ac (libc_cv_asm_protected_directive): Remove configure
1873         test.
1874         (libc_cv_visibility_attribute): Likewise.
1875         (libc_cv_protected_data): Test unconditionally.
1876         (libc_cv_broken_visibility_attribute): Remove configure test.
1877         (libc_cv_have_sdata_section): Test unconditionally.
1878         * configure: Regenerated.
1880         * include/libc-internal.h (libc_max_align_t): Remove typedef.
1881         * include/scratch_buffer.h: Include <stddef.h> instead of
1882         <libc-internal.h>.
1883         (struct scratch_buffer): Use max_align_t instead of
1884         libc_max_align_t.
1886 2015-10-29  Florian Weimer  <fweimer@redhat.com>
1888         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
1889         instead of extend_alloca.  Change control flow to avoid a goto.
1890         Remove assert which is trivially always true.
1892 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
1894         [BZ #16068]
1895         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
1896         (FE_ALL_EXCEPT_X86): New macro.
1897         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
1898         FE_ALL_EXCEPT.  Ensure precision control is included in
1899         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
1900         handle "denormal operand exception" and clear FZ and DAZ bits.
1901         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
1902         (FE_ALL_EXCEPT_X86): New macro.
1903         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
1904         FE_ALL_EXCEPT.  Ensure precision control is included in
1905         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
1906         handle "denormal operand exception" and clear FZ and DAZ bits.
1907         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
1908         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
1909         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1910         test-fenv-x87 and test-fenv-sse-2.
1911         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
1913         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
1914         * math/test-double.h (BUILD_COMPLEX): New macro.
1915         * math/test-float.h (BUILD_COMPLEX): Likewise.
1916         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
1918         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
1919         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
1920         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
1921         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
1922         instead of DBL_DENORM_MIN in comment.
1923         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
1924         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
1925         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
1926         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
1927         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
1928         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
1930 2015-10-28  Florian Weimer  <fweimer@redhat.com>
1932         [BZ# 19048]
1933         * malloc/malloc.c (struct malloc_state): Update comment.  Add
1934         attached_threads member.
1935         (main_arena): Initialize attached_threads.
1936         * malloc/arena.c (list_lock): Update comment.
1937         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
1938         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
1939         (deattach_arena): New function.
1940         (_int_new_arena): Initialize arena reference count and deattach
1941         replaced arena.
1942         (get_free_list, reused_arena): Update reference count and deattach
1943         replaced arena.
1944         (arena_thread_freeres): Update arena reference count and only put
1945         unreferenced arenas on the free list.
1947 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
1949         [BZ #19181]
1950         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
1951         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
1952         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
1953         * math/test-fenv-clear-main.c: New file.
1954         * math/test-fenv-clear.c: Likewise.
1955         * math/Makefile (tests): Add test-fenv-clear.
1956         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
1957         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1958         test-fenv-clear-sse.
1959         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
1961         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
1962         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
1963         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
1965 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1967         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
1968         static libc.
1970 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
1972         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
1973         test.
1974         * sysdeps/i386/configure: Regenerated.
1975         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
1976         test.
1977         * sysdeps/x86_64/configure: Regenerated.
1978         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
1979         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1980         memset-avx2 unconditionally instead of conditionally on
1981         [$(config-cflags-avx2) = yes].
1982         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1983         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
1984         unconditional.
1985         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
1986         * sysdeps/x86_64/multiarch/memset_chk.S
1987         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
1988         to [IS_IN (libc) && SHARED].
1990 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
1992         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
1993         configure test.
1994         * sysdeps/arm/configure: Regenerated.
1995         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
1996         Define variable if not already defined.
1998         [BZ #17404]
1999         * sysdeps/mips/atomic-machine.h
2000         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
2001         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
2002         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
2004         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
2005         unconditional.
2006         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
2007         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2008         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
2009         unconditional.
2010         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2011         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
2012         unconditional.
2013         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2014         * stdlib/setenv.c
2015         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
2016         code unconditional.
2017         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
2018         Remove conditional code.
2019         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
2020         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
2021         unconditional.
2022         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2023         code.
2024         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
2025         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
2026         unconditional.
2027         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2028         code.
2029         * sysdeps/ieee754/ldbl-128/k_tanl.c
2030         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2031         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2032         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
2033         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2034         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2035         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
2036         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
2037         unconditional.
2038         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2039         code.
2040         * sysdeps/ieee754/ldbl-96/k_tanl.c
2041         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2042         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2044         * nptl/tst-initializers1-c11.c: New file.
2045         * nptl/tst-initializers1-gnu11.c: Likewise.
2046         * nptl/Makefile (tests): Add these new tests.
2047         (CFLAGS-tst-initializers1-c11.c): New variable.
2048         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
2050         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
2051         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
2052         instead of -std=gnu99.
2053         * configure.ac (systemtap): Test with -std=gnu11 instead of
2054         -std=gnu99.
2055         * configure: Regenerated.
2056         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
2057         in compilation command in comment.
2059         * sysdeps/nptl/configure.ac: Remove file.
2060         * sysdeps/nptl/configure: Remove generated file.
2061         * configure.ac (libc_cv_forced_unwind): Do not substitute.
2062         * configure: Regenerated.
2063         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
2064         * config.make.in (have-forced-unwind): Remove variable.
2065         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
2066         unconditional.
2067         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
2068         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
2069         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
2070         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
2071         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
2072         unconditional.
2074 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2076         [BZ #19174]
2077         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
2078         .skip_lock_out_of_tbegin_retries.
2079         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2080         (__lll_lock_elision): Likewise, and respect a value of
2081         try_tbegin <= 0.
2083 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2085         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
2086         statement.
2088 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
2090         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
2091         variable.
2092         (test-xfail-ISO11/stdalign.h/conform): Likewise.
2093         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2095         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
2096         of -std=c1x -D_ISOC11_SOURCE.
2098         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
2099         * configure: Regenerated.
2100         * manual/install.texi (Tools for Compilation): Document
2101         requirement for GCC 4.7 or later.
2102         * INSTALL: Regenerated.
2104 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
2106         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
2107         on CNT to a conditional jump to 'puntdata'.
2109 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
2111         * configure.ac (libc_cv_gcc___thread): Remove configure test.
2112         (libc_cv_gcc_tls_model_attr): Likewise.
2113         * configure: Regenerated.
2115         * configure.ac (libc_cv_need_minus_P): Remove configure test.
2116         * configure: Regenerated.
2117         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
2119 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
2121         * configure.ac (old_glibc_headers): Remove configure test.
2122         * configure: Regenerated.
2123         * config.make.in (old-glibc-headers): Remove variable.
2124         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
2125         (install): Remove dependency on remove-old-headers.
2126         (headers2_0): Remove variable.
2127         (remove-old-headers): Remove rule.
2129         * configure.ac (libc_cv_dot_text): Remove configure test.
2130         (libc_cv_asm_set_directive): Use .text instead of
2131         ${libc_cv_dot_text} in configure test.
2132         * configure: Regenerated.
2134 2015-10-26  Florian Weimer  <fweimer@redhat.com>
2136         [BZ #19168]
2137         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2139 2015-10-26  Florian Weimer  <fweimer@redhat.com>
2141         * configure.ac (CXX): Clear the variable if the C++ toolchain does
2142         not support static linking.
2143         * configure: Regenerate.
2145 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
2147         * math/libm-test.inc (check_float_internal): Do not special-case
2148         errors up to 0.5 ulp.
2150         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2151         log2.
2152         * math/auto-libm-test-out: Regenerated.
2153         * math/libm-test.inc (MAX_EXP): New macro.
2154         (ilogb_test_data): Add more tests.
2155         (isfinite_test_data): Likewise.
2156         (isgreater_test_data): Likewise.
2157         (isgreaterequal_test_data): Likewise.
2158         (isinf_test_data): Likewise.
2159         (isless_test_data): Likewise.
2160         (islessequal_test_data): Likewise.
2161         (islessgreater_test_data): Likewise.
2162         (isnan_test_data): Likewise.
2163         (isnormal_test_data): Likewise.
2164         (issignaling_test_data): Likewise.
2165         (isunordered_test_data): Likewise.
2166         (j0_test_data): Likewise.
2167         (j1_test_data): Likewise.
2168         (jn_test_data): Likewise.
2169         (lgamma_test_data): Likewise.
2170         (log_test_data): Likewise.
2171         (log10_test_data): Likewise.
2172         (log1p_test_data): Likewise.
2173         (log2_test_data): Likewise.
2174         (logb_test_data): Likewise.
2175         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2177         [BZ #18611]
2178         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
2179         avoid excess range and precision on underflow.
2180         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2181         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
2182         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2183         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
2184         underflow.
2185         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2186         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2187         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
2188         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2189         * math/auto-libm-test-in: Do not allow missing errno setting for
2190         tests of j1 and jn.
2191         * math/auto-libm-test-out: Regenerated.
2193 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
2195         [BZ #15491]
2196         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
2197         floating-point environment instead of clearing all exceptions.
2198         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2199         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
2200         merging in "invalid" exceptions from frndint.
2201         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2202         * math/test-nearbyint-except.c: New file.
2203         * math/Makefile (tests): Add test-nearbyint-except.
2205 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
2207         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
2209         * sysdeps/tile/libm-test-ulps: Regenerated.
2211 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
2214         (__NR_sync_file_range2): Assume it is always defined.
2215         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2216         (__NR_sync_file_range): Assume it is always defined.
2218 2015-10-22  Andreas Schwab  <schwab@suse.de>
2220         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
2221         INTERNAL_SYSCALL_ERRNO.
2222         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2223         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
2224         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2225         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
2226         Likewise.
2227         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2229 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
2231         * io/tst-fcntl.c (fd): New static variable.
2232         (do_prepare): Open temporary file here....
2233         (do_test): ...not here.
2235         * io/ftwtest-sh: Also trap on exit to remove temporary files.
2237 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
2239         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
2240         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
2241         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
2242         Moved before "#ifdef __ASSEMBLER__".
2244 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
2246         [BZ #19156]
2247         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
2248         arguments very close to 0.
2250 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
2252         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
2253         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
2255 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
2257         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
2258         New.  Defined for GCC 5 and above when not compiling for
2259         profiling.
2260         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
2262         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
2263         Renamed to ...
2264         (CFLAGS-epoll_pwait.o): This.
2265         (CFLAGS-mmap.c): Renamed to ...
2266         (CFLAGS-mmap.o): This.
2267         (CFLAGS-mmap64.c): Renamed to ...
2268         (CFLAGS-mmap64.o): This.
2269         (CFLAGS-epoll_pwait.os): New.
2270         (CFLAGS-mmap.os): Likewise.
2271         (CFLAGS-mmap64.os): Likewise.
2272         (CFLAGS-semtimedop.os): Likewise.
2273         (CFLAGS-semtimedop.c): Renamed to ...
2274         (CFLAGS-semtimedop.o): This.
2276 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2278         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
2279         warning message.
2281 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
2283         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
2284         * Makefile ($(objpfx)c++-types-check.out): Filter out
2285         $(+gccwarn-c) instead of -Wstrict-prototypes.
2287         * io/fts.c (fts_open): Convert to prototype-style function
2288         definition.
2289         * malloc/mcheck.c (mcheck): Likewise.
2290         (mcheck_pedantic): Likewise.
2291         * posix/regexec.c (re_search_2_stub): Likewise.  Use
2292         internal_function.
2293         (re_search_internal): Likewise.
2294         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
2295         prototype-style function definition.
2296         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2297         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
2298         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
2299         (xdr_utmpptr): Likewise.
2300         (xdr_utmparr): Likewise.
2301         (xdr_utmpidle): Likewise.
2302         (xdr_utmpidleptr): Likewise.
2303         (xdr_utmpidlearr): Likewise.
2305         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
2306         log, log10 and log2.
2307         * math/auto-libm-test-out: Regenerated.
2308         * math/libm-test.inc (fmod_test_data): Add more tests.
2309         (fpclassify_test_data): Likewise.
2310         (frexp_test_data): Likewise.
2311         (hypot_test_data): Likewise.
2312         (ilogb_test_data): Likewise.
2314 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
2316         * debug/fortify_fail.c (__fortify_fail): Convert to
2317         prototype-style function definition.  Use internal_function.
2318         * libio/genops.c (save_for_backup): Convert to prototype-style
2319         function definition.
2320         * libio/wgenops.c (save_for_wbackup): Likewise.
2321         * login/grantpt.c (grantpt): Likewise.
2322         * login/ptsname.c (ptsname): Likewise.
2323         (__ptsname_r): Likewise.
2324         * login/unlockpt.c (unlockpt): Likewise.
2325         * mach/msgserver.c (__mach_msg_server): Likewise.
2326         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
2327         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
2328         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
2329         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
2330         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
2331         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
2332         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
2333         Likewise.
2334         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
2335         internal_function.
2336         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
2337         prototype-style function definition.
2338         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
2339         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
2340         (__pthread_create_2_0): Likewise.
2341         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
2342         * nptl/register-atfork.c (__register_atfork): Likewise.
2343         * posix/glob.c (glob): Likewise.
2344         * posix/regcomp.c (re_comp): Likewise.
2345         * posix/regexec.c (re_exec): Likewise.
2346         * stdlib/add_n.c [__STDC__]: Make code unconditional.
2347         [!__STDC__]: Remove conditional code.
2348         * stdlib/cmp.c [__STDC__]: Make code unconditional.
2349         [!__STDC__]: Remove conditional code.
2350         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
2351         [!__STDC__]: Remove conditional code.
2352         * stdlib/divrem.c [__STDC__]: Make code unconditional.
2353         [!__STDC__]: Remove conditional code.
2354         * stdlib/lshift.c [__STDC__]: Make code unconditional.
2355         [!__STDC__]: Remove conditional code.
2356         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
2357         [!__STDC__]: Remove conditional code.
2358         * stdlib/mul.c [__STDC__]: Make code unconditional.
2359         [!__STDC__]: Remove conditional code.
2360         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
2361         [!__STDC__]: Remove conditional code.
2362         * stdlib/rshift.c [__STDC__]: Make code unconditional.
2363         [!__STDC__]: Remove conditional code.
2364         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
2365         function definition.
2366         (STRTOF): Likewise.
2367         * stdlib/strtod_l.c (__STRTOF): Likewise.
2368         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
2369         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
2370         (__strtol_l): Likewise.
2371         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
2372         [!__STDC__]: Remove conditional code.
2373         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
2374         definition.
2375         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
2376         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2377         type.
2378         (__strcasecmp): Convert to prototype-style function definition.
2379         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
2380         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2381         type.
2382         (__strncasecmp): Convert to prototype-style function definition.
2383         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
2384         * sunrpc/xdr.c (xdr_union): Likewise.
2385         * sunrpc/xdr_array.c (xdr_array): Likewise.
2386         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
2387         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
2388         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
2389         Likewise.
2390         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
2391         Likewise.
2392         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
2393         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
2394         Likewise.
2395         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
2396         (LOCALE_PARAM_PROTO): Likewise.
2397         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
2398         argument type.
2399         (ut_argument_spec): Remove macro.
2400         (ut_argument_spec_iso): Rename to ut_argument_spec.
2401         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
2402         prototype-style function definition.
2403         (memcpy_uppcase): Likewise.
2404         (__strftime_internal): Likewise.
2405         (my_strftime): Likewise.
2406         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
2407         (LOCALE_PARAM_DECL): Likewise.
2408         [_LIBC] (LOCALE_PARAM): Include argument type.
2409         (__strptime_internal): Convert to prototype-style function
2410         definition.
2411         (strptime): Likewise.
2412         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
2413         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2414         type.
2415         (__wcscasecmp): Convert to prototype-style function definition.
2416         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
2417         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2418         type.
2419         (__wcsncasecmp): Convert to prototype-style function definition.
2421         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
2422         function definition.
2423         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2424         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2425         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
2426         * elf/dl-minimal.c (_itoa): Likewise.
2427         * hurd/hurdmalloc.c (malloc): Likewise.
2428         (free): Likewise.
2429         (realloc): Likewise.
2430         * inet/inet6_option.c (inet6_option_space): Likewise.
2431         (inet6_option_init): Likewise.
2432         (inet6_option_append): Likewise.
2433         (inet6_option_alloc): Likewise.
2434         (inet6_option_next): Likewise.
2435         (inet6_option_find): Likewise.
2436         * io/ftw.c (FTW_NAME): Likewise.
2437         (NFTW_NAME): Likewise.
2438         (NFTW_NEW_NAME): Likewise.
2439         (NFTW_OLD_NAME): Likewise.
2440         * libio/iofwide.c (_IO_fwide): Likewise.
2441         * libio/strops.c (_IO_str_init_static_internal): Likewise.
2442         (_IO_str_init_static): Likewise.
2443         (_IO_str_init_readonly): Likewise.
2444         (_IO_str_overflow): Likewise.
2445         (_IO_str_underflow): Likewise.
2446         (_IO_str_count): Likewise.
2447         (_IO_str_seekoff): Likewise.
2448         (_IO_str_pbackfail): Likewise.
2449         (_IO_str_finish): Likewise.
2450         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
2451         (_IO_wstr_overflow): Likewise.
2452         (_IO_wstr_underflow): Likewise.
2453         (_IO_wstr_count): Likewise.
2454         (_IO_wstr_seekoff): Likewise.
2455         (_IO_wstr_pbackfail): Likewise.
2456         (_IO_wstr_finish): Likewise.
2457         * locale/programs/localedef.c (normalize_codeset): Likewise.
2458         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
2459         (add_locales_to_archive): Likewise.
2460         (delete_locales_from_archive): Likewise.
2461         * malloc/malloc.c (__libc_mallinfo): Likewise.
2462         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
2463         * misc/tsearch.c (__tfind): Likewise.
2464         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
2465         * nptl/pthread_attr_getdetachstate.c
2466         (__pthread_attr_getdetachstate): Likewise.
2467         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
2468         Likewise.
2469         * nptl/pthread_attr_getinheritsched.c
2470         (__pthread_attr_getinheritsched): Likewise.
2471         * nptl/pthread_attr_getschedparam.c
2472         (__pthread_attr_getschedparam): Likewise.
2473         * nptl/pthread_attr_getschedpolicy.c
2474         (__pthread_attr_getschedpolicy): Likewise.
2475         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
2476         Likewise.
2477         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
2478         Likewise.
2479         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
2480         Likewise.
2481         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
2482         Likewise.
2483         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
2484         (__pthread_attr_init_2_0): Likewise.
2485         * nptl/pthread_attr_setdetachstate.c
2486         (__pthread_attr_setdetachstate): Likewise.
2487         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
2488         Likewise.
2489         * nptl/pthread_attr_setinheritsched.c
2490         (__pthread_attr_setinheritsched): Likewise.
2491         * nptl/pthread_attr_setschedparam.c
2492         (__pthread_attr_setschedparam): Likewise.
2493         * nptl/pthread_attr_setschedpolicy.c
2494         (__pthread_attr_setschedpolicy): Likewise.
2495         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
2496         Likewise.
2497         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
2498         Likewise.
2499         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
2500         Likewise.
2501         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
2502         Likewise.
2503         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
2504         Likewise.
2505         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
2506         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
2507         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
2508         use internal_function.
2509         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
2510         prototype-style function definition.
2511         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
2512         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
2513         internal_function.
2514         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
2515         Convert to prototype-style function definition.
2516         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2517         Likewise.
2518         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
2519         Likewise.
2520         (__pthread_mutex_unlock): Likewise.
2521         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
2522         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
2523         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
2524         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
2525         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
2526         * nss/makedb.c (process_input): Likewise.
2527         * posix/fnmatch.c (__strchrnul): Likewise.
2528         (__wcschrnul): Likewise.
2529         (fnmatch): Likewise.
2530         * posix/fnmatch_loop.c (FCT): Likewise.
2531         * posix/glob.c (globfree): Likewise.
2532         (__glob_pattern_type): Likewise.
2533         (__glob_pattern_p): Likewise.
2534         * posix/regcomp.c (re_compile_pattern): Likewise.
2535         (re_set_syntax): Likewise.
2536         (re_compile_fastmap): Likewise.
2537         (regcomp): Likewise.
2538         (regerror): Likewise.
2539         (regfree): Likewise.
2540         * posix/regexec.c (regexec): Likewise.
2541         (re_match): Likewise.
2542         (re_search): Likewise.
2543         (re_match_2): Likewise.
2544         (re_search_2): Likewise.
2545         (re_search_stub): Likewise.  Use internal_function
2546         (re_copy_regs): Likewise.
2547         (re_set_registers): Convert to prototype-style function
2548         definition.
2549         (prune_impossible_nodes): Likewise.  Use internal_function.
2550         * resolv/inet_net_pton.c (inet_net_pton): Convert to
2551         prototype-style function definition.
2552         (inet_net_pton_ipv4): Likewise.
2553         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2554         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
2555         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
2556         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
2557         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
2558         Make variadic.
2559         * time/strptime_l.c (localtime_r): Convert to prototype-style
2560         function definition.
2561         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2562         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2563         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2564         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2566         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
2567         definition.
2568         (_ufc_doit_r): Likewise.
2569         * crypt/crypt_util.c (_ufc_copymem): Likewise.
2570         (_ufc_output_conversion_r): Likewise.
2571         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
2572         * inet/rcmd.c (rcmd_af): Likewise.
2573         (rcmd): Likewise.
2574         (ruserok_af): Likewise.
2575         (ruserok): Likewise.
2576         (ruserok2_sa): Likewise.
2577         (ruserok_sa): Likewise.
2578         (iruserok_af): Likewise.
2579         (iruserok): Likewise.
2580         (__ivaliduser): Likewise.
2581         (__validuser2_sa): Likewise.
2582         * inet/rexec.c (rexec_af): Likewise.
2583         (rexec): Likewise.
2584         * inet/ruserpass.c (ruserpass): Likewise.
2585         * locale/programs/xmalloc.c (xcalloc): Likewise.
2586         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
2587         * math/w_drem.c (__drem): Likewise.
2588         * math/w_dremf.c (__dremf): Likewise.
2589         * math/w_dreml.c (__dreml): Likewise.
2590         * misc/daemon.c (daemon): Likewise.
2591         * resolv/res_debug.c (p_fqnname): Likewise.
2592         * stdlib/div.c (div): Likewise.
2593         * string/memcmp.c (memcmp_bytes): Likewise.
2594         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
2595         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
2597         * crypt/cert.c (main): Convert to prototype-style function
2598         definition.
2599         * io/pipe.c (__pipe): Likewise.
2600         * io/pipe2.c (__pipe2): Likewise.
2601         * misc/futimesat.c (futimesat): Likewise.
2602         * misc/utimes.c (__utimes): Likewise.
2603         * posix/execve.c (__execve): Likewise.
2604         * posix/execvp.c (execvp): Likewise.
2605         * posix/execvpe.c (__execvpe): Likewise.
2606         * posix/fexecve.c (fexecve): Likewise.
2607         * socket/socketpair.c (socketpair): Likewise.
2608         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
2609         * stdlib/erand48.c (erand48): Likewise.
2610         * stdlib/erand48_r.c (__erand48_r): Likewise.
2611         * stdlib/jrand48.c (jrand48): Likewise.
2612         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
2613         * stdlib/lcong48.c (lcong48): Likewise.
2614         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
2615         * stdlib/nrand48.c (nrand48): Likewise.
2616         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
2617         * stdlib/seed48.c (seed48): Likewise.
2618         * stdlib/seed48_r.c (__seed48_r): Likewise.
2619         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
2620         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
2621         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
2623 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
2625         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
2626         * configure: Regenerated.
2627         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
2628         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
2629         unconditional.
2630         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2631         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2632         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2633         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
2634         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
2635         unconditional.
2636         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2638         * posix/Makefile (CFLAGS-regex.c): Remove variable.
2639         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
2641         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
2642         function definition.
2643         * crypt/crypt_util.c (__encrypt_r): Likewise.
2644         * libio/genops.c (_IO_no_init): Likewise.
2645         * libio/iofopncook.c (_IO_fopencookie): Likewise.
2646         (_IO_old_fopencookie): Likewise.
2647         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2648         * libio/iogetline.c (_IO_getline): Likewise.
2649         (_IO_getline_info): Likewise.
2650         * libio/iogetwline.c (_IO_getwline): Likewise.
2651         (_IO_getwline_info): Likewise.
2652         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
2653         * libio/vswprintf.c (_IO_vswprintf): Likewise.
2654         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
2655         (find_entry): Likewise.
2656         (iterate_table): Likewise.
2657         (lookup): Likewise.
2658         * login/forkpty.c (forkpty): Likewise.
2659         * misc/hsearch_r.c (__hsearch_r): Likewise.
2660         * misc/select.c (__select): Likewise.
2661         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
2662         Likewise.
2663         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
2664         Likewise.
2665         * nptl/old_pthread_cond_timedwait.c
2666         (__pthread_cond_timedwait_2_0): Likewise.
2667         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
2668         * nptl/pthread_barrierattr_getpshared.c
2669         (pthread_barrierattr_getpshared): Likewise.
2670         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
2671         Likewise.
2672         * nptl/pthread_mutex_setprioceiling.c
2673         (pthread_mutex_setprioceiling): Likewise.
2674         * nptl/pthread_mutexattr_getprioceiling.c
2675         (pthread_mutexattr_getprioceiling): Likewise.
2676         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
2677         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2678         Likewise.
2679         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2680         Likewise.
2681         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
2682         Likewise.
2683         * socket/recvfrom.c (__recvfrom): Likewise.
2684         * socket/sendto.c (__sendto): Likewise.
2685         * socket/setsockopt.c (__setsockopt): Likewise.
2686         * stdio-common/_itoa.c (_itoa): Likewise.
2687         * stdio-common/_itowa.c (_itowa): Likewise.
2688         * stdio-common/reg-printf.c (__register_printf_specifier):
2689         Likewise.
2690         (__register_printf_function): Likewise.
2691         * stdio-common/tempname.c (__path_search): Likewise.
2692         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
2693         * stdlib/mul_1.c (mpn_mul_1): Likewise.
2694         * stdlib/random_r.c (__initstate_r): Likewise.
2695         * stdlib/setenv.c (__add_to_environ): Likewise.
2696         * stdlib/submul_1.c (mpn_submul_1): Likewise.
2697         * streams/getpmsg.c (getpmsg): Likewise.
2698         * streams/putmsg.c (putmsg): Likewise.
2699         * streams/putpmsg.c (putpmsg): Likewise.
2700         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
2701         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
2702         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
2703         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
2704         * sunrpc/pm_getport.c (pmap_getport): Likewise.
2705         * sunrpc/svc_udp.c (cache_get): Likewise.
2706         * sunrpc/xdr_array.c (xdr_vector): Likewise.
2707         * sysdeps/mach/hurd/getcwd.c
2708         (__canonicalize_directory_name_internal): Likewise.
2709         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
2710         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
2711         * sysdeps/mach/hurd/select.c (__select): Likewise.
2712         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
2713         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
2714         * sysdeps/sparc/nptl/pthread_barrier_init.c
2715         (__pthread_barrier_init): Likewise.
2716         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
2717         (__pthread_cond_timedwait): Likewise.
2718         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
2719         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
2720         Likewise.
2721         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
2722         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
2723         Likewise.
2724         * sysvipc/semtimedop.c (semtimedop): Likewise.
2725         * time/setitimer.c (__setitimer): Likewise.
2726         * time/strftime_l.c (emacs_strftime): Likewise.
2728 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
2730         * config.make.in (have-ssp): Delete.
2731         (stack-protector): New variable.
2732         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
2733         cache test for -fstack-protector-strong.  Export stack_protector to
2734         the best ssp flag.
2735         * configure: Regenerated.
2736         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
2737         * nscd/Makefile (CFLAGS-nscd): Likewise.
2738         * resolv/Makefile (CFLAGS-libresolv): Likewise.
2740 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
2742         [BZ #19122]
2743         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
2744         attribute_hidden.
2746 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2748         [BZ #18743]
2749         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
2750         code to...
2751         (ELIDE_LOCK): ...here.
2752         (__get_new_count): New function with part of the code from
2753         __elide_lock that updates the value of adapt_count after a
2754         transaction abort.
2755         (__elided_trylock): Moved this code to...
2756         (ELIDE_TRYLOCK): ...here.
2758 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
2760         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
2761         * configure: Regenerate.
2762         * INSTALL: Regenerate.
2763         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
2764         and tweak grammar.
2766 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
2768         * login/programs/pt_chown.c: Include signal.h
2769         (main): Clear any signal mask from the parent process.
2771 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
2773         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
2774         * configure: Regenerated.
2775         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
2776         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
2777         $(gnu89-inline-CFLAGS).
2779         * configure.ac (libc_cv_asm_weak_directive): Remove configure
2780         test.
2781         (libc_cv_asm_weakext_directive): Likewise.
2782         * configure: Regenerated.
2783         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
2784         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
2785         * include/libc-symbols.h
2786         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
2787         #error.
2788         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
2789         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
2791         * sysdeps/arm/backtrace.c (__backtrace): Convert to
2792         prototype-style function definition.
2793         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
2794         * sysdeps/i386/ffs.c (__ffs): Likewise.
2795         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2796         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
2797         Likewise.
2798         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2799         Likewise.
2800         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
2801         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2802         Likewise.
2803         * sysdeps/m68k/ffs.c (__ffs): Likewise.
2804         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
2805         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
2806         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
2807         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
2808         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
2809         * sysdeps/mach/hurd/access.c (__access): Likewise.
2810         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
2811         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
2812         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
2813         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
2814         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
2815         (cthread_getspecific): Likewise.
2816         (cthread_setspecific): Likewise.
2817         (__libc_getspecific): Likewise.
2818         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
2819         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
2820         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
2821         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
2822         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
2823         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
2824         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
2825         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
2826         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
2827         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
2828         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
2829         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
2830         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
2831         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
2832         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
2833         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
2834         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
2835         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
2836         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
2837         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
2838         * sysdeps/mach/hurd/link.c (__link): Likewise.
2839         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
2840         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
2841         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
2842         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
2843         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
2844         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
2845         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
2846         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
2847         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2848         * sysdeps/mach/hurd/rename.c (rename): Likewise.
2849         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
2850         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
2851         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
2852         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
2853         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
2854         * sysdeps/mach/hurd/send.c (__send): Likewise.
2855         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
2856         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
2857         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
2858         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
2859         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
2860         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
2861         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
2862         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
2863         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
2864         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
2865         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
2866         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
2867         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
2868         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
2869         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
2870         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2871         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
2872         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
2873         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
2874         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2875         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
2876         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
2877         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
2878         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
2879         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
2880         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
2881         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
2882         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
2883         * sysdeps/posix/alarm.c (alarm): Likewise.
2884         * sysdeps/posix/cuserid.c (cuserid): Likewise.
2885         * sysdeps/posix/dirfd.c (dirfd): Likewise.
2886         * sysdeps/posix/dup.c (__dup): Likewise.
2887         * sysdeps/posix/dup2.c (__dup2): Likewise.
2888         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
2889         (main): Likewise.
2890         * sysdeps/posix/flock.c (__flock): Likewise.
2891         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
2892         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
2893         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
2894         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
2895         * sysdeps/posix/isatty.c (__isatty): Likewise.
2896         * sysdeps/posix/killpg.c (killpg): Likewise.
2897         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
2898         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
2899         * sysdeps/posix/raise.c (raise): Likewise.
2900         * sysdeps/posix/remove.c (remove): Likewise.
2901         * sysdeps/posix/rename.c (rename): Likewise.
2902         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
2903         * sysdeps/posix/seekdir.c (seekdir): Likewise.
2904         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
2905         * sysdeps/posix/sigignore.c (sigignore): Likewise.
2906         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
2907         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
2908         * sysdeps/posix/sigset.c (sigset): Likewise.
2909         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
2910         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
2911         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
2912         * sysdeps/posix/time.c (time): Likewise.
2913         * sysdeps/posix/ttyname.c (getttyname): Likewise.
2914         (ttyname): Likewise.
2915         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
2916         * sysdeps/posix/utime.c (utime): Likewise.
2917         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
2918         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
2919         Likewise.
2920         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
2921         (pthread_spin_trylock): Likewise.
2922         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
2923         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
2924         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
2925         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
2926         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
2927         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
2928         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
2929         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
2930         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
2931         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
2932         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
2933         * sysdeps/s390/ffs.c (__ffs): Likewise.
2934         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
2935         Likewise.
2936         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2937         Likewise.
2938         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
2939         Likewise.
2940         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
2941         (pthread_barrier_destroy): Likewise.
2942         * sysdeps/sparc/nptl/pthread_barrier_wait.c
2943         (__pthread_barrier_wait): Likewise.
2944         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
2945         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
2946         (__pthread_barrier_wait): Likewise.
2947         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
2948         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
2949         (memcmp_not_common_alignment): Likewise.
2950         (MEMCMP): Likewise.
2951         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
2952         (_wordcopy_fwd_dest_aligned): Likewise.
2953         (_wordcopy_bwd_aligned): Likewise.
2954         (_wordcopy_bwd_dest_aligned): Likewise.
2955         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
2956         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
2957         * sysdeps/unix/bsd/stty.c (stty): Likewise.
2958         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
2959         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
2960         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
2961         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
2962         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
2963         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
2964         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
2965         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
2966         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
2967         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
2968         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
2969         * sysdeps/unix/stime.c (stime): Likewise.
2970         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
2971         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
2972         Likewise.  Use internal_function.
2973         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
2974         Convert to prototype-style function definition.
2975         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
2976         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
2977         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
2978         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2979         Likewise.  Use internal_function.
2980         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
2981         prototype-style function definition
2982         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2983         Likewise.
2984         (__getlogin_r): Likewise.
2985         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
2986         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
2987         (__pthread_cond_broadcast): Likewise.
2988         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
2989         (__pthread_cond_destroy): Likewise.
2990         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
2991         (__pthread_cond_init): Likewise.
2992         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
2993         (__pthread_cond_signal): Likewise.
2994         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
2995         (__pthread_cond_wait): Likewise.
2996         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
2997         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
2998         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
2999         Likewise.
3000         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
3001         Likewise.
3002         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
3003         Likewise.
3004         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
3005         Likewise.
3006         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
3007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
3008         (__ftruncate64): Likewise.
3009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
3010         (truncate64): Likewise.
3011         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
3012         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
3013         (pthread_getcpuclockid): Likewise.
3014         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
3015         Likewise.
3016         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
3017         Likewise.
3018         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
3019         Likewise.
3020         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
3021         Likewise.
3022         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
3023         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
3024         (__libc_sigaction): Likewise.
3025         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
3026         Likewise.
3027         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
3028         (__sigprocmask): Likewise.
3029         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
3030         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
3031         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
3032         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
3033         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3034         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
3035         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3036         Likewise.
3037         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
3038         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
3039         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3040         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
3041         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
3042         Likewise.
3043         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
3044         (__sigprocmask): Likewise.
3045         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
3046         (cfgetispeed): Likewise.
3047         (cfsetospeed): Likewise.
3048         (cfsetispeed): Likewise.
3049         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
3050         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
3051         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3052         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
3053         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
3054         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
3055         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
3056         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
3057         Likewise.
3058         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
3059         Likewise.
3060         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
3061         Likewise.
3062         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
3063         Likewise.
3064         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
3066 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3068         sunrpc: Rewrite with explicit TLS access using __thread.
3069         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
3070         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
3071         directly.
3072         (__rpc_thread_variables): Access thread_rpc_vars directly.
3073         Eliminate redundant assignment of the tvp variable.
3075 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3077         malloc: Rewrite with explicit TLS access using __thread.
3078         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
3079         (tsd_setspecific, tsd_getspecific): Remove.
3080         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
3081         (tsd_setspecific, tsd_getspecific): Likewise.
3082         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
3083         (tsd_setspecific, tsd_getspecific): Likewise.
3084         * malloc/arena.c (thread_arena): New TLS variable.
3085         (arena_key): Remove variable.
3086         (arena_get): Use thread_arena.
3087         (arena_lookup): Remove macro.
3088         (malloc_atfork, free_atfork, ptmalloc_lock_all)
3089         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
3090         (_int_new_arena, get_free_list, reused_arena)
3091         (arena_thread_freeres): Use thread_arena.
3092         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
3093         tsd_getspecific, tsd_setspecific from safety annotations.
3094         (Allocating Cleared Space): Remove arena_lookup from safety
3095         annotations.
3097 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3099         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
3100         struct scratch_buffer instead of extend_alloca.
3102 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3104         * sysdeps/unix/sysv/linux/kernel-features.h
3105         (__ASSUME_SOCK_CLOEXEC): Remove.
3106         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
3107         (__have_paccept): Remove unused macro.
3108         * include/unistd.h (__have_sock_cloexec): Remove declaration.
3109         * misc/syslog.c (openlog_internal): Remove fallback code for
3110         !__ASSUME_SOCK_CLOEXEC.
3111         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
3112         missing SOCK_CLOEXEC.
3113         * nscd/connections.c (have_sock_cloexec): Remove definition.
3114         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
3115         * nscd/nscd_helper.c (open_socket): Remove fallback code for
3116         !__ASSUME_SOCK_CLOEXEC.
3117         * resolv/res_send.c (__have_o_nonblock): Remove definition.
3118         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
3119         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
3120         definition.
3121         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
3122         code for !__ASSUME_SOCK_CLOEXEC.
3124 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3126         [BZ #18982]
3127         * manual/stdio.texi (Variable Arguments Output): Add portability
3128         note, explaining that vfprintf clobbers the va_list pointer.
3130 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
3132         * math/libm-test.inc (fabs_test_data): Add more tests.
3133         (fdim_test_data): Likewise.
3134         (fma_test_data): Likewise.
3135         (fmax_test_data): Likewise.
3136         (fmin_test_data): Likewise.
3137         (fmod_test_data): Likewise.
3139 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
3141         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
3142         data.
3144 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
3146         * math/libm-test.inc (ceil_test_data): Add more tests and more
3147         expectations for "inexact".
3148         (floor_test_data): Add more tests.
3149         (round_test_data): Likewise.
3150         (trunc_test_data): Likewise.
3152         * crypt/cert.c (good_bye): Convert to prototype-style function
3153         definition.
3154         (get8): Likewise.
3155         (put8): Likewise.
3156         * crypt/crypt-entry.c (crypt): Likewise.
3157         (__fcrypt): Likewise.
3158         * crypt/crypt_util.c (_ufc_prbits): Likewise.
3159         (_ufc_set_bits): Likewise.
3160         (_ufc_clearmem): Likewise.
3161         (__init_des_r): Likewise.
3162         (shuffle_sb): Likewise.
3163         (shuffle_sb): Likewise.
3164         (_ufc_setup_salt_r): Likewise.
3165         (_ufc_mk_keytab_r): Likewise.
3166         (_ufc_dofinalperm_r): Likewise.
3167         (encrypt): Likewise.
3168         (__setkey_r): Likewise.
3169         (setkey): Likewise.
3170         * crypt/md5.c (md5_init_ctx): Likewise.
3171         (md5_read_ctx): Likewise.
3172         (md5_finish_ctx): Likewise.
3173         (md5_stream): Likewise.
3174         (md5_buffer): Likewise.
3175         (md5_process_bytes): Likewise.
3176         * crypt/sha256.c (__sha256_init_ctx): Likewise.
3177         (__sha256_finish_ctx): Likewise.
3178         (__sha256_process_bytes): Likewise.
3179         * crypt/sha512.c (__sha512_init_ctx): Likewise.
3180         (__sha512_finish_ctx): Likewise.
3181         (__sha512_process_bytes): Likewise.
3182         * ctype/isctype.c (__isctype): Likewise.
3183         * debug/backtrace.c (__backtrace): Likewise.
3184         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
3185         * debug/fgets_chk.c (__fgets_chk): Likewise.
3186         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
3187         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
3188         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3189         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3190         * debug/memset_chk.c (__memset_chk): Likewise.
3191         * debug/strcat_chk.c (__strcat_chk): Likewise.
3192         * debug/strncat_chk.c (__strncat_chk): Likewise.
3193         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
3194         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
3195         * dirent/dirfd.c (dirfd): Likewise.
3196         * dirent/getdents.c (__getdirentries): Likewise.
3197         * dirent/getdents64.c (getdirentries64): Likewise.
3198         * dirent/rewinddir.c (__rewinddir): Likewise.
3199         * dirent/seekdir.c (seekdir): Likewise.
3200         * dirent/telldir.c (telldir): Likewise.
3201         * elf/sln.c (makesymlinks): Likewise.
3202         (makesymlink): Likewise.
3203         * gmon/gmon.c (__moncontrol): Likewise.
3204         (__monstartup): Likewise.
3205         (write_hist): Likewise.
3206         (write_call_graph): Likewise.
3207         (write_bb_counts): Likewise.
3208         * grp/setgroups.c (setgroups): Likewise.
3209         * inet/inet_lnaof.c (inet_lnaof): Likewise.
3210         * inet/inet_net.c (inet_network): Likewise.
3211         * inet/inet_netof.c (inet_netof): Likewise.
3212         * inet/rcmd.c (rresvport_af): Likewise.
3213         (rresvport): Likewise.
3214         * io/access.c (__access): Likewise.
3215         * io/chdir.c (__chdir): Likewise.
3216         * io/chmod.c (__chmod): Likewise.
3217         * io/chown.c (__chown): Likewise.
3218         * io/close.c (__close): Likewise.
3219         * io/creat.c (creat): Likewise.
3220         * io/creat64.c (creat64): Likewise.
3221         * io/dup.c (__dup): Likewise.
3222         * io/dup2.c (__dup2): Likewise.
3223         * io/dup3.c (__dup3): Likewise.
3224         * io/euidaccess.c (__euidaccess): Likewise.
3225         * io/faccessat.c (faccessat): Likewise.
3226         * io/fchmod.c (__fchmod): Likewise.
3227         * io/fchmodat.c (fchmodat): Likewise.
3228         * io/fchown.c (__fchown): Likewise.
3229         * io/fchownat.c (fchownat): Likewise.
3230         * io/fcntl.c (__fcntl): Likewise.
3231         * io/flock.c (__flock): Likewise.
3232         * io/fts.c (fts_load): Likewise.
3233         (fts_close): Likewise.
3234         (fts_read): Likewise.
3235         (fts_set): Likewise.
3236         (fts_children): Likewise.
3237         (fts_build): Likewise.
3238         (fts_stat): Likewise.
3239         (fts_sort): Likewise.
3240         (fts_alloc): Likewise.
3241         (fts_lfree): Likewise.
3242         (fts_palloc): Likewise.
3243         (fts_padjust): Likewise.
3244         (fts_maxarglen): Likewise.
3245         (fts_safe_changedir): Likewise.
3246         * io/getwd.c (getwd): Likewise.
3247         * io/isatty.c (__isatty): Likewise.
3248         * io/lchown.c (__lchown): Likewise.
3249         * io/link.c (__link): Likewise.
3250         * io/linkat.c (linkat): Likewise.
3251         * io/lseek.c (__libc_lseek): Likewise.
3252         * io/mkdir.c (__mkdir): Likewise.
3253         * io/mkdirat.c (mkdirat): Likewise.
3254         * io/mkfifo.c (mkfifo): Likewise.
3255         * io/mkfifoat.c (mkfifoat): Likewise.
3256         * io/open.c (__libc_open): Likewise.
3257         * io/open64.c (__libc_open64): Likewise.
3258         * io/readlink.c (__readlink): Likewise.
3259         * io/readlinkat.c (readlinkat): Likewise.
3260         * io/rmdir.c (__rmdir): Likewise.
3261         * io/symlink.c (__symlink): Likewise.
3262         * io/symlinkat.c (symlinkat): Likewise.
3263         * io/ttyname.c (ttyname): Likewise.
3264         * io/ttyname_r.c (__ttyname_r): Likewise.
3265         * io/umask.c (__umask): Likewise.
3266         * io/unlink.c (__unlink): Likewise.
3267         * io/unlinkat.c (unlinkat): Likewise.
3268         * io/utime.c (utime): Likewise.
3269         * libio/clearerr.c (clearerr): Likewise.
3270         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
3271         * libio/feof.c (_IO_feof): Likewise.
3272         * libio/feof_u.c (feof_unlocked): Likewise.
3273         * libio/ferror.c (_IO_ferror): Likewise.
3274         * libio/ferror_u.c (ferror_unlocked): Likewise.
3275         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3276         * libio/fileno.c (__fileno): Likewise.
3277         * libio/fputc.c (fputc): Likewise.
3278         * libio/fputc_u.c (fputc_unlocked): Likewise.
3279         * libio/fputwc.c (fputwc): Likewise.
3280         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
3281         * libio/freopen.c (freopen): Likewise.
3282         * libio/freopen64.c (freopen64): Likewise.
3283         * libio/fseek.c (fseek): Likewise.
3284         * libio/fseeko.c (fseeko): Likewise.
3285         * libio/fseeko64.c (fseeko64): Likewise.
3286         * libio/ftello.c (__ftello): Likewise.
3287         * libio/ftello64.c (ftello64): Likewise.
3288         * libio/fwide.c (fwide): Likewise.
3289         * libio/genops.c (_IO_un_link): Likewise.
3290         (_IO_link_in): Likewise.
3291         (_IO_least_marker): Likewise.
3292         (_IO_switch_to_main_get_area): Likewise.
3293         (_IO_switch_to_backup_area): Likewise.
3294         (_IO_switch_to_get_mode): Likewise.
3295         (_IO_free_backup_area): Likewise.
3296         (_IO_switch_to_put_mode): Likewise.
3297         (__overflow): Likewise.
3298         (__underflow): Likewise.
3299         (__uflow): Likewise.
3300         (_IO_setb): Likewise.
3301         (_IO_doallocbuf): Likewise.
3302         (_IO_default_underflow): Likewise.
3303         (_IO_default_uflow): Likewise.
3304         (_IO_default_xsputn): Likewise.
3305         (_IO_sgetn): Likewise.
3306         (_IO_default_xsgetn): Likewise.
3307         (_IO_sync): Likewise.
3308         (_IO_default_setbuf): Likewise.
3309         (_IO_default_seekpos): Likewise.
3310         (_IO_default_doallocate): Likewise.
3311         (_IO_init): Likewise.
3312         (_IO_old_init): Likewise.
3313         (_IO_default_sync): Likewise.
3314         (_IO_default_finish): Likewise.
3315         (_IO_default_seekoff): Likewise.
3316         (_IO_sputbackc): Likewise.
3317         (_IO_sungetc): Likewise.
3318         (_IO_set_column): Likewise.
3319         (_IO_set_column): Likewise.
3320         (_IO_adjust_column): Likewise.
3321         (_IO_get_column): Likewise.
3322         (_IO_init_marker): Likewise.
3323         (_IO_remove_marker): Likewise.
3324         (_IO_marker_difference): Likewise.
3325         (_IO_marker_delta): Likewise.
3326         (_IO_seekmark): Likewise.
3327         (_IO_unsave_markers): Likewise.
3328         (_IO_nobackup_pbackfail): Likewise.
3329         (_IO_default_pbackfail): Likewise.
3330         (_IO_default_seek): Likewise.
3331         (_IO_default_stat): Likewise.
3332         (_IO_default_read): Likewise.
3333         (_IO_default_write): Likewise.
3334         (_IO_default_showmanyc): Likewise.
3335         (_IO_default_imbue): Likewise.
3336         (_IO_iter_next): Likewise.
3337         (_IO_iter_file): Likewise.
3338         * libio/getc.c (_IO_getc): Likewise.
3339         * libio/getwc.c (_IO_getwc): Likewise.
3340         * libio/iofclose.c (_IO_new_fclose): Likewise.
3341         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
3342         * libio/iofflush.c (_IO_fflush): Likewise.
3343         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
3344         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
3345         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
3346         * libio/iofgets.c (_IO_fgets): Likewise.
3347         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
3348         * libio/iofgetws.c (fgetws): Likewise.
3349         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3350         * libio/iofopen64.c (_IO_fopen64): Likewise.
3351         * libio/iofopncook.c (_IO_cookie_read): Likewise.
3352         (_IO_cookie_write): Likewise.
3353         (_IO_cookie_seek): Likewise.
3354         (_IO_cookie_close): Likewise.
3355         (_IO_cookie_seekoff): Likewise.
3356         (_IO_old_cookie_seek): Likewise.
3357         * libio/iofputs.c (_IO_fputs): Likewise.
3358         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
3359         * libio/iofputws.c (fputws): Likewise.
3360         * libio/iofputws_u.c (fputws_unlocked): Likewise.
3361         * libio/iofread.c (_IO_fread): Likewise.
3362         * libio/iofread_u.c (__fread_unlocked): Likewise.
3363         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
3364         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
3365         * libio/ioftell.c (_IO_ftell): Likewise.
3366         * libio/iofwrite.c (_IO_fwrite): Likewise.
3367         * libio/iogetdelim.c (_IO_getdelim): Likewise.
3368         * libio/iogets.c (_IO_gets): Likewise.
3369         * libio/iopadn.c (_IO_padn): Likewise.
3370         * libio/iopopen.c (_IO_new_proc_open): Likewise.
3371         (_IO_new_popen): Likewise.
3372         (_IO_new_proc_close): Likewise.
3373         * libio/ioputs.c (_IO_puts): Likewise.
3374         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
3375         (_IO_seekoff): Likewise.
3376         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
3377         (_IO_seekpos): Likewise.
3378         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
3379         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
3380         * libio/ioungetc.c (_IO_ungetc): Likewise.
3381         * libio/ioungetwc.c (ungetwc): Likewise.
3382         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
3383         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
3384         * libio/iowpadn.c (_IO_wpadn): Likewise.
3385         * libio/libc_fatal.c (__libc_fatal): Likewise.
3386         * libio/memstream.c (__open_memstream): Likewise.
3387         (_IO_mem_sync): Likewise.
3388         (_IO_mem_finish): Likewise.
3389         * libio/oldfileops.c (_IO_old_file_init): Likewise.
3390         (_IO_old_file_close_it): Likewise.
3391         (_IO_old_file_finish): Likewise.
3392         (_IO_old_file_fopen): Likewise.
3393         (_IO_old_file_attach): Likewise.
3394         (_IO_old_file_setbuf): Likewise.
3395         (_IO_old_do_write): Likewise.
3396         (old_do_write): Likewise.
3397         (_IO_old_file_underflow): Likewise.
3398         (_IO_old_file_overflow): Likewise.
3399         (_IO_old_file_sync): Likewise.
3400         (_IO_old_file_seekoff): Likewise.
3401         (_IO_old_file_write): Likewise.
3402         (_IO_old_file_xsputn): Likewise.
3403         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
3404         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3405         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
3406         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
3407         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3408         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
3409         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
3410         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
3411         (_IO_old_popen): Likewise.
3412         (_IO_old_proc_close): Likewise.
3413         * libio/oldpclose.c (__old_pclose): Likewise.
3414         * libio/pclose.c (__new_pclose): Likewise.
3415         * libio/peekc.c (_IO_peekc_locked): Likewise.
3416         * libio/putc.c (_IO_putc): Likewise.
3417         * libio/putc_u.c (putc_unlocked): Likewise.
3418         * libio/putchar.c (putchar): Likewise.
3419         * libio/putchar_u.c (putchar_unlocked): Likewise.
3420         * libio/putwc.c (putwc): Likewise.
3421         * libio/putwc_u.c (putwc_unlocked): Likewise.
3422         * libio/putwchar.c (putwchar): Likewise.
3423         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
3424         * libio/rewind.c (rewind): Likewise.
3425         * libio/setbuf.c (setbuf): Likewise.
3426         * libio/setlinebuf.c (setlinebuf): Likewise.
3427         * libio/vasprintf.c (_IO_vasprintf): Likewise.
3428         * libio/vscanf.c (_IO_vscanf): Likewise.
3429         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
3430         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
3431         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
3432         * libio/wgenops.c (_IO_least_wmarker): Likewise.
3433         (_IO_switch_to_main_wget_area): Likewise.
3434         (_IO_switch_to_wbackup_area): Likewise.
3435         (_IO_wsetb): Likewise.
3436         (_IO_wdefault_pbackfail): Likewise.
3437         (_IO_wdefault_finish): Likewise.
3438         (_IO_wdefault_uflow): Likewise.
3439         (__woverflow): Likewise.
3440         (__wuflow): Likewise.
3441         (__wunderflow): Likewise.
3442         (_IO_wdefault_xsputn): Likewise.
3443         (_IO_wdefault_xsgetn): Likewise.
3444         (_IO_wdoallocbuf): Likewise.
3445         (_IO_wdefault_doallocate): Likewise.
3446         (_IO_switch_to_wget_mode): Likewise.
3447         (_IO_free_wbackup_area): Likewise.
3448         (_IO_switch_to_wput_mode): Likewise.
3449         (_IO_sputbackwc): Likewise.
3450         (_IO_sungetwc): Likewise.
3451         (_IO_adjust_wcolumn): Likewise.
3452         (_IO_init_wmarker): Likewise.
3453         (_IO_wmarker_delta): Likewise.
3454         (_IO_seekwmark): Likewise.
3455         (_IO_unsave_wmarkers): Likewise.
3456         * libio/wmemstream.c (open_wmemstream): Likewise.
3457         (_IO_wmem_sync): Likewise.
3458         (_IO_wmem_finish): Likewise.
3459         * locale/nl_langinfo.c (nl_langinfo): Likewise.
3460         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
3461         * locale/programs/simple-hash.c (init_hash): Likewise.
3462         (delete_hash): Likewise.
3463         (insert_entry): Likewise.
3464         (set_entry): Likewise.
3465         (next_prime): Likewise.
3466         (is_prime): Likewise.
3467         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
3468         (xmalloc): Likewise.
3469         (xrealloc): Likewise.
3470         * locale/programs/xstrdup.c (xstrdup): Likewise.
3471         * localedata/collate-test.c (xstrcoll): Likewise.
3472         * localedata/xfrm-test.c (xstrcmp): Likewise.
3473         * login/getlogin_r.c (__getlogin_r): Likewise.
3474         * login/getpt.c (__posix_openpt): Likewise.
3475         * login/login_tty.c (login_tty): Likewise.
3476         * login/setlogin.c (setlogin): Likewise.
3477         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
3478         (mach_msg_destroy_port): Likewise.
3479         (mach_msg_destroy_memory): Likewise.
3480         * malloc/mcheck.c (flood): Likewise.
3481         * misc/acct.c (acct): Likewise.
3482         * misc/brk.c (__brk): Likewise.
3483         * misc/chflags.c (chflags): Likewise.
3484         * misc/chroot.c (chroot): Likewise.
3485         * misc/fchflags.c (fchflags): Likewise.
3486         * misc/fstab.c (getfsspec): Likewise.
3487         (getfsfile): Likewise.
3488         * misc/fsync.c (fsync): Likewise.
3489         * misc/ftruncate.c (__ftruncate): Likewise.
3490         * misc/ftruncate64.c (__ftruncate64): Likewise.
3491         * misc/getdomain.c (getdomainname): Likewise.
3492         (getdomainname): Likewise.
3493         * misc/gethostname.c (__gethostname): Likewise.
3494         * misc/getpass.c (getpass): Likewise.
3495         * misc/getttyent.c (skip): Likewise.
3496         (value): Likewise.
3497         * misc/gtty.c (gtty): Likewise.
3498         * misc/hsearch.c (hsearch): Likewise.
3499         (hcreate): Likewise.
3500         * misc/hsearch_r.c (__hcreate_r): Likewise.
3501         (__hdestroy_r): Likewise.
3502         * misc/ioctl.c (__ioctl): Likewise.
3503         * misc/mkdtemp.c (mkdtemp): Likewise.
3504         * misc/mkostemp.c (mkostemp): Likewise.
3505         * misc/mkostemp64.c (mkostemp64): Likewise.
3506         * misc/mkostemps.c (mkostemps): Likewise.
3507         * misc/mkostemps64.c (mkostemps64): Likewise.
3508         * misc/mkstemp.c (mkstemp): Likewise.
3509         * misc/mkstemp64.c (mkstemp64): Likewise.
3510         * misc/mkstemps.c (mkstemps): Likewise.
3511         * misc/mkstemps64.c (mkstemps64): Likewise.
3512         * misc/mktemp.c (__mktemp): Likewise.
3513         * misc/preadv.c (preadv): Likewise.
3514         * misc/preadv64.c (preadv64): Likewise.
3515         * misc/pwritev.c (pwritev): Likewise.
3516         * misc/pwritev64.c (pwritev64): Likewise.
3517         * misc/readv.c (__readv): Likewise.
3518         * misc/revoke.c (revoke): Likewise.
3519         * misc/setdomain.c (setdomainname): Likewise.
3520         * misc/setegid.c (setegid): Likewise.
3521         * misc/seteuid.c (seteuid): Likewise.
3522         * misc/sethostid.c (sethostid): Likewise.
3523         * misc/sethostname.c (sethostname): Likewise.
3524         * misc/setregid.c (__setregid): Likewise.
3525         * misc/setreuid.c (__setreuid): Likewise.
3526         * misc/sstk.c (sstk): Likewise.
3527         * misc/stty.c (stty): Likewise.
3528         * misc/syscall.c (syscall): Likewise.
3529         * misc/syslog.c (setlogmask): Likewise.
3530         * misc/truncate.c (__truncate): Likewise.
3531         * misc/truncate64.c (truncate64): Likewise.
3532         * misc/ualarm.c (ualarm): Likewise.
3533         * misc/usleep.c (usleep): Likewise.
3534         * misc/ustat.c (ustat): Likewise.
3535         * misc/writev.c (__writev): Likewise.
3536         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
3537         * nptl/old_pthread_cond_broadcast.c
3538         (__pthread_cond_broadcast_2_0): Likewise.
3539         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
3540         Likewise.
3541         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
3542         Likewise.
3543         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
3544         Likewise.
3545         * nptl/pt-raise.c (raise): Likewise.
3546         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
3547         Likewise.
3548         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
3549         * nptl/pthread_barrierattr_destroy.c
3550         (pthread_barrierattr_destroy): Likewise.
3551         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
3552         Likewise.
3553         * nptl/pthread_barrierattr_setpshared.c
3554         (pthread_barrierattr_setpshared): Likewise.
3555         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3556         Likewise.
3557         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
3558         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
3559         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
3560         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
3561         Likewise.
3562         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
3563         Likewise.
3564         * nptl/pthread_condattr_getpshared.c
3565         (pthread_condattr_getpshared): Likewise.
3566         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
3567         Likewise.
3568         * nptl/pthread_condattr_setpshared.c
3569         (pthread_condattr_setpshared): Likewise.
3570         * nptl/pthread_detach.c (pthread_detach): Likewise.
3571         * nptl/pthread_equal.c (__pthread_equal): Likewise.
3572         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
3573         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
3574         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
3575         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
3576         Likewise.
3577         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
3578         Likewise.
3579         * nptl/pthread_mutex_getprioceiling.c
3580         (pthread_mutex_getprioceiling): Likewise.
3581         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
3582         Likewise.
3583         * nptl/pthread_mutexattr_getprotocol.c
3584         (pthread_mutexattr_getprotocol): Likewise.
3585         * nptl/pthread_mutexattr_getpshared.c
3586         (pthread_mutexattr_getpshared): Likewise.
3587         * nptl/pthread_mutexattr_getrobust.c
3588         (pthread_mutexattr_getrobust): Likewise.
3589         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
3590         Likewise.
3591         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
3592         Likewise.
3593         * nptl/pthread_mutexattr_setprioceiling.c
3594         (pthread_mutexattr_setprioceiling): Likewise.
3595         * nptl/pthread_mutexattr_setprotocol.c
3596         (pthread_mutexattr_setprotocol): Likewise.
3597         * nptl/pthread_mutexattr_setpshared.c
3598         (pthread_mutexattr_setpshared): Likewise.
3599         * nptl/pthread_mutexattr_setrobust.c
3600         (pthread_mutexattr_setrobust): Likewise.
3601         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
3602         Likewise.
3603         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
3604         Likewise.
3605         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
3606         Likewise.
3607         * nptl/pthread_rwlockattr_getkind_np.c
3608         (pthread_rwlockattr_getkind_np): Likewise.
3609         * nptl/pthread_rwlockattr_getpshared.c
3610         (pthread_rwlockattr_getpshared): Likewise.
3611         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
3612         Likewise.
3613         * nptl/pthread_rwlockattr_setkind_np.c
3614         (pthread_rwlockattr_setkind_np): Likewise.
3615         * nptl/pthread_rwlockattr_setpshared.c
3616         (pthread_rwlockattr_setpshared): Likewise.
3617         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
3618         Likewise.
3619         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
3620         Likewise.
3621         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
3622         Likewise.
3623         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
3624         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
3625         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
3626         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
3627         * nptl/sem_close.c (sem_close): Likewise.
3628         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
3629         * nptl/sem_init.c (__old_sem_init): Likewise.
3630         * nptl/sigaction.c (__sigaction): Likewise.
3631         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
3632         * posix/_exit.c (_exit): Likewise.
3633         * posix/alarm.c (alarm): Likewise.
3634         * posix/confstr.c (confstr): Likewise.
3635         * posix/fpathconf.c (__fpathconf): Likewise.
3636         * posix/getgroups.c (__getgroups): Likewise.
3637         * posix/getpgid.c (__getpgid): Likewise.
3638         * posix/group_member.c (__group_member): Likewise.
3639         * posix/pathconf.c (__pathconf): Likewise.
3640         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
3641         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
3642         * posix/setgid.c (__setgid): Likewise.
3643         * posix/setpgid.c (__setpgid): Likewise.
3644         * posix/setuid.c (__setuid): Likewise.
3645         * posix/sleep.c (__sleep): Likewise.
3646         * posix/sysconf.c (__sysconf): Likewise.
3647         * posix/times.c (__times): Likewise.
3648         * posix/uname.c (__uname): Likewise.
3649         * posix/waitid.c (__waitid): Likewise.
3650         * pwd/getpw.c (__getpw): Likewise.
3651         * resolv/base64.c (b64_pton): Likewise.
3652         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
3653         * resolv/gethnamaddr.c (Dprintf): Likewise.
3654         (gethostbyname): Likewise.
3655         (gethostbyname2): Likewise.
3656         (gethostbyaddr): Likewise.
3657         (_sethtent): Likewise.
3658         (_gethtbyname): Likewise.
3659         (_gethtbyname2): Likewise.
3660         (_gethtbyaddr): Likewise.
3661         (map_v4v6_address): Likewise.
3662         (map_v4v6_hostent): Likewise.
3663         (addrsort): Likewise.
3664         (ht_sethostent): Likewise.
3665         (ht_gethostbyname): Likewise.
3666         (ht_gethostbyaddr): Likewise.
3667         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
3668         (inet_net_ntop_ipv4): Likewise.
3669         * resolv/inet_neta.c (inet_neta): Likewise.
3670         * resolv/inet_ntop.c (inet_ntop): Likewise.
3671         (inet_ntop4): Likewise.
3672         (inet_ntop6): Likewise.
3673         * resolv/inet_pton.c (__inet_pton): Likewise.
3674         (inet_pton4): Likewise.
3675         (inet_pton6): Likewise.
3676         * resolv/res_debug.c (loc_aton): Likewise.
3677         (loc_ntoa): Likewise.
3678         * resource/getpriority.c (__getpriority): Likewise.
3679         * resource/getrusage.c (__getrusage): Likewise.
3680         * resource/nice.c (nice): Likewise.
3681         * resource/setpriority.c (__setpriority): Likewise.
3682         * resource/setrlimit64.c (setrlimit64): Likewise.
3683         * resource/vlimit.c (vlimit): Likewise.
3684         * resource/vtimes.c (vtimes): Likewise.
3685         * rt/aio_error.c (aio_error): Likewise.
3686         * rt/aio_return.c (aio_return): Likewise.
3687         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
3688         * signal/kill.c (__kill): Likewise.
3689         * signal/killpg.c (killpg): Likewise.
3690         * signal/raise.c (raise): Likewise.
3691         * signal/sigaction.c (__sigaction): Likewise.
3692         * signal/sigaddset.c (sigaddset): Likewise.
3693         * signal/sigaltstack.c (sigaltstack): Likewise.
3694         * signal/sigandset.c (sigandset): Likewise.
3695         * signal/sigblock.c (__sigblock): Likewise.
3696         * signal/sigdelset.c (sigdelset): Likewise.
3697         * signal/sigempty.c (sigemptyset): Likewise.
3698         * signal/sigfillset.c (sigfillset): Likewise.
3699         * signal/sighold.c (sighold): Likewise.
3700         * signal/sigignore.c (sigignore): Likewise.
3701         * signal/sigintr.c (siginterrupt): Likewise.
3702         * signal/sigisempty.c (sigisemptyset): Likewise.
3703         * signal/sigismem.c (sigismember): Likewise.
3704         * signal/signal.c (signal): Likewise.
3705         * signal/sigorset.c (sigorset): Likewise.
3706         * signal/sigpause.c (__sigpause): Likewise.
3707         * signal/sigpending.c (sigpending): Likewise.
3708         * signal/sigprocmask.c (__sigprocmask): Likewise.
3709         * signal/sigrelse.c (sigrelse): Likewise.
3710         * signal/sigreturn.c (__sigreturn): Likewise.
3711         * signal/sigset.c (sigset): Likewise.
3712         * signal/sigsetmask.c (__sigsetmask): Likewise.
3713         * signal/sigstack.c (sigstack): Likewise.
3714         * signal/sigsuspend.c (__sigsuspend): Likewise.
3715         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
3716         * signal/sysv_signal.c (__sysv_signal): Likewise.
3717         * socket/accept.c (accept): Likewise.
3718         * socket/accept4.c (__libc_accept4): Likewise.
3719         * socket/bind.c (__bind): Likewise.
3720         * socket/connect.c (__connect): Likewise.
3721         * socket/getpeername.c (getpeername): Likewise.
3722         * socket/getsockname.c (__getsockname): Likewise.
3723         * socket/getsockopt.c (getsockopt): Likewise.
3724         * socket/listen.c (__listen): Likewise.
3725         * socket/recv.c (__recv): Likewise.
3726         * socket/recvmsg.c (__recvmsg): Likewise.
3727         * socket/send.c (__send): Likewise.
3728         * socket/sendmsg.c (__sendmsg): Likewise.
3729         * socket/shutdown.c (shutdown): Likewise.
3730         * socket/sockatmark.c (sockatmark): Likewise.
3731         * socket/socket.c (__socket): Likewise.
3732         * stdio-common/ctermid.c (ctermid): Likewise.
3733         * stdio-common/cuserid.c (cuserid): Likewise.
3734         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
3735         * stdio-common/remove.c (remove): Likewise.
3736         * stdio-common/rename.c (rename): Likewise.
3737         * stdio-common/renameat.c (renameat): Likewise.
3738         * stdio-common/tempname.c (__gen_tempname): Likewise.
3739         * stdio-common/xbug.c (InitBuffer): Likewise.
3740         (AppendToBuffer): Likewise.
3741         (ReadFile): Likewise.
3742         * stdlib/a64l.c (a64l): Likewise.
3743         * stdlib/drand48_r.c (drand48_r): Likewise.
3744         * stdlib/getcontext.c (getcontext): Likewise.
3745         * stdlib/getenv.c (getenv): Likewise.
3746         * stdlib/l64a.c (l64a): Likewise.
3747         * stdlib/llabs.c (llabs): Likewise.
3748         * stdlib/lldiv.c (lldiv): Likewise.
3749         * stdlib/lrand48_r.c (lrand48_r): Likewise.
3750         * stdlib/mrand48_r.c (mrand48_r): Likewise.
3751         * stdlib/putenv.c (putenv): Likewise.
3752         * stdlib/random.c (__srandom): Likewise.
3753         (__initstate): Likewise.
3754         (__setstate): Likewise.
3755         * stdlib/random_r.c (__srandom_r): Likewise.
3756         (__setstate_r): Likewise.
3757         (__random_r): Likewise.
3758         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
3759         * stdlib/setcontext.c (setcontext): Likewise.
3760         * stdlib/setenv.c (setenv): Likewise.
3761         (unsetenv): Likewise.
3762         * stdlib/srand48.c (srand48): Likewise.
3763         * stdlib/srand48_r.c (__srand48_r): Likewise.
3764         * stdlib/swapcontext.c (swapcontext): Likewise.
3765         * stdlib/system.c (__libc_system): Likewise.
3766         * stdlib/tst-strtod.c (expand): Likewise.
3767         * stdlib/tst-strtol.c (expand): Likewise.
3768         * stdlib/tst-strtoll.c (expand): Likewise.
3769         * streams/fattach.c (fattach): Likewise.
3770         * streams/fdetach.c (fdetach): Likewise.
3771         * streams/getmsg.c (getmsg): Likewise.
3772         * streams/isastream.c (isastream): Likewise.
3773         * string/ffs.c (__ffs): Likewise.
3774         * string/ffsll.c (ffsll): Likewise.
3775         * string/memcmp.c (memcmp_common_alignment): Likewise.
3776         (memcmp_not_common_alignment): Likewise.
3777         (MEMCMP): Likewise.
3778         * string/memcpy.c (memcpy): Likewise.
3779         * string/memmove.c (MEMMOVE): Likewise.
3780         * string/memset.c (memset): Likewise.
3781         * string/rawmemchr.c (RAWMEMCHR): Likewise.
3782         * string/strchrnul.c (STRCHRNUL): Likewise.
3783         * string/strerror.c (strerror): Likewise.
3784         * string/strndup.c (__strndup): Likewise.
3785         * string/strverscmp.c (__strverscmp): Likewise.
3786         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
3787         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
3788         (clnttcp_freeres): Likewise.
3789         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
3790         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
3791         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
3792         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
3793         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
3794         (xdr_callhdr): Likewise.
3795         * sunrpc/rpcinfo.c (udpping): Likewise.
3796         (tcpping): Likewise.
3797         (pstatus): Likewise.
3798         (pmapdump): Likewise.
3799         (brdcst): Likewise.
3800         (deletereg): Likewise.
3801         (getprognum): Likewise.
3802         (getvers): Likewise.
3803         (get_inet_address): Likewise.
3804         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
3805         * sunrpc/svc_udp.c (svcudp_create): Likewise.
3806         (svcudp_stat): Likewise.
3807         (svcudp_recv): Likewise.
3808         (svcudp_reply): Likewise.
3809         (svcudp_getargs): Likewise.
3810         (svcudp_freeargs): Likewise.
3811         (svcudp_destroy): Likewise.
3812         * sunrpc/xdr.c (xdr_bytes): Likewise.
3813         (xdr_netobj): Likewise.
3814         (xdr_string): Likewise.
3815         (xdr_wrapstring): Likewise.
3816         * sunrpc/xdr_float.c (xdr_float): Likewise.
3817         (xdr_double): Likewise.
3818         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
3819         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
3820         * sysvipc/ftok.c (ftok): Likewise.
3821         * sysvipc/msgctl.c (msgctl): Likewise.
3822         * sysvipc/msgget.c (msgget): Likewise.
3823         * sysvipc/msgrcv.c (msgrcv): Likewise.
3824         * sysvipc/msgsnd.c (msgsnd): Likewise.
3825         * sysvipc/semget.c (semget): Likewise.
3826         * sysvipc/semop.c (semop): Likewise.
3827         * sysvipc/shmat.c (shmat): Likewise.
3828         * sysvipc/shmctl.c (shmctl): Likewise.
3829         * sysvipc/shmdt.c (shmdt): Likewise.
3830         * sysvipc/shmget.c (shmget): Likewise.
3831         * termios/cfmakeraw.c (cfmakeraw): Likewise.
3832         * termios/speed.c (cfgetospeed): Likewise.
3833         (cfgetispeed): Likewise.
3834         (cfsetospeed): Likewise.
3835         (cfsetispeed): Likewise.
3836         * termios/tcflow.c (tcflow): Likewise.
3837         * termios/tcflush.c (tcflush): Likewise.
3838         * termios/tcgetattr.c (__tcgetattr): Likewise.
3839         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
3840         * termios/tcgetsid.c (tcgetsid): Likewise.
3841         * termios/tcsendbrk.c (tcsendbreak): Likewise.
3842         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
3843         * time/adjtime.c (__adjtime): Likewise.
3844         * time/dysize.c (dysize): Likewise.
3845         * time/ftime.c (ftime): Likewise.
3846         * time/getitimer.c (__getitimer): Likewise.
3847         * time/gettimeofday.c (__gettimeofday): Likewise.
3848         * time/gmtime.c (__gmtime_r): Likewise.
3849         (gmtime): Likewise.
3850         * time/localtime.c (__localtime_r): Likewise.
3851         (localtime): Likewise.
3852         * time/offtime.c (__offtime): Likewise.
3853         * time/settimeofday.c (__settimeofday): Likewise.
3854         * time/stime.c (stime): Likewise.
3855         * time/strftime_l.c (tm_diff): Likewise.
3856         (iso_week_days): Likewise.
3857         * time/strptime.c (strptime): Likewise.
3858         * time/time.c (time): Likewise.
3859         * time/timespec_get.c (timespec_get): Likewise.
3860         * time/tzset.c (tzset_internal): Likewise.
3861         (compute_change): Likewise.
3862         (__tz_compute): Likewise.
3863         * wcsmbs/btowc.c (__btowc): Likewise.
3864         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
3865         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
3866         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
3867         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
3868         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
3869         * wcsmbs/wcscat.c (__wcscat): Likewise.
3870         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3871         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
3872         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
3873         * wcsmbs/wcscspn.c (wcscspn): Likewise.
3874         * wcsmbs/wcsdup.c (wcsdup): Likewise.
3875         * wcsmbs/wcslen.c (__wcslen): Likewise.
3876         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
3877         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
3878         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
3879         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
3880         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3881         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
3882         * wcsmbs/wcsspn.c (wcsspn): Likewise.
3883         * wcsmbs/wcsstr.c (wcsstr): Likewise.
3884         * wcsmbs/wcstok.c (wcstok): Likewise.
3885         * wcsmbs/wctob.c (wctob): Likewise.
3886         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
3887         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3888         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
3889         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
3890         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
3891         * wcsmbs/wmemset.c (__wmemset): Likewise.
3892         * wctype/wcfuncs.c (__towlower): Likewise.
3893         (__towupper): Likewise.
3895         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
3896         (lll_unlock_elision): Add adapt_count parameter.
3898 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
3900         * sysdeps/nptl/configure.ac: Do not give errors based on the
3901         results of top-level configure tests.
3902         * sysdeps/nptl/configure: Regenerated.
3904         * configure.ac (libc_cv_Bgroup): Remove configure test.
3905         * configure: Regenerated.
3906         * config.make.in (have-Bgroup): Remove variable.
3908         * configure.ac (sizeof_long_double): Remove configure test.
3909         * configure: Regenerated.
3910         * config.make.in (sizeof-long-double): Remove variable.
3912         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
3913         * configure: Regenerated.
3914         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
3915         variable.
3916         (exceptions): Likewise.
3917         * sysdeps/arm/configure: Regenerated.
3918         * config.make.in (exceptions): Remove variable.
3919         * Makeconfig (uses-callbacks): Use -fexceptions instead of
3920         $(exceptions).
3921         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
3922         (CFLAGS-vdprintf_chk.c): Likewise.
3923         (CFLAGS-printf_chk.c): Likewise.
3924         (CFLAGS-fprintf_chk.c): Likewise.
3925         (CFLAGS-vprintf_chk.c): Likewise.
3926         (CFLAGS-vfprintf_chk.c): Likewise.
3927         (CFLAGS-gets_chk.c): Likewise.
3928         (CFLAGS-fgets_chk.c): Likewise.
3929         (CFLAGS-fgets_u_chk.c): Likewise.
3930         (CFLAGS-fread_chk.c): Likewise.
3931         (CFLAGS-fread_u_chk.c): Likewise.
3932         (CFLAGS-wprintf_chk.c): Likewise.
3933         (CFLAGS-fwprintf_chk.c): Likewise.
3934         (CFLAGS-vwprintf_chk.c): Likewise.
3935         (CFLAGS-vfwprintf_chk.c): Likewise.
3936         (CFLAGS-fgetws_chk.c): Likewise.
3937         (CFLAGS-fgetws_u_chk.c): Likewise.
3938         * libio/Makefile (CFLAGS-fileops.c): Likewise.
3939         (CFLAGS-fputc.c): Likewise.
3940         (CFLAGS-fputwc.c): Likewise.
3941         (CFLAGS-freopen64.c): Likewise.
3942         (CFLAGS-freopen.c): Likewise.
3943         (CFLAGS-fseek.c): Likewise.
3944         (CFLAGS-fseeko64.c): Likewise.
3945         (CFLAGS-fseeko.c): Likewise.
3946         (CFLAGS-ftello64.c): Likewise.
3947         (CFLAGS-ftello.c): Likewise.
3948         (CFLAGS-fwide.c): Likewise.
3949         (CFLAGS-genops.c): Likewise.
3950         (CFLAGS-getc.c): Likewise.
3951         (CFLAGS-getchar.c): Likewise.
3952         (CFLAGS-getwc.c): Likewise.
3953         (CFLAGS-getwchar.c): Likewise.
3954         (CFLAGS-iofclose.c): Likewise.
3955         (CFLAGS-iofflush.c): Likewise.
3956         (CFLAGS-iofgetpos64.c): Likewise.
3957         (CFLAGS-iofgetpos.c): Likewise.
3958         (CFLAGS-iofgets.c): Likewise.
3959         (CFLAGS-iofgetws.c): Likewise.
3960         (CFLAGS-iofputs.c): Likewise.
3961         (CFLAGS-iofputws.c): Likewise.
3962         (CFLAGS-iofread.c): Likewise.
3963         (CFLAGS-iofsetpos64.c): Likewise.
3964         (CFLAGS-iofsetpos.c): Likewise.
3965         (CFLAGS-ioftell.c): Likewise.
3966         (CFLAGS-iofwrite.c): Likewise.
3967         (CFLAGS-iogetdelim.c): Likewise.
3968         (CFLAGS-iogetline.c): Likewise.
3969         (CFLAGS-iogets.c): Likewise.
3970         (CFLAGS-iogetwline.c): Likewise.
3971         (CFLAGS-ioputs.c): Likewise.
3972         (CFLAGS-ioseekoff.c): Likewise.
3973         (CFLAGS-ioseekpos.c): Likewise.
3974         (CFLAGS-iosetbuffer.c): Likewise.
3975         (CFLAGS-iosetvbuf.c): Likewise.
3976         (CFLAGS-ioungetc.c): Likewise.
3977         (CFLAGS-ioungetwc.c): Likewise.
3978         (CFLAGS-oldfileops.c): Likewise.
3979         (CFLAGS-oldiofclose.c): Likewise.
3980         (CFLAGS-oldiofgetpos64.c): Likewise.
3981         (CFLAGS-oldiofgetpos.c): Likewise.
3982         (CFLAGS-oldiofsetpos64.c): Likewise.
3983         (CFLAGS-oldiofsetpos.c): Likewise.
3984         (CFLAGS-peekc.c): Likewise.
3985         (CFLAGS-putc.c): Likewise.
3986         (CFLAGS-putchar.c): Likewise.
3987         (CFLAGS-putwc.c): Likewise.
3988         (CFLAGS-putwchar.c): Likewise.
3989         (CFLAGS-rewind.c): Likewise.
3990         (CFLAGS-wfileops.c): Likewise.
3991         (CFLAGS-wgenops.c): Likewise.
3992         (CFLAGS-oldiofopen.c): Likewise.
3993         (CFLAGS-iofopen.c): Likewise.
3994         (CFLAGS-iofopen64.c): Likewise.
3995         (CFLAGS-oldtmpfile.c): Likewise.
3996         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
3997         (CFLAGS-fprintf.c): Likewise.
3998         (CFLAGS-printf.c): Likewise.
3999         (CFLAGS-vfwprintf.c): Likewise.
4000         (CFLAGS-vfscanf.c): Likewise.
4001         (CFLAGS-vfwscanf.c): Likewise.
4002         (CFLAGS-fscanf.c): Likewise.
4003         (CFLAGS-scanf.c): Likewise.
4004         (CFLAGS-isoc99_vfscanf.c): Likewise.
4005         (CFLAGS-isoc99_vscanf.c): Likewise.
4006         (CFLAGS-isoc99_fscanf.c): Likewise.
4007         (CFLAGS-isoc99_scanf.c): Likewise.
4008         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
4009         (CFLAGS-isoc99_fwscanf.c): Likewise.
4010         (CFLAGS-isoc99_vwscanf.c): Likewise.
4011         (CFLAGS-isoc99_vfwscanf.c): Likewise.
4013         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
4014         after mkstemp64.
4015         * login/tst-utmp.c (do_prepare): Likewise.
4016         * rt/tst-aio.c (do_prepare): Likewise.
4017         * rt/tst-aio64.c (do_prepare): Likewise.
4019 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4021         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4022         (__lll_lock_elision): Remove adapt_count decrement...
4023         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
4024         (__lll_trylock_elision): Likewise.
4025         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
4026         (__lll_unlock_elision): ... to here. And utilize
4027         new adapt_count parameter.
4028         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
4029         (__lll_unlock_elision): Update to include adapt_count
4030         parameter.
4031         (lll_unlock_elision): Pass pointer to adapt_count
4032         variable.
4034 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4036         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
4037         Add elision adapt_count parameter to list of arguments.
4038         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
4039         (lll_unlock_elision): Update with new parameter list
4040         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
4041         (lll_unlock_elision): Likewise
4042         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
4043         (lll_unlock_elision): Likewise
4045 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4047         [BZ #19122]
4048         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
4049         attribute_hidden.
4051         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
4052         attribute_hidden.
4053         [IS_IN (rtld)] (__strdup): Likewise.
4054         [IS_IN (rtld)] (__strerror_r): Likewise.
4055         [IS_IN (rtld)] (__strsep_g): Likewise.
4056         [IS_IN (rtld)] (memchr): Likewise.
4057         [IS_IN (rtld)] (memcmp): Likewise.
4058         [IS_IN (rtld)] (memcpy): Likewise.
4059         [IS_IN (rtld)] (memmove): Likewise.
4060         [IS_IN (rtld)] (memset): Likewise.
4061         [IS_IN (rtld)] (rawmemchr): Likewise.
4062         [IS_IN (rtld)] (stpcpy): Likewise.
4063         [IS_IN (rtld)] (strchr): Likewise.
4064         [IS_IN (rtld)] (strcmp): Likewise.
4065         [IS_IN (rtld)] (strlen): Likewise.
4066         [IS_IN (rtld)] (strnlen): Likewise.
4067         [IS_IN (rtld)] (strsep): Likewise.
4069         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
4070         attribute_hidden.
4071         [IS_IN (rtld)] (__strtoul_internal): Likewise.
4073         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
4074         attribute_hidden.
4075         [IS_IN (rtld)] (__libc_sigaction): Likewise.
4077         * include/setjmp.h (__longjmp): Add attribute_hidden.
4078         [IS_IN (rtld)] (__sigsetjmp): Likewise.
4080         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
4081         Add attribute_hidden.
4083         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
4084         [IS_IN (rtld)] (__open): Likewise.
4085         [IS_IN (rtld)] (__fcntl): Likewise.
4087         * include/dirent.h (__opendirat): Add attribute_hidden.
4088         (__getdents): Likewise.
4089         (__getdents64): Likewise.
4090         (__alloc_dir): Likewise.
4091         [IS_IN (rtld)] (__closedir): Likewise.
4092         [IS_IN (rtld)] (__fdopendir): Likewise.
4093         [IS_IN (rtld)] (__readdir): Likewise.
4094         [IS_IN (rtld)] (__readdir64): Likewise.
4095         [IS_IN (rtld)] (__rewinddir): Likewise.
4097         * include/dlfcn.h (_dl_catch_error): Moved to ...
4098         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
4099         attribute_hidden.
4101         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
4102         (_itoa_word): Likewise.
4104         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
4105         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
4106         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
4107         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
4108         (_dl_higher_prime_number): Likewise.
4109         (_dl_debug_printf_c): Likewise.
4110         (_dl_signal_cerror): Likewise.
4111         (_dl_receive_error): Likewise.
4112         (_dl_reloc_bad_type): Likewise.
4113         (_dl_resolve_conflicts): Likewise.
4114         (_dl_check_all_versions): Likewise.
4115         (_dl_check_map_versions): Likewise.
4116         (_dl_sort_fini): Likewise.
4117         (_dl_debug_initialize): Likewise.
4118         (_dl_init_paths): Likewise.
4119         (_dl_show_auxv): Likewise.
4120         (_dl_next_ld_env_entry): Likewise.
4121         (_dl_important_hwcaps): Likewise.
4122         (_dl_load_cache_lookup): Likewise.
4123         (_dl_update_slotinfo): Likewise.
4124         (_dl_show_scope): Likewise.
4126         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
4127         attribute_hidden.
4128         (_wordcopy_fwd_dest_aligned): Likewise.
4129         (_wordcopy_bwd_aligned): Likewise.
4130         (_wordcopy_bwd_dest_aligned): Likewise.
4132         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4133         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
4134         Likewise.
4135         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
4136         Likewise.
4137         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
4139 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4141         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
4142         GCC 5 requirement.
4144 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
4146         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
4147         test.
4148         * sysdeps/i386/configure: Regenerated.
4149         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
4150         code unconditional.
4152         * configure.ac (libc_cv_asm_previous_directive): Remove configure
4153         test.
4154         (libc_cv_asm_popsection_directive): Likewise.
4155         * configure: Regenerated.
4156         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
4157         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
4158         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
4159         (__make_section_unallocated): Make definition unconditional.
4160         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
4161         Remove conditional definition.
4162         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
4163         (__make_section_unallocated): Likewise.
4165         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
4166         * configure: Regenerated.
4167         * config.make.in (static-libgcc): Remove variable.
4168         * Makerules (build-shlib-helper): Use -static-libgcc instead of
4169         $(static-libgcc).
4170         (build-module-helper): Likewise.
4172         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
4173         * configure: Regenerated.
4175 2015-10-15  Florian Weimer  <fweimer@redhat.com>
4177         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
4178         (struct char_buffer): New type.
4179         (char_buffer_start, char_buffer_size, char_buffer_error)
4180         (char_buffer_rewind, char_buffer_add): New functions.
4181         (ADDW): Remove macro, replaced by the char_buffer_add function.
4182         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
4183         of extend_alloca.  Make control flow more explicit.
4185 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4187         [BZ #19137]
4188         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
4189         Add -fomit-frame-pointer.
4190         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
4192 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4194         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
4195         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
4196         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
4197         only if !__GNUC_PREREQ (5,0).
4198         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
4199         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
4200         (INTERNAL_SYSCALL_NCS): Likewise.
4201         (LOADREGS_0): New macro for GCC 5.
4202         (ASMARGS_0): Likewise.
4203         (LOADREGS_1): Likewise.
4204         (ASMARGS_1): Likewise.
4205         (LOADREGS_2): Likewise.
4206         (ASMARGS_2): Likewise.
4207         (LOADREGS_3): Likewise.
4208         (ASMARGS_3): Likewise.
4209         (LOADREGS_4): Likewise.
4210         (ASMARGS_4): Likewise.
4211         (LOADREGS_5): Likewise.
4212         (ASMARGS_5): Likewise.
4213         (LOADREGS_6): Likewise.
4214         (ASMARGS_6): Likewise.
4216 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4218         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
4219         -fomit-frame-pointer.
4220         (CFLAGS-mmap64.c): Likewise.
4221         (CFLAGS-semtimedop.c): Likewise.
4222         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
4223         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
4224         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4225         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
4227 2015-10-15  Florian Weimer  <fweimer@redhat.com>
4229         [BZ #18928]
4230         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
4231         _dl_pointer_guard member.
4232         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
4233         initializer.
4234         (security_init): Always set up pointer guard.
4235         (process_envvars): Do not process LD_POINTER_GUARD.
4237 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
4239         [BZ #19134]
4240         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
4241         (.LC2): Likewise.
4242         (.LC3): Likewise.
4243         (__lround): Do not add 0.5 to integer or out-of-range arguments.
4245 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4247         [BZ #19129]
4248         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
4249         r0 and r1.
4251 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
4253         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
4255 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
4257         * include/stap-probe.h: Fix macro definition formatting.
4259 2015-10-14  Florian Weimer  <fweimer@redhat.com>
4261         [BZ #19074]
4262         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
4263         load and store num_ifs.
4265 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
4267         [BZ #18822]
4268         * sysdeps/unix/sysv/linux/sched_getaffinity.c
4269         (__sched_getaffinity_new): Add libc_hidden_proto and
4270         libc_hidden_def.
4272 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
4274         [BZ #19007]
4275         * scripts/localplt.awk: Also allow GOT references.
4276         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
4277         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
4278         with "+ REL R_386_GLOB_DAT".
4279         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
4280         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
4282 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
4284         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
4285         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4286         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
4287         Likewise.
4288         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
4289         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
4290         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
4291         INTERNAL_SYSCALLINTERNAL_SYSCALL and
4292         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4293         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
4294         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4295         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
4296         Likewise.
4297         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4299 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
4301         [BZ #19125]
4302         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
4303         <math_private.h> and <stdint.h>.
4304         (__llround): Avoid conversions to and from long long int, and
4305         subtractions, where those might raise spurious exceptions.
4306         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
4307         <math_private.h> and <stdint.h>.
4308         (__llroundf): Avoid conversions to and from long long int, and
4309         subtractions, where those might raise spurious exceptions.
4311 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
4313         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
4314         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4315         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4316         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
4317         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4318         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4319         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
4320         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
4321         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
4322         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
4323         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4324         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4325         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
4326         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4327         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4328         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
4329         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
4330         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4331         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
4332         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
4333         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
4334         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
4335         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
4336         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
4337         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
4338         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
4339         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
4340         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4341         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4342         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
4343         (__xstat64_conv): Likewise.
4344         (__xstat32_conv): Likewise.
4346 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
4348         * sysdeps/unix/sysv/linux/sysdep.h: New file.
4349         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
4350         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
4351         <sysdeps/unix/sysv/linux/sysdep.h>.
4352         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4353         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
4354         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
4355         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4356         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4357         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
4358         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
4359         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
4360         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
4361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4363         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4364         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4365         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4366         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4367         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4368         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
4369         (sysdep-dl-routines): Add sysdep.
4370         [$(subdir) == nptl] (libpthread-routines): Likewise.
4371         [$(subdir) == rt] (librt-routines): Likewise.
4372         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
4373         PIC when branching to SYSCALL_ERROR_LABEL.
4374         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
4375         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
4376         <sysdeps/unix/sysv/linux/sysdep.h>.
4377         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
4378         (SYSCALL_ERROR_ERRNO): Removed.
4379         (SYSCALL_ERROR_HANDLER): Changed to empty.
4380         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
4381         (__syscall_error): New prototype.
4382         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
4383         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
4385 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
4387         [BZ #19124]
4388         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
4389         (_dl_runtime_resolve_avx512): Make it a hidden alias of
4390         _dl_runtime_resolve_avx.
4391         (_dl_runtime_profile_avx512): Make it a hidden alias of
4392         _dl_runtime_profile_avx.
4394 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
4396         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
4397         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
4398         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
4399         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
4401         [BZ #16422]
4402         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
4403         New configure test.
4404         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
4405         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
4406         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
4407         <math_private.h> and <stdint.h>.
4408         (__llrint): Avoid conversions to long long int where those might
4409         raise spurious exceptions.
4410         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
4411         <math_private.h> and <stdint.h>.
4412         (__llrintf): Avoid conversions to long long int where those might
4413         raise spurious exceptions.
4415 2015-10-12  Andreas Schwab  <schwab@suse.de>
4417         [BZ #18969]
4418         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
4419         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
4420         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
4421         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
4422         $(gen-locales).
4423         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
4424         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
4425         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
4426         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
4427         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
4428         $(gen-locales).
4429         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
4430         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
4431         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
4432         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
4433         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
4434         ($(objpfx)tst-ftell-active-handler.out)
4435         ($(objpfx)tst-ftell-append.out)
4436         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
4437         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
4438         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
4439         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
4440         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
4441         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
4442         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
4443         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
4444         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
4445         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
4446         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
4447         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
4448         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
4449         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
4450         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
4451         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
4452         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
4453         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
4454         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
4455         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
4456         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
4457         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
4458         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
4459         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
4460         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
4461         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
4462         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
4463         $(gen-locales).
4464         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
4465         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
4466         $(gen-locales).
4467         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
4468         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
4469         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
4470         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
4471         $(gen-locales).
4472         * libio/tst_wprintf2.c (main): Use explicit locale.
4473         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
4475 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4477         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
4478         __msg_sig_post.
4479         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
4481 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
4483         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4484         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4486         * sysdeps/arm/libm-test-ulps: Regenerated.
4488         [BZ #15470]
4489         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
4491         [BZ #16399]
4492         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
4493         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
4494         and <fix-fp-int-convert-overflow.h>.
4495         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
4496         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4497         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
4498         and <fix-fp-int-convert-overflow.h>.
4499         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
4500         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4501         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
4502         <fix-fp-int-convert-overflow.h>.
4503         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
4504         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4505         * sysdeps/ieee754/dbl-64/s_lround.c: Include
4506         <fix-fp-int-convert-overflow.h>.
4507         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
4508         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4509         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
4510         and <fix-fp-int-convert-overflow.h>.
4511         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
4512         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4513         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
4514         <limits.h> and <fix-fp-int-convert-overflow.h>.
4515         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
4516         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4517         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
4518         and <fix-fp-int-convert-overflow.h>.
4519         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
4520         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4521         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
4522         and <fix-fp-int-convert-overflow.h>.
4523         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
4524         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4525         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
4527 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
4529         [BZ #18589]
4530         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
4531         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
4532         $(gen-locales).
4534 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4535             Phil Blundell <pb@pbcl.net>
4537         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
4538         * nptl/tst-cancel26.c: New file.
4539         * nptl/tst-cancel27.c: Likewise.
4541 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
4543         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
4544         __ILP32__ isn't defined.
4545         (lrint): Likewise.
4546         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
4547         (lrintf): Likewise.
4548         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
4549         (lrintl): Likewise.
4550         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
4551         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
4552         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
4554 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4556         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4557         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4559         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
4560         file.
4561         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
4562         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
4564 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
4566         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
4567         configure test.
4568         * sysdeps/i386/configure: Regenerated.
4569         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
4570         configure test.
4571         * sysdeps/x86_64/configure: Regenerated.
4572         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
4573         Make code unconditional.
4575         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
4576         test.
4577         * sysdeps/i386/configure: Regenerated.
4578         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
4579         test.
4580         * sysdeps/x86_64/configure: Regenerated.
4581         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
4582         Make code unconditional.
4583         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
4584         Likewise.
4585         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
4586         Likewise.
4587         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4588         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
4589         code unconditional.
4590         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4591         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
4592         code unconditional.
4593         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4594         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
4595         code unconditional.
4596         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
4597         code unconditional.
4598         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4599         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
4600         code unconditional.
4601         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4602         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
4603         code unconditional.
4604         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4605         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
4606         code unconditional.
4607         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4608         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
4609         code unconditional.
4610         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4611         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
4613         [BZ #19095]
4614         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
4615         mantissa to long int before shifting left.
4617 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
4619         [BZ #19094]
4620         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
4621         <limits.h>.
4622         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4623         when result overflows but exception would not result from cast.
4624         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
4625         <limits.h>.
4626         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4627         when result overflows but exception would not result from cast.
4628         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
4629         <limits.h>.
4630         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4631         when result overflows but exception would not result from cast.
4632         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
4633         <limits.h>.
4634         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4635         when result overflows but exception would not result from cast.
4636         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
4637         <limits.h>.
4638         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4639         when result overflows but exception would not result from cast.
4640         * math/libm-test.inc (lrint_test_data): Add more tests.
4641         (llrint_test_data): Likewise.
4643 2015-10-08  Roland McGrath  <roland@hack.frob.com>
4645         [BZ #18872]
4646         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
4647         Move out from under [$(run-built-tests) = yes] conditional.
4648         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
4649         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
4651 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
4653         [BZ #18589]
4654         * string/Makefile (tests): Add bug-strcoll2.
4655         (LOCALES): Add cs_CZ.UTF-8.
4656         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
4658         [BZ #18589]
4659         * string/bug-strcoll2.c: New file.
4660         * locale/categories.def: Revert commit
4661         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
4662         * locale/langinfo.h: Likewise.
4663         * locale/localeinfo.h: Likewise.
4664         * locale/C-collate.c: Likewise.
4665         * locale/programs/ld-collate.c (collate_output): Likewise.
4666         * string/strcoll_l.c (STRDIFF): Likewise.
4667         (STRCOLL): Likewise.
4668         * wcsmbs/wcscoll_l.c: Likewise.
4670 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
4672         * math/libm-test.inc (lround_test_data): Do not expect the absence
4673         of "inexact" for some tests with non-integer arguments.
4674         (llround_test_data): Likewise.
4676         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
4677         test.
4678         (libc_cv_cc_sse2avx): Likewise.
4679         * sysdeps/i386/configure: Regenerated.
4680         * sysdeps/i386/i686/multiarch/Makefile
4681         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
4682         [$(subdir) = math].
4683         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
4684         code unconditional.
4685         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
4686         Likewise.
4687         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
4688         Likewise.
4689         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
4690         Likewise.
4691         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
4692         test.
4693         (libc_cv_cc_sse2avx): Likewise.
4694         * sysdeps/x86_64/configure: Regenerated.
4695         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
4696         unconditional.
4697         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
4698         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
4699         unconditional.
4700         (_dl_runtime_profile)
4701         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
4702         conditional code.
4703         * sysdeps/x86_64/fpu/multiarch/Makefile
4704         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
4705         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
4706         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4707         * sysdeps/x86_64/fpu/multiarch/e_exp.c
4708         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4709         * sysdeps/x86_64/fpu/multiarch/e_log.c
4710         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4711         * sysdeps/x86_64/fpu/multiarch/s_atan.c
4712         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4713         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
4714         Likewise.
4715         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
4716         Likewise.
4717         * sysdeps/x86_64/fpu/multiarch/s_sin.c
4718         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4719         * sysdeps/x86_64/fpu/multiarch/s_tan.c
4720         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4721         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
4722         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
4723         (HAVE_SSE2AVX_SUPPORT): Likewise.
4725 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
4727         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
4728         instead of #pragma optimize.
4730 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
4732         [BZ #17195]
4733         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
4734         as is similarly done in systrim and _int_free already.
4736 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4738         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
4740 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
4742         [BZ #19088]
4743         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
4744         <limits.h>.
4745         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
4746         overflows but exception would not result from cast.
4747         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
4748         and <limits.h>.
4749         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
4750         overflows but exception would not result from cast.
4751         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
4752         <limits.h>.
4753         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
4754         overflows but exception would not result from cast.
4755         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
4756         <limits.h>.
4757         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
4758         overflows but exception would not result from cast.
4759         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
4760         <limits.h>.
4761         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
4762         overflows but exception would not result from cast.
4763         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
4764         <limits.h>.
4765         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
4766         overflows but exception would not result from cast.
4767         * math/libm-test.inc (lround_test_data): Add more tests.
4768         (llround_test_data): Likewise.
4770 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
4772         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
4773         (CFLAGS-ialloc.c): Ditto.
4774         (CFLAGS-scheck.c): Ditto.
4776 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
4778         [BZ #19086]
4779         * manual/filesys.texi (Storage Allocation): Fix argument order for
4780         posix_fallocate64.
4782 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
4784         [BZ #19085]
4785         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
4786         exponent below 48 inside case for non-overflowing exponent.
4787         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
4789 2015-10-07  Florian Weimer  <fweimer@redhat.com>
4791         * iconvdata/cp737.h (from_idx): Add const.
4792         * iconvdata/cp775.h (from_idx): Likewise.
4794 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
4796         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
4797         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
4798         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
4800         [BZ #19079]
4801         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
4802         file, conditioned on [!_LP64].
4803         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
4804         [!_LP64] (__lround): Do not define as function or alias.
4805         [!_LP64] (lround): Likewise.
4806         [!_LP64] (__lroundl): Likewise.
4807         [!_LP64] (lroundl): Likewise.
4808         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
4809         macro.
4810         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
4811         Likewise.
4813 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
4815         * math/libm-test.inc (lrint_test_data): Add more tests.
4816         (llrint_test_data): Likewise.
4817         (lround_test_data): Likewise.
4818         (llround_test_data): Likewise.
4820         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
4821         (llrint_test_data): Add tests used for lrint.
4823         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
4824         test.
4825         * sysdeps/i386/configure: Regenerated.
4826         * sysdeps/i386/i686/multiarch/Makefile
4827         [$(config-cflags-sse4) = yes]: Make code unconditional.
4828         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
4829         Likewise.
4830         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
4831         Likewise.
4832         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
4833         test.
4834         * sysdeps/x86_64/configure: Regenerated.
4835         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
4836         Make code unconditional.
4837         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
4838         Likewise.
4839         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
4840         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
4842         * scripts/rpm2dynsym.sh: Remove file.
4844 2015-10-06  Florian Weimer  <fweimer@redhat.com>
4846         * configure.ac (libc_cv_cxx_thread_local): Define.
4847         * configure: Regenerate.
4848         * config.make.in (have-cxx-thread_local): Define.
4849         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
4850         (LDLIBS-tst-thread_local1): Define.
4851         (tests): Add tst-thread_local1.
4852         [have-cxx-thread_local != yes] (tests-unsupported): Add
4853         tst-thread_local1.
4854         * nptl/tst-thread_local1.cc: New file.
4856 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
4858         [BZ #19078]
4859         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
4860         (u_thres): Likewise.
4861         (__expl): Determine whether to call __kernel_standard_l based on
4862         value of result, not argument.
4864         * math/libm-test.inc (scalb_test_data): Add more expectations for
4865         the "inexact" exception.
4867         [BZ #19077]
4868         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
4869         0.0L for argument 1.0L.
4871         [BZ #19076]
4872         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
4873         constant 0.0L when computing infinite result.
4875 2015-10-06  Florian Weimer  <fweimer@redhat.com>
4877         [BZ #10432]
4878         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
4879         malloc_usable_size.
4881 2015-10-06  Florian Weimer  <fweimer@redhat.com>
4883         [BZ #19018]
4884         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4885         Mangle function pointer before storing it.
4886         (__call_tls_dtors): Demangle function pointer before calling it.
4888 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4890         [BZ #19012]
4891         * iconv/gconv_db.c (gen_steps): Check for additional errors.
4892         Clean up on failure.
4894 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
4896         [BZ #19071]
4897         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
4898         long int variable to store possibly incremented high part of
4899         mantissa.
4900         * math/libm-test.inc (lround_test_data): Add tests used for
4901         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
4902         for tests requiring 64-bit long.  Do not condition tests on
4903         [TEST_FLOAT] unnecessarily.
4904         (llround_test_data): Add tests used for lround.  Add another
4905         expectation for the "inexact" exception.  Do not condition tests
4906         on [TEST_FLOAT] unnecessarily.
4908         [BZ #887]
4909         [BZ #19049]
4910         [BZ #19050]
4911         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
4912         * sysdeps/ieee754/dbl-64/e_log10.c: Include
4913         <fix-int-fp-convert-zero.h>.
4914         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4915         * sysdeps/ieee754/dbl-64/e_log2.c: Include
4916         <fix-int-fp-convert-zero.h>.
4917         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4918         * sysdeps/ieee754/dbl-64/s_erf.c: Include
4919         <fix-int-fp-convert-zero.h>.
4920         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4921         * sysdeps/ieee754/dbl-64/s_logb.c: Include
4922         <fix-int-fp-convert-zero.h>.
4923         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4924         * sysdeps/ieee754/flt-32/e_log10f.c: Include
4925         <fix-int-fp-convert-zero.h>.
4926         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4927         * sysdeps/ieee754/flt-32/e_log2f.c: Include
4928         <fix-int-fp-convert-zero.h>.
4929         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4930         * sysdeps/ieee754/flt-32/s_erff.c: Include
4931         <fix-int-fp-convert-zero.h>.
4932         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4933         * sysdeps/ieee754/flt-32/s_logbf.c: Include
4934         <fix-int-fp-convert-zero.h>.
4935         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4936         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
4937         <fix-int-fp-convert-zero.h>.
4938         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4939         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
4940         <fix-int-fp-convert-zero.h>.
4941         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4942         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
4943         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
4944         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
4945         file.
4946         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
4948 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
4950         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4952 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
4954         [BZ #19059]
4955         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
4956         overflowing computation.
4957         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4958         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
4959         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4960         Likewise.
4961         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4962         Likewise.
4963         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
4964         Likewise.
4965         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4966         Likewise.
4967         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4968         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4969         Likewise.
4970         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4971         Likewise.
4972         * math/libm-test.inc (nexttoward_test_data): Add more tests.
4974         * nss/rewrite_field.c (__nss_rewrite_field): Use
4975         internal_function.
4976         * nss/valid_field.c (__nss_valid_field): Likewise.
4977         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
4979 2015-10-02  Florian Weimer  <fweimer@redhat.com>
4981         [BZ #18724]
4982         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
4983         (__nss_invalid_field_characters, __nss_valid_field)
4984         (__nss_valid_list_field, __nss_rewrite_field): Declare.
4985         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
4986         tst-field.c: New file.
4987         * nss/Makefile (routines): Add valid_field, rewrite_field.
4988         (tests-static): Define unconditionally.
4989         (tests): Include tests-static.
4990         [build-static-nss] (tests-static): Use append.
4991         [build-static-nss] (tests): Remove modification.
4992         * nss/getent.c (print_group): Call putgrent.  Report error.
4993         (print_gshadow): Call putsgent.  Report error.
4994         (print_passwd): Call putpwent.  Report error.
4995         (print_shadow): Call putspent.  Report error.
4996         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
4997         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
4998         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
4999         name, password, directory, shell fields for valid syntax.  Rewrite
5000         GECOS field to match syntax.
5001         * pwd/Makefile (tests): Add tst-putpwent.
5002         * pwd/tst-putpwent.c: New file.
5003         * grp/putgrent.c (putgrent): Convert to ISO function definition.
5004         Check grName, grpasswd, gr_mem fields for valid syntax.
5005         Change loop variable i to size_t.
5006         * grp/Makefile (tests): Add tst-putgrent.
5007         * grp/tst-putgrent.c: New file.
5008         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
5009         valid syntax.
5010         * shadow/Makefile (tests): Add tst-putspent.
5011         * shadow/tst-putspent.c: New file.
5012         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
5013         sg_mem fields for valid syntax.
5014         * gshadow/Makefile (tests): Add tst-putsgent.
5015         * gshadow/tst-putsgent.c: New file.
5017 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5019         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
5020         assembly instructions.
5022 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5024         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
5025         prefix from operands.
5027 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
5029         [BZ #16347]
5030         [BZ #19046]
5031         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
5032         <libc-internal.h>.
5033         (MAXLGM): Do not use diagnostic control macros.
5034         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
5035         threshold for ldbl-128ibm.
5036         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
5037         instead of multiplying by log then subtracting.
5038         * math/auto-libm-test-in: Add more tests of lgamma.
5039         * math/auto-libm-test-out: Regenerated.
5041         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
5042         (TYPE_HEX_DIG): Likewise.
5043         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
5044         precisions when printing floating-point numbers.
5045         (check_float_internal): Likewise.
5047 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
5049         [BZ #16620]
5050         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
5051         of log (10) rounded downward to 48 bits.
5052         (log10_low): Use corresponding low part of log (10).
5054         [BZ #19032]
5055         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
5056         compute result as (x - x) / (x - x) not as 0 / 0.
5057         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5058         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
5060         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5061         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
5062         and expm1.
5063         * math/auto-libm-test-out: Regenerated.
5064         * math/libm-test.inc (acos_test_data): Add more tests.
5065         (asin_test_data): Likewise.
5066         (asinh_test_data): Likewise.
5067         (atan_test_data): Likewise.
5068         (atanh_test_data): Likewise.
5069         (atan2_test_data): Likewise.
5070         (cbrt_test_data): Likewise.
5071         (ceil_test_data): Likewise.
5072         (copysign_test_data): Likewise.
5073         (cos_test_data): Likewise.
5074         (cosh_test_data): Likewise.
5075         (erf_test_data): Likewise.
5076         (erfc_test_data): Likewise.
5077         (exp_test_data): Likewise.
5078         (exp10_test_data): Likewise.
5079         (exp2_test_data): Likewise.
5080         (expm1_test_data): Likewise.
5081         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5083 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
5085         [BZ #19006]
5086         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
5087         to ...
5088         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
5089         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
5090         to ...
5091         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
5092         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
5093         to ...
5094         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
5095         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
5096         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
5097         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
5098         to ...
5099         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
5100         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5101         Moved to ...
5102         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
5103         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5104         Moved to ...
5105         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
5106         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
5107         to ...
5108         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
5109         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5110         Moved to ...
5111         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
5112         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
5113         to ...
5114         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
5115         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
5116         Removed.
5117         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
5118         Likewise.
5119         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
5120         Likewise.
5121         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
5122         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
5123         Likewise.
5124         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5125         Likewise.
5126         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5127         Likewise.
5128         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5129         Likewise.
5130         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5131         Likewise.
5132         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
5133         Likewise.
5134         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
5135         Likewise.
5136         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
5137         Likewise.
5138         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
5139         Likewise.
5140         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
5141         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
5142         Likewise.
5143         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5144         Likewise.
5145         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5146         Likewise.
5147         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5148         Likewise.
5149         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
5150         Likewise.
5151         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5152         Replace ../i486/pthread_cond_timedwait.S with
5153         ../pthread_cond_timedwait.S.
5155 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
5157         * math/libm-test.inc (acos_test_data): Refine expectations for
5158         errno and "inexact" exceptions.
5159         (acosh_test_data): Likewise.
5160         (asin_test_data): Likewise.
5161         (asinh_test_data): Likewise.
5162         (atan_test_data): Likewise.
5163         (atanh_test_data): Likewise.
5164         (atan2_test_data): Likewise.
5165         (cbrt_test_data): Likewise.
5166         (ceil_test_data): Likewise.
5167         (copysign_test_data): Likewise.
5168         (cosh_test_data): Likewise.
5169         (erf_test_data): Likewise.
5170         (erfc_test_data): Likewise.
5171         (exp_test_data): Likewise.
5172         (exp10_test_data): Likewise.
5173         (exp2_test_data): Likewise.
5174         (expm1_test_data): Likewise.
5175         (fabs_test_data): Likewise.
5176         (floor_test_data): Likewise.
5177         (fma_test_data): Likewise.
5178         (fmax_test_data): Likewise.
5179         (fmin_test_data): Likewise.
5180         (fmod_test_data): Likewise.
5181         (fpclassify_test_data): Likewise.
5182         (frexp_test_data): Likewise.
5183         (hypot_test_data): Likewise.
5184         (ilogb_test_data): Likewise.
5185         (isgreater_test_data): Likewise.
5186         (isgreaterequal_test_data): Likewise.
5187         (isinf_test_data): Likewise.
5188         (isless_test_data): Likewise.
5189         (islessequal_test_data): Likewise.
5190         (islessgreater_test_data): Likewise.
5191         (isnan_test_data): Likewise.
5192         (isnormal_test_data): Likewise.
5193         (issignaling_test_data): Likewise.
5194         (isunordered_test_data): Likewise.
5195         (j0_test_data): Likewise.
5196         (j1_test_data): Likewise.
5197         (jn_test_data): Likewise.
5198         (lgamma_test_data): Likewise.
5199         (lrint_test_data): Likewise.
5200         (llrint_test_data): Likewise.
5201         (log_test_data): Likewise.
5202         (log10_test_data): Likewise.
5203         (log1p_test_data): Likewise.
5204         (log2_test_data): Likewise.
5205         (logb_test_data): Likewise.
5206         (lround_test_data): Likewise.
5207         (llround_test_data): Likewise.
5208         (modf_test_data): Likewise.
5209         (nearbyint_test_data): Likewise.
5210         (nextafter_test_data): Likewise.
5211         (nexttoward_test_data): Likewise.
5212         (pow_test_data): Likewise.
5213         (remainder_test_data): Likewise.
5214         (remquo_test_data): Likewise.
5215         (rint_test_data): Likewise.
5216         (round_test_data): Likewise.
5217         (signbit_test_data): Likewise.
5218         (sinh_test_data): Likewise.
5219         (sqrt_test_data): Likewise.
5220         (tanh_test_data): Likewise.
5221         (tgamma_test_data): Likewise.
5222         (trunc_test_data): Likewise.
5223         (y0_test_data): Likewise.
5224         (y1_test_data): Likewise.
5225         (yn_test_data): Likewise.
5226         (significand_test_data): Likewise.
5228 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
5230         * manual/filesys.texi (Storage Allocation): Document that
5231         posix_fallocate emulation fails when fd is open with O_WRONLY.
5233 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
5235         [BZ #19016]
5236         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
5237         allow more cases with X^2 + Y^2 >= 0.5.
5238         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
5239         normal element in sum instead of special-casing based on values of
5240         arguments.
5241         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
5242         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
5243         -1 as normal element in sum instead of special-casing based on
5244         values of arguments.
5245         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
5246         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
5247         (__x2y2m1): Update comment.
5248         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
5249         as normal element in sum instead of special-casing based on values
5250         of arguments.
5251         * math/s_clog.c (__clog): Handle more cases using log1p without
5252         hypot.
5253         * math/s_clog10.c (__clog10): Likewise.
5254         * math/s_clog10f.c (__clog10f): Likewise.
5255         * math/s_clog10l.c (__clog10l): Likewise.
5256         * math/s_clogf.c (__clogf): Likewise.
5257         * math/s_clogl.c (__clogl): Likewise.
5258         * math/auto-libm-test-in: Add more tests of clog and clog10.
5259         * math/auto-libm-test-out: Regenerated.
5260         * sysdeps/i386/fpu/libm-test-ulps: Update.
5261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5263 2015-09-28  Martin Sebor  <msebor@redhat.com>
5265         [BZ #18969]
5266         * string/Makefile (LOCALES): Define.
5267         (gen-locales.mk): Include.
5268         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
5269         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
5270         * string/tst-strxfrm2.c (do_test): Print the name of the locale
5271         on setlocale failure.
5273 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
5275         [BZ #18985]
5276         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
5277         (__strftime_internal): Likewise.
5278         * time/tst-strftime.c (do_bz18985): New test.
5279         (do_test): Call it.
5281 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
5283         [BZ #18956]
5284         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
5285         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
5286         extracting high part.
5287         * math/auto-libm-test-in: Add another test of pow.
5288         * math/auto-libm-test-out: Regenerated.
5289         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5291 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
5293         [BZ #18825]
5294         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
5295         New macro.
5296         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
5297         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
5298         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
5299         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
5300         DBL_NARROW_EVAL, reloading the PIC register as needed.
5301         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
5302         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
5303         FLT_NARROW_EVAL.  Use separate return path for case when first
5304         argument is NaN.
5305         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
5306         DEFINE_LDBL_MIN.
5307         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
5308         PIC register.
5309         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
5310         math_check_force_underflow_nonneg.
5311         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
5312         underflow for subnormal result.
5313         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
5314         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
5315         math_check_force_underflow_nonneg.
5316         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
5317         math_check_force_underflow.
5318         * sysdeps/x86_64/fpu/x86_64-math-asm.h
5319         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
5320         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
5321         DEFINE_LDBL_MIN.
5322         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
5323         * math/auto-libm-test-in: Add more tests of pow.
5324         * math/auto-libm-test-out: Regenerated.
5326 2015-09-25  Florian Weimer  <fweimer@redhat.com>
5328         * nss/bug17079.c (init_test_items): Add diagnostic for
5329         inconsistent entries.
5330         (test_buffer_size): Skip inconsistent entries.
5332 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
5334         [BZ #13304]
5335         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
5336         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
5337         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
5339         [BZ #13304]
5340         * sysdeps/microblaze/s_fma.c: New file.
5341         * sysdeps/microblaze/s_fmaf.c: Likewise.
5342         * sysdeps/microblaze/sfp-machine.h: Likewise.
5344 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
5346         [BZ #17250]
5347         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
5348         member.
5350 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
5352         [BZ #18803]
5353         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
5354         (MO): New macro.
5355         (__ieee754_hypot) [PIC]: Load PIC register.
5356         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
5357         DBL_NARROW_EVAL.
5358         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
5359         math_check_force_underflow_nonneg in case where result might be
5360         tiny.
5361         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5362         Likewise.
5363         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5364         Likewise.
5365         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
5366         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
5367         * math/auto-libm-test-in: Add more tests of hypot.
5368         * math/auto-libm-test-out: Regenerated.
5370 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
5372         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
5374 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
5376         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
5377         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
5378         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
5379         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
5380         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
5381         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
5382         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
5384         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
5385         LOAD_PIC_REG.
5387         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
5388         (FLT_CHECK_FORCE_UFLOW): Likewise.
5389         (DBL_CHECK_FORCE_UFLOW): Likewise.
5390         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
5391         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
5392         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
5393         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
5394         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
5395         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
5396         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
5397         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
5398         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
5399         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5400         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
5401         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
5402         (flt_min): Replace with use of DEFINE_FLT_MIN.
5403         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
5404         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
5405         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5406         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
5407         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
5408         (flt_min): Replace with use of DEFINE_FLT_MIN.
5409         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
5410         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
5411         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5412         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
5413         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
5414         (flt_min): Replace with use of DEFINE_FLT_MIN.
5415         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
5416         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
5417         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
5418         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
5419         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
5420         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
5421         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
5422         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
5423         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5424         (__atan): Use DBL_CHECK_FORCE_UFLOW.
5425         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
5426         (flt_min): Replace with use of DEFINE_FLT_MIN.
5427         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
5428         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
5429         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5430         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
5431         main computation.
5432         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
5433         (flt_min): Replace with use of DEFINE_FLT_MIN.
5434         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
5435         main computation.
5436         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
5437         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5438         (MO): New macro.
5439         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
5440         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
5441         (flt_min): Replace with use of DEFINE_FLT_MIN.
5442         (MO): New macro.
5443         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
5444         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
5445         (__log1pl): Use MO.
5447         [BZ #19003]
5448         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
5449         $(config-cflags-nofma).
5451 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5453         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5455 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
5457         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
5458         (TWO127): Likewise.
5460         * sysdeps/generic/math_private.h (fabs_tg): New macro.
5461         (min_of_type): Likewise.
5462         (math_check_force_underflow): Likewise.
5463         (math_check_force_underflow_nonneg): Likewise.
5464         (math_check_force_underflow_complex): Likewise.
5465         * math/e_exp2l.c (__ieee754_exp2l): Use
5466         math_check_force_underflow_nonneg.
5467         * math/k_casinh.c (__kernel_casinh): Likewise.
5468         * math/k_casinhf.c (__kernel_casinhf): Likewise.
5469         * math/k_casinhl.c (__kernel_casinhl): Likewise.
5470         * math/s_catan.c (__catan): Use
5471         math_check_force_underflow_complex.
5472         * math/s_catanf.c (__catanf): Likewise.
5473         * math/s_catanh.c (__catanh): Likewise.
5474         * math/s_catanhf.c (__catanhf): Likewise.
5475         * math/s_catanhl.c (__catanhl): Likewise.
5476         * math/s_catanl.c (__catanl): Likewise.
5477         * math/s_ccosh.c (__ccosh): Likewise.
5478         * math/s_ccoshf.c (__ccoshf): Likewise.
5479         * math/s_ccoshl.c (__ccoshl): Likewise.
5480         * math/s_cexp.c (__cexp): Likewise.
5481         * math/s_cexpf.c (__cexpf): Likewise.
5482         * math/s_cexpl.c (__cexpl): Likewise.
5483         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
5484         * math/s_clog10.c (__clog10): Likewise.
5485         * math/s_clog10f.c (__clog10f): Likewise.
5486         * math/s_clog10l.c (__clog10l): Likewise.
5487         * math/s_clogf.c (__clogf): Likewise.
5488         * math/s_clogl.c (__clogl): Likewise.
5489         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
5490         * math/s_csinf.c (__csinf): Likewise.
5491         * math/s_csinh.c (__csinh): Likewise.
5492         * math/s_csinhf.c (__csinhf): Likewise.
5493         * math/s_csinhl.c (__csinhl): Likewise.
5494         * math/s_csinl.c (__csinl): Likewise.
5495         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
5496         * math/s_csqrtf.c (__csqrtf): Likewise.
5497         * math/s_csqrtl.c (__csqrtl): Likewise.
5498         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
5499         * math/s_ctanf.c (__ctanf): Likewise.
5500         * math/s_ctanh.c (__ctanh): Likewise.
5501         * math/s_ctanhf.c (__ctanhf): Likewise.
5502         * math/s_ctanhl.c (__ctanhl): Likewise.
5503         * math/s_ctanl.c (__ctanl): Likewise.
5504         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
5505         instead of volatile.
5506         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
5507         math_check_force_underflow.
5508         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5509         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
5510         volatile when forcing underflow.
5511         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5512         math_check_force_underflow_nonneg.
5513         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5514         Likewise.
5515         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
5516         math_check_force_underflow.
5517         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5518         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5519         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5520         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
5521         math_check_force_underflow_nonneg.
5522         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
5523         math_check_force_underflow.
5524         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
5525         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
5526         instead of volatile.
5527         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
5528         math_check_force_underflow.
5529         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5530         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5531         math_check_force_underflow_nonneg.
5532         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
5533         math_check_force_underflow.
5534         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
5535         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5536         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
5537         math_check_force_underflow_nonneg.
5538         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5539         Likewise.
5540         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
5541         math_check_force_underflow.
5542         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5543         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
5544         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
5545         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
5546         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
5547         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
5548         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
5549         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
5550         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5551         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
5552         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
5553         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
5554         Likewise.
5555         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
5556         math_check_force_underflow_nonneg.
5557         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5558         Likewise.
5559         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
5560         math_check_force_underflow.
5561         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5562         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
5563         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5564         Likewise.
5565         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
5566         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
5567         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
5568         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
5569         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
5570         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
5571         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
5572         instead of volatile.
5573         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
5574         math_check_force_underflow.
5575         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
5576         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
5577         math_check_force_underflow.
5578         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
5579         Likewise.
5580         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5581         Use math_check_force_underflow_nonneg.
5582         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
5583         math_check_force_underflow.
5584         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
5585         Likewise.
5586         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5587         Likewise.
5588         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5589         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5590         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5591         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5592         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
5593         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5594         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
5595         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
5596         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
5597         math_check_force_underflow_nonneg.
5598         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
5599         math_check_force_underflow.
5600         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5601         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
5602         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
5603         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
5604         math_check_force_underflow_nonneg.
5605         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
5606         math_check_force_underflow.
5607         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
5608         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
5609         instead of volatile.
5610         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
5611         math_check_force_underflow.
5613         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
5614         * stdlib/strtod_l.c: Include <math_private.h>.
5615         (overflow_value): Use math_narrow_eval.
5616         (underflow_value): Likewise.
5617         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5618         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
5619         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
5620         (__ieee754_gamma_r): Likewise.
5621         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
5622         Likewise.
5623         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
5624         Likewise.
5625         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
5626         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
5627         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
5628         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
5629         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5630         (__ieee754_gammaf_r): Likewise.
5631         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
5632         Likewise.
5633         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
5634         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
5635         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
5636         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
5637         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
5638         volatile.
5639         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
5640         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
5641         math_narrow_eval.
5642         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
5643         Likewise.
5644         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5645         Likewise.
5646         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
5647         Likewise.
5648         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
5649         volatile.
5650         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
5651         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
5652         math_narrow_eval.
5653         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5654         Likewise.
5655         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5656         Likewise.
5658 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
5660         * nptl/Versions: Remove ignored symbols.
5662 2015-09-22  Florian Weimer  <fweimer@redhat.com>
5664         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
5665         * nss/Makefile (tests): Update.
5667 2015-09-22  Florian Weimer  <fweimer@redhat.com>
5669         * nss/bug18287.c: New file.
5670         * nss/Makefile (tests): Add bug18287.
5672 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5674         * mach/Versions (__mach_host_self_): Add symbol.
5676 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5678         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
5679         vm_page_size.
5681 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5683         Really fix sysdeps/i386/fpu/s_scalbn.S build
5685         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
5686         (libc: GLIBC_2_22): Remove unused version set.
5688 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
5690         * config.make.in (enable-timezone-tools): New variable.
5691         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
5692         (enable_timezone_tools): Export to generated files.
5693         * configure: Regenerate.
5694         * INSTALL: Regenerate.
5695         * manual/install.texi (--disable-timezone-tools): Document new flag.
5696         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
5697         ifeq ($(enable-timezone-tools),yes) check.
5699 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
5701         * timezone/Makefile: Revert previous change.
5703         [BZ #18980]
5704         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
5705         (DEFINE_DBL_MIN): Likewise.
5706         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
5707         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
5708         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
5709         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
5710         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
5711         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5712         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
5713         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
5714         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
5715         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5716         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
5717         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
5718         (flt_min): Replace with use of DEFINE_FLT_MIN.
5719         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
5720         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
5721         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5722         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
5723         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
5724         (flt_min): Replace with use of DEFINE_FLT_MIN.
5725         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
5726         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
5727         (flt_min): Replace with use of DEFINE_FLT_MIN.
5728         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
5729         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
5730         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
5731         (__ieee754_hypot): Use DBL_NARROW_EVAL.
5732         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
5733         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
5734         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
5735         (__ieee754_pow): Use DBL_NARROW_EVAL.
5736         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
5737         (__ieee754_powf): Use FLT_NARROW_EVAL.
5738         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
5739         (__ieee754_expf_sse2): Convert double-precision result to single
5740         precision.
5741         * sysdeps/i386/fpu/libm-test-ulps: Update.
5743 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5745         * timezone/Makefile: Ignore unused variable errors due to private.h
5746         (time_t_min) and (time_t_max).
5747         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
5748         Likewise.
5750 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
5752         [BZ #18981]
5753         * sysdeps/i386/fpu/i386-math-asm.h: New file.
5754         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
5755         (__ieee754_scalb): Use DBL_NARROW_EVAL.
5756         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
5757         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
5758         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
5759         (__scalbn): Use DBL_NARROW_EVAL.
5760         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
5761         (__scalbnf): Use FLT_NARROW_EVAL.
5763 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5765         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
5766         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
5767         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
5768         * stdio-common/printf_fp.c (___printf_fp):
5769         Use signbit to get the sign. Use isinf macro to allow inlining.
5770         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
5771         * stdio-common/printf_size.c (__printf_size): Likewise.
5773 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
5775         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
5777 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
5779         [BZ #18980]
5780         * sysdeps/generic/math_private.h: Include <float.h>.
5781         (math_narrow_eval): New macro.
5782         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
5783         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
5784         math_narrow_eval on overflowing return value.
5785         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
5786         Likewise.
5787         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5788         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
5789         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
5790         Likewise.
5791         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
5793 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5795         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
5796         * math/Makefile: Remove isinf_ns.c.
5797         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
5798         * math/multc3.c (__multc3): Likewise.
5799         * math/s_casin.c (__casin): Likewise.
5800         * math/s_casinf.c (__casinf): Likewise.
5801         * math/s_casinl.c (__casinl): Likewise.
5802         * math/s_cproj.c (__cproj): Likewise.
5803         * math/s_cprojf.c (__cprojf): Likewise.
5804         * math/s_cprojl.c (__cprofl): Likewise.
5805         * math/s_ctan.c (__ctan): Likewise.
5806         * math/s_ctanf.c (__ctanf): Likewise.
5807         * math/s_ctanh.c (__ctanh): Likewise.
5808         * math/s_ctanhf.c (__ctanhf): Likewise.
5809         * math/s_ctanhl.c (__ctanhl): Likewise.
5810         * math/s_ctanl.c (__ctanl): Likewise.
5811         * math/w_fmod.c (__fmod): Likewise.
5812         * math/w_fmodf.c (__fmodf): Likewise.
5813         * math/w_fmodl.c (_fmodl): Likewise.
5814         * math/w_remainder.c (__remainder): Likewise.
5815         * math/w_remainderf.c (__remainderf): Likewise.
5816         * math/w_remainderl.c (__remainderl): Likewise.
5817         * math/w_scalb.c (__scalb): Likewise.
5818         * math/w_scalbf.c (__scalbf): Likewise.
5819         * math/w_scalbl.c (__scalbl): Likewise.
5820         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
5821         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
5822         with isinf.
5823         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
5824         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
5825         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
5826         __isinf_nsf with isinf.
5827         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
5828         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
5829         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
5830         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
5831         with isinf.
5832         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
5833         __isinf_nsl with isinf.
5834         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
5835         with isinf.
5836         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
5837         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
5838         __isinf_nsl with isinf.
5839         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
5840         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
5841         with isinf.
5843 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5845         * resolv/base64.c (rcsid): Remove unused static.
5846         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
5847         static.  (tqpi1): Likewise.
5848         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
5849         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
5850         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
5851         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
5852         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
5853         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
5854         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
5855         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
5856         Likewise.
5858 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
5860         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
5861         <nptl/pthreadP.h>.
5862         (_longjmp_unwind): Use __libc_ptf_call.
5863         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
5865 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
5867         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
5868         * sysdeps/arm/__longjmp.S: Likewise
5870 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5872         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
5873         Use __builtin_signbit.
5874         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
5875         Use __builtin_signbitf.
5876         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
5877         Use __builtin_signbitl.
5878         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5879         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
5881 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5883         [BZ #15367]
5884         [BZ #17441]
5886         * math/Makefile: Build test-snan.c with -fsignaling-nans.
5887         * math/math.h (fpclassify): Use __builtin_fpclassify when
5888         available.  (signbit): Use __builtin_signbit(f/l).
5889         (isfinite): Use__builtin_isfinite.  (isnormal): Use
5890         __builtin_isnormal.  (isnan): Use __builtin_isnan.
5891         (isinf): Use __builtin_isinf_sign.
5893 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5895         * benchtests/Makefile: Add bench-math-inlines, link with libm.
5896         * benchtests/bench-math-inlines.c: New benchmark.
5897         * benchtests/bench-util.h: New file.
5898         * benchtests/bench-util.c: New file.
5899         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
5901 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
5903         * elf/tst-dlmopen1.c: Define TEST_SO.
5904         (do_test): Use TEST_SO.
5906         * elf/dl-load.c: Include libc-internal.h.
5907         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
5909 2015-09-18  Vincent Bernat  <vincent@bernat.im>
5911         [BZ #17887]
5912         * time/strptime_l.c (__strptime_internal): Make %z accept
5913         [+-]HH:MM time zones.
5915 2015-09-18  Vincent Bernat  <vincent@bernat.im>
5917         [BZ #17886]
5918         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
5919         valid time zone.
5921 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
5923         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
5924         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
5925         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5926         (__ASSUME_FDATASYNC): Delete.
5928 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
5930         * conform/linknamespace.pl: Require weak undefined symbols to be
5931         in the standard namespace.
5932         (%strong_syms): Rename to %seen_syms.
5933         (%strong_seen): Rename to %seen_where.
5935 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
5937         [BZ #18970]
5938         * misc/error.c (error): Replace pthread_setcancelstate with
5939         __pthread_setcancelstate.
5940         (error_at_line): Likewise.
5941         * posix/wordexp.c (parse_comm): Likewise.
5942         * stdlib/fmtmsg.c (fmtmsg): Likewise.
5943         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
5944         (__pthread_setcancelstate): This.
5945         (pthread_setcancelstate): Add an alias.
5946         * nptl/nptl-init.c (pthread_functions): Replace
5947         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
5948         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
5949         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
5950         hidden_proto.
5951         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
5952         it with hidden_def.
5953         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
5954         (pthread_setcancelstate): Renamed to ...
5955         (__pthread_setcancelstate): This.
5956         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
5957         __libc_ptf_call with __pthread_setcancelstate.
5959 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
5960             Andreas Schwab  <schwab@suse.de>
5962         [BZ #17118]
5963         * math/s_ctan.c (__ctan): Determine sign of zero real part of
5964         result when imaginary part of argument is infinite using sine and
5965         cosine.
5966         * math/s_ctanf.c (__ctanf): Likewise.
5967         * math/s_ctanl.c (__ctanl): Likewise.
5968         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
5969         of result when real part of argument is infinite using sine and
5970         cosine.
5971         * math/s_ctanhf.c (__ctanhf): Likewise.
5972         * math/s_ctanhl.c (__ctanhl): Likewise.
5973         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
5974         (ctanh_test_data): Add more tests of ctanh.
5976 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
5978         [BZ #15384]
5979         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
5980         bit-mask as in subtraction.
5981         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
5982         Likewise.
5983         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
5984         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
5985         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
5987         [BZ #18951]
5988         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
5989         underflow exception for small results.
5990         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5991         Likewise.
5992         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5993         Likewise.
5994         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5995         Likewise.
5996         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5997         Likewise.
5998         * math/auto-libm-test-in: Add more tests of tgamma.
5999         * math/auto-libm-test-out: Regenerated.
6001 2015-09-17  Andreas Schwab  <schwab@suse.de>
6003         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
6005 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
6007         [BZ #18977]
6008         * math/bits/mathcalls.h
6009         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
6010         not declare.
6011         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
6012         Likewise.
6013         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
6014         Likewise.
6015         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
6016         Likewise.
6017         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
6018         Likewise.
6019         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
6020         Likewise.
6021         * conform/data/math.h-data
6022         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
6023         function.
6024         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
6025         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
6026         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
6027         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
6028         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
6029         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
6030         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
6031         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
6032         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
6033         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
6034         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
6036         [BZ #6803]
6037         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
6038         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
6039         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
6040         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
6041         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
6042         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
6043         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
6044         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
6045         [NO_LONG_DOUBLE] (scalbnl): Likewise.
6046         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
6047         Likewise.
6048         [NO_LONG_DOUBLE] (scalbnl): Likewise.
6049         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
6050         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
6051         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
6052         long_double_symbol calls.
6053         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
6054         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
6055         strong alias of __ldexpl.
6056         (scalbnl): Define using long_double_symbol.
6057         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
6058         Remove alias.
6059         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
6060         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
6061         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
6062         (scalbln_test_data): Add more errno expectations.
6064 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
6066         Cache the host port like we cache the task port.  This way we do not
6067         need to call the kernel just to get the port.  Furthermore, we no
6068         longer increase the reference count on every invocation of
6069         `mach_host_self'.
6071         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
6072         Protect declarations against the macro expansion.
6073         * mach/mach_init.c (__mach_host_self_): New variable.
6074         (mach_init): Initialize `__mach_host_self_'.
6075         * mach/mach_init.h (__mach_host_self_): New declaration.
6076         (__mach_host_self, mach_host_self): New macros.
6077         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
6078         Release reference.
6080 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
6082         [BZ #4404]
6083         * po/de.po: Update from Translation Project.
6085         [BZ #16415]
6086         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
6087         (__expm1l): Remove code to handle positive infinity and overflow.
6088         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
6089         variable.
6090         (__expm1l): Remove code to handle positive infinity and overflow.
6092 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
6093             Paul Pluzhnikov  <ppluzhnikov@google.com>
6095         [BZ #18872]
6096         * stdio-common/Makefile (tst-printf-bz18872): New test.
6097         (tst-printf-bz18872-mem.out): Likewise.
6098         * stdio-common/tst-printf-bz18872.sh: Generate new test.
6099         * stdio-common/vfprintf.c: Fix memory leaks.
6101 2015-09-16  Andreas Schwab  <schwab@suse.de>
6103         [BZ #17244]
6104         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
6105         Remove extra va_start/va_end calls.
6107         [BZ #17243]
6108         * posix/execl.c (execl): Add missing va_end.
6109         * posix/execle.c (execle): Likewise.
6110         * posix/execlp.c (execlp): Likewise.
6112 2015-09-15  Roland McGrath  <roland@hack.frob.com>
6114         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
6115         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
6117 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
6119         [BZ #18967]
6120         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
6121         undefine around includes of <bits/mathcalls.h>.
6122         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
6123         not declare function.
6124         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
6125         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
6126         (scalb): Likewise.
6127         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
6128         not define macro.
6129         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
6130         variable.
6131         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6132         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6133         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6135         [BZ #18857]
6136         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
6137         return non-finite argument without doing ordered comparisons on
6138         it.
6140         [BZ #16296]
6141         * math/fenv.h (fegetround): Use __attribute_pure__.
6142         * include/fenv.h (__fegetround): Likewise.
6144         [BZ #18595]
6145         * math/s_ctan.c (__ctan): Force underflow exception for results
6146         whose real or imaginary part has small absolute value.
6147         * math/s_ctanf.c (__ctanf): Likewise.
6148         * math/s_ctanh.c (__ctanh): Likewise.
6149         * math/s_ctanhf.c (__ctanhf): Likewise.
6150         * math/s_ctanhl.c (__ctanhl): Likewise.
6151         * math/s_ctanl.c (__ctanl): Likewise.
6152         * math/auto-libm-test-in: Do not allow missing underflow for ctan
6153         and ctanh.  Add more tests of ctan and ctanh.
6155         [BZ #15918]
6156         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
6157         handling of cases where one argument is an infinity.
6159         [BZ #18875]
6160         [BZ #18966]
6161         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
6162         (MO): New macro.
6163         (__ieee754_exp10): For small results, force underflow exception
6164         and remove excess range and precision from return value.
6165         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
6166         (MO): New macro.
6167         (__ieee754_exp10f): For small results, force underflow exception
6168         and remove excess range and precision from return value.
6169         * math/auto-libm-test-in: Add more tests of exp10.
6170         * math/auto-libm-test-out: Regenerated.
6172 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
6174         [BZ #18875]
6175         [BZ #18961]
6176         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
6177         (MO): New macro.
6178         (__ieee754_exp): For small results, force underflow exception and
6179         remove excess range and precision from return value.
6180         (__exp_finite): Likewise.
6181         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
6182         (MO): New macro.
6183         (__ieee754_expf): For small results, force underflow exception and
6184         remove excess range and precision from return value.
6185         (__expf_finite): Likewise.
6186         * math/auto-libm-test-in: Add more tests of exp.
6187         * math/auto-libm-test-out: Regenerated.
6189         [BZ #16521]
6190         [BZ #18875]
6191         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
6192         small results.
6193         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
6194         (MO): New macro.
6195         (__ieee754_exp2): For small results, force underflow exception and
6196         remove excess range and precision from return value.
6197         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
6198         (MO): New macro.
6199         (__ieee754_exp2f): For small results, force underflow exception
6200         and remove excess range and precision from return value.
6201         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
6202         (MO): New macro.
6203         (__ieee754_exp2l): Force underflow exception for small results.
6204         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6205         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6206         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
6207         (MO): New macro.
6208         (__ieee754_exp2l): Force underflow exception for small results.
6209         * math/auto-libm-test-in: Add more tests or exp2.
6210         * math/auto-libm-test-out: Regenerated.
6212 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
6214         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
6216         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
6217         /dev/null.
6219 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6221         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
6222         io fs process)): Drop spurious backslash.
6224 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
6226         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
6227         Use sysinfo system call instead of parsing /proc/meminfo.
6228         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
6229         Likewise.
6231 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
6233         [BZ #16985]
6234         * programs/localedef.c (main): Display argv[remaining] when
6235         output_path is NULL.
6237 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
6239         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6240         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
6241         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
6242         tanh.
6243         * math/auto-libm-test-out: Regenerated.
6244         * sysdeps/i386/fpu/libm-test-ulps: Update.
6245         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6246         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6249 2015-09-11  Roland McGrath  <roland@hack.frob.com>
6251         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
6252         Use 'override' keyword to freeze the value here, preventing
6253         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
6255 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
6257         [BZ #14912]
6258         * sysdeps/aarch64/bits/atomic.h: Move to ...
6259         * sysdeps/aarch64/atomic-machine.h: ...here.
6260         (_AARCH64_BITS_ATOMIC_H): Rename macro to
6261         _AARCH64_ATOMIC_MACHINE_H.
6262         * sysdeps/alpha/bits/atomic.h: Move to ...
6263         * sysdeps/alpha/atomic-machine.h: ...here.
6264         * sysdeps/arm/bits/atomic.h: Move to ...
6265         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
6266         * bits/atomic.h: Move to ...
6267         * sysdeps/generic/atomic-machine.h: ...here.
6268         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6269         * sysdeps/i386/bits/atomic.h: Move to ...
6270         * sysdeps/i386/atomic-machine.h: ...here.
6271         * sysdeps/ia64/bits/atomic.h: Move to ...
6272         * sysdeps/ia64/atomic-machine.h: ...here.
6273         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
6274         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
6275         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6276         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
6277         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
6278         * sysdeps/microblaze/bits/atomic.h: Move to ...
6279         * sysdeps/microblaze/atomic-machine.h: ...here.
6280         * sysdeps/mips/bits/atomic.h: Move to ...
6281         * sysdeps/mips/atomic-machine.h: ...here.
6282         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
6283         * sysdeps/powerpc/bits/atomic.h: Move to ...
6284         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
6285         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
6286         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
6287         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
6288         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
6289         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
6290         <atomic-machine.h> instead of <bits/atomic.h>.
6291         * sysdeps/s390/bits/atomic.h: Move to ...
6292         * sysdeps/s390/atomic-machine.h: ...here.
6293         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
6294         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
6295         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6296         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
6297         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
6298         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
6299         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
6300         * sysdeps/tile/bits/atomic.h: Move to ...
6301         * sysdeps/tile/atomic-machine.h: ...here.
6302         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
6303         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
6304         <sysdeps/tile/atomic-machine.h> instead of
6305         <sysdeps/tile/bits/atomic.h>.
6306         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6307         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
6308         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
6309         <sysdeps/tile/atomic-machine.h> instead of
6310         <sysdeps/tile/bits/atomic.h>.
6311         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6312         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
6313         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
6314         <sysdeps/arm/atomic-machine.h> instead of
6315         <sysdeps/arm/bits/atomic.h>.
6316         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
6317         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
6318         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6319         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
6320         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
6321         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6322         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
6323         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
6324         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
6325         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
6326         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
6327         * sysdeps/x86_64/bits/atomic.h: Move to ...
6328         * sysdeps/x86_64/atomic-machine.h: ...here.
6329         * include/atomic.h: Include <atomic-machine.h> instead of
6330         <bits/atomic.h>.
6332         * sysdeps/mips/mips32/libm-test-ulps: Update.
6333         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6335         [BZ #18952]
6336         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
6337         not convert non-integer negative arguments to int to determine the
6338         value of signgam.
6339         * math/auto-libm-test-in: Add more tests of lgamma.
6340         * math/auto-libm-test-out: Regenerated.
6342         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
6343         cosh, csqrt, erfc, expm1 and lgamma.
6344         * math/auto-libm-test-out: Regenerated.
6345         * sysdeps/i386/fpu/libm-test-ulps: Update.
6346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6348 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
6350         [BZ #2542]
6351         [BZ #2543]
6352         [BZ #2558]
6353         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
6354         __lgamma_neg for arguments from -28.0 to -2.0.
6355         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
6356         __lgamma_negf for arguments from -15.0 to -2.0.
6357         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6358         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
6359         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
6360         Call __lgamma_negl for arguments from -33.0 to -2.0.
6361         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
6362         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
6363         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
6364         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
6365         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6366         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
6367         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
6368         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
6369         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
6370         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
6371         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
6372         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
6373         (__lgamma_neg): Likewise.
6374         (__lgamma_negl): Likewise.
6375         (__lgamma_product): Likewise.
6376         (__lgamma_productl): Likewise.
6377         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
6378         * math/auto-libm-test-in: Add more tests of lgamma.
6379         * math/auto-libm-test-out: Regenerated.
6380         * sysdeps/i386/fpu/libm-test-ulps: Update.
6381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6383 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
6385         [BZ #18675]
6386         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
6388 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
6390         [BZ #14912]
6391         * bits/libc-lock.h: Move to ...
6392         * sysdeps/generic/libc-lock.h: ...here.
6393         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6394         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
6395         * sysdeps/mach/hurd/libc-lock.h: ...here.
6396         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6397         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
6398         * sysdeps/mach/bits/libc-lock.h: Move to ...
6399         * sysdeps/mach/libc-lock.h: ...here.
6400         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6401         * sysdeps/nptl/bits/libc-lock.h: Move to ...
6402         * sysdeps/nptl/libc-lock.h: ...here.
6403         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6404         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
6405         * sysdeps/nptl/libc-lockP.h: ...here.
6406         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
6407         * crypt/crypt_util.c: Include <libc-lock.h> instead of
6408         <bits/libc-lock.h>.
6409         * dirent/scandir-tail.c: Likewise.
6410         * dlfcn/dlerror.c: Likewise.
6411         * elf/dl-close.c: Likewise.
6412         * elf/dl-iteratephdr.c: Likewise.
6413         * elf/dl-lookup.c: Likewise.
6414         * elf/dl-open.c: Likewise.
6415         * elf/dl-support.c: Likewise.
6416         * elf/dl-writev.h: Likewise.
6417         * elf/rtld.c: Likewise.
6418         * grp/fgetgrent.c: Likewise.
6419         * gshadow/fgetsgent.c: Likewise.
6420         * gshadow/sgetsgent.c: Likewise.
6421         * iconv/gconv_conf.c: Likewise.
6422         * iconv/gconv_db.c: Likewise.
6423         * iconv/gconv_dl.c: Likewise.
6424         * iconv/gconv_int.h: Likewise.
6425         * iconv/gconv_trans.c: Likewise.
6426         * include/link.h: Likewise.
6427         * inet/getnameinfo.c: Likewise.
6428         * inet/getnetgrent.c: Likewise.
6429         * inet/getnetgrent_r.c: Likewise.
6430         * intl/bindtextdom.c: Likewise.
6431         * intl/dcigettext.c: Likewise.
6432         * intl/finddomain.c: Likewise.
6433         * intl/gettextP.h: Likewise.
6434         * intl/loadmsgcat.c: Likewise.
6435         * intl/localealias.c: Likewise.
6436         * intl/textdomain.c: Likewise.
6437         * libidn/idn-stub.c: Likewise.
6438         * libio/libioP.h: Likewise.
6439         * locale/duplocale.c: Likewise.
6440         * locale/freelocale.c: Likewise.
6441         * locale/newlocale.c: Likewise.
6442         * locale/setlocale.c: Likewise.
6443         * login/getutent_r.c: Likewise.
6444         * login/getutid_r.c: Likewise.
6445         * login/getutline_r.c: Likewise.
6446         * login/utmp-private.h: Likewise.
6447         * login/utmpname.c: Likewise.
6448         * malloc/mtrace.c: Likewise.
6449         * misc/efgcvt.c: Likewise.
6450         * misc/error.c: Likewise.
6451         * misc/fstab.c: Likewise.
6452         * misc/getpass.c: Likewise.
6453         * misc/mntent.c: Likewise.
6454         * misc/syslog.c: Likewise.
6455         * nis/nis_call.c: Likewise.
6456         * nis/nis_callback.c: Likewise.
6457         * nis/nss-default.c: Likewise.
6458         * nis/nss_compat/compat-grp.c: Likewise.
6459         * nis/nss_compat/compat-initgroups.c: Likewise.
6460         * nis/nss_compat/compat-pwd.c: Likewise.
6461         * nis/nss_compat/compat-spwd.c: Likewise.
6462         * nis/nss_nis/nis-alias.c: Likewise.
6463         * nis/nss_nis/nis-ethers.c: Likewise.
6464         * nis/nss_nis/nis-grp.c: Likewise.
6465         * nis/nss_nis/nis-hosts.c: Likewise.
6466         * nis/nss_nis/nis-network.c: Likewise.
6467         * nis/nss_nis/nis-proto.c: Likewise.
6468         * nis/nss_nis/nis-pwd.c: Likewise.
6469         * nis/nss_nis/nis-rpc.c: Likewise.
6470         * nis/nss_nis/nis-service.c: Likewise.
6471         * nis/nss_nis/nis-spwd.c: Likewise.
6472         * nis/nss_nisplus/nisplus-alias.c: Likewise.
6473         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
6474         * nis/nss_nisplus/nisplus-grp.c: Likewise.
6475         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
6476         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
6477         * nis/nss_nisplus/nisplus-network.c: Likewise.
6478         * nis/nss_nisplus/nisplus-proto.c: Likewise.
6479         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
6480         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
6481         * nis/nss_nisplus/nisplus-service.c: Likewise.
6482         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
6483         * nis/ypclnt.c: Likewise.
6484         * nptl/libc_pthread_init.c: Likewise.
6485         * nss/getXXbyYY.c: Likewise.
6486         * nss/getXXent.c: Likewise.
6487         * nss/getXXent_r.c: Likewise.
6488         * nss/nss_db/db-XXX.c: Likewise.
6489         * nss/nss_db/db-netgrp.c: Likewise.
6490         * nss/nss_db/nss_db.h: Likewise.
6491         * nss/nss_files/files-XXX.c: Likewise.
6492         * nss/nss_files/files-alias.c: Likewise.
6493         * nss/nsswitch.c: Likewise.
6494         * posix/regex_internal.h: Likewise.
6495         * posix/wordexp.c: Likewise.
6496         * pwd/fgetpwent.c: Likewise.
6497         * resolv/res_hconf.c: Likewise.
6498         * resolv/res_libc.c: Likewise.
6499         * shadow/fgetspent.c: Likewise.
6500         * shadow/lckpwdf.c: Likewise.
6501         * shadow/sgetspent.c: Likewise.
6502         * socket/opensock.c: Likewise.
6503         * stdio-common/reg-modifier.c: Likewise.
6504         * stdio-common/reg-printf.c: Likewise.
6505         * stdio-common/reg-type.c: Likewise.
6506         * stdio-common/vfprintf.c: Likewise.
6507         * stdio-common/vfscanf.c: Likewise.
6508         * stdlib/abort.c: Likewise.
6509         * stdlib/cxa_atexit.c: Likewise.
6510         * stdlib/fmtmsg.c: Likewise.
6511         * stdlib/random.c: Likewise.
6512         * stdlib/setenv.c: Likewise.
6513         * string/strsignal.c: Likewise.
6514         * sunrpc/auth_none.c: Likewise.
6515         * sunrpc/bindrsvprt.c: Likewise.
6516         * sunrpc/create_xid.c: Likewise.
6517         * sunrpc/key_call.c: Likewise.
6518         * sunrpc/rpc_thread.c: Likewise.
6519         * sysdeps/arm/backtrace.c: Likewise.
6520         * sysdeps/generic/ldsodefs.h: Likewise.
6521         * sysdeps/generic/stdio-lock.h: Likewise.
6522         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
6523         * sysdeps/i386/backtrace.c: Likewise.
6524         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
6525         * sysdeps/m68k/backtrace.c: Likewise.
6526         * sysdeps/mach/hurd/cthreads.c: Likewise.
6527         * sysdeps/mach/hurd/dirstream.h: Likewise.
6528         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
6529         * sysdeps/nptl/malloc-machine.h: Likewise.
6530         * sysdeps/nptl/stdio-lock.h: Likewise.
6531         * sysdeps/posix/dirstream.h: Likewise.
6532         * sysdeps/posix/getaddrinfo.c: Likewise.
6533         * sysdeps/posix/system.c: Likewise.
6534         * sysdeps/pthread/aio_suspend.c: Likewise.
6535         * sysdeps/s390/s390-32/backtrace.c: Likewise.
6536         * sysdeps/s390/s390-64/backtrace.c: Likewise.
6537         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6538         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6539         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
6540         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
6541         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
6542         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
6543         * sysdeps/unix/sysv/linux/system.c: Likewise.
6544         * sysdeps/x86_64/backtrace.c: Likewise.
6545         * time/alt_digit.c: Likewise.
6546         * time/era.c: Likewise.
6547         * time/tzset.c: Likewise.
6548         * wcsmbs/wcsmbsload.c: Likewise.
6549         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
6550         instead of <bits/libc-lock.h> in comment.
6552 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
6554         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
6555         Only use .set mips2 if the current ISA is below mips2.
6556         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
6557         Likewise.
6558         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
6559         mips32r2 if the current ISA is below mips32r2.
6560         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
6561         (TLS_IE): Updated to use the TLD_RDHWR macro.
6562         (TLS_LE): Likewise.
6563         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
6564         __ASSEMBLER__ condition.
6566 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6568         Fix parallel build of before-compile targets.
6570         * sysdeps/mach/Makefile ($(patsubst
6571         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
6572         mach-before-compile target.
6573         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
6574         io fs process)): Move rule to dedicated hurd-before-compile target.
6576 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6578         Fix rules generating headers in hurd/ and mach/ when initial make call
6579         has subdir= explicitly set.
6581         * sysdeps/mach/Makefile ($(patsubst
6582         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
6583         calling $(MAKE).
6584         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
6585         io fs process)): Force subdir to hurd when calling $(MAKE).
6586         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
6587         subdir to mach when calling $(MAKE).
6589 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
6591         Check sysheaders when looking for Mach and Hurd headers
6593         * sysdeps/mach/configure.ac: Add sysheaders check.
6594         * sysdeps/mach/configure: Regenerate.
6595         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
6596         * sysdeps/mach/hurd/configure: Regenerate.
6598 2015-09-04  Roland McGrath  <roland@hack.frob.com>
6600         [BZ #18921]
6601         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
6602         Fix inverted sense of test of 'o_directory_works' value.
6603         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
6604         Bernhard Voelker <mail@bernhard-voelker.de>.
6606 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
6608         [BZ #14912]
6609         * bits/linkmap.h: Move to ...
6610         * sysdeps/generic/linkmap.h: ...here.
6611         * sysdeps/aarch64/bits/linkmap.h: Move to ...
6612         * sysdeps/aarch64/linkmap.h: ...here.
6613         * sysdeps/arm/bits/linkmap.h: Move to ...
6614         * sysdeps/arm/linkmap.h: ...here.
6615         * sysdeps/hppa/bits/linkmap.h: Move to ...
6616         * sysdeps/hppa/linkmap.h: ...here.
6617         * sysdeps/ia64/bits/linkmap.h: Move to ...
6618         * sysdeps/ia64/linkmap.h: ...here.
6619         * sysdeps/mips/bits/linkmap.h: Move to ...
6620         * sysdeps/mips/linkmap.h: ...here.
6621         * sysdeps/s390/bits/linkmap.h: Move to ...
6622         * sysdeps/s390/linkmap.h: ...here.
6623         * sysdeps/sh/bits/linkmap.h: Move to ...
6624         * sysdeps/sh/linkmap.h: ...here.
6625         * sysdeps/x86/bits/linkmap.h: Move to ...
6626         * sysdeps/x86/linkmap.h: ...here.
6627         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
6629 2015-09-04  Andreas Schwab  <schwab@suse.de>
6631         [BZ #18635]
6632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
6633         (__makecontext): Terminate FDE before return label.
6634         (__novec_makecontext): Likewise.
6636 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6638         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
6639         first member of struct sv in syscall macro.
6641 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
6643         [BZ #14912]
6644         * bits/stdio-lock.h: Move to ...
6645         * sysdeps/generic/stdio-lock.h: ...here.
6646         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
6647         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
6648         * sysdeps/nptl/stdio-lock.h: ...here.
6649         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
6650         * include/libio.h: Include <stdio-lock.h> instead of
6651         <bits/stdio-lock.h>.
6652         * sysdeps/nptl/fork.c: Likewise.
6653         * sysdeps/pthread/flockfile.c: Likewise.
6654         * sysdeps/pthread/ftrylockfile.c: Likewise.
6655         * sysdeps/pthread/funlockfile.c: Likewise.
6657         [BZ #14912]
6658         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
6659         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
6660         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
6661         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
6662         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
6663         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
6664         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
6666 2015-09-03  Roland McGrath  <roland@hack.frob.com>
6668         * elf/Makefile (test-xfail-tst-protected1a): New variable.
6669         (test-xfail-tst-protected1b): New variable.
6671 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
6673         [BZ #14912]
6674         * bits/libc-tsd.h: Move to ...
6675         * sysdeps/generic/libc-tsd.h: ...here.
6676         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
6677         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
6678         * sysdeps/mach/hurd/libc-tsd.h: ...here.
6679         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
6680         * include/ctype.h: Include <libc-tsd.h> instead of
6681         <bits/libc-tsd.h>.
6682         * include/rpc/rpc.h: Likewise.
6683         * locale/localeinfo.h: Likewise.
6684         * sunrpc/rpc_thread.c: Likewise.
6685         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
6686         * sysdeps/nptl/malloc-machine.h: Likewise.
6688         * Makefile (headers): Remove bits/libc-lock.h.
6689         * libio/Makefile (headers): Remove bits/stdio-lock.h.
6691         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
6692         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
6693         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
6694         <bits/stdio-lock.h>.
6695         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
6696         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
6698 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
6700         [BZ #18757]
6701         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
6702         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
6703         BZ #18757.
6705 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
6707         * malloc/mtrace.pl: Filter out NULL entries.
6709 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
6711         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
6712         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
6713         macro.
6715         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
6716         (TCP_CC_INFO): Likewise.
6717         (TCP_SAVE_SYN): Likewise.
6718         (TCP_SAVED_SYN): Likewise.
6720 2015-08-31  Brett Neumeier <brett@neumeier.us>
6722         [BZ #18870]
6723         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
6725 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
6727         [BZ #18873]
6728         Fix broken overflow check in posix_fallocate
6729         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
6730         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
6731         Fix parenthesization typo.
6733 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
6735         [BZ #18887]
6736         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
6737         tst-mntent-blank-passno.
6738         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
6739         * misc/tst-mntent-blank-corrupt.c: New test.
6740         * misc/tst-mntent-blank-passno.c: New test ripped from ...
6741         * misc/tst-mntent.c (do_test): ... here.
6743 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
6745         [BZ #4404]
6746         * po/de.po: Fix SIGALRM typo.
6748 2015-08-28  James Perkins  <james@loowit.net>
6750         * time/tst-strptime2.c (tests): Replace short list of test
6751         strings for strptime %z specifier with code which exhaustively
6752         tests every combination of sign and 0 to 5 digits. Tests for
6753         rejection of invalid strings.
6755 2015-08-28  James Perkins  <james@loowit.net>
6757         [BZ #16141]
6758         * time/strptime_l.c (__strptime_internal): Fix %z minutes
6759         calculation, removing incorrect decimal time rounding, so that
6760         all minute values result in a valid seconds value.
6761         * time/strptime_l.c (__strptime_internal): Extend %z time zone
6762         offset range limits to UTC-99:59 through UTC+99:59 to parse
6763         current and historical use cases.
6764         * time/tst-strptime2.c (tests): Modify and add tests for the
6765         strptime %z input field descriptor, specifically conversion of
6766         minutes to seconds and validating an offset range of -9959 to
6767         +9959.
6769 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6770             Dmitry V. Levin  <ldv@altlinux.org>
6772         [BZ #18877]
6773         * posix/Makefile (tests): Add tst-mmap-offset.
6774         * posix/tst-mmap.c: New file.
6775         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
6776         offset calculation for negative values.
6778 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6780         * sysdeps/i386/init-arch.h: New file.
6781         * sysdeps/i386/i586/init-arch.h: Likewise.
6782         * sysdeps/i386/i686/init-arch.h: Likewise.
6783         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
6784         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
6785         * sysdeps/x86/cpu-features.h (bit_I586): New.
6786         (bit_I686): Likewise.
6787         (bit_CX8): Likewise.
6788         (bit_CMOV): Likewise.
6789         (index_CX8): Likewise.
6790         (index_CMOV): Likewise.
6791         (index_I586): Likewise.
6792         (index_I686): Likewise.
6793         (reg_CX8): Likewise.
6794         (reg_CMOV): Likewise.
6795         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
6796         available at compile-time.
6797         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
6798         available at compile-time.
6799         * sysdeps/x86/init-arch.h (USE_I586): New macro.
6800         (USE_I686): Likewise.
6802 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6804         * sysdeps/i386/bcopy.S: New file.
6805         * sysdeps/i386/bzero.S: Likewise.
6806         * sysdeps/i386/memcpy.S: Likewise.
6807         * sysdeps/i386/memmove.S: Likewise.
6808         * sysdeps/i386/mempcpy.S: Likewise.
6809         * sysdeps/i386/memset.S: Likewise.
6810         * sysdeps/i386/bzero.c: Removed.
6811         * sysdeps/i386/memset.c: Likewise.
6812         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
6813         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
6814         * sysdeps/i386/i586/memset_chk.S: Likewise.
6815         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
6816         * sysdeps/i386/memcpy_chk.S: Here.
6817         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
6818         * sysdeps/i386/memmove_chk.S: Here.
6819         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
6820         * sysdeps/i386/mempcpy_chk.S: Likewise.
6821         * sysdeps/i386/i686/memset_chk.S: Moved to ...
6822         * sysdeps/i386/memset_chk.S: Likewise.
6824 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
6826         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
6827         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
6828         file, move DIAG_POP_NEEDS_COMMENT to end of file.
6829         * soft-fp/fmadf4.c: Ditto.
6830         * soft-fp/fmatf4.c: Ditto.
6832 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6834         * sysdeps/i386/i586/Implies: Removed.
6835         * sysdeps/i386/i686/Implies: Likewise.
6837 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6839         * sysdeps/i386/i486/strlen.S: Moved to ...
6840         * sysdeps/i386/strlen.S: Here.
6842 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6844         * sysdeps/i386/i486/strcat.S: Moved to ...
6845         * sysdeps/i386/strcat.S: Here.
6847 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6849         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
6850         * sysdeps/i386/pthread_spin_trylock.S: Here.
6851         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
6852         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
6854 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6856         * sysdeps/i386/i486/string-inlines.c: Moved to ...
6857         * sysdeps/i386/string-inlines.c: Here.
6859 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6861         * sysdeps/i386/i486/htonl.S: Moved ...
6862         * sysdeps/i386/htonl.S: here.
6864 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6866         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
6867         * sysdeps/i386/bits/atomic.h: Here.
6869 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6871         * sysdeps/i386/i486/Versions: Removed.
6873 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
6875         [BZ #2898]
6876         * misc/mktemp.c: Add mkdtemp to the link_warning message.
6877         Based on patch by Aurelien Jarno.
6879 2015-08-26  Stan Shebs  <stanshebs@google.com>
6881         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
6882         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6884 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6886         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
6887         * sysdeps/powerpc/dl-procinfo.c:
6888         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
6889         feature so it shows when LD_SHOW_AUXV=1.
6891 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6893         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6894         (__arch_compare_and_exchange_val_32_acq): Remove and use common
6895         definition.  ISA 2.07B no longer requires full sync.
6897 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
6899         [BZ #18863]
6900         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
6901         (si_call_addr): Define.
6902         (si_syscall): Define.
6903         (si_arch): Define.
6905 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
6907         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
6908         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
6909         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
6910         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
6911         (__memset_zero_constant_len_parameter): New.
6912         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
6913         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
6914         (__memset_zero_constant_len_parameter): Don't define if
6915         __memset_chk or USE_AS_BZERO are defined.
6917         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
6918         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
6919         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
6921         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
6922         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
6923         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
6924         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
6925         comments.
6926         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
6927         -mno-mmx for $(all-rtld-routines).
6928         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
6929         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
6930         i386.
6932 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
6934         * sysdeps/generic/unwind.h
6935         (_Unwind_Word): Use __mode__(__unwind_word__)
6936         instead of __mode__(__word__).
6937         (_Unwind_Sword): Likewise.
6939         * sysdeps/s390/s390-64/utf8-utf16-z9.c
6940         (MAX_NEEDED_INPUT): New define.
6941         (MAX_NEEDED_OUTPUT): New define.
6943         * NEWS: New item for IBM z13 string optimizations.
6945         * sysdeps/s390/multiarch/memrchr-c.c: New File.
6946         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
6947         * sysdeps/s390/multiarch/memrchr.c: Likewise.
6948         * sysdeps/s390/multiarch/Makefile
6949         (sysdep_routines): Add memrchr functions.
6950         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6951         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
6953         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
6954         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
6955         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
6956         * sysdeps/s390/multiarch/Makefile
6957         (sysdep_routines): Add wmemcmp functions.
6958         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6959         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
6960         * benchtests/bench-wmemcmp.c: New File.
6961         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
6963         * sysdeps/s390/multiarch/wmemset-c.c: New File.
6964         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
6965         * sysdeps/s390/multiarch/wmemset.c: Likewise.
6966         * sysdeps/s390/multiarch/Makefile
6967         (sysdep_routines): Add wmemset functions.
6968         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6969         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
6970         * wcsmbs/wmemset.c: Use WMEMSET if defined.
6971         * string/test-memset.c: Add wmemset support.
6972         * wcsmbs/test-wmemset.c: New File.
6973         * wcsmbs/Makefile (strop-tests): Add wmemset.
6974         * benchtests/bench-memset.c: Add wmemset support.
6975         * benchtests/bench-wmemset.c: New File.
6976         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
6978         * sysdeps/s390/multiarch/memccpy-c.c: New File.
6979         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
6980         * sysdeps/s390/multiarch/memccpy.c: Likewise.
6981         * sysdeps/s390/multiarch/Makefile
6982         (sysdep_routines): Add memccpy functions.
6983         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6984         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
6985         * string/memccpy.c: Use MEMCCPY if defined.
6987         * sysdeps/s390/multiarch/memchr-vx.S: New File.
6988         * sysdeps/s390/multiarch/memchr.c: Likewise.
6989         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
6990         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
6991         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
6992         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
6993         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
6994         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
6995         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
6996         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
6997         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
6998         and rawmemchr functions.
6999         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7000         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
7001         and wmemchr.
7002         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
7003         * string/test-memchr.c: Add wmemchr support.
7004         * wcsmbs/test-wmemchr.c: New File.
7005         * wcsmbs/Makefile (strop-tests): Add wmemchr.
7006         * benchtests/bench-memchr.c: Add wmemchr support.
7007         * benchtests/bench-wmemchr.c: New File.
7008         * benchtests/Makefile (wcsmbs-bench): wmemchr.
7010         * sysdeps/s390/multiarch/strcspn-c.c: New File.
7011         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
7012         * sysdeps/s390/multiarch/strcspn.c: Likewise.
7013         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
7014         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
7015         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
7016         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
7017         wcscspn functions.
7018         * sysdeps/s390/multiarch/ifunc-impl-list.c
7019         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
7020         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
7021         * string/test-strcspn.c: Add wcscspn support.
7022         * wcsmbs/test-wcscspn.c: New File.
7023         * wcsmbs/Makefile (strop-tests): Add wcscspn.
7024         * benchtests/bench-strcspn.c: Add wcscspn support.
7025         * benchtests/bench-wcscspn.c: New File.
7026         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
7028         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
7029         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
7030         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
7031         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
7032         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
7033         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
7034         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
7035         wcspbrk functions.
7036         * sysdeps/s390/multiarch/ifunc-impl-list.c
7037         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
7038         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
7039         * string/test-strpbrk.c: Add wcspbrk support.
7040         * wcsmbs/test-wcspbrk.c: New File.
7041         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
7042         * benchtests/bench-strpbrk.c: Add wcspbrk support.
7043         * benchtests/bench-wcspbrk.c: New File.
7044         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
7046         * sysdeps/s390/multiarch/strspn-c.c: New File.
7047         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
7048         * sysdeps/s390/multiarch/strspn.c: Likewise.
7049         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
7050         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
7051         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
7052         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
7053         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
7054         wcsspn functions.
7055         * sysdeps/s390/multiarch/ifunc-impl-list.c
7056         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
7057         * string/test-strspn.c: Add wcsspn support.
7058         * wcsmbs/test-wcsspn.c: New File.
7059         * wcsmbs/Makefile (strop-tests): Add wcsspn.
7060         * benchtests/bench-strspn.c: Add wcsspn support.
7061         * benchtests/bench-wcsspn.c: New File.
7062         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
7064         * sysdeps/s390/multiarch/strrchr-c.c: New File.
7065         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
7066         * sysdeps/s390/multiarch/strrchr.c: Likewise.
7067         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
7068         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
7069         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
7070         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
7071         wcsrchr functions.
7072         * sysdeps/s390/multiarch/ifunc-impl-list.c
7073         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
7074         * benchtests/bench-wcsrchr.c: New File.
7075         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
7077         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
7078         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
7079         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
7080         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
7081         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
7082         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
7083         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
7084         wcschrnul functions.
7085         * sysdeps/s390/multiarch/ifunc-impl-list.c
7086         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
7087         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
7088         * string/test-strchr.c: Add wcschrnul support.
7089         * wcsmbs/test-wcschrnul.c: New File.
7090         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
7091         * benchtests/bench-strchr.c: Add wcschrnul support.
7092         * benchtests/bench-wcschrnul.c: New File.
7093         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
7095         * sysdeps/s390/multiarch/strchr-c.c: New File.
7096         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
7097         * sysdeps/s390/multiarch/strchr.c: Likewise.
7098         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
7099         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
7100         * sysdeps/s390/multiarch/wcschr.c: Likewise.
7101         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
7102         wcschr functions.
7103         * sysdeps/s390/multiarch/ifunc-impl-list.c
7104         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
7105         * string/strchr.c (STRCHR): Define and use macro.
7106         * benchtests/bench-wcschr.c: New File.
7107         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
7109         * sysdeps/s390/multiarch/strncmp-c.c: New File.
7110         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
7111         * sysdeps/s390/multiarch/strncmp.c: Likewise.
7112         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
7113         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
7114         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
7115         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
7116         wcsncmp functions.
7117         * sysdeps/s390/multiarch/ifunc-impl-list.c
7118         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
7119         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
7120         * benchtests/bench-strncmp.c: Add wcsncmp support.
7121         * benchtests/bench-wcsncmp.c: New File.
7122         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
7124         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
7125         * sysdeps/s390/multiarch/strcmp.c: Likewise.
7126         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
7127         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
7128         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
7129         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
7130         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
7131         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
7132         wcscmp functions.
7133         * sysdeps/s390/multiarch/ifunc-impl-list.c
7134         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
7135         * string/strcmp.c (STRCMP): Define and use macro.
7136         * benchtests/bench-wcscmp.c: New File.
7137         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
7138         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
7139         instead of _HAVE_STRING_ARCH_memchr.
7141         * sysdeps/s390/multiarch/strncat-c.c: New File.
7142         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
7143         * sysdeps/s390/multiarch/strncat.c: Likewise.
7144         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
7145         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
7146         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
7147         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
7148         wcsncat functions.
7149         * sysdeps/s390/multiarch/ifunc-impl-list.c
7150         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
7151         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
7152         * string/test-strncat.c: Add wcsncat support.
7153         * wcsmbs/test-wcsncat.c: New File.
7154         * wcsmbs/Makefile (strop-tests): Add wcsncat.
7155         * benchtests/bench-strncat.c: Add wcsncat support.
7156         * benchtests/bench-wcsncat.c: New File.
7157         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
7159         * sysdeps/s390/multiarch/strcat-c.c: New File.
7160         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
7161         * sysdeps/s390/multiarch/strcat.c: Likewise.
7162         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
7163         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
7164         * sysdeps/s390/multiarch/wcscat.c: Likewise.
7165         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
7166         wcscat functions.
7167         * sysdeps/s390/multiarch/ifunc-impl-list.c
7168         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
7169         * string/strcat.c (STRCAT): Define and use macro.
7170         * wcsmbs/wcscat.c: Use WCSCAT if defined.
7171         * string/test-strcat.c: Add wcscat support.
7172         * wcsmbs/test-wcscat.c: New File.
7173         * wcsmbs/Makefile (strop-tests): Add wcscat.
7174         * benchtests/bench-strcat.c: Add wcscat support.
7175         * benchtests/bench-wcscat.c: New File.
7176         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
7178         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
7179         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
7180         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
7181         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
7182         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
7183         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
7184         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
7185         wcpncpy functions.
7186         * sysdeps/s390/multiarch/ifunc-impl-list.c
7187         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
7188         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
7189         * string/test-stpncpy.c: Add wcpncpy support.
7190         * wcsmbs/test-wcpncpy.c: New File.
7191         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
7192         * benchtests/bench-stpncpy.c: Add wcpncpy support.
7193         * benchtests/bench-wcpncpy.c: New File.
7194         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
7196         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
7197         * sysdeps/s390/multiarch/strncpy.c: Likewise.
7198         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
7199         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
7200         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
7201         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
7202         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
7203         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
7204         wcsncpy functions.
7205         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
7206         * sysdeps/s390/multiarch/ifunc-impl-list.c
7207         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
7208         * string/test-strncpy.c: Add wcsncpy support.
7209         * wcsmbs/test-wcsncpy.c: New File.
7210         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
7211         * benchtests/bench-strncpy.c: Add wcsncpy support.
7212         * benchtests/bench-wcsncpy.c: New File.
7213         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
7215         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
7216         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
7217         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
7218         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
7219         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
7220         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
7221         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
7222         wcpcpy functions.
7223         * string/stpcpy.c: Use STPCPY if defined.
7224         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
7225         * sysdeps/s390/multiarch/ifunc-impl-list.c
7226         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
7227         * string/test-stpcpy.c: Add wcpcpy support.
7228         * wcsmbs/test-wcpcpy.c: New File.
7229         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
7230         * benchtests/bench-stpcpy.c: Add wcpcpy support.
7231         * benchtests/bench-wcpcpy.c: New File.
7232         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
7234         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
7235         * sysdeps/s390/multiarch/strcpy.c: Likewise.
7236         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
7237         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
7238         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
7239         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
7240         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
7241         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
7242         wcscpy functions.
7243         * sysdeps/s390/multiarch/ifunc-impl-list.c
7244         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
7245         * benchtests/bench-wcscpy.c: New File.
7246         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
7248         * sysdeps/s390/multiarch/strnlen-c.c: New File.
7249         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
7250         * sysdeps/s390/multiarch/strnlen.c: Likewise.
7251         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
7252         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
7253         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
7254         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
7255         wcsnlen functions.
7256         * sysdeps/s390/multiarch/ifunc-impl-list.c
7257         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
7258         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
7259         * string/test-strnlen.c: Add wcsnlen support.
7260         * wcsmbs/test-wcsnlen.c: New File.
7261         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
7262         * benchtests/bench-strnlen.c: Add wcsnlen support.
7263         * benchtests/bench-wcsnlen.c: New File.
7264         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
7266         * sysdeps/s390/multiarch/Makefile: New File.
7267         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
7268         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
7269         * sysdeps/s390/multiarch/strlen.c: Likewise.
7270         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
7271         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
7272         * sysdeps/s390/multiarch/wcslen.c: Likewise.
7273         * string/strlen.c (STRLEN): Define and use macro.
7274         * sysdeps/s390/multiarch/ifunc-impl-list.c
7275         (IFUNC_VX_IMPL): New macro function.
7276         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
7277         * benchtests/Makefile (wcsmbs-bench): New variable.
7278         (string-bench-all): Added wcsmbs-bench.
7279         * benchtests/bench-wcslen.c: New File.
7281         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
7282         s390_vx_libc_ifunc2): New macro function.
7284         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
7285         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
7286         assembler support.
7287         * sysdeps/s390/configure: Regenerated.
7289         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
7290         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
7292         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
7293         * sysdeps/s390/dl-procinfo.h: Add vector capability.
7294         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
7296         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
7297         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
7298         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
7299         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
7300         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
7301         (memcmp, bcmp): Use __memcmp_default as alias source.
7302         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
7303         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
7304         Rename to __memcmp_default.
7305         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
7306         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
7307         (memcpy): Use __memcpy_default as alias source.
7308         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
7309         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
7310         Rename to __memcpy_default.
7311         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
7312         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
7313         (memset): Use __memset_default as alias source.
7314         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
7315         * sysdeps/s390/s390-32/memset.S (__memset_g5):
7316         Rename to __memset_default.
7317         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
7318         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
7319         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
7320         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
7321         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
7322         (memcmp, bcmp): Use __memcmp_default as alias source.
7323         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
7324         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
7325         Rename to __memcmp_default.
7326         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
7327         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
7328         (memcpy): Use __memcpy_default as alias source.
7329         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
7330         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
7331         Rename to __memcpy_default.
7332         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
7333         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
7334         (memset): Use __memset_default as alias source.
7335         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
7336         * sysdeps/s390/s390-64/memset.S (__memset_z900):
7337         Rename to __memset_default.
7338         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
7339         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
7341         [BZ #18610]
7342         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
7343         __ieee_instruction_pointer to __unused.
7344         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
7345         __ieee_instruction_pointer.
7346         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
7347         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
7348         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7349         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
7350         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
7351         Mark dxc-field as reserved.
7353 2015-08-25  Roland McGrath  <roland@hack.frob.com>
7355         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
7356         if the weak reference is not null.
7358 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
7360         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
7362         [BZ #11214]
7363         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
7365 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7367         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
7368         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
7369         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
7370         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
7371         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
7372         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
7373         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
7374         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
7375         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
7376         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
7377         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
7378         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
7379         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
7380         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
7381         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
7382         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
7383         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
7384         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
7386 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7388         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
7389         register other than r0 for tabort, it has special meaning.
7390         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
7391         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
7392         transaction before starting syscall.
7394 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7396         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
7398 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
7400         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
7402         * sysdeps/x86_64/rtld-memcmp.c: Removed.
7403         * sysdeps/x86_64/rtld-memset.S: Likewise.
7404         * sysdeps/x86_64/rtld-strchr.S: Likewise.
7405         * sysdeps/x86_64/rtld-strlen.S: Likewise.
7406         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
7407         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7409         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
7411 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
7413         * debug/strcpy_chk.c: Improve performance.
7414         * debug/stpcpy_chk.c: Likewise.
7415         * sysdeps/x86_64/strcpy_chk.S: Remove.
7416         * sysdeps/x86_64/stpcpy_chk.S: Remove.
7418         [BZ #18240]
7419         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
7421 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
7423         [BZ #15128]
7424         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
7425         ifuncmain8.
7426         (modules-names): Add ifuncmod8.
7427         ($(objpfx)ifuncmain8): New rule.
7428         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
7429         <cpuid.h>.
7430         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
7431         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
7432         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
7433         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
7434         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
7435         * sysdeps/x86_64/dl-trampoline.h: Likewise.
7436         * sysdeps/x86_64/ifuncmain8.c: New file.
7437         * sysdeps/x86_64/ifuncmod8.c: Likewise.
7438         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
7439         Removed.
7440         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
7441         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
7442         Change rtld_savespace_sse to __glibc_unused2.
7443         (RTLD_CHECK_FOREIGN_CALL): Removed.
7444         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
7445         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
7446         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
7448 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
7450         * sysdeps/aarch64/bzero.S (__bzero): Remove.
7452 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
7454         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
7455         Unconditionally set __fpcr to avoid uninialized warning.
7456         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
7458 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7460         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
7461         is corrupt.
7463         * malloc/arena.c (arena_get2): Drop unused argument.
7464         (arena_lock): Adjust.
7465         (arena_get_retry): Likewise.
7467 2015-08-24  Andreas Schwab  <schwab@suse.de>
7469         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
7470         Don't define.
7471         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7472         (__ASSUME_IPC64): Don't undef.
7473         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
7474         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7475         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7476         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
7477         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
7478         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
7479         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
7480         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
7481         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
7482         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
7483         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
7484         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
7485         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
7486         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
7487         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
7488         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
7489         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
7490         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
7491         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
7492         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
7493         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
7495 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
7497         * manual/Makefile (install): Only build manual when perl is available.
7499 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7501         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
7502         '#undef memcpy' by '#undef memchr'.
7504 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7506         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
7507         memchr not point to the internal __GI_memchr implementation.
7509 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
7511         * timezone/Makefile (CFLAGS-zdump.c): Remove
7512         -Wno-strict-prototypes.
7513         (CFLAGS-zic.c): Likewise.
7514         (CFLAGS-ialloc.c): Likewise.
7515         (CFLAGS-scheck.c): Likewise.
7517         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
7518         -Wno-error=undef.
7520 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
7522         * i386/i686/multiarch/strcasestr-c.c: Removed.
7523         * x86_64/multiarch/strcasestr.c: Likewise.
7524         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7525         Remove strcasestr.
7527 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
7529         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
7531         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
7532         variables for high and low parts before possibly modifying them.
7534 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
7536         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
7537         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
7538         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
7539         of "multiarch/init-arch.h".
7540         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
7541         * sysdeps/x86/init-arch.h: This.
7543 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
7545         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
7546         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
7548 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
7550         [BZ #17787]
7551         * manual/macros.texi: Add twoexp macro.
7552         * manual/filesys.texi: Fix exponents.
7553         * manual/llio.texi: Likewise.
7554         * manual/stdio.texi: Likewise.
7556 2015-08-20  Florian Weimer  <fweimer@redhat.com>
7558         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
7559         incorrect use.
7561 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
7563         [BZ #18370]
7564         * math/s_csqrt.c (__csqrt): Force underflow exception for results
7565         whose real or imaginary part has small absolute value.
7566         * math/s_csqrtf.c (__csqrtf): Likewise.
7567         * math/s_csqrtl.c (__csqrtl): Likewise.
7568         * math/auto-libm-test-in: Add more tests of csqrt.
7569         * math/auto-libm-test-out: Regenerated.
7570         * sysdeps/i386/fpu/libm-test-ulps: Update.
7572 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7574         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
7575         __ppc_set_ppr_very_low): New functions.
7576         * manual/platform.texi: Add documentation about
7577         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
7579 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
7581         * string/stpncpy.c (stpncpy): Improve performance using
7582         __strnlen/memcpy/memset.
7584 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7586         [BZ #18796]
7587         * scripts/test-installation.pl: Don't add -lmvec to build options if
7588         libmvec wasn't built.
7590 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
7592         [BZ #14341]
7593         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
7594         case when there is a gap between DT_REL and DT_JMPREL sections.
7595         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
7596         (LDFLAGS-tst-split-dynreloc): New.
7597         (tst-split-dynreloc-ENV): Likewise.
7598         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
7599         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
7601 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7603         [BZ #18822]
7604         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
7605         attribute_hidden.
7606         (__xstat64_conv): Likewise.
7607         (__xstat32_conv): Likewise.
7609 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7611         [BZ #18822]
7612         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
7613         Don't load %ebx when calling __setcontext.  Call __setcontext
7614         with HIDDEN_JUMPTARGET.
7615         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
7616         libc_hidden_def.
7618 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7620         * sysdeps/i386/i686/Makefile
7621         [$(subdir) == string] (sysdep_routines): Moved to ...
7622         * sysdeps/i386/Makefile: Here.
7623         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
7624         * sysdeps/i386/cacheinfo.c: Here.
7625         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
7626         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
7627         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
7628         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
7630 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7632         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
7633         __i586__ is defined.
7634         (HAS_I686): Defined to 1 if __i686__ is defined.
7636 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
7638         * elf/Makefile [$(have-z-execstack) = yes]
7639         (CPPFLAGS-tst-execstack.c): New variable.
7641         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
7642         conditional to [defined UTMPX || _HAVE_UT_TYPE].
7643         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
7644         UTMPX || _HAVE_UT_TV].
7645         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
7646         UTMPX || _HAVE_UT_TV - 0].
7648 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
7650         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
7651         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
7652         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
7654 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7656         * sysdeps/powerpc/dl-procinfo.c:
7657         (_dl_powerpc_cap_flags): Added missing strings for some
7658         hwcap features.
7659         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
7661 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
7663         Port the 0x7efe...feff pattern to GCC 6.
7664         See Steve Ellcey's bug report in:
7665         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
7666         * string/memrchr.c (MEMRCHR):
7667         * string/rawmemchr.c (RAWMEMCHR):
7668         * string/strchr.c (strchr):
7669         * string/strchrnul.c (STRCHRNUL):
7670         Rewrite code to avoid issues with signed shift overflow.
7672 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
7674         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
7675         whether cpuid is available only if HAS_CPUID is 0.
7676         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
7677         (HAS_I586): Likewise.
7678         (HAS_I686): Likewise.
7680 2015-08-18  Zack Weinberg  <zackw@panix.com>
7682         * misc/Versions (libc): Add GLIBC_2.23.
7684 2015-08-18  Alan Modra  <amodra@gmail.com>
7686         [BZ #18421]
7687         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
7688         .Lp__global.
7689         (_start): Load %dp via .Lp__global.
7690         [!SHARED]: Use .section .rodata.
7692 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7694         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
7695         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
7697 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7699         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
7700         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
7702 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7704         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
7705         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
7707 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7709         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
7710         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
7712 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7714         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
7715         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
7717 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7719         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
7720         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
7722 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7724         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
7726 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7728         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
7729         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
7730         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7731         (__ASSUME_LWS_CAS): Delete.
7733 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7735         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
7736         * sysdeps/hppa/configure: Regenerated.
7737         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
7738         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
7739         * sysdeps/hppa/nptl/tls.h: Likewise.
7741 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
7743         [BZ #18823]
7744         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
7745         for scaling up small arguments.
7746         * math/s_csqrtf.c (__csqrtf): Likewise.
7747         * math/s_csqrtl.c (__csqrtl): Likewise.
7748         * math/auto-libm-test-in: Add more tests of csqrt.
7749         * math/auto-libm-test-out: Regenerated.
7751 2015-08-17  Andreas Schwab  <schwab@suse.de>
7753         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
7754         version set GLIBC_2.19.
7756 2015-08-16  Zack Weinberg  <zackw@panix.com>
7758         [BZ #18681]
7759         * misc/regexp.h: This interface is no longer supported.
7760         Remove all contents, leaving only an #error directive.
7761         * misc/regexp.c (loc1, loc2, locs, step, advance):
7762         Demote to compatibility symbols.
7764 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
7766         [BZ #18084]
7767         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
7768         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
7769         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
7770         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
7771         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
7772         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
7773         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
7774         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
7775         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
7777 2015-08-15  Zack Weinberg  <zackw@panix.com>
7779         [BZ #18795]
7780         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
7781         buffer length is known to be too large, not if it's known to be
7782         small enough.
7783         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
7784         overflow at runtime, involving a length parameter, twice: once
7785         with a compile-time constant length parameter, once without.
7787 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
7789         [BZ #18824]
7790         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
7791         scaling x * y up instead of down.
7792         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7793         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7794         * math/auto-libm-test-in: Add more tests of fma.
7795         * math/auto-libm-test-out: Regenerated.
7797 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
7799         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7801 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7803         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
7804         unnecessary movq.
7805         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
7806         Likewise.
7808 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
7810         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7811         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
7812         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
7813         and tgamma.
7814         * math/auto-libm-test-out: Regenerated.
7815         * sysdeps/i386/fpu/libm-test-ulps: Update.
7816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7818         [BZ #16520]
7819         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
7820         (__tanh): Force underflow exception for arguments with small
7821         absolute value.
7822         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
7823         (__tanhf): Force underflow exception for arguments with small
7824         absolute value.
7825         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
7826         (__tanhl): Force underflow exception for arguments with small
7827         absolute value.
7828         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
7829         (__tanhl): Force underflow exception for arguments with small
7830         absolute value.
7831         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
7832         (__tanhl): Force underflow exception for arguments with small
7833         absolute value.
7834         * math/auto-libm-test-in: Add more tests of tanh.
7835         * math/auto-libm-test-out: Regenerated.
7836         * sysdeps/i386/fpu/libm-test-ulps: Update.
7838 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7840         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
7841         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
7843 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7845         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
7846         <cpuid.h>.
7848 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7850         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
7851         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
7853 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7855         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
7856         Remove $(objpfx)init-arch.o.
7857         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
7858         init-arch.
7859         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
7860         (INIT_ARCH_EXT): Defined as empty.
7861         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
7862         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
7863         __init_cpu_features call.  Replace HAS_XXX with
7864         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7865         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
7866         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
7867         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
7868         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
7869         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
7870         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
7871         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
7872         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
7873         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
7874         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
7875         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
7876         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
7877         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
7878         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
7879         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
7880         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
7881         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
7882         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
7883         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
7884         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
7885         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
7886         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
7887         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
7888         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
7889         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
7890         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
7891         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
7892         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
7893         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
7894         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
7895         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
7896         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
7897         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
7898         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
7899         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
7901 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7903         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
7904         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7905         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
7906         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
7907         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
7908         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
7909         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
7910         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
7911         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
7912         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
7913         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
7914         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
7915         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7916         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7917         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7918         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7919         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7920         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7921         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7922         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7923         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7924         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7925         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7926         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7927         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7928         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7929         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7930         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7931         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7932         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7933         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7934         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7935         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7936         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7937         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7938         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7939         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7940         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7941         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7942         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7943         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7944         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7945         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7947 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7949         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
7950         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7951         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7952         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7953         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7954         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
7955         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7956         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
7957         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7958         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7959         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7960         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
7961         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
7962         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
7963         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
7964         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
7965         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
7966         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
7967         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
7968         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
7969         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
7970         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
7971         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
7972         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7973         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7974         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
7975         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
7976         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
7977         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7978         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7979         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7980         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7981         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7982         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7983         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7984         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7985         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7986         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7987         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7988         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7989         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7990         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7991         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7993 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7995         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
7996         (dl_platform_init): Call init_cpu_features.
7997         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
7998         * sysdeps/i386/i686/cacheinfo.c
7999         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
8000         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
8001         * sysdeps/i386/i686/multiarch/Versions: Removed.
8002         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
8003         Removed.
8004         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
8005         * sysdeps/unix/sysv/linux/x86/Makefile
8006         (libpthread-sysdep_routines): Remove init-arch.
8007         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
8008         <sysdeps/x86_64/dl-procinfo.c> instead of
8009         sysdeps/generic/dl-procinfo.c>.
8010         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
8011         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
8012         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
8013         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
8014         [$(subdir) == elf] (tests-static): Add
8015         tst-get-cpu-features-static.
8016         * sysdeps/x86/Versions: New file.
8017         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
8018         * sysdeps/x86/cpu-features.c: Likewise.
8019         * sysdeps/x86/cpu-features.h: Likewise.
8020         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
8021         * sysdeps/x86/libc-start.c: Likewise.
8022         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
8023         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
8024         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
8025         * sysdeps/x86_64/dl-procinfo.c: Likewise.
8026         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
8027         Assume USE_MULTIARCH is defined and don't check it.
8028         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
8029         (is_amd): Likewise.
8030         (max_cpuid): Likewise.
8031         (intel_check_word): Likewise.
8032         (__cache_sysconf): Don't call __init_cpu_features.
8033         (__x86_preferred_memory_instruction): Removed.
8034         (init_cacheinfo): Don't call __init_cpu_features. Replace
8035         __cpu_features with GLRO(dl_x86_cpu_features).
8036         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
8037         (dl_platform_init): Call init_cpu_features.
8038         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
8039         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
8040         * sysdeps/x86_64/multiarch/Versions: Removed.
8041         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
8042         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
8043         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
8044         Removed.
8045         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
8047 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8049         [BZ #18820]
8050         * libio/Makefile (test-fmemopen-mem): New test.
8051         * libio/test-fmemopen.c (do_bz18820): New test.
8052         * libio/fmemopen.c (__fmemopen): Fix memory leak.
8053         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
8055 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8057         [BZ #16734]
8058         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
8059         (FREE_BUF): Delete.
8060         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
8061         * libio/genops.c (_IO_setb): Use malloc and free directly.
8062         (_IO_default_doallocate, _IO_default_finish): Likewise.
8063         ( _IO_unbuffer_all): Likewise.
8064         ( libc_freeres_fn): Likewise.
8065         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8066         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
8067         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
8068         (_IO_wdefault_doallocate): Likewise.
8070 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
8072         [BZ #18086]
8073         * sysdeps/posix/nice.c (nice): Restore old errno.
8074         * posix/tst-nice.c (do_test): Add test for BZ #18086.
8076 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
8078         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
8080 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8082         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
8083         __bcopy and add a weak_alias to bcopy.
8084         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
8085         for static build.
8087         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
8088         cleanup macro usage.
8089         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
8090         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
8091         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
8092         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
8093         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
8094         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
8095         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
8096         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
8097         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8098         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
8099         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8100         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
8101         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8102         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
8103         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8104         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
8105         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
8106         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
8107         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
8109         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
8110         libc_hidden_def.
8111         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
8113         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
8114         (sysdep_routines): Add strstr-ppc64.
8115         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
8117 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
8119         [BZ #18778]
8120         * elf/Makefile (tests): Add Add tst-nodelete2.
8121         (modules-names): Add tst-nodelete2mod.
8122         (tst-nodelete2mod.so-no-z-defs): New.
8123         ($(objpfx)tst-nodelete2): Likewise.
8124         ($(objpfx)tst-nodelete2.out): Likewise.
8125         (LDFLAGS-tst-nodelete2): Likewise.
8126         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
8127         out of loop through all loaded libraries.
8128         * elf/tst-nodelete2.c: New file.
8129         * elf/tst-nodelete2mod.c: Likewise.
8130         * elf/tst-znodelete-zlib.cc: Delete.
8132 2015-08-11  Andreas Schwab  <schwab@suse.de>
8134         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
8135         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
8136         (__openat64_nocancel): Likewise.
8138 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
8140         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
8141         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
8142         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
8143         * math/auto-libm-test-out: Regenerated.
8144         * sysdeps/i386/fpu/libm-test-ulps: Update.
8145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8147 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
8149         [BZ #18790]
8150         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
8151         threshold for returning +/- 1.
8152         * math/auto-libm-test-in: Add more tests of tanh.
8153         * math/auto-libm-test-out: Regenerated.
8154         * sysdeps/i386/fpu/libm-test-ulps: Update.
8156 2015-08-10  Andreas Schwab  <schwab@suse.de>
8158         [BZ #18781]
8159         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
8160         MORE_OFLAGS to oflag.
8161         * io/test-lfs.c (do_test): Test openat64.
8163 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
8165         [BZ #18789]
8166         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
8167         smaller threshold for returning the argument.
8168         * math/auto-libm-test-in: Add more tests of sinh.
8169         * math/auto-libm-test-out: Regenerated.
8170         * sysdeps/i386/fpu/libm-test-ulps: Update.
8172 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
8174         [BZ #18674]
8175         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
8176         break.
8178 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
8180         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
8181         (generated): Don't add $(addprefix z.,$(tzfiles)).
8183 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
8185         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
8186         * scripts/sysd-rules.awk: Likewise.
8188 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
8190         * iconvdata/tst-tables.sh: Change echo -n to printf.
8191         * nss/db-Makefile: Likewise.
8192         * posix/tst-getconf.sh: Likewise.
8193         * stdio-common/tst-unbputc.sh: Likewise.
8195 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
8197         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
8198         MADV_*_PAGES defines behind this feature check.
8200 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
8202         [BZ #18480]
8203         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
8204         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
8205         Define.
8206         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
8207         LOAD_REGS_5, LOAD_REGS_6): Update.
8208         (INTERNAL_SYSCALL): Update using new LOAD defines.
8209         (INTERNAL_SYSCALL_NCS): Likewise.
8210         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
8212 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
8214         [BZ #16734]
8215         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
8217 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
8219         [BZ #17905]
8220         * catgets/Makefile (tst-catgets-mem): New test.
8221         * catgets/catgets.c (catopen): Don't use unbounded alloca.
8222         * catgets/open_catalog.c (__open_catalog): Likewise.
8223         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
8225 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
8227         [BZ #18787]
8228         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
8229         clobber registers.
8230         (atomic_compare_and_exchange_val_acq): Use register asms to assign
8231         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
8232         Cast return to __typeof (oldval).
8234 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
8236         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
8237         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
8238         and delete sys/syscall.h include.
8240 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
8242         [BZ #16517]
8243         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
8244         (tan): Force underflow exception for arguments with small absolute
8245         value.
8246         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
8247         (__kernel_tanf): Force underflow exception for arguments with
8248         small absolute value.
8249         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
8250         (__kernel_tanl): Force underflow exception for arguments with
8251         small absolute value.
8252         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
8253         (__kernel_tanl): Force underflow exception for arguments with
8254         small absolute value.
8255         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
8256         (__kernel_tanl): Force underflow exception for arguments with
8257         small absolute value.
8258         * math/auto-libm-test-in: Add more tests of tan.
8259         * math/auto-libm-test-out: Regenerated.
8261 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8263         Fix sysdeps/i386/fpu/s_scalbn.S build
8265         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
8267 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
8269         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
8271 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8273         Fix gcrt0.o compilation
8275         When static-start-installed-name is different from
8276         start-installed-name, we must not use the shared objects.
8278         * csu/Makefile
8279         (extra-objs): Add gmon-start.o when building shared library and
8280         $(static-start-installed-name) is different from
8281         $(start-installed-name).
8282         $(objpfx)g$(static-start-installed-name): When building shared
8283         library and $(static-start-installed-name) is different from
8284         $(static-start-installed-name), revert to non-shared rule,
8285         i.e. using $(objpfx)% and gmon-start.o.
8287 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
8289         [BZ #16519]
8290         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
8291         (__ieee754_sinh): Force underflow exception for arguments with
8292         small absolute value.
8293         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
8294         (__ieee754_sinhf): Force underflow exception for arguments with
8295         small absolute value.
8296         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
8297         (__ieee754_sinhl): Force underflow exception for arguments with
8298         small absolute value.
8299         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
8300         (__ieee754_sinhl): Force underflow exception for arguments with
8301         small absolute value.
8302         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
8303         (__ieee754_sinhl): Force underflow exception for arguments with
8304         small absolute value.
8305         * math/auto-libm-test-in: Add more tests of sinh.
8306         * math/auto-libm-test-out: Regenerated.
8307         * sysdeps/i386/fpu/libm-test-ulps: Update.
8309 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
8311         * libio/oldfileops.c: Include unistd.h.
8313 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
8315         * stdlib/isomac.c: Include ctype.h.
8317 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
8319         * dirent/tst-seekdir.c (main): Converted to ...
8320         (do_test): ... this.
8321         (TEST_FUNCTION): New macro.
8322         Include test-skeleton.c.
8323         * elf/tst-dlmodcount.c (main): Converted to ...
8324         (do_test): ... this.
8325         (TEST_FUNCTION): New macro.
8326         Include test-skeleton.c.
8327         * elf/tst-order-main.c (main): Converted to ...
8328         (do_test): ... this.
8329         (TEST_FUNCTION): New macro.
8330         Include test-skeleton.c.
8331         * elf/tst-pie2.c (main): Converted to ...
8332         (do_test): ... this.
8333         (TEST_FUNCTION): New macro.
8334         Include test-skeleton.c.
8335         * inet/tst-ether_aton.c (main): Converted to ...
8336         (do_test): ... this.
8337         (TEST_FUNCTION): New macro.
8338         Include test-skeleton.c.
8339         * misc/tst-mntent.c (main): Converted to ...
8340         (do_test): ... this.
8341         (TEST_FUNCTION): New macro.
8342         Include test-skeleton.c.
8343         * misc/tst-tsearch.c (main): Converted to ...
8344         (do_test): ... this.
8345         (TEST_FUNCTION): New macro.
8346         Include test-skeleton.c.
8347         * posix/tst-regexloc.c (main): Converted to ...
8348         (do_test): ... this.
8349         (TEST_FUNCTION): New macro.
8350         Include test-skeleton.c.
8351         * resolv/tst-aton.c (main): Converted to ...
8352         (do_test): ... this.
8353         (TEST_FUNCTION): New macro.
8354         Include test-skeleton.c.
8355         * stdio-common/test-fwrite.c (main): Converted to ...
8356         (do_test): ... this.
8357         (TEST_FUNCTION): New macro.
8358         Include test-skeleton.c.
8359         * stdio-common/tst-ferror.c (main): Converted to ...
8360         (do_test): ... this.
8361         (TEST_FUNCTION): New macro.
8362         Include test-skeleton.c.
8363         * stdio-common/tst-printf.c (main): Converted to ...
8364         (do_test): ... this.
8365         (TEST_FUNCTION): New macro.
8366         Include test-skeleton.c.
8367         * stdio-common/tst-printfsz.c (main): Converted to ...
8368         (do_test): ... this.
8369         (TEST_FUNCTION): New macro.
8370         Include test-skeleton.c.
8371         * stdlib/tst-strtod.c (main): Converted to ...
8372         (do_test): ... this.
8373         (TEST_FUNCTION): New macro.
8374         Include test-skeleton.c.
8375         * string/tst-strlen.c (main): Converted to ...
8376         (do_test): ... this.
8377         (TEST_FUNCTION): New macro.
8378         Include test-skeleton.c.
8379         * string/tst-svc.c (main): Converted to ...
8380         (do_test): ... this.
8381         (TEST_FUNCTION): New macro.
8382         Include test-skeleton.c.
8383         * time/tst-strptime.c (main): Converted to ...
8384         (do_test): ... this.
8385         (TEST_FUNCTION): New macro.
8386         Include test-skeleton.c.
8387         * timezone/tst-timezone.c (main): Converted to ...
8388         (do_test): ... this.
8389         (TEST_FUNCTION): New macro.
8390         Include test-skeleton.c.
8392 2015-08-05  Zack Weinberg  <zackw@panix.com>
8394         * misc/regexp.h: Update comments.
8396 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
8398         [BZ #18635]
8399         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
8400         before return label.
8402 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8404         [BZ #18661]
8405         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
8406         when calling __errno_location.
8407         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
8408         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
8410 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8412         [BZ #18661]
8413         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
8414         (__lll_timedwait_tid): Align stack to 16 bytes when calling
8415         __gettimeofday.
8417 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8419         [BZ #18661]
8420         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8421         (__start_context): Don't use pop to restore %rdi so that stack
8422         is aligned to 16 bytes when calling __setcontext.
8424 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8426         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
8427         only for libc.
8428         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8430 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8432         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
8433         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
8434         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
8436 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8438         * string/memccpy.c (memccpy):
8439         Improve performance by using memchr/memcpy/__mempcpy.
8441 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8443         * string/strncpy.c (strncpy):
8444         Improve performance by using __strnlen/memcpy.
8446 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8448         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8449         Optimize to avoid an unnecessary FPCR read.
8451 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8453         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
8454         Optimize to reduce FPCR/FPSR accesses.
8456 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8458         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
8459         dead->data[category] != NULL.
8461 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
8463         [BZ #18647]
8464         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
8465         and |x| close to 1, use absolute value of x when computing log.
8466         * math/auto-libm-test-in: Add more tests of pow.
8467         * math/auto-libm-test-out: Regenerated.
8469 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8471         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
8472         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
8473         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
8475 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
8477         [BZ #18525]
8478         * locales/km_KH: Remove timezone definition.
8479         * locales/lo_LA: Likewise.
8480         * locales/my_MM: Likewise.
8481         * locales/nan_TW@latin: Likewise.
8482         * locales/th_TH: Likewise.
8483         * locales/uk_UA: Likewise.
8485 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
8487         [BZ #18265]
8488         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
8489         (wcsncat): Likewise.
8490         (wcscmp): Likewise.
8491         (wcsncmp): Likewise.
8493 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
8495         * test-skeleton.c (usage): New function.
8496         (main): Call usage when opt is '?'.
8498 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
8500         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
8501         before first use.
8503 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
8505         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
8506         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
8507         in there too.
8509 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
8511         * version.h (RELEASE): Set to "development".
8512         (VERSION): Set to "2.22.90"
8514         * version.h (RELEASE): Set to "stable".
8515         (VERSION): Set to "2.22"
8516         * include/features.h (__GLIBC_MINOR__): Set to 22.
8518 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
8520         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
8521         Restructure macro to avoid "value computed is not used" warning.
8522         (atomic_compare_and_exchange_val_acq): Likewise.
8524 2015-08-04  Andreas Schwab  <schwab@suse.de>
8526         [BZ #18635]
8527         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
8528         ret.
8529         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
8531 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
8533         * po/pl.po: Updated translation.
8534         * po/uk.po: Likewise.
8535         * po/fi.po: Likewise.
8536         * po/ko.po: Likewise.
8537         * po/ru.po: Likewise.
8538         * po/vi.po: Likewise.
8540 2015-07-31  Zack Weinberg  <zackw@panix.com>
8542         [BZ #18681]
8543         * regexp.h: Add unconditional #warning stating that this header
8544         will be removed soon.  Revise banner comment to match.
8545         (compile): Consistently use ERROR instead of RETURN to report
8546         errors (partial fix for bz#18681).
8547         * regexp.c: Don't include regexp.h. Remove some unnecessary
8548         declarations.
8550 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
8552         * po/libc.pot: Regenerated.
8554 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8556         [BZ #18740]
8557         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
8558         float-vlen4-arch-ext-cflags): Removed.
8559         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
8560         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
8562 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
8564         [BZ #14113]
8565         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
8566         aligned to __aligned__.
8567         (pthread_cond_t, pthread_rwlock_t): Likewise.
8569 2015-07-30  Torvald Riegel  <triegel@redhat.com>
8571         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
8573 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
8575         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
8576         (struct sigaction): Change sa_flags from a long to an int, and add
8577         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
8579 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
8581         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
8582         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
8583         sysdeps/generic/sysdep.h include.
8584         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
8585         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
8586         sysdeps/hppa/sysdep.h.
8587         (ENTRY, PSEUDO): Undefine before defining.
8589 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
8591         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
8592         from scratch to use INTERNAL_SYSCALL.
8594 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
8596         [BZ #18078]
8597         * scripts/check-localplt.awk: Support alternate relocations.
8598         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
8599         sections.
8600         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
8601         malloc entries with + REL R_386_GLOB_DAT.
8602         * sysdeps/x86_64/localplt.data: New file.
8604 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
8606         [BZ #18731]
8607         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
8608         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8609         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8611 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8613         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
8615 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8617         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
8618         directly in terms of __sync_fetch_and_add and delete (int) cast.
8620 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8622         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
8623         the -D_ASM_IA64_CURRENT_H flag.
8625 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8627         [BZ #18641]
8628         * pwd/pwd.h (putpwent): Delete __nonnull markings.
8630 2015-07-27  Andreas Schwab  <schwab@suse.de>
8632         * conform/conformtest.pl (checknamespace): Filter out string
8633         literals while tokenizing.
8635 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
8637         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
8638         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
8639         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
8641 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
8643         * nptl/tst-join7mod.c: Add #include <string.h>.
8645 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
8647         * sysdeps/nios2/libm-test-ulps: Update.
8649 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
8651         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
8652         Fix order of arguments to the rt_sigprocmask syscall.
8653         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
8654         Likewise.
8656 2015-07-24  Roland McGrath  <roland@hack.frob.com>
8658         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
8660 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8662         [BZ #18457]
8663         * nptl/Makefile (tests): New test case tst-join7.
8664         (modules-names): New test case module tst-join7mod.
8665         * nptl/tst-join7.c: New file.
8666         * nptl/tst-join7mod.c: New file.
8667         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
8668         all translation units in libc.so, libpthread.so and rtld.
8670 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8674 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
8676         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
8677         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
8678         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
8679         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
8680         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
8681         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
8682         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
8683         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
8684         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
8685         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
8686         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
8687         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
8688         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
8689         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
8690         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
8691         implementation.
8693 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8695         [BZ #17711]
8696         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
8697         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
8698         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
8699         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
8700         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
8701         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
8703 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8705         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
8706         instead of just saying load lock in the comments.
8708 2015-07-23  Roland McGrath  <roland@hack.frob.com>
8710         * sysdeps/unix/Subdirs: Moved ...
8711         * sysdeps/posix/Subdirs: ... here.
8712         * login/pty.h (struct termios, struct winsize): Add forward decls.
8713         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
8714         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
8715         * sysdeps/arm/nacl/libc.abilist: Updated.
8716         * sysdeps/nacl/libutil.abilist: New file.
8718         * bits/signum.h: Update comments to mention 1003.1-2013 too.
8719         (SIGWINCH): New macro.
8721         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
8722         * sysdeps/arm/nacl/libc.abilist: Add it.
8724 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
8726         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
8728 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
8730         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
8731         Swap __glibc_reserved0 and sa_flags order.
8733 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
8735         [BZ #18657]
8736         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
8737         are pending TLS destructor calls.
8738         * include/link.h (struct link_map): Add concurrency note for
8739         L_TLS_DTOR_COUNT.
8740         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8741         Don't touch the link map flag.  Atomically increment
8742         l_tls_dtor_count.
8743         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
8744         Avoid taking the load lock and don't touch the link map flag.
8745         * stdlib/tst-tls-atexit-nodelete.c: New test case.
8746         * stdlib/Makefile (tests): Use it.
8747         * stdlib/tst-tls-atexit.c (do_test): dlopen
8748         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
8749         to allow tst-tls-atexit-nodelete test case to use it.
8751 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8753         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
8754         to bits/types.h.
8755         (msgqnum_t): New typedef.
8756         (msglen_t): Likewise.
8757         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
8758         and msg_qbytes type to msglen_t.
8760 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8762         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
8763         pad0 to __glibc_reserved0.
8764         (struct stat64): Likewise.
8766 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8768         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
8769         Change sa_flags from a long to an int and add __glibc_reserved0 before
8770         it for padding.
8772 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8774         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
8775         anonymous by deleting "siginfo" name.
8777 2015-07-21  Roland McGrath  <roland@hack.frob.com>
8779         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
8780         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
8781         rather than __nacl_irt_filename.
8782         * sysdeps/nacl/xstat.c (__xstat): Likewise.
8784         * NEWS: New item for arm-nacl port.
8785         * sysdeps/arm/nacl/libc.abilist: New file.
8786         * sysdeps/nacl/ld.abilist: New file.
8787         * sysdeps/nacl/libBrokenLocale.abilist: New file.
8788         * sysdeps/nacl/libanl.abilist: New file.
8789         * sysdeps/nacl/libcrypt.abilist: New file.
8790         * sysdeps/nacl/libdl.abilist: New file.
8791         * sysdeps/nacl/libm.abilist: New file.
8792         * sysdeps/nacl/libpthread.abilist: New file.
8793         * sysdeps/nacl/libresolv.abilist: New file.
8794         * sysdeps/nacl/librt.abilist: New file.
8796 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
8798         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
8799         __startcontext to initialize the new context.
8800         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
8801         up CFI directive to forbid further backtracing.
8803 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
8805         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
8806         reference.
8807         * charmaps/ANSI_X3.4-1968: Likewise.
8808         * charmaps/BS_4730: Likewise.
8809         * charmaps/BS_VIEWDATA: Likewise.
8810         * charmaps/CP1250: Likewise.
8811         * charmaps/CP1251: Likewise.
8812         * charmaps/CP1252: Likewise.
8813         * charmaps/CP1253: Likewise.
8814         * charmaps/CP1254: Likewise.
8815         * charmaps/CP1255: Likewise.
8816         * charmaps/CP1256: Likewise.
8817         * charmaps/CSN_369103: Likewise.
8818         * charmaps/EBCDIC-DK-NO: Likewise.
8819         * charmaps/GB_1988-80: Likewise.
8820         * charmaps/GREEK-CCITT: Likewise.
8821         * charmaps/GREEK7: Likewise.
8822         * charmaps/INIS-8: Likewise.
8823         * charmaps/ISIRI-3342: Likewise.
8824         * charmaps/ISO_2033-1983: Likewise.
8825         * charmaps/ISO_5427-EXT: Likewise.
8826         * locales/POSIX: Likewise.
8827         * locales/ar_SA: Likewise.
8828         * locales/be_BY: Likewise.
8829         * locales/be_BY@latin: Likewise.
8830         * locales/ca_ES: Likewise.
8831         * locales/cs_CZ: Likewise.
8832         * locales/da_DK: Likewise.
8833         * locales/de_BE: Likewise.
8834         * locales/de_CH: Likewise.
8835         * locales/de_LU: Likewise.
8836         * locales/en_AU: Likewise.
8837         * locales/en_BW: Likewise.
8838         * locales/en_CA: Likewise.
8839         * locales/en_DK: Likewise.
8840         * locales/en_GB: Likewise.
8841         * locales/en_IE: Likewise.
8842         * locales/en_NZ: Likewise.
8843         * locales/en_ZA: Likewise.
8844         * locales/en_ZW: Likewise.
8845         * locales/es_AR: Likewise.
8846         * locales/es_BO: Likewise.
8847         * locales/es_CL: Likewise.
8848         * locales/es_CO: Likewise.
8849         * locales/es_DO: Likewise.
8850         * locales/es_EC: Likewise.
8851         * locales/es_ES: Likewise.
8852         * locales/es_HN: Likewise.
8853         * locales/es_MX: Likewise.
8854         * locales/es_PA: Likewise.
8855         * locales/es_PE: Likewise.
8856         * locales/es_PY: Likewise.
8857         * locales/es_SV: Likewise.
8858         * locales/es_US: Likewise.
8859         * locales/es_UY: Likewise.
8860         * locales/es_VE: Likewise.
8861         * locales/et_EE: Likewise.
8862         * locales/fa_IR: Likewise.
8863         * locales/fo_FO: Likewise.
8864         * locales/fr_CA: Likewise.
8865         * locales/fr_CH: Likewise.
8866         * locales/gv_GB: Likewise.
8867         * locales/he_IL: Likewise.
8868         * locales/hr_HR: Likewise.
8869         * locales/id_ID: Likewise.
8870         * locales/is_IS: Likewise.
8871         * locales/it_CH: Likewise.
8872         * locales/iw_IL: Likewise.
8873         * locales/kl_GL: Likewise.
8874         * locales/ko_KR: Likewise.
8875         * locales/kw_GB: Likewise.
8876         * locales/lg_UG: Likewise.
8877         * locales/lt_LT: Likewise.
8878         * locales/lv_LV: Likewise.
8879         * locales/mi_NZ: Likewise.
8880         * locales/nhn_MX: Likewise.
8881         * locales/nl_BE: Likewise.
8882         * locales/pl_PL: Likewise.
8883         * locales/sk_SK: Likewise.
8884         * locales/sl_SI: Likewise.
8885         * locales/sv_FI: Likewise.
8886         * locales/tl_PH: Likewise.
8887         * locales/tr_TR: Likewise.
8888         * locales/vi_VN: Likewise.
8890 2015-07-21  Khem Raj  <raj.khem@gmail.com>
8892         [BZ #17475]
8893         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
8894         of tu_IN and bh_IN.
8896 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
8898         [BZ #18694]
8899         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
8900         bits/wordsize.h.
8901         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
8903 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8905         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
8906         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
8907         (spawn_thread): New function.
8908         (load): Rename to reg_dtor_and_close.  Move dlopen to...
8909         (do_test): ... here.  Use IS_LOADED to test for its
8910         availability.
8912 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
8914         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8916 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
8918         [BZ #18696]
8919         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
8920         si_addr_bnd.
8921         (si_lower): New.
8922         (si_upper): Likewise.
8924 2015-07-16  David S. Miller  <davem@davemloft.net>
8926         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
8928 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8930         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
8931         buffer.
8932         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
8933         fail output information.
8935 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8937         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
8938         and strstr-ppc64..
8939         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8940         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
8941         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
8942         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
8943         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
8945 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
8947         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
8948         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
8949         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
8950         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
8952 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
8954         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
8955         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
8956         rtld_hidden_proto.
8957         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
8959 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8961         * tst-nodelete-opened.c (do_test): Add comment to clarify how
8962         the test can fail.
8964         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
8966         [BZ #18676]
8967         * elf/tst-nodelete-opened.c: New test case.
8968         * elf/tst-nodelete-opened-lib.c: New test case module.
8969         * elf/Makefile (tests, modules-names): Use them.
8970         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
8971         early.
8973 2015-07-15  David S. Miller  <davem@davemloft.net>
8975         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
8976         futex-intenal.h
8977         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
8978         * sysdeps/sparc/sparc64/Makefile: Likewise.
8979         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
8980         Remove space from macro define.
8981         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
8983 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
8985         [BZ #17475]
8986         * locale/iso-639.def: Update Bhili and Tulu language codes as
8987         per iso639-3.
8989 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
8991         * elf/tst-leaks1.c (main): Converted to ...
8992         (do_test): ... this.
8993         (TEST_FUNCTION): New macro.
8994         Include test-skeleton.c.
8995         * localedata/tst-langinfo.c (main): Converted to ...
8996         (do_test): ... this.
8997         (TEST_FUNCTION): New macro.
8998         Include test-skeleton.c.
8999         * math/test-fpucw.c (main): Converted to ...
9000         (do_test): ... this.
9001         (TEST_FUNCTION): New macro.
9002         Include test-skeleton.c.
9003         * math/test-tgmath.c (main): Converted to ...
9004         (do_test): ... this.
9005         (TEST_FUNCTION): New macro.
9006         Include test-skeleton.c.
9007         * math/test-tgmath2.c (main): Converted to ...
9008         (do_test): ... this.
9009         (TEST_FUNCTION): New macro.
9010         Include test-skeleton.c.
9011         * setjmp/tst-setjmp.c (main): Converted to ...
9012         (do_test): ... this.
9013         (TEST_FUNCTION): New macro.
9014         Include test-skeleton.c.
9015         * stdio-common/tst-sscanf.c (main): Converted to ...
9016         (do_test): ... this.
9017         (TEST_FUNCTION): New macro.
9018         Include test-skeleton.c.
9019         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
9020         (do_test): ... this.
9021         (TEST_FUNCTION): New macro.
9022         Include test-skeleton.c.
9024         * elf/tst-audit9.c (main): Converted to ...
9025         (do_test): ... this.
9026         (TEST_FUNCTION): New macro.
9027         Include test-skeleton.c.
9029 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
9031         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
9033 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
9035         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
9036         New variable.
9038 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
9040         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9042 2015-07-14  Roland McGrath  <roland@hack.frob.com>
9044         * sysdeps/generic/dl-fileid.h: New file.
9045         * sysdeps/posix/dl-fileid.h: New file.
9046         * sysdeps/nacl/dl-fileid.h: New file.
9047         * include/link.h: Include <dl-fileid.h>.
9048         (struct link_map): Replace l_dev and l_ino with l_file_id.
9049         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
9050         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
9051         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
9053 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9055         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
9057 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9059         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
9060         Add iff $CXX is set.
9061         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
9062         Likewise.
9063         (tst-nodelete-zmodiff): Likewise.
9064         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
9066 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9068         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
9070 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
9072         * sysdeps/aarch64/fpu/math_private.h
9073         (define math_opt_barrier): Add AArch64 version.
9074         (math_force_eval): Likewise.
9076 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
9078         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
9080 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
9082         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
9083         %ld with %jd and cast to intmax_t.
9084         (do_test_length_zero): Likewise.
9086 2015-07-10  Roland McGrath  <roland@hack.frob.com>
9088         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
9090 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
9092         * sysdeps/tile/libm-test-ulps: Regenerated.
9094         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
9095         Comment out the whole function, not just its body.
9097 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9099         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
9100         locks.
9102         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
9104 2015-07-10  Torvald Riegel  <triegel@redhat.com>
9106         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
9107         (sem_assume_only_signals_cause_futex_EINTR): Remove.
9109 2015-07-10  Torvald Riegel  <triegel@redhat.com>
9111         * sysdeps/nptl/futex-internal.h: New file.
9112         * sysdeps/nacl/futex-internal.h: New file.
9113         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
9114         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
9115         error checking.
9116         (setxid_unmark_thread): Likewise.
9117         (__nptl_setxid): Likewise.
9118         (__wait_lookup_done): Likewise.
9119         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
9120         * nptl/nptl-init.c (sighandler_setxid): Likewise.
9121         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
9122         * nptl/pthread_once.c (clear_once_control): Likewise.
9123         (__pthread_once_slow): Likewise.
9124         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
9125         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
9126         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
9127         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
9128         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
9129         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
9130         Likewise.
9131         (__pthread_rwlock_rdlock): Likewise.
9132         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9133         Likewise.
9134         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9135         Likewise.
9136         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
9137         Likewise.
9138         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
9139         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
9140         Likewise.
9141         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
9142         __ASSUME_PRIVATE_FUTEX check.
9143         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
9144         Check that shared futexes are supported.
9145         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
9146         wrappers with error checking.
9147         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
9148         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
9149         * nptl/pthread_barrierattr_setpshared.c
9150         (pthread_barrierattr_setpshared): Check that shared futexes are
9151         supported.
9152         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
9153         Likewise.
9154         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
9155         Likewise.
9156         * nptl/sem_init.c (futex_private_if_supported): Remove.
9157         (__new_sem_init): Adapt and check that shared futexes are supported.
9158         * nptl/sem_open.c (sem_open): Likewise.
9159         * nptl/sem_post.c (futex_wake): Remove.
9160         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
9161         (do_futex_wait): Use futex wrappers with error checking.
9162         * nptl/sem_wait.c: Include lowlevellock.h.
9163         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
9164         Use futex_supports_pshared.
9165         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
9166         Use futex wrappers with error checking.
9167         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
9168         Likewise.
9169         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
9170         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
9171         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
9172         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
9173         (futex_wake): Likewise.
9174         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
9175         (do_futex_wait): Use futex wrappers with error checking.
9176         (__new_sem_wait_slow): Update EINTR handling.
9177         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
9179 2015-07-09  Martin Sebor  <msebor@redhat.com>
9181         [BZ #18435]
9182         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
9183         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
9184         * nptl/Makefile (test-xfail-tst-once5): Define.
9186 2015-07-09  Roland McGrath  <roland@hack.frob.com>
9188         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
9189         * elf/dl-minimal.c: For readability, reorder some definitions and
9190         introduce more page breaks.  Include <stdio.h>.
9191         (__libc_fatal): New function.
9193         * include/unistd.h: Add rtld_hidden_proto for _exit.
9194         * posix/_exit.c: Add rtld_hidden_def.
9195         * sysdeps/mach/hurd/_exit.c: Likewise.
9196         * sysdeps/nacl/_exit.c: Likewise.
9197         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
9198         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
9200 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
9202         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
9203         bndmov encoding with zero displacement.
9205 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
9206             H.J. Lu  <hongjiu.lu@intel.com>
9208         [BZ #18134]
9209         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
9210         * sysdeps/i386/configure: Regenerated.
9211         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
9212         (_dl_runtime_profile): Save and restore Intel MPX return bound
9213         registers when calling _dl_call_pltexit.  Add
9214         PRESERVE_BND_REGS_PREFIX before return.
9215         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
9216         (LRV_BND1_OFFSET): Likewise.
9217         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
9218         lrv_bnd1.
9219         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
9220         typo in bndmov encoding.
9221         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
9222         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
9223         branch instructions to preserve bounds.
9225 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9228         [GLIBC_2.22]: Add fmemopen.
9230 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9232         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
9233         returns an error, also try to use host port from __mach_host_self for
9234         the __vm_wire call.
9235         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
9237 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9239         [BZ #18400]
9240         [BZ #18648]
9241         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
9242         Fix pr_uid and pr_gid members.
9243         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
9244         definition to elf_greg_t.
9246 2015-07-08  Roland McGrath  <roland@hack.frob.com>
9248         [BZ #18383]
9249         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
9250         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
9251         * sysdeps/arm/configure: Regenerated.
9252         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
9253         (test-xfail-tst-tlsalign-static): Variable removed.
9255         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
9256         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
9257         rather than explicit 'ln -s'.
9259         * resolv/rpc/netdb.h: New file.
9260         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
9262 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9264         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
9265         length buffers.
9266         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
9267         test-skeleton.c.
9269         [BZ #6544]
9270         [BZ #11216]
9271         [BZ #12836]
9272         [BZ #13151]
9273         [BZ #13152]
9274         [BZ #14292]
9275         * include/stdio.h (fmemopen): Remove hidden prototype.
9276         (__fmemopen): Add new hidden prototype.
9277         * libio/Makefile: Add oldfmemopen object.
9278         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
9279         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
9280         compliance.
9281         * libio/oldfmemopen.c: New file: old fmemopen implementation for
9282         symbol compatibility.
9283         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
9284         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
9285         fmemopen.
9286         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
9287         on append and read mode.
9288         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
9289         fmemopen.
9290         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
9291         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
9292         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
9293         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
9294         Likewise.
9295         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
9296         [GLIBC_2.22]: Likewise.
9297         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
9298         Likewise.
9299         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
9300         Likewise.
9301         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9302         [GLIBC_2.22]: Likewise.
9303         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9304         [GLIBC_2.22]: Likewise.
9305         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9306         [GLIBC_2.22]: Likewise.
9307         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9308         [GLIBC_2.22]: Likewise.
9309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9310         [GLIBC_2.22]: Likewise.
9311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9312         [GLIBC_2.22]: Likewise.
9313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9314         [GLIBC_2.22]: Likewise.
9315         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
9316         Likewise.
9317         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
9318         Likewise.
9319         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
9320         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
9321         [GLIBC_2.22]: Likewise.
9322         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
9323         [GLIBC_2.22]: Likewise.
9324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
9325         [GLIBC_2.22]: Likewise.
9326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
9327         [GLIBC_2.22]: Likewise.
9328         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
9329         Likewise.
9330         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
9331         Likewise.
9332         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
9333         Likewise.
9334         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
9335         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
9337 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
9339         [BZ #18643]
9340         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
9341         IPV6_PATHMTU, and IPV6_DONTFRAG.
9343 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
9345         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
9346         and _IO_UNBUFFERED.
9347         * libio/oldfileops.c: Likewise.
9348         * libio/wfileops.c: Likewise.
9350 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
9352         * nscd/selinux.c: Delete selinux/flask.h include.
9354 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
9356         [BZ #18641]
9357         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
9358         (putpwent): Likewise.
9359         (getpwnam): Likewise.
9360         (getpwent_r): Likewise.
9361         (getpwuid_r): Likewise.
9362         (getpwnam_r): Likewise.
9363         (fgetpwent_r): Likewise.
9365 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
9367         [BZ #18557]
9368         * inet/rcmd.c (__validuser2_sa): Check user first to
9369         short-circuit host check.
9371 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
9372             Mikhail Ilin  <m.ilin@samsung.com>
9374         [BZ #17833]
9375         * elf/Makefile (tests): Add tst-nodelete.
9376         (modules-names): Add tst-nodelete-uniquemod.
9377         (tst-nodelete-uniquemod.so-no-z-defs): New.
9378         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
9379         (tst-nodelete-zmod.so-no-z-defs): Likewise.
9380         ($(objpfx)tst-nodelete): Likewise.
9381         ($(objpfx)tst-nodelete.out): Likewise.
9382         (LDFLAGS-tst-nodelete): Likewise.
9383         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
9384         * elf/dl-close.c (_dl_close_worker): Add a parameter to
9385         implement forced object deletion.
9386         (_dl_close): Pass false to _dl_close_worker.
9387         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
9388         * elf/tst-nodelete.cc: New file.
9389         * elf/tst-nodeletelib.cc: Likewise.
9390         * elf/tst-znodeletelib.cc: Likewise.
9391         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
9393 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9395         [BZ #18508]
9396         * stdlib/Makefile ($(objpfx)tst-makecontext3):
9397         Depend on $(libdl).
9398         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
9399         is not called infinitely times.
9400         (backtrace_helper): New function.
9401         (trace_arg): New struct.
9402         (st1): Enlarge stack size.
9403         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9404         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
9405         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9406         Likewise.
9408 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9410         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9412 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9414         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
9415         Include sys/types.h instead of bits/types.h.
9416         Remove inclusion of bits/wordsize.h.
9418 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
9420         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
9421         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
9422         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
9423         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
9424         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
9425         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
9427 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
9429         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
9430         link-defines.sym.
9431         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
9432         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
9433         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
9434         and LR_SIZE.
9435         * sysdeps/i386/link-defines.sym: New file.
9437 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
9439         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
9440         (modules-names): Add tst-auditmod3a tst-auditmod3b.
9441         ($(objpfx)tst-audit3): New rule.
9442         ($(objpfx)tst-audit3.out): Likewise.
9443         * sysdeps/i386/tst-audit3.c: New file.
9444         * sysdeps/i386/tst-audit3.h: Likewise.
9445         * sysdeps/i386/tst-auditmod3a.c: Likewise.
9446         * sysdeps/i386/tst-auditmod3b.c: Likewise.
9448 2015-07-07  Torvald Riegel  <triegel@redhat.com>
9450         [BZ #18633]
9451         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
9452         pointer in C code.
9453         (__strcat_c): Likewise.
9454         (__strcat_g): Likewise.
9456 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
9458         [BZ #18592]
9459         * misc/sbrk.c: Set errno to ENOMEM on overflow.
9461 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
9463         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
9464         New function.  (__ieee754_sqrtf): New function.
9465         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
9466         New function.
9467         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
9468         New function.
9470 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
9472         * sysdeps/ieee754/support.c: Remove unused file.
9474 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9476         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
9477         registers instead of d ones so the layout is kernel abi compatible.
9478         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
9479         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
9480         Likewise.
9482 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9484         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9486 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
9488         [BZ #18619]
9489         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
9490         and return argument in case of subnormal argument.
9492 2015-07-01  Martin Sebor  <msebor@redhat.com>
9494         [BZ #18435]
9495         * nptl/Makefile: Add tst-once5.cc.
9496         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
9497         Remove macro redefinitions.
9498         * nptl/tst-once5.cc: New test.
9500 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
9502         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9504         * sysdeps/arm/libm-test-ulps: Regenerated.
9506         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9507         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9509 2015-06-30  Torvald Riegel  <triegel@redhat.com>
9511         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
9512         lll_lock_wait_private and lll_futex_wake probes.
9514         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
9515         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
9516         Likewise.
9517         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
9518         atomic_spin_nop.
9519         * sysdeps/x86_64/bits/atomic.h: Likewise.
9520         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
9521         to atomic_spin_nop and move ...
9522         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
9523         ... here and ...
9524         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
9525         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
9526         atomic_spin_nop instead of BUSY_WAIT_NOP.
9527         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
9528         Likewise.
9529         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
9530         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
9531         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
9532         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
9533         instead of atomic_delay.
9535 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
9537         [BZ #18613]
9538         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
9539         X_ADJ not X when adjusting exponent.
9540         (__ieee754_gamma_r): Do intermediate computations in
9541         round-to-nearest then adjust overflowing and underflowing results
9542         as needed.
9543         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
9544         of X_ADJ not X when adjusting exponent.
9545         (__ieee754_gammaf_r): Do intermediate computations in
9546         round-to-nearest then adjust overflowing and underflowing results
9547         as needed.
9548         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
9549         log of X_ADJ not X when adjusting exponent.
9550         (__ieee754_gammal_r): Do intermediate computations in
9551         round-to-nearest then adjust overflowing and underflowing results
9552         as needed.  Use 1.0L not 1.0f as numerator of division.
9553         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
9554         log of X_ADJ not X when adjusting exponent.
9555         (__ieee754_gammal_r): Do intermediate computations in
9556         round-to-nearest then adjust overflowing and underflowing results
9557         as needed.  Use 1.0L not 1.0f as numerator of division.
9558         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
9559         of X_ADJ not X when adjusting exponent.
9560         (__ieee754_gammal_r): Do intermediate computations in
9561         round-to-nearest then adjust overflowing and underflowing results
9562         as needed.  Use 1.0L not 1.0f as numerator of division.
9563         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
9564         to auto-libm-test-in.
9565         (tgamma_test): Use ALL_RM_TEST.
9566         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
9567         tests of tgamma with spurious-overflow.
9568         * math/auto-libm-test-out: Regenerated.
9569         * math/gen-libm-have-vector-test.sh: Do not check for START.
9570         * sysdeps/i386/fpu/libm-test-ulps: Update.
9571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9573         [BZ #18612]
9574         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
9575         arguments, just return 0.5 times the argument, with underflow
9576         forced as needed.
9577         * math/auto-libm-test-in: Add more tests of j1.
9578         * math/auto-libm-test-out: Regenerated.
9580         [BZ #16559]
9581         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
9582         (__ieee754_j1): Force underflow exception for small results.
9583         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9584         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
9585         (__ieee754_j1f): Force underflow exception for small results.
9586         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9587         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9588         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9589         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
9590         (__ieee754_j1l): Force underflow exception for small results.
9591         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9592         * math/auto-libm-test-in: Add more tests of j1 and jn.
9593         * math/auto-libm-test-out: Regenerated.
9595         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
9596         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
9597         (PF_MPLS): Likewise.
9598         (AF_IB): Likewise.
9599         (AF_MPLS): Likewise.
9600         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
9601         value and macro.
9602         (MS_RMT_MASK): Include MS_LAZYTIME.
9604 2015-06-26  Mel Gorman  <mgorman@suse.de>
9606         [BZ #18502]
9607         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
9608         already minimal.
9610 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
9612         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
9613         (DT_MIPS_NUM): Update.
9614         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
9615         DT_MIPS_RLD_MAP_REL.
9617 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
9619         [BZ #16559]
9620         [BZ #18602]
9621         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
9622         round-to-nearest internally then recompute results that
9623         underflowed to zero in the original rounding mode.
9624         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9625         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9626         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9627         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
9628         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
9629         * sysdeps/i386/fpu/libm-test-ulps: Update.
9630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9632 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
9634         * NEWS: Fixed description of link with vector math library.
9636 2015-06-25  Andreas Schwab  <schwab@suse.de>
9638         [BZ #18549]
9639         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
9640         * libio/test-fmemopen.c (do_test): Add test for it.
9642 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
9644         [BZ #17841]
9645         * Makeconfig (no-pie-ldflag): New.
9646         (+link): Set to $(+link-pie) if default to PIE.
9647         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
9648         * config.make.in (build-pie-default): New.
9649         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
9650         is default.  AC_SUBST.
9651         * configure: Regenerated.
9652         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
9654 2015-06-24  Roland McGrath  <roland@hack.frob.com>
9656         * nptl/descr.h (struct pthread): Change type of field setxid_futex
9657         to 'unsigned int'.
9659         * resolv/gai_misc.h (struct waitlist): Change type of field
9660         counterp to 'volatile unsigned int *'.
9661         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
9662         FUTEXADDR and OLDVAL.
9663         * resolv/getaddrinfo_a.c (getaddrinfo_a):
9664         Give local variable TOTAL type 'volatile unsigned int'.
9665         (struct async_waitlist): Change type of field counter to 'unsigned int'.
9666         * resolv/gai_suspend.c (gai_suspend):
9667         Give local variable CNTR type 'unsigned int'.
9669         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
9670         counterp to 'volatile unsigned int *'.
9671         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
9672         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
9673         (aio_suspend): Give local variable CNTR type 'unsigned int'.
9674         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
9675         Give local variable TOTAL type 'volatile unsigned int'.
9676         (struct async_waitlist): Change type of field counter to 'unsigned int'.
9678 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
9680         [BZ #18383]
9681         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
9682         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
9683         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
9684         comment for i386/x86-64.
9685         (test-xfail-tst-tlsalign-extern-static): Removed.
9687 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
9689         * math/test-double.h: New file.
9690         * math/test-float.h: Likewise.
9691         * math/test-ldouble.h: Likewise.
9692         * math/test-math-inline.h: Likewise.
9693         * math/test-math-no-inline.h: Likewise.
9694         * math/test-math-scalar.h: Likewise.
9695         * math/test-math-vector.h: Likewise.
9696         * math/test-vec-loop.h: Remove file.  Contents moved into
9697         test-math-vector.h.
9698         * math/libm-test.inc (MATHCONST): Do not document macro.
9699         * math/test-double.c: Include test-double.h, test-math-no-inline.h
9700         and test-math-scalar.h.
9701         (FUNC): Remove macro.
9702         (FUNC_TEST): Likewise.
9703         (FLOAT): Likewise.
9704         (MATHCONST): Likewise.
9705         (PRINTF_EXPR): Likewise.
9706         (PRINTF_XEXPR): Likewise.
9707         (PRINTF_NEXPR): Likewise.
9708         (TEST_DOUBLE): Likewise.
9709         (TEST_MATHVEC): Likewise.
9710         (__NO_MATH_INLINES): Likewise.
9711         * math/test-float.c: Include test-float.h, test-math-no-inline.h
9712         and test-math-scalar.h.
9713         (FUNC): Remove macro.
9714         (FUNC_TEST): Likewise.
9715         (FLOAT): Likewise.
9716         (MATHCONST): Likewise.
9717         (PRINTF_EXPR): Likewise.
9718         (PRINTF_XEXPR): Likewise.
9719         (PRINTF_NEXPR): Likewise.
9720         (TEST_FLOAT): Likewise.
9721         (TEST_MATHVEC): Likewise.
9722         (__NO_MATH_INLINES): Likewise.
9723         * math/test-idouble.c: Include test-double.h, test-math-inline.h
9724         and test-math-scalar.h.
9725         (FUNC): Remove macro.
9726         (FUNC_TEST): Likewise.
9727         (FLOAT): Likewise.
9728         (MATHCONST): Likewise.
9729         (PRINTF_EXPR): Likewise.
9730         (PRINTF_XEXPR): Likewise.
9731         (PRINTF_NEXPR): Likewise.
9732         (TEST_DOUBLE): Likewise.
9733         (TEST_MATHVEC): Likewise.
9734         (TEST_INLINE): Likewise.
9735         (__NO_MATH_INLINES): Likewise.
9736         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
9737         test-math-scalar.h.
9738         (FUNC): Remove macro.
9739         (FUNC_TEST): Likewise.
9740         (FLOAT): Likewise.
9741         (MATHCONST): Likewise.
9742         (PRINTF_EXPR): Likewise.
9743         (PRINTF_XEXPR): Likewise.
9744         (PRINTF_NEXPR): Likewise.
9745         (TEST_FLOAT): Likewise.
9746         (TEST_MATHVEC): Likewise.
9747         (TEST_INLINE): Likewise.
9748         (__NO_MATH_INLINES): Likewise.
9749         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
9750         and test-math-scalar.h.
9751         (FUNC): Remove macro.
9752         (FUNC_TEST): Likewise.
9753         (FLOAT): Likewise.
9754         (MATHCONST): Likewise.
9755         (PRINTF_EXPR): Likewise.
9756         (PRINTF_XEXPR): Likewise.
9757         (PRINTF_NEXPR): Likewise.
9758         (TEST_LDOUBLE): Likewise.
9759         (TEST_MATHVEC): Likewise.
9760         (TEST_INLINE): Likewise.
9761         (__NO_MATH_INLINES): Likewise.
9762         * math/test-ldouble.c: Include test-ldouble.h,
9763         test-math-no-inline.h and test-math-scalar.h.
9764         (FUNC): Remove macro.
9765         (FUNC_TEST): Likewise.
9766         (FLOAT): Likewise.
9767         (MATHCONST): Likewise.
9768         (PRINTF_EXPR): Likewise.
9769         (PRINTF_XEXPR): Likewise.
9770         (PRINTF_NEXPR): Likewise.
9771         (TEST_LDOUBLE): Likewise.
9772         (TEST_MATHVEC): Likewise.
9773         (__NO_MATH_INLINES): Likewise.
9774         * math/test-double-vlen2.h: Include test-double.h,
9775         test-math-no-inline.h and test-math-vector.h.
9776         (FLOAT): Remove macro.
9777         (FUNC): Likewise.
9778         (MATHCONST): Likewise.
9779         (PRINTF_EXPR): Likewise.
9780         (PRINTF_XEXPR): Likewise.
9781         (PRINTF_NEXPR): Likewise.
9782         (TEST_DOUBLE): Likewise.
9783         (TEST_MATHVEC): Likewise.
9784         (__NO_MATH_INLINES): Likewise.
9785         (CNCT): Likewise.
9786         (CONCAT): Likewise.
9787         (WRAPPER_NAME): Likewise.
9788         (WRAPPER_DECL): Likewise.
9789         (WRAPPER_DECL_ff): Likewise.
9790         (WRAPPER_DECL_fFF): Likewise.
9791         (VECTOR_WRAPPER): Likewise.
9792         (VECTOR_WRAPPER_ff): Likewise.
9793         (VECTOR_WRAPPER_fFF): Likewise.
9794         (VEC_LEN): New macro.
9795         * math/test-double-vlen4.h: Include test-double.h,
9796         test-math-no-inline.h and test-math-vector.h.
9797         (FLOAT): Remove macro.
9798         (FUNC): Likewise.
9799         (MATHCONST): Likewise.
9800         (PRINTF_EXPR): Likewise.
9801         (PRINTF_XEXPR): Likewise.
9802         (PRINTF_NEXPR): Likewise.
9803         (TEST_DOUBLE): Likewise.
9804         (TEST_MATHVEC): Likewise.
9805         (__NO_MATH_INLINES): Likewise.
9806         (CNCT): Likewise.
9807         (CONCAT): Likewise.
9808         (WRAPPER_NAME): Likewise.
9809         (WRAPPER_DECL): Likewise.
9810         (WRAPPER_DECL_ff): Likewise.
9811         (WRAPPER_DECL_fFF): Likewise.
9812         (VECTOR_WRAPPER): Likewise.
9813         (VECTOR_WRAPPER_ff): Likewise.
9814         (VECTOR_WRAPPER_fFF): Likewise.
9815         (VEC_LEN): New macro.
9816         * math/test-double-vlen8.h: Include test-double.h,
9817         test-math-no-inline.h and test-math-vector.h.
9818         (FLOAT): Remove macro.
9819         (FUNC): Likewise.
9820         (MATHCONST): Likewise.
9821         (PRINTF_EXPR): Likewise.
9822         (PRINTF_XEXPR): Likewise.
9823         (PRINTF_NEXPR): Likewise.
9824         (TEST_DOUBLE): Likewise.
9825         (TEST_MATHVEC): Likewise.
9826         (__NO_MATH_INLINES): Likewise.
9827         (CNCT): Likewise.
9828         (CONCAT): Likewise.
9829         (WRAPPER_NAME): Likewise.
9830         (WRAPPER_DECL): Likewise.
9831         (WRAPPER_DECL_ff): Likewise.
9832         (WRAPPER_DECL_fFF): Likewise.
9833         (VECTOR_WRAPPER): Likewise.
9834         (VECTOR_WRAPPER_ff): Likewise.
9835         (VECTOR_WRAPPER_fFF): Likewise.
9836         (VEC_LEN): New macro.
9837         * math/test-float-vlen4.h: Include test-float.h,
9838         test-math-no-inline.h and test-math-vector.h.
9839         (FLOAT): Remove macro.
9840         (FUNC): Likewise.
9841         (MATHCONST): Likewise.
9842         (PRINTF_EXPR): Likewise.
9843         (PRINTF_XEXPR): Likewise.
9844         (PRINTF_NEXPR): Likewise.
9845         (TEST_FLOAT): Likewise.
9846         (TEST_MATHVEC): Likewise.
9847         (__NO_MATH_INLINES): Likewise.
9848         (CNCT): Likewise.
9849         (CONCAT): Likewise.
9850         (WRAPPER_NAME): Likewise.
9851         (WRAPPER_DECL): Likewise.
9852         (WRAPPER_DECL_ff): Likewise.
9853         (WRAPPER_DECL_fFF): Likewise.
9854         (VECTOR_WRAPPER): Likewise.
9855         (VECTOR_WRAPPER_ff): Likewise.
9856         (VECTOR_WRAPPER_fFF): Likewise.
9857         (VEC_LEN): New macro.
9858         * math/test-float-vlen8.h: Include test-float.h,
9859         test-math-no-inline.h and test-math-vector.h.
9860         (FLOAT): Remove macro.
9861         (FUNC): Likewise.
9862         (MATHCONST): Likewise.
9863         (PRINTF_EXPR): Likewise.
9864         (PRINTF_XEXPR): Likewise.
9865         (PRINTF_NEXPR): Likewise.
9866         (TEST_FLOAT): Likewise.
9867         (TEST_MATHVEC): Likewise.
9868         (__NO_MATH_INLINES): Likewise.
9869         (CNCT): Likewise.
9870         (CONCAT): Likewise.
9871         (WRAPPER_NAME): Likewise.
9872         (WRAPPER_DECL): Likewise.
9873         (WRAPPER_DECL_ff): Likewise.
9874         (WRAPPER_DECL_fFF): Likewise.
9875         (VECTOR_WRAPPER): Likewise.
9876         (VECTOR_WRAPPER_ff): Likewise.
9877         (VECTOR_WRAPPER_fFF): Likewise.
9878         (VEC_LEN): New macro.
9879         * math/test-float-vlen16.h: Include test-float.h,
9880         test-math-no-inline.h and test-math-vector.h.
9881         (FLOAT): Remove macro.
9882         (FUNC): Likewise.
9883         (MATHCONST): Likewise.
9884         (PRINTF_EXPR): Likewise.
9885         (PRINTF_XEXPR): Likewise.
9886         (PRINTF_NEXPR): Likewise.
9887         (TEST_FLOAT): Likewise.
9888         (TEST_MATHVEC): Likewise.
9889         (__NO_MATH_INLINES): Likewise.
9890         (CNCT): Likewise.
9891         (CONCAT): Likewise.
9892         (WRAPPER_NAME): Likewise.
9893         (WRAPPER_DECL): Likewise.
9894         (WRAPPER_DECL_ff): Likewise.
9895         (WRAPPER_DECL_fFF): Likewise.
9896         (VECTOR_WRAPPER): Likewise.
9897         (VECTOR_WRAPPER_ff): Likewise.
9898         (VECTOR_WRAPPER_fFF): Likewise.
9899         (VEC_LEN): New macro.
9900         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
9901         test-vec-loop.h.
9902         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9903         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9904         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9905         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9906         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9907         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9908         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
9910 2015-06-24  Roland McGrath  <roland@hack.frob.com>
9912         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
9913         (__getlogin_r): ... this.
9915 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
9917         [BZ #18594]
9918         * math/s_ccosh.c (__ccosh): Compare with least normal value
9919         instead of comparing class with FP_SUBNORMAL.
9920         * math/s_ccoshf.c (__ccoshf): Likewise.
9921         * math/s_ccoshl.c (__ccoshl): Likewise.
9922         * math/s_cexp.c (__cexp): Likewise.
9923         * math/s_cexpf.c (__cexpf): Likewise.
9924         * math/s_cexpl.c (__cexpl): Likewise.
9925         * math/s_csin.c (__csin): Likewise.
9926         * math/s_csinf.c (__csinf): Likewise.
9927         * math/s_csinh.c (__csinh): Likewise.
9928         * math/s_csinhf.c (__csinhf): Likewise.
9929         * math/s_csinhl.c (__csinhl): Likewise.
9930         * math/s_csinl.c (__csinl): Likewise.
9931         * math/s_ctan.c (__ctan): Likewise.
9932         * math/s_ctanf.c (__ctanf): Likewise.
9933         * math/s_ctanh.c (__ctanh): Likewise.
9934         * math/s_ctanhf.c (__ctanhf): Likewise.
9935         * math/s_ctanhl.c (__ctanhl): Likewise.
9936         * math/s_ctanl.c (__ctanl): Likewise.
9937         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
9938         csin, csinh, ctan and ctanh.
9939         * math/auto-libm-test-out: Regenerated.
9940         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
9941         * sysdeps/i386/fpu/libm-test-ulps: Update.
9942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9944 2015-06-24  Roland McGrath  <roland@hack.frob.com>
9946         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
9947         return value is wrong, print the expected value too.
9949 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
9951         [BZ #18585]
9952         * elf/readlib.c (is_gdb_python_file): New.
9953         (process_file): Don't issue errors on filenames with -gdb.py
9954         suffix.
9956 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
9958         * math/auto-libm-test-in: Add more tests of csin and csinh.
9959         * math/auto-libm-test-out: Regenerated.
9960         * math/libm-test.inc (csin_test_data): Remove tests moved to
9961         auto-libm-test-in.
9962         (csinh_test_data): Likewise.
9964         [BZ #18593]
9965         * math/s_csin.c (__csin): Negate before rather than after possibly
9966         overflowing multiplication.
9967         * math/s_csinf.c (__csinf): Likewise.
9968         * math/s_csinh.c (__csinh): Likewise.
9969         * math/s_csinhf.c (__csinhf): Likewise.
9970         * math/s_csinhl.c (__csinhl): Likewise.
9971         * math/s_csinl.c (__csinl): Likewise.
9972         * math/auto-libm-test-in: Add some tests of csin and csinh.
9973         * math/auto-libm-test-out: Regenerated.
9974         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
9975         (csinh_test_data): Likewise.
9976         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9978         [BZ #18586]
9979         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
9980         underflow exception for small results.
9982 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
9984         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
9985         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
9986         variable and included header.
9987         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
9988         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
9989         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
9990         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
9991         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
9992         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
9993         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
9994         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
9995         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
9996         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
9997         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
9998         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
9999         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
10000         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
10001         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
10002         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
10004 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
10006         [BZ #16526]
10007         [BZ #16538]
10008         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
10009         (__sin): Force underflow exception for arguments with small
10010         absolute value.
10011         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
10012         (__kernel_sinf): Force underflow exception for arguments with
10013         small absolute value.
10014         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
10015         (__kernel_sincosl): Force underflow exception for arguments with
10016         small absolute value.
10017         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
10018         (__kernel_sinl): Force underflow exception for arguments with
10019         small absolute value.
10020         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
10021         (__kernel_sincosl): Force underflow exception for arguments with
10022         small absolute value.
10023         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
10024         (__kernel_sinl): Force underflow exception for arguments with
10025         small absolute value.
10026         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
10027         (__kernel_sinl): Force underflow exception for arguments with
10028         small absolute value.
10029         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
10030         (__kernel_sinf): Force underflow exception for arguments with
10031         small absolute value.
10032         * math/auto-libm-test-in: Add more tests of sin and sincos.
10033         * math/auto-libm-test-out: Regenerated.
10035         [BZ #18245]
10036         [BZ #18583]
10037         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
10038         (__kernel_standard_l): Use feholdexcept and fesetenv around
10039         conversion to double instead of special-casing overflow and
10040         underflow.
10041         * math/libm-test.inc (fmod_test_data): Add more tests.
10042         (remainder_test_data): Likewise.
10043         (sqrt_test_data): Likewise.
10045 2015-06-23  Torvald Riegel  <triegel@redhat.com>
10047         [BZ #17403]
10048         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
10049         atomic_read_barrier, atomic_write_barrier): Define.
10050         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
10051         atomic_read_barrier, atomic_write_barrier): Define.
10053 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
10055         * math/Makefile [$(PERL) != no]
10056         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
10057         dependency on libm-test.stmp below the inclusion of Rules.
10059 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
10061         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
10062         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
10063         and included header.
10064         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
10065         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
10066         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
10067         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
10068         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
10069         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
10070         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
10071         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
10072         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
10073         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
10074         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
10075         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
10076         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
10077         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
10078         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
10079         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
10080         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
10081         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
10082         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
10084 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
10086         [BZ #18371]
10087         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
10088         intermediate but not final result might underflow.
10089         * math/s_csqrtf.c (__csqrtf): Likewise.
10090         * math/s_csqrtl.c (__csqrtl): Likewise.
10091         * math/auto-libm-test-in: Add more tests of csqrt.
10092         * math/auto-libm-test-out: Regenerated.
10093         * sysdeps/i386/fpu/libm-test-ulps: Update.
10095         [BZ #18219]
10096         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
10097         threshold on absolute value of exponent for which scaling is used.
10098         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
10099         * math/auto-libm-test-in: Add more tests of exp2.
10100         * math/auto-libm-test-out: Regenerated.
10102 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
10104         [BZ #17977]
10105         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
10106         when initializing interface list, based on the bug analysis
10107         and the patch proposed by Eric Newton.
10108         * resolv/tst-res_hconf_reorder.c: New test.
10109         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
10110         tst-res_hconf_reorder.
10111         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
10112         and $(shared-thread-library).
10113         (tst-res_hconf_reorder-ENV): New variable.
10115         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
10116         in comment.
10118 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
10120         [BZ #16353]
10121         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
10122         (__expm1): Force underflow exception for arguments with small
10123         absolute value.
10124         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
10125         (__expm1f): Force underflow exception for arguments with small
10126         absolute value.
10127         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
10128         (__expm1): Force underflow exception for arguments with small
10129         absolute value.
10130         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
10131         (__expm1f): Force underflow exception for arguments with small
10132         absolute value.
10133         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10134         Check for small arguments before calling __expm1.
10135         * math/auto-libm-test-in: Do not mark underflow exceptions as
10136         possibly missing for bug 16353.
10137         * math/auto-libm-test-out: Regenerated.
10139 2015-06-22  Andreas Schwab  <schwab@suse.de>
10141         [BZ #18513]
10142         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
10143         PTR queries.
10145 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
10147         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
10149         * string/strcoll_l.c: Remove unused struct element idxnow.
10151 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
10153         [BZ #18569]
10154         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
10155         underflow and return argument in case of subnormal argument.
10156         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10157         Likewise.
10158         * math/auto-libm-test-in: Add more tests of expm1.
10159         * math/auto-libm-test-out: Regenerated.
10161         [BZ #16361]
10162         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
10163         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
10164         tiny results.
10165         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
10166         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
10167         tiny results.
10168         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
10169         mark underflow exceptions as possibly missing for bug 16361.
10170         * math/auto-libm-test-out: Regenerated.
10172 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
10174         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
10175         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
10176         Remove variable.
10177         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
10178         (test-xfail-XOPEN2K8/utmpx.h/conform).
10180         * conform/conformtest.pl ($xerrors): New variable.
10181         (note_error): New function.
10182         (compiletest): New argument $xfail.  Use not_error.
10183         (runtest): Likewise.
10184         (top level): Handle xfail- lines.  Update calls to compiletest and
10185         runtest.  Handle xfail- and optional- in headers listed with
10186         allow-header.
10187         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
10188         (O_EXEC): Likewise.
10189         (O_SEARCH): Likewise.
10190         * conform/data/stropts.h-data (ioctl): Likewise.
10191         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
10192         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
10193         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
10194         (msghdr.msg_controllen): Likewise.
10195         (cmsghdr.cmsg_len): Likewise.
10196         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
10197         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
10198         variable.
10199         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10200         (test-xfail-XPG4/stropts.h/conform): Likewise.
10201         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10202         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10203         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10204         (test-xfail-UNIX98/stropts.h/conform): Likewise.
10205         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10206         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10207         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10208         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10209         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10210         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10211         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10212         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10213         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10214         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10215         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10216         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10217         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10218         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10219         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
10221 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10223         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
10224         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
10225         definitions for proper unfolding of __MATHDECL_VEC.
10227 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10229         * benchtests/bench-strcoll.c:
10230         Include string.h.
10231         (main): Remove unused variable res.
10233 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10235         * timezone/Makefile (%/UTC %/Universal):
10236         Generate test-result files for UTC and Universal.
10238 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10240         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10242 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
10244         [BZ #16350]
10245         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
10246         for arguments with small absolute value.
10247         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
10248         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
10249         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
10250         (__asinh): Force underflow exception for arguments with small
10251         absolute value.
10252         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
10253         (__asinhf): Force underflow exception for arguments with small
10254         absolute value.
10255         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
10256         (__asinhl): Force underflow exception for arguments with small
10257         absolute value.
10258         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
10259         (__asinhl): Force underflow exception for arguments with small
10260         absolute value.
10261         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
10262         (__asinhl): Force underflow exception for arguments with small
10263         absolute value.
10264         * math/auto-libm-test-in: Do not mark underflow exceptions as
10265         possibly missing for bug 16350.
10266         * math/auto-libm-test-out: Regenerated.
10268         * include/bits/ipc.h: Remove file.
10269         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
10270         variable.
10271         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10272         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10273         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10274         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10275         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10276         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10277         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10278         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
10279         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
10281         * math/auto-libm-test-in: Remove spurious underflow allowance for
10282         tests of cexp.
10283         * math/auto-libm-test-out: Regenerated.
10285         [BZ #18558]
10286         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
10287         unconditional definition.
10288         (MCAST_BLOCK_SOURCE): Likewise.
10289         (MCAST_UNBLOCK_SOURCE): Likewise.
10290         (MCAST_LEAVE_GROUP): Likewise.
10291         (MCAST_JOIN_SOURCE_GROUP): Likewise.
10292         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10293         (MCAST_MSFILTER): Likewise.
10294         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
10295         Remove variable.
10296         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10297         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10298         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
10299         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
10300         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
10302 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
10304         * NEWS: Mention addition of x86_64 vector sincosf.
10305         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
10306         * math/test-float-vlen4.h: Likewise.
10307         * math/test-float-vlen8.h: Likewise.
10308         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10309         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
10310         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10311         * sysdeps/x86_64/fpu/Versions: New versions added.
10312         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10313         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10314         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10315         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
10316         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
10317         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
10318         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
10319         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
10320         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
10321         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
10322         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
10323         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
10324         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
10325         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
10326         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
10327         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
10328         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
10329         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
10330         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10331         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10332         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10333         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10334         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10335         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10337         * NEWS: Mention addition of x86_64 vector sincos.
10338         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
10339         * math/math.h (__MATHDECL_VEC): New macro.
10340         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
10341         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
10342         declaration under condition.
10343         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
10344         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
10345         TEST_VEC_LOOP change.
10346         * math/test-double-vlen4.h: Likewise.
10347         * math/test-double-vlen8.h: Likewise.
10348         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
10349         * math/test-float-vlen4.h: Likewise.
10350         * math/test-float-vlen8.h: Likewise.
10351         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10352         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
10353         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10354         * sysdeps/x86_64/fpu/Versions: New versions added.
10355         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10356         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10357         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10358         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
10359         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
10360         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
10361         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
10362         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
10363         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
10364         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
10365         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
10366         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
10367         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
10368         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
10369         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
10370         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
10371         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
10372         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10373         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10374         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10375         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10376         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10377         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10378         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10380         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10381         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10382         redirections for powf.
10383         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10384         * sysdeps/x86_64/fpu/Versions: New versions added.
10385         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10386         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10387         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10388         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
10389         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
10390         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
10391         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
10392         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
10393         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
10394         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
10395         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
10396         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
10397         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
10398         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
10399         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
10400         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
10401         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
10402         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10403         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10404         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10405         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10406         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10407         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10408         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10409         * math/test-float-vlen16.h: Fixed 2 argument macro.
10410         * math/test-float-vlen4.h: Likewise.
10411         * math/test-float-vlen8.h: Likewise.
10412         * NEWS: Mention addition of x86_64 vector powf.
10414 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
10416         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10417         and redefine.
10418         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10419         and redefine.
10420         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
10421         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10422         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10424         [BZ #18553]
10425         * resource/getpriority.c (getpriority): Rename to __getpriority
10426         and define as weak alias of __getpriority.
10427         * resource/setpriority.c (setpriority): Rename to __setpriority
10428         and define as weak alias of __setpriority.
10429         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
10430         __getpriority and define as weak alias of __getpriority.
10431         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
10432         __setpriority and define as weak alias of __setpriority.
10433         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
10434         strong name.
10435         (setpriority): Use __setpriority as strong name.
10436         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
10437         __getpriority and define as weak alias of __getpriority.
10438         * include/sys/resource.h (__getpriority): Declare.  Use
10439         libc_hidden_proto.
10440         (__setpriority): Likewise.
10441         (getpriority): Don't use libc_hidden_proto.
10442         (setpriority): Likewise.
10443         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
10444         getpriority.  Call __setpriority instead of setpriority.
10445         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
10446         Remove variable.
10448         [BZ #18547]
10449         * misc/getttyent.c (getttynam): Rename to __getttynam and define
10450         as weak alias of __getttynam.  Use prototype function definition.
10451         Call __setttyent, __getttyent and __endttyent instead of
10452         setttyent, getttyent and endttyent.
10453         (getttyent): Rename to __getttyent and define as weak alias of
10454         __getttyent.  Call __setttyent instead of setttyent.  Call
10455         __fgets_unlocked instead of fgets_unlocked.
10456         (setttyent): Rename to __setttyent and define as weak alias of
10457         __setttyent.
10458         (endttyent): Rename to __endttyent and define as weak alias of
10459         __endttyent.
10460         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
10461         (__setttyent): Likewise.
10462         (__endttyent): Likewise.
10463         (getttyent): Don't use libc_hidden_proto.
10464         (setttyent): Likewise.
10465         (endttyent): Likewise.
10466         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
10467         __endttyent instead of setttyent, getttyent and endttyent.
10468         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
10469         Remove variable.
10471         [BZ #18546]
10472         * socket/recv.c (__recv): Use libc_hidden_def.
10473         * socket/socket.c (__socket): Likewise.
10474         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
10475         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
10476         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
10477         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
10478         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
10479         libc_hidden_def.
10480         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
10481         libc_hidden_weak.
10482         * include/sys/socket.h (__socket): Do not use attribute_hidden.
10483         Use libc_hidden_proto.
10484         (__recv): Likewise.
10485         * socket/Versions (libc): Export __recv and __socket at version
10486         GLIBC_PRIVATE.
10487         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
10488         instead of recv.
10489         (init_mq_netlink): Call __socket instead of socket.
10490         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
10491         Remove variable.
10493         [BZ #18545]
10494         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
10495         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
10496         hidden_weak.
10497         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
10498         define as alias of __mq_timedsend.  Use hidden_weak.
10499         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
10500         __mq_timedsend as strong name.
10501         (mq_timedreceive): Use __mq_timedreceive as strong name.
10502         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
10503         (__mq_timedreceive): Likewise.
10504         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
10505         __mq_timedreceive instead of mq_timedreceive.
10506         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
10507         instead of mq_timedsend.
10508         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
10509         Remove variable.
10511         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
10512         hidden_def and hidden_weak instead of libc_hidden_def and
10513         libc_hidden_weak.
10514         (top level): Refer to hidden_def in comment.
10515         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
10516         macro.  Use it instead of libc_hidden_def.
10517         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
10518         specify __GI_* name explicitly.
10519         (mq_timedreceive): Likewise.
10520         (mq_setattr): Likewise.
10522         [BZ #18544]
10523         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
10524         __pthread_barrier_init and define as weak alias of
10525         __pthread_barrier_init.
10526         * sysdeps/sparc/nptl/pthread_barrier_init.c
10527         (pthread_barrier_init): Likewise.
10528         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
10529         __pthread_barrier_wait and define as weak alias of
10530         __pthread_barrier_wait.
10531         * sysdeps/sparc/nptl/pthread_barrier_wait.c
10532         (pthread_barrier_wait): Likewise.
10533         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
10534         (pthread_barrier_wait): Likewise.
10535         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
10536         (pthread_barrier_wait): Likewise.
10537         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
10538         (pthread_barrier_wait): Likewise.
10539         * nptl/Versions (libpthread): Export __pthread_barrier_init and
10540         __pthread_barrier_wait at version GLIBC_PRIVATE.
10541         * include/pthread.h (__pthread_barrier_init): Declare.
10542         (__pthread_barrier_wait): Likewise.
10543         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
10544         Call __pthread_barrier_wait instead of pthread_barrier_wait.
10545         (helper_thread): Likewise.
10546         (init_mq_netlink): Call __pthread_barrier_init instead of
10547         pthread_barrier_init.
10549         [BZ #18542]
10550         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
10551         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
10552         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
10553         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
10554         vswscanf.
10555         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
10556         Remove variable.
10558         [BZ #18540]
10559         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
10560         strong alias of _IO_fflush.  Use libc_hidden_def.
10561         * libio/iofflush_u.c (fflush_unlocked): Rename to
10562         __fflush_unlocked and define as weak alias of __fflush_unlocked.
10563         Use libc_hidden_weak.
10564         * include/stdio.h (__fflush_unlocked): Declare.  Use
10565         libc_hidden_proto.
10566         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
10567         fflush_unlocked.
10568         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
10569         Remove variable.
10571         [BZ #18539]
10572         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
10573         define as weak alias of __addseverity.
10574         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
10575         Remove variable.
10576         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
10577         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
10578         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
10580         [BZ #18536]
10581         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
10582         (__tfind): Likewise.
10583         (__tdelete): Likewise.
10584         (__twalk): Likewise.
10585         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
10586         __twalk to GLIBC_PRIVATE.
10587         * include/search.h (__tsearch): Use libc_hidden_proto.
10588         (__tfind): Likewise.
10589         (__tdelete): Likewise.
10590         (__twalk): Likewise.
10591         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
10592         Call __tdelete instead of tdelete.
10593         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
10594         tfind.  Call __tsearch instead of tsearch.
10595         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
10596         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
10597         Remove variable.
10598         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
10600         [BZ #18534]
10601         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
10602         (dprintf): Define as a weak alias of __dprintf, not a strong
10603         alias.
10604         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
10605         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
10606         dprintf.
10607         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
10608         Remove variable.
10609         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
10610         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
10612         [BZ #18533]
10613         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
10614         not a strong alias.
10615         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
10616         Remove variable.
10618         [BZ #18532]
10619         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
10620         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
10621         (in6addr_loopback): Rename to __in6addr_loopback and define as
10622         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
10623         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
10624         libc_hidden_proto.
10625         (__in6addr_any): Likewise.
10626         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
10627         in6addr_any.
10628         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
10629         variable.
10630         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
10632 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
10634         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
10635         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
10636         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10637         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10638         redirections for pow.
10639         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10640         * sysdeps/x86_64/fpu/Versions: New versions added.
10641         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10642         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10643         build of SSE, AVX2 and AVX512 IFUNC versions.
10644         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
10645         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
10646         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
10647         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
10648         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
10649         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
10650         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
10651         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
10652         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
10653         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
10654         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
10655         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
10656         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
10657         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
10658         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10659         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10660         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10661         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10662         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10663         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10664         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10665         * NEWS: Mention addition of x86_64 vector pow.
10667         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10668         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10669         redirections for expf.
10670         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10671         * sysdeps/x86_64/fpu/Versions: New versions added.
10672         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10673         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10674         build of SSE, AVX2 and AVX512 IFUNC versions.
10675         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
10676         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
10677         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
10678         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
10679         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
10680         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
10681         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
10682         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
10683         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
10684         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
10685         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
10686         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
10687         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
10688         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10689         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10690         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10691         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10692         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10693         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10694         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10695         * NEWS: Mention addition of x86_64 vector expf.
10697         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
10698         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
10699         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10700         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10701         redirections for exp.
10702         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10703         * sysdeps/x86_64/fpu/Versions: New versions added.
10704         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10705         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10706         build of SSE, AVX2 and AVX512 IFUNC versions.
10707         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
10708         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
10709         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
10710         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
10711         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
10712         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
10713         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
10714         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
10715         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
10716         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
10717         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
10718         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
10719         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
10720         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10721         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10722         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10723         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10724         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10725         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10726         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10727         * NEWS: Mention addition of x86_64 vector exp.
10729         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10730         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10731         redirections for logf.
10732         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10733         * sysdeps/x86_64/fpu/Versions: New versions added.
10734         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10735         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10736         build of SSE, AVX2 and AVX512 IFUNC versions.
10737         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
10738         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
10739         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
10740         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
10741         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
10742         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
10743         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
10744         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
10745         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
10746         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
10747         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
10748         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
10749         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
10750         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10751         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10752         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10753         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10754         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10755         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10756         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10757         * NEWS: Mention addition of x86_64 vector logf.
10759         * bits/libm-simd-decl-stubs.h: Added stubs for log.
10760         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
10761         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10762         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10763         redirections for log.
10764         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10765         * sysdeps/x86_64/fpu/Versions: New versions added.
10766         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10767         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10768         build of SSE, AVX2 and AVX512 IFUNC versions.
10769         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
10770         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
10771         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
10772         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
10773         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
10774         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
10775         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
10776         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
10777         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
10778         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
10779         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
10780         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
10781         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
10782         test.
10783         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10784         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10785         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10786         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10787         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10788         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10789         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10790         * NEWS: Mention addition of x86_64 vector log.
10792 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10794         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
10795         cfi_adjust_cfa_offset argument.
10796         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
10797         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
10799         [BZ #18034]
10800         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
10801         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
10802         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
10803         ordering using ldar.
10804         (_dl_tlsdesc_dynamic): Likewise.
10805         (_dl_tlsdesc_return_lazy): Likewise.
10806         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
10807         relaxed atomics instead of volatile and synchronize with release store.
10808         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
10809         volatile.
10810         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10812 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
10814         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10815         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
10816         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10817         * sysdeps/x86_64/fpu/Versions: New versions added.
10818         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10819         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10820         build of SSE, AVX2 and AVX512 IFUNC versions.
10821         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
10822         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
10823         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
10824         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
10825         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
10826         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
10827         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
10828         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
10829         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
10830         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
10831         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
10832         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
10833         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
10834         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10835         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10836         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10837         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10838         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10839         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10840         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10841         * NEWS: Mention addition of x86_64 vector sinf.
10843 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
10845         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
10846         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
10847         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
10848         Remove variable.
10849         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
10850         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
10852 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
10854         [BZ #18530]
10855         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
10856         strong alias of _IO_fputs.  Use libc_hidden_def.
10857         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
10858         and define as weak alias of __fputs_unlocked.  Use
10859         libc_hidden_weak.
10860         * include/stdio.h (__fputs_unlocked): Declare.  Use
10861         libc_hidden_proto.
10862         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
10863         fputs_unlocked.
10865         [BZ #18529]
10866         * resolv/netdb.h [__USE_POSIX]: Change condition to
10867         [__USE_XOPEN2K].
10868         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
10869         not expect.
10870         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
10871         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
10872         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
10873         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
10874         [XPG4 || UNIX98] (AI_ALL): Likewise.
10875         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
10876         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
10877         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
10878         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
10879         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
10880         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
10881         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
10882         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
10883         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
10884         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
10885         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
10886         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
10887         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
10888         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
10889         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
10890         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
10891         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
10892         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
10893         [XPG4 || UNIX98] (gai_strerror): Likewise.
10894         [XPG4 || UNIX98] (getaddrinfo): Likewise.
10895         [XPG4 || UNIX98] (getnameinfo): Likewise.
10897         [BZ #18528]
10898         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
10899         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
10900         __USE_XOPEN2K8].
10901         (getgrent): Likewise.
10902         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
10903         expect.
10904         [XPG3 || POSIX2008] (endgrent): Likewise.
10905         [XPG3] (setgrent): Likewise.
10906         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
10907         variable.
10908         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10910         [BZ #18527]
10911         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
10912         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
10913         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
10914         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
10915         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
10916         * include/unistd.h (__getlogin_r): Declare.  Use
10917         libc_hidden_proto.
10918         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
10919         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
10920         variable.
10921         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10922         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10923         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10925 2015-06-12  Martin Sebor  <msebor@redhat.com>
10927         [BZ #18512]
10928         * Makerules (check-install-supported): New target.
10929         (install): Add check-install-supported as a dependency.
10930         * manual/install.texi (Installing the C Library): Document
10931         that overriding prefix and exec_prefix is not supported.
10932         Mention DESTDIR.
10933         * INSTALL: Regenerate from the above.
10935 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
10937         [BZ #18519]
10938         * posix/Versions (libc): Export __libc_pread at version
10939         GLIBC_PRIVATE.
10940         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
10941         instead of pread.
10942         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
10943         variable.
10945         [BZ #18522]
10946         * misc/efgcvt_r.c
10947         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
10948         (cvt_symbol): Use weak_alias instead of strong_alias.
10949         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
10950         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
10951         Remove variable.
10952         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
10953         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10955         [BZ #18520]
10956         * inet/herrno.c (h_errno): Rename to __h_errno.
10957         (__libc_h_errno): Define as alias of __h_errno not h_errno.
10958         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
10959         to __h_errno instead of h_errno.
10960         * nptl/herrno.c (h_errno): Rename to __h_errno.
10961         (__h_errno_location): Refer to __h_errno not h_errno.
10962         * resolv/Versions (h_errno): Rename to __h_errno.
10963         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
10964         Remove variable.
10965         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10967 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
10969         * configure.ac: More strict check for AVX512 assembler support.
10970         * configure: Regenerated.
10972         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
10973         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
10974         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10975         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
10976         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10977         * sysdeps/x86_64/fpu/Versions: New versions added.
10978         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10979         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10980         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10981         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
10982         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
10983         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
10984         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
10985         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
10986         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
10987         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
10988         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
10989         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
10990         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
10991         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
10992         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
10993         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
10994         test.
10995         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10996         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10997         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10998         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10999         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11000         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11001         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11002         * NEWS: Mention addition of x86_64 vector sin.
11004 2015-06-11  Florian Weimer  <fweimer@redhat.com>
11006         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
11007         comment.
11009 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
11011         [BZ #18479]
11012         * nptl/pt-interp.c: New file.
11013         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
11014         Add pt-interp.
11015         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
11016         $(common-objpfx)runtime-linker.h.
11018 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
11020         * Makeconfig (+interp): Remove unused variable.
11021         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
11022         only.  Depend on $(common-objpfx)runtime-linker.h instead of
11023         $(elf-objpfx)runtime-linker.h.
11024         ($(elf-objpfx)runtime-linker.h): Rename to
11025         $(common-objpfx)runtime-linker.h and move ...
11026         * Makerules [$(build-shared) = yes]: ... here.
11027         * elf/interp.c: Include <runtime-linker.h> instead of
11028         <elf/runtime-linker.h>.
11030 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11032         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
11033         (__gettimeofday_syscall): Remove vsyscall fallback.
11034         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
11035         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
11036         Add syscall fallback function.
11037         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
11038         if vDSO is not present.
11039         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
11040         fallback function.
11041         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
11042         present.
11043         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
11044         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11046 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
11048         [BZ #18497]
11049         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
11050         of wcscmp.
11051         (wcscmp): Define as weak alias of WCSCMP.
11052         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
11053         wcscoll.
11054         (USE_HIDDEN_DEF): Define.
11055         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
11056         __wcscoll.  Don't use libc_hidden_weak.
11057         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
11058         wcscmp.
11059         * sysdeps/i386/i686/multiarch/wcscmp-c.c
11060         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
11061         __GI_wcscmp.
11062         (weak_alias): Undefine and redefine.
11063         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
11064         __wcscmp and define as weak alias of __wcscmp.
11065         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
11066         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
11067         (__wcscoll): Likewise.
11068         (wcscmp): Don't use libc_hidden_proto.
11069         (wcscoll): Likewise.
11070         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
11071         wcscoll.
11072         * posix/regexec.c (check_node_accept_bytes): Likewise.
11073         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
11074         variable.
11075         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
11076         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
11078         [BZ #18507]
11079         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
11080         __fstatvfs and define as weak alias of __fstatvfs.  Use
11081         libc_hidden_weak.
11082         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
11083         and define as weak alias of __statvfs.  Use libc_hidden_weak.
11084         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
11085         Define as alias of __fstatvfs, not fstatvfs.
11086         (fstatvfs64): Likewise.
11087         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
11088         Define as alias of __statvfs, not statvfs.
11089         (statvfs64): Likewise.
11090         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
11091         Remove variable.
11093 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11096         (HAVE_GETCPU_VSYSCALL): Define.
11097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11098         (HAVE_GETCPU_VSYSCALL): Likewise.
11099         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
11100         * sysdeps/unix/sysv/linux/sched_getcpu.c
11101         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
11102         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
11103         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
11104         prototype.
11105         * sysdeps/unix/sysv/linux/x86_64/init-first.c
11106         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
11107         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
11108         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
11109         Define.
11110         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
11111         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11112         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
11113         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11115 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
11117         * sysdeps/x86_64/fpu/Makefile: New file.
11118         * sysdeps/x86_64/fpu/Versions: New file.
11119         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
11120         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
11121         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
11122         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
11123         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
11124         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
11125         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
11126         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
11127         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
11128         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
11129         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
11130         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
11131         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
11132         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11133         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11134         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
11135         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
11136         * sysdeps/x86_64/configure.ac: Options for libmvec build.
11137         * sysdeps/x86_64/configure: Regenerated.
11138         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
11139         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
11140         * manual/install.texi (Configuring and compiling): Document
11141         --disable-mathvec.
11142         * INSTALL: Regenerated.
11143         * NEWS: Mention addition of libmvec and x86_64 vector cos.
11145         * math/Makefile: Added rules for vector tests.
11146         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
11147         declaration under condition.
11148         * math/test-double-vlen2.h: New file.
11149         * math/test-double-vlen4.h: New file.
11150         * math/test-double-vlen8.h: New file.
11151         * math/test-vec-loop.h: Added initialization macro.
11152         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
11153         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
11154         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
11155         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
11156         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
11157         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
11158         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
11159         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
11160         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
11161         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
11162         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
11164         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11165         * sysdeps/x86_64/fpu/Versions: New versions added.
11166         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
11167         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
11168         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
11169         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
11170         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
11171         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
11172         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
11173         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
11174         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
11175         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
11176         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
11177         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
11178         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
11179         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11180         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11181         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11182         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
11183         * NEWS: Mention addition of x86_64 vector cosf.
11185         * math/Makefile: Added CFLAGS for new tests.
11186         * math/test-float-vlen16.h: New file.
11187         * math/test-float-vlen4.h: New file.
11188         * math/test-float-vlen8.h: New file.
11189         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
11190         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
11191         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11192         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
11193         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
11194         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
11195         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
11196         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
11197         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
11198         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
11199         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
11201 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
11203         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
11204         * locale/programs/ld-ctype.c: Likewise.
11206 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
11208         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
11209         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
11210         bit_ZMM16_31_state): New macro.
11211         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11212         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
11214 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
11216         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
11218 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
11220         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
11222 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
11224         [BZ #18498]
11225         * libio/memstream.c (open_memstream): Rename to __open_memstream
11226         and define as weak alias of __open_memstream.
11227         * include/stdio.h (__open_memstream): Declare.  Use
11228         libc_hidden_proto.
11229         (open_memstream): Don't use libc_hidden_proto.
11230         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
11231         open_memstream.
11232         * posix/getopt.c (_getopt_internal_r): Likewise.
11233         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
11234         variable.
11235         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
11236         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
11237         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
11239         [BZ #18496]
11240         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
11241         instead of wcrtomb.
11243         [BZ #18483]
11244         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
11245         [__USE_XOPEN2K8].  Remove redundant #endif.
11246         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
11247         Remove redundant #if.
11248         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
11249         Remove variable.
11250         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
11251         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
11253         [BZ #18495]
11254         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
11255         (__iswlower): Likewise.
11256         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
11257         (__iswlower): Likewise.
11258         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
11259         instead of towlower.
11260         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
11261         instead of iswlower.  Call __towupper instead of towupper.
11262         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
11263         instead of iswalnum.
11265 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11267         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
11268         errors to stderr.
11270 2015-06-05  Florian Weimer  <fweimer@redhat.com>
11272         [BZ #15661]
11273         [BZ #17322]
11274         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
11275         Check for overflow properly.  Check for O_APPEND.  Ignore large
11276         file system block sizes.  Add comments about problems.
11277         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
11278         * manual/filesys.texi (Storage Allocation): New node.
11280 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11282         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
11283         cancellable syscalls.
11284         (SYS_ify): Add guard to no redefine it.
11285         (INLINE_SYSCALL): Likewise.
11286         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
11287         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
11288         SYSCALL_CANCEL instead.
11289         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
11290         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
11291         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
11292         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
11293         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
11294         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
11295         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
11296         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
11297         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
11298         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
11299         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
11300         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
11301         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
11302         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
11303         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
11304         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
11305         Likewise.
11306         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
11307         (__libc_pread64): Likewise.
11308         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
11309         (__libc_preadv): Likewise.
11310         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
11311         (__libc_readv64): Likewise.
11312         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
11313         (__libc_pwrite): Likewise.
11314         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
11315         (__libc_pwrite64): Likewise.
11316         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
11317         (__libc_pwritev): Likewise.
11318         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
11319         (__libc_pwritev64): Likewise.
11320         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
11321         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
11322         (sync_file_range): Likewise.
11323         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
11324         Likewise.
11325         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
11326         Likewise.
11327         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
11328         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
11329         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
11330         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
11331         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
11332         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
11333         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
11334         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
11335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
11336         Likewise.
11337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11338         (__libc_read64): Likewise.
11339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
11340         Likewise.
11341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
11342         Likewise.
11343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
11344         Likewise.
11345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
11346         Likewise.
11347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
11348         (__libc_pread64): Likewise.
11349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
11350         Likewise.
11351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
11352         (__libc_pwrite64): Likewise.
11353         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
11354         (sync_file_range): Likewise.
11355         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
11356         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
11357         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
11358         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
11359         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
11360         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
11361         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
11362         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
11363         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
11364         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11365         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11366         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
11367         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
11368         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
11369         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
11370         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
11371         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
11372         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
11373         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
11374         Likewise.
11375         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
11376         Likewise.
11377         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
11378         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
11379         Likewise.
11380         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
11381         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
11382         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
11383         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
11384         Likewise.
11385         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
11386         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
11387         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
11388         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
11389         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
11391 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
11393         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
11394         Include dl-vdso.
11395         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
11396         Use VDSO routines for gettimeofday, clock_gettime if
11397         available.
11398         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
11399         Declare VDSO symbols.
11400         * sysdeps/unix/sysv/linux/arm/sysdep.h:
11401         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
11402         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
11403         * sysdeps/unix/sysv/linux/arm/Versions: Add
11404         __vdso_clock_gettime.
11406 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11408         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
11409         be an inline implementation regardless of library is built within.
11410         (open_not_cancel_2): Likewise.
11411         (__read_nocancel): Likewise.
11412         (__write_nocancel): Likewise.
11413         (openat_not_cancel): Likewise.
11414         (openat_not_cancel_3): Likewise.
11415         (openat64_not_cancel): Likewise.
11416         (openat64_not_cancel_3): Likewise.
11417         (__close_nocancel): Likewise.
11418         (pause_not_cancel): Likewise.
11419         (nanosleep_not_cancel): Likewise.
11420         (sigsuspend_not_cancel): Likewise.
11422 2015-06-04  Torvald Riegel  <triegel@redhat.com>
11424         [BZ #14958]
11425         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
11426         wake-up.
11427         (__pthread_rwlock_rdlock_slow): Likewise.
11428         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11429         Likewise.
11430         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
11431         Likewise.
11432         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
11433         * nptl/tst-rwlock16.c: New file.
11434         * nptl/Makefile (tests): Add new test.
11436 2015-06-04  Torvald Riegel  <triegel@redhat.com>
11438         [BZ #18324]
11439         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
11440         missing wake-up of readers.
11441         * nptl/tst-rwlock15.c: New file.
11442         * nptl/Makefile (tests): Add new test.
11444 2015-06-03  Roland McGrath  <roland@hack.frob.com>
11446         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
11447         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
11448         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
11449         and __nacl_supply_interface_rtld.
11450         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
11451         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
11452         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
11453         Add __nacl_supply_interface_rtld.
11454         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
11456 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
11458         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
11459         isfinite.
11460         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11461         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
11463 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
11465         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
11466         __signbit* with standard C99 macros.
11467         * math/e_exp10l.c: Likewise.
11468         * math/e_exp2l.c: Likewise.
11469         * math/e_scalb.c: Likewise.
11470         * math/e_scalbf.c: Likewise.
11471         * math/e_scalbl.c: Likewise.
11472         * math/s_ldexp.c: Likewise.
11473         * math/s_ldexpf.c: Likewise.
11474         * math/s_ldexpl.c: Likewise.
11475         * math/w_atan2.c: Likewise.
11476         * math/w_atan2f.c: Likewise.
11477         * math/w_atan2l.c: Likewise.
11478         * math/w_cosh.c: Likewise.
11479         * math/w_coshf.c: Likewise.
11480         * math/w_coshl.c: Likewise.
11481         * math/w_exp10.c: Likewise.
11482         * math/w_exp10f.c: Likewise.
11483         * math/w_exp10l.c: Likewise.
11484         * math/w_exp2.c: Likewise.
11485         * math/w_exp2f.c: Likewise.
11486         * math/w_exp2l.c: Likewise.
11487         * math/w_fmod.c: Likewise.
11488         * math/w_fmodf.c: Likewise.
11489         * math/w_fmodl.c: Likewise.
11490         * math/w_hypot.c: Likewise.
11491         * math/w_hypotf.c: Likewise.
11492         * math/w_hypotl.c: Likewise.
11493         * math/w_jnl.c: Likewise.
11494         * math/w_lgamma.c: Likewise.
11495         * math/w_lgamma_r.c: Likewise.
11496         * math/w_lgammaf.c: Likewise.
11497         * math/w_lgammaf_r.c: Likewise.
11498         * math/w_lgammal.c: Likewise.
11499         * math/w_lgammal_r.c: Likewise.
11500         * math/w_pow.c: Likewise.
11501         * math/w_powf.c: Likewise.
11502         * math/w_powl.c: Likewise.
11503         * math/w_remainder.c: Likewise.
11504         * math/w_remainderf.c: Likewise.
11505         * math/w_remainderl.c: Likewise.
11506         * math/w_scalb.c: Likewise.
11507         * math/w_scalbf.c: Likewise.
11508         * math/w_scalbl.c: Likewise.
11509         * math/w_scalbln.c: Likewise.
11510         * math/w_scalblnf.c: Likewise.
11511         * math/w_scalblnl.c: Likewise.
11512         * math/w_sinh.c: Likewise.
11513         * math/w_sinhf.c: Likewise.
11514         * math/w_sinhl.c: Likewise.
11515         * math/w_tgamma.c: Likewise.
11516         * math/w_tgammaf.c: Likewise.
11517         * math/w_tgammal.c: Likewise.
11518         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11519         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
11520         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11521         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11522         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11523         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11524         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11525         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11526         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11527         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11528         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11529         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11530         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11531         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11532         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11533         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11534         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11535         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11536         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11537         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11538         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11539         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11540         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11541         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11542         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11543         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11544         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
11545         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11546         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11547         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11548         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
11549         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
11550         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
11551         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
11552         * stdio-common/printf_fp.c: Likewise.
11553         * stdio-common/printf_fphex.c: Likewise.
11554         * stdio-common/printf_size.c: Likewise.
11556 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
11558         [BZ #18470]
11559         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
11560         strnlen.
11561         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
11562         Remove variable.
11563         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
11564         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
11565         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
11566         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
11567         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
11568         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
11569         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
11570         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
11571         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
11572         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
11574         [BZ #18468]
11575         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
11576         weak alias of __wmemchr.  Use libc_hidden_weak.
11577         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
11578         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
11579         instead of wmemchr.
11581 2015-06-02  Roland McGrath  <roland@hack.frob.com>
11583         [BZ #18383]
11584         * elf/tst-tlsalign-extern.c: New file.
11585         * elf/tst-tlsalign-extern-static.c: New file.
11586         * elf/tst-tlsalign-vars.c: New file.
11587         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
11588         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
11589         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
11590         ($(objpfx)tst-tlsalign-extern-static): Likewise.
11591         (test-xfail-tst-tlsalign-extern-static): New variable.
11593 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
11595         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
11596         Use variable name _sc_err instead of err.
11597         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
11598         instead of ret.
11599         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
11600         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
11601         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
11602         (INLINE_SYSCALL): Likewise.
11604         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
11605         * include/string.h (__strnlen): Use libc_hidden_proto.
11606         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
11607         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
11608         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
11609         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
11610         (libc_hidden_def): Undefine and redefine.
11611         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
11612         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
11613         __GI_strnlen.
11614         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
11615         libc_hidden_def.
11616         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
11618         [BZ #18469]
11619         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
11620         weak alias of __towlower.  Use libc_hidden_weak.
11621         (towupper): Rename to __towupper and define as weak alias of
11622         __towupper.  Use libc_hidden_weak.
11623         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
11624         (__towupper): Likewise.
11625         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
11626         __towlower instead of towlower.
11628 2015-06-02  Roland McGrath  <roland@hack.frob.com>
11630         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
11631         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
11633 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11635         * sysdeps/aarch64/libm-test-ulps: Update.
11637 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11639         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
11640         Define.
11641         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11642         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11643         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
11644         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11645         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
11646         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
11647         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
11649 2015-06-01  Martin Sebor  <msebor@redhat.com>
11651         [BZ #18116]
11652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11653         (__setcontext): Use extended four-operand version of mtsf whenever
11654         possible.
11655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11656         (__novec_swapcontext): Likewise.
11658 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11660         * benchtests/scripts/compare_bench.py: New file.
11661         * benchtests/scripts/import_bench.py (mean): New function.
11662         (split_list): Likewise.
11663         (do_for_all_timings): Likewise.
11664         (compress_timings): Likewise.
11666         * benchtests/scripts/import_bench.py: New file.
11667         * benchtests/scripts/validate_benchout.py: Import import_bench
11668         instead of jsonschema.
11669         (validate_bench): Remove function.
11670         (main): Use import_bench.
11672 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
11674         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
11675         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
11677 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11679         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11681 2015-05-28  Roland McGrath  <roland@hack.frob.com>
11683         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
11684         set THREAD_SELF->tid to a magic value and futex-wake it.
11685         Pass its address to the thread_exit system call.
11686         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
11687         bit is clear.
11688         * sysdeps/nacl/lowlevellock.h: New file.
11689         * sysdeps/nacl/lll_timedwait_tid.c: New file.
11691         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
11692         Add TIMEOUT to current time, don't subtract it.
11694 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
11696         [BZ #2981]
11697         [BZ #18422]
11698         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
11699         ($(objpfx)tst-audit2.out): Also depend on
11700         $(objpfx)tst-auditmod9b.so.
11701         * elf/tst-audit2.c: Include <dlfcn.h>.
11702         (calloc_called): New.
11703         (calloc): Allow to be called more than once.
11704         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
11706 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
11708         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
11709         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
11711 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
11713         * stdlib/monetary.h: Fix comment.
11715 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
11717         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
11718         Avoid using variables in #defines that might cause shadowing.
11719         (INTERNAL_VSYSCALL_CALL): Likewise.
11721 2015-05-26  Roland McGrath  <roland@hack.frob.com>
11723         * sysdeps/nacl/lll_timedlock_wait.c: New file.
11725         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
11726         * nptl/lll_timedlock_wait.c: ... to this new file.
11727         * nptl/Makefile (libpthread-routines): Add it.
11728         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
11729         * nptl/lll_timedwait_tid.c: ... to this new file.
11730         * nptl/Makefile (libpthread-routines): Add it.
11731         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
11732         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
11733         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
11734         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
11735         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
11736         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
11737         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
11738         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
11739         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
11740         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
11742 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11744         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
11745         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11746         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
11747         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
11748         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11749         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11750         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11751         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11752         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11753         * sysdeps/unix/sysv/linux/tile/sysdep.h
11754         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11755         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
11756         using vDSO syscall macro.
11758 2015-05-26  Andriy Rysin  <arysin@gmail.com>
11760         [BZ #17293]
11761         * uk_UA: Fix sorting order for Ukrainian locale
11763 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
11765         * stdlib/monetary.h: Fix comment.
11767 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11769         [BZ #18234]
11770         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
11771         st_mtim and st_ctim members.
11772         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
11773         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
11774         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
11775         (struct stat64): Likewise.
11776         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
11777         (struct stat64): Likewise.
11778         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
11779         (struct stat64): Likewise.
11781 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11783         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
11784         Define and include sysdep-vdso.h.
11785         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
11786         Likewise.
11787         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
11788         Likewise.
11789         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
11790         Define with VDSO_SYMBOL and use PTR_MANGLE.
11791         (__vdso_clock_gettime): Likewise.
11792         (__vdso_clock_getres): Likewise.
11793         (_libc_vdso_platform_setup): Likewise.
11794         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
11795         Likewise.
11796         (_libc_vdso_platform_setup): Likewise.
11797         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
11798         Likewise.
11799         (__vdso_clock_gettime): Likewise.
11800         (__vdso_clock_getres): Likewise.
11801         (__vdso_get_tbfreq): Likewise.
11802         (__vdso_getcpu): Likewise.
11803         (__vdso_time): Likewise.
11804         (__vdso_sigtramp_rt64): Likewise.
11805         (__vdso_signtramp32): Likewise.
11806         (__vdso_sigtramp_rt32): Likewise.
11807         (_libc_vdso_platform_setup): Likewise.
11808         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
11809         Likewise.
11810         (__vdso_clock_gettime): Likewise.
11811         (__vdso_clock_getres): Likewise.
11812         (_libc_vdso_platform_setup): Likewise.
11813         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
11814         Likewise.
11815         (__vdso_clock_gettime): Likewise.
11816         (_libc_vdso_platform_setup): Likewise.
11817         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
11818         Likewise.
11819         (__vdso_getcpu): Likewise.
11820         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
11821         Use VDSO_SYMBOL macro to define.
11822         (__vdso_clock_gettime): Likewise.
11823         (__vdso_clock_getres): Likewise.
11824         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
11825         Likewise.
11826         (__vdso_clock_gettime): Likewise.
11827         (__vdso_clock_getres): Likewise.
11828         (__vdso_get_tbfreq): Likewise.
11829         (__vdso_getcpu): Likewise.
11830         (__vdso_time): Likewise.
11831         (__vdso_sigtramp_rt64): Likewise.
11832         (__vdso_signtramp32): Likewise.
11833         (__vdso_sigtramp_rt32): Likewise.
11834         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
11835         Likewise.
11836         (__vdso_clock_gettime): Likewise.
11837         (__vdso_clock_getres): Likewise.
11838         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
11839         Likewise.
11840         (__vdso_clock_gettime): Likewise.
11841         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
11842         Likewise.
11843         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
11844         macro.
11845         (INTERNAL_VSYSCALL): Likewise.
11846         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
11847         Remove macro.
11848         (INTERNAL_VSYSCALL): Likewise.
11849         (INTERNAL_VSYSCALL_NCS): Likewise.
11850         (INTERNAL_VSYSCALL_CALL): New macro.
11851         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
11852         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
11853         Likewise.
11854         (INTERNAL_VSYSCALL): Likewise.
11855         (INTERNAL_VSYSCALL_NCS): Likewise.
11856         (INTERNAL_VSYSCALL_CALL): New macro.
11857         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
11858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11859         (INLINE_VSYSCALL): Remove macro.
11860         (INTERNAL_VSYSCALL): Remove macro.
11861         (INTERNAL_VSYSCALL_NCS): Remove macro.
11862         (INTERNAL_VSYSCALL_CALL): New macro.
11863         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
11864         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
11865         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
11866         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
11867         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
11868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11869         (INLINE_VSYSCALL): Remove macro.
11870         (INTERNAL_VSYSCALL): Likewise.
11871         (INTERNAL_VSYSCALL_NCS): Likewise.
11872         (INTERNAL_VSYSCALL_CALL): New macro.
11873         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
11874         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
11875         PTR_DEMANGLE on vDSO pointer.
11876         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
11877         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
11878         macro.
11879         (INTERNAL_SYSCALL): Likewise.
11880         (INTERNAL_VSYSCALL_NCS): Remove macro.
11881         (INTERNAL_VSYSCALL_CALL): New macro.
11882         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
11883         Remove macro.
11884         (INTERNAL_VSYSCALL): Likewise.
11885         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
11886         sysdep-vdso.h instead of libc-vdso.h.
11887         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
11888         definition.
11889         (INLINE_VSYSCALL): Likewise.
11890         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
11891         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
11892         definition.
11893         (INLINE_VSYSCALL): Likewise.
11894         (INTERNAL_VSYSCALL): Likewise.
11895         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
11896         * sysdeps/unix/sysv/linux/timespec_get.c
11897         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
11898         (timespec_get): Use ANSI prototype.
11899         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
11900         and definition for Linux.
11902 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
11904         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
11905         * include/libc-symbols.h: libmvec_hidden_* macro series added.
11907 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
11909         [BZ #2981]
11910         [BZ #18410]
11911         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
11912         for missing DT_PLTRELSZ.
11914 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
11916         Remove obsolete aliases that broke 'locale -a'
11917         [BZ #18412]
11918         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
11919         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
11920         breaking some applications that use 'locale -a' output.
11921         Change the encoding of this file from Latin-1 to ASCII to avoid
11922         other potential problems with people grepping this file.
11924 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11926         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
11927         -fasynchronous-unwind-tables.
11928         (CFLAGS-sendto.c): Likewise.
11929         (CFLAGS-sendmsg.c): Likewise.
11930         (CFLAGS-connect.c): Likewise.
11931         (CFLAGS-recvmsg.c): Likewise.
11932         (CFLAGS-recvfrom.c): Likewise.
11933         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
11934         (SOCKETCALL): New macro: non-cancellable socketcall.
11935         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
11936         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
11937         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
11938         * sysdeps/unix/sysv/linux/accept.c: New file.
11939         * sysdeps/unix/sysv/linux/bind.c: Likewise.
11940         * sysdeps/unix/sysv/linux/connect.c: Likewise.
11941         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
11942         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
11943         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
11944         * sysdeps/unix/sysv/linux/listen.c: Likewise.
11945         * sysdeps/unix/sysv/linux/recv.c: Likewise.
11946         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
11947         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
11948         * sysdeps/unix/sysv/linux/send.c: Likewise.
11949         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
11950         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
11951         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
11952         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
11953         * sysdeps/unix/sysv/linux/socket.c: Likewise.
11954         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
11955         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
11956         prototype.
11957         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
11958         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
11959         instead of __internal_xxx function.
11960         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
11961         prototype.
11962         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
11963         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
11964         instead of __internal_xxx function.
11965         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
11966         prototype.
11967         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
11968         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
11969         instead of __internal_xxx function.
11970         * sysdeps/unix/sysv/linux/accept.S: Remove file.
11971         * sysdeps/unix/sysv/linux/bind.S: Likewise.
11972         * sysdeps/unix/sysv/linux/connect.S: Likewise.
11973         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
11974         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
11975         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
11976         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
11977         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
11978         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
11979         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
11980         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
11981         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11982         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
11983         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
11984         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
11985         * sysdeps/unix/sysv/linux/listen.S: Likewise.
11986         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
11987         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
11988         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
11989         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
11990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
11991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
11992         * sysdeps/unix/sysv/linux/recv.S: Likewise.
11993         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
11994         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
11995         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
11996         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11997         * sysdeps/unix/sysv/linux/send.S: Likewise.
11998         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
11999         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
12000         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
12001         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
12002         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
12003         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
12004         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
12005         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
12006         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
12007         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
12008         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
12009         socketcall is implemented in GLIBC.
12011 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
12013         * soft-fp/fmadf4.c: Include <libc-internal.h>.
12014         (__fma): Ignore uninitialized warnings around packing.
12015         * soft-fp/fmasf4.c: Include <libc-internal.h>.
12016         (__fmaf): Ignore uninitialized warnings around packing.
12017         * soft-fp/fmatf4.c: Include <libc-internal.h>.
12018         (__fmal): Ignore uninitialized warnings around packing.
12020         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
12021         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12022         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
12023         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12025         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
12026         switch statement into default case.
12027         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
12029         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
12030         a conditional in forcing "inexact".
12031         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12032         Likewise.
12034 2015-05-22  Roland McGrath  <roland@hack.frob.com>
12036         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12037         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
12038         for each INTERNAL_SYSCALL use.
12040 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
12042         [BZ #438]
12043         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
12044         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
12045         variable.
12047         [BZ #18444]
12048         * string/basename.c (basename): Rename to __basename and define as
12049         weak alias of __basename.  Use libc_hidden_weak.
12050         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
12051         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
12052         __basename instead of basename.
12053         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
12054         Remove variable.
12055         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
12057 2015-05-18  Florian Weimer  <fweimer@redhat.com>
12059         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
12060         (_IO_JUMPS_FILE_plus): New.
12061         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
12062         _IO_CAST_FIELD_ACCESS.
12063         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
12064         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
12065         * libio/freopen.c (freopen): Likewise.
12066         * libio/freopen64.c (freopen64): Likewise.
12067         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
12068         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
12069         * libio/iofwide.c (_IO_fwide): Likewise.
12070         * libio/memstream.c (open_memstream): Likewise.
12071         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12072         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12073         * libio/oldiopopen.c (_IO_old_popen): Likewise.
12075 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
12077         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
12078         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
12079         NADJ.
12080         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
12081         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
12082         NADJ.
12083         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
12084         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
12085         NADJ.
12087         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
12088         (p == 4) case.
12090         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
12091         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
12092         Remove variable.
12093         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
12094         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
12095         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
12097 2015-05-21  Florian Weimer  <fweimer@redhat.com>
12099         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
12100         Adjust jump table label generation macros.
12102 2015-05-21  Florian Weimer  <fweimer@redhat.com>
12104         * stdio-common/vfprintf.c (vfprintf): Move local variables
12105         args_malloced, specs, specs_malloced, and the code after
12106         do_positional to the printf_positional function.
12107         (printf_positional): New function.
12109 2015-05-21  Florian Weimer  <fweimer@redhat.com>
12111         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
12112         function.
12113         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
12114         STEP4_TABLE, process_arg): Move macro definitions
12115         out of the vfprintf function.  (Cosmetic change only.)
12117 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
12119         * benchtests/Makefile (stdio-common-bench): Define.
12120         (benchset): Add stdio-common-bench.
12121         * sprintf-inputs: New file.
12122         * sprintf-source.c: New file.
12124 2015-05-21  Andreas Schwab  <schwab@suse.de>
12126         [BZ #13028]
12127         [BZ #17053]
12128         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
12129         of struct __res_state.
12130         * resolv/res_send.c (__libc_res_nsend): Likewise.
12131         (get_nsaddr): New function.
12132         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
12133         statp directly.
12135 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
12137         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
12138         -D_POSIX_C_SOURCE=199506L.
12140         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
12142         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
12143         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
12144         Do not mention otherwise.
12145         [POSIX] (_XOPEN_VERSION): Do not expect.
12146         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
12147         [POSIX] (_POSIX2_C_BIND): Likewise.
12148         [POSIX] (_POSIX2_VERSION): Likewise.
12149         [POSIX] (_XOPEN_XPG2): Likewise.
12150         [POSIX] (_XOPEN_XPG3): Likewise.
12151         [POSIX] (_XOPEN_XPG4): Likewise.
12152         [POSIX] (_XOPEN_UNIX): Likewise.
12153         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
12154         [POSIX] (_POSIX_BARRIERS): Likewise.
12155         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
12156         [POSIX] (_POSIX_CPUTIME): Likewise.
12157         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
12158         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
12159         [POSIX] (_POSIX_SHELL): Likewise.
12160         [POSIX] (_POSIX_SPAWN): Likewise.
12161         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
12162         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
12163         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
12164         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
12165         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
12166         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
12167         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
12168         [POSIX] (_XBS5_LP64_OFF64): Likewise.
12169         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
12170         [POSIX] (_POSIX_TIMEOUTS): Likewise.
12171         [POSIX] (_POSIX2_PBS): Likewise.
12172         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
12173         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
12174         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
12175         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
12176         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
12177         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
12178         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
12179         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
12180         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
12181         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
12182         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
12183         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
12184         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
12185         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
12186         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
12187         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
12188         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
12189         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
12190         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
12191         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
12192         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
12193         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
12194         [POSIX] (_SC_2_C_BIND): Likewise.
12195         [POSIX] (_SC_2_C_VERSION): Likewise.
12196         [POSIX] (_SC_2_PBS): Likewise.
12197         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
12198         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
12199         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
12200         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
12201         [POSIX] (_SC_2_PBS_TRACK): Likewise.
12202         [POSIX] (_SC_ATEXIT_MAX): Likewise.
12203         [POSIX] (_SC_BARRIERS): Likewise.
12204         [POSIX] (_SC_BASE): Likewise.
12205         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
12206         [POSIX] (_SC_DEVICE_IO): Likewise.
12207         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
12208         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
12209         [POSIX] (_SC_FD_MGMT): Likewise.
12210         [POSIX] (_SC_FIFO): Likewise.
12211         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
12212         [POSIX] (_SC_FILE_LOCKING): Likewise.
12213         [POSIX] (_SC_FILE_SYSTEM): Likewise.
12214         [POSIX] (_SC_IOV_MAX): Likewise.
12215         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
12216         [POSIX] (_SC_NETWORKING): Likewise.
12217         [POSIX] (_SC_PAGE_SIZE): Likewise.
12218         [POSIX] (_SC_PASS_MAX): Likewise.
12219         [POSIX] (_SC_PIPE): Likewise.
12220         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
12221         [POSIX] (_SC_REGEXP): Likewise.
12222         [POSIX] (_SC_SHELL): Likewise.
12223         [POSIX] (_SC_SIGNALS): Likewise.
12224         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
12225         [POSIX] (_SC_SPIN_LOCKS): Likewise.
12226         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
12227         [POSIX] (_SC_USER_GROUPS): Likewise.
12228         [POSIX] (_SC_USER_GROUPS_R): Likewise.
12229         [POSIX] (_SC_STREAMS): Likewise.
12230         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
12231         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
12232         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
12233         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
12234         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
12235         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
12236         [POSIX] (_PC_FILESIZEBITS): Likewise.
12237         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
12238         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
12239         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
12240         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
12241         [POSIX] (uid_t): Likewise.
12242         [POSIX] (gid_t): Likewise.
12243         [POSIX] (off_t): Likewise.
12244         [POSIX] (pid_t): Likewise.
12245         [POSIX] (cuserid): Allow.
12246         (_SC_2_CHAR_TERM): Require constant.
12247         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
12248         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
12249         variable.
12251 2015-05-20  Roland McGrath  <roland@hack.frob.com>
12253         * sysdeps/nacl/pthread-pids.h: New file.
12254         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
12255         (create_thread): Use __nacl_get_tid to initialize PD->tid.
12257         * nptl/pthread-pids.h: New file.
12258         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
12259         * nptl/nptl-init.c: Include <pthread-pids.h>.
12260         (__pthread_initialize_minimal_internal):
12261         Call __pthread_initialize_pids instead of set_tid_address syscall.
12263         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
12264         * sysdeps/posix/usleep.c: ... here.
12266 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12268         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
12269         call_pselect6 object.
12270         [$(subdir) = io]: Remove call_sync_file_range object.
12271         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
12272         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
12273         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
12274         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
12276 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
12278         * math/s_cproj.c: Add include "math_private.h".
12279         * math/s_cprojf.c: Likewise.
12280         * math/s_cprojl.c: Likewise.
12282 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
12284         [BZ #18244]
12285         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
12286         high mantissa bit when testing whether P is a NaN.
12287         * math/libm-test.inc (remainder_test_data): Add more tests.
12288         (remquo_test_data): Likewise.
12290         [BZ #18049]
12291         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
12292         below -32, return the argument, with underflow if subnormal.
12293         * math/auto-libm-test-in: Add more tests of atanh.
12294         * math/auto-libm-test-out: Regenerated.
12296 2015-05-19  Roland McGrath  <roland@hack.frob.com>
12298         [BZ #18434]
12299         * nptl/tst-sem15.c: New file.
12300         * nptl/Makefile (tests): Add it.
12301         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
12302         s/<</>>/ to fix typo in EOVERFLOW check.
12303         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
12305 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12307         * manual/strings.texi (envz_remove): Fix typo in safety
12308         annotations.
12310 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
12311             Steve Ellcey  <sellcey@imgtec.com>
12313         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
12314         in order to avoid strict alias warnings.
12315         (iruserok_af): Ditto for ra.
12317 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
12319         [BZ #17581]
12320         * malloc/hooks.c
12321         (magicbyte): Convert to a function and avoid returning 0x01.
12322         (mem2mem_check): Avoid using a length byte equal to the magic byte.
12323         (mem2chunk_check): Fix unsigned comparisons to zero.
12324         Hoist defs of sz and magic.
12326 2015-05-19  Richard Henderson  <rth@redhat.com>
12328         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
12330         * sysdeps/alpha/fpu/libm-test-ulps: Update.
12332 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12334         [BZ #16159]
12335         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
12336         * malloc/arena.c (arena_lock): Check if arena is corrupt.
12337         (reused_arena): Find a non-corrupt arena.
12338         (heap_trim): Pass arena to unlink.
12339         * malloc/hooks.c (malloc_check_get_size): Pass arena to
12340         malloc_printerr.
12341         (top_check): Likewise.
12342         (free_check): Likewise.
12343         (realloc_check): Likewise.
12344         * malloc/malloc.c (malloc_printerr): Add arena argument.
12345         (unlink): Likewise.
12346         (munmap_chunk): Adjust.
12347         (ARENA_CORRUPTION_BIT): New macro.
12348         (arena_is_corrupt): Likewise.
12349         (set_arena_corrupt): Likewise.
12350         (sysmalloc): Use mmap if there are no usable arenas.
12351         (_int_malloc): Likewise.
12352         (__libc_malloc): Don't fail if arena_get returns NULL.
12353         (_mid_memalign): Likewise.
12354         (__libc_calloc): Likewise.
12355         (__libc_realloc): Adjust for additional argument to
12356         malloc_printerr.
12357         (_int_free): Likewise.
12358         (malloc_consolidate): Likewise.
12359         (_int_realloc): Likewise.
12360         (_int_memalign): Don't touch corrupt arenas.
12361         * malloc/tst-malloc-backtrace.c: New test case.
12363         * Makefile (summarize-tests): Fix return value on success.
12365         * manual/string.texi (Envz Functions): Add envz_remove.
12367 2015-05-18  Roland McGrath  <roland@hack.frob.com>
12369         * sysdeps/posix/opendir.c: Include <stdbool.h>.
12370         (invalid_name): New function, broken out of ...
12371         (__opendirat): ... here.  Call it.
12372         (need_isdir_precheck): New function, broken out of ...
12373         (__opendirat): ... here.  Call it.
12374         Use __fxstatat64, not __xstatat64.
12375         (opendir_oflags): New function, broken out of ...
12376         (__opendirat): ... here.  Call it.
12377         (opendir_tail): New function, broken out of ...
12378         (__opendirat): ... here.  Call it.
12379         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
12380         opendir_tail, rather than punting to __opendirat.
12381         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
12383 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12385         * .gitignore: Ignore generated *.pyc.
12387 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
12389         * include/stdio.h: Define __need_wint_t.
12390         * test-skeleton.c: Avoid `for' loop initial declaration.
12391         * nptl/tst-initializers1.c: Use test-skeleton.c.
12393 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12395         [BZ #18418]
12396         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
12398 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
12400         [BZ #16352]
12401         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
12402         (__ieee754_atanh): Force underflow exception for results with
12403         small absolute value.
12404         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
12405         (__ieee754_atanhf): Force underflow exception for results with
12406         small absolute value.
12407         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
12408         (__ieee754_atanh): Force underflow exception for results with
12409         small absolute value.
12410         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
12411         (__ieee754_atanhf): Force underflow exception for results with
12412         small absolute value.
12413         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
12414         (__ieee754_atanhl): Force underflow exception for results with
12415         small absolute value.
12416         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
12417         (__ieee754_atanhl): Force underflow exception for results with
12418         small absolute value.
12419         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
12420         (__ieee754_atanhl): Force underflow exception for results with
12421         small absolute value.
12422         * math/auto-libm-test-in: Do not allow missing underflow
12423         exceptions from atanh.
12424         * math/auto-libm-test-out: Regenerated.
12426         [BZ #18221]
12427         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
12428         2**-28 as threshold for returning x or +/- 1/x.
12429         * math/auto-libm-test-in: Add more tests of tan.
12430         * math/auto-libm-test-out: Regenerated.
12432         [BZ #18220]
12433         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12434         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
12435         * math/auto-libm-test-in: Add another test of lgamma.
12436         * math/auto-libm-test-out: Regenerated.
12438 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
12440         * stdio-common/printf_fp.c (___printf_fp): Use abs.
12441         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
12442         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
12443         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
12444         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
12445         (ADD2A): Use fabs.  (SUB2A): Use fabs.
12446         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
12447         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
12448         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
12449         (log1): Use fabs.  (my_log2): Use fabs.
12450         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
12451         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
12452         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
12453         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
12454         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
12455         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
12456         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
12457         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
12458         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
12459         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
12460         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
12462 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
12464         [BZ #18217]
12465         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
12466         as threshold for returning 1 - x.
12467         * math/auto-libm-test-in: Add more tests of erfc.
12468         * math/auto-libm-test-out: Regenerated.
12470 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
12472         [BZ #18196]
12473         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
12474         threshold for large arguments.
12475         * math/auto-libm-test-in: Add another test of atan.
12476         * math/auto-libm-test-out: Regenerated.
12478         [BZ #16339]
12479         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
12480         (__log1p): Force underflow exception for results with small
12481         absolute value.
12482         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
12483         (__log1pf): Force underflow exception for results with small
12484         absolute value.
12485         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
12486         (__log1p): Force underflow exception for results with small
12487         absolute value.
12488         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
12489         (__log1pf): Force underflow exception for results with small
12490         absolute value.
12491         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
12492         (__log1pl): Force underflow exception for results with small
12493         absolute value.
12494         * math/auto-libm-test-in: Do not allow missing underflow
12495         exceptions from log1p.
12496         * math/auto-libm-test-out: Regenerated.
12498 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
12499             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12501         [BZ #16704]
12502         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
12504 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
12506         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
12507         (libmvec): New variable.
12508         * configure.ac: Added option for mathvec build.
12509         * configure: Regenerated.
12510         * mathvec/Depend: New file.
12511         * mathvec/Makefile: New file.
12512         * shlib-versions: Added libmvec.
12513         * math/Makefile: Added rule for libm.so installation.
12515         * bits/math-vector.h: New file.
12516         * bits/libm-simd-decl-stubs.h: New header.
12517         * math/Makefile (headers): Added new header
12518         libm-simd-decl-stubs.h.
12519         * math/math.h (__MATHCALL_VEC): New macro.
12521         * math/gen-libm-have-vector-test.sh: Script generates series of macros
12522         for conditions in testing functions.
12523         * math/Makefile: Added call of libm-have-vector-test.sh.
12524         * math/libm-test.inc (HAVE_VECTOR): New macros.
12526         * math/libm-test.inc: START refactored.
12527         * math/test-double.c (TEST_MATHVEC): Add define.
12528         * math/test-float.c: Likewise.
12529         * math/test-idouble.c: Likewise.
12530         * math/test-ifloat.c: Likewise.
12531         * math/test-ildoubl.c: Likewise.
12532         * math/test-ldouble.c: Likewise.
12533         * sysdeps/generic/math-tests-arch.h
12534         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
12535         architecture check.
12537         * math/test-double.c (FUNC_TEST): New macro.
12538         * math/test-float.c: Likewise.
12539         * math/test-idouble.c: Likewise.
12540         * math/test-ifloat.c: Likewise.
12541         * math/test-ildoubl.c: Likewise.
12542         * math/test-ldouble.c: Likewise.
12543         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
12545 2015-05-13  Roland McGrath  <roland@hack.frob.com>
12547         * sysdeps/nacl/fdopendir.c: New file.
12549         * dirent/scandir-tail.c: New file.
12550         * dirent/scandir64-tail.c: New file.
12551         * dirent/Makefile (routines): Add them.
12552         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
12553         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
12554         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
12555         [!SCANDIR] (SCANDIR_TAIL): New macro.
12556         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
12557         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
12558         (SCANDIRAT): Macro removed.
12559         (SCANDIR_TAIL): New macro.
12560         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
12561         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
12562         (SCANDIRAT): Just call __opendirat and __scandir_tail.
12563         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
12564         (READDIR): Macro removed.
12565         (SCANDIR_TAIL): New macro.
12566         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
12567         (SCANDIR_TAIL): New macro.
12569         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
12570         * dirent/scandir-cancel.c: ... to this new file.
12571         * dirent/Makefile (routines): Add it.
12572         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
12573         * sysdeps/unix/sysv/linux/i386/scandir64.c
12574         (SKIP_SCANDIR_CANCEL): Macro removed.
12575         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
12577         * dirent/tst-scandir.c: New file.
12578         * dirent/tst-scandir64.c: New file.
12579         * dirent/Makefile (tests): Add them.
12581 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
12583         [BZ #18409]
12584         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
12586 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12588         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
12589         list.
12591 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
12593         * benchtests/bench-strcoll.c: New benchmark.
12594         * benchtests/Makefile: Generate locales and run benchmark.
12595         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
12596         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
12597         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
12598         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
12599         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
12600         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
12601         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
12602         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
12603         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
12604         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
12605         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
12606         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
12607         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
12608         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
12609         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
12610         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
12611         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
12612         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
12613         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
12614         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
12615         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
12616         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
12617         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
12618         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
12620 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
12622         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
12623         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12625 2015-05-12  Roland McGrath  <roland@hack.frob.com>
12627         * posix/uname-values.h: New file.
12628         * posix/uname.c: Include that instead of <config-name.h>.
12629         * sysdeps/nacl/uname-values.h: New file.
12630         * sysdeps/arm/nacl/uname-values.h: New file.
12632 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
12634         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
12635         splitting into fields.
12637 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
12639         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
12640         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
12641         * locale/localeinfo.h: Add enum collation_encoding_type.
12642         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
12643         * programs/ld-collate.c (collate_output): Add encoding type info.
12644         * string/strcoll_l.c (STRDIFF): New function.
12645         * (STRCOLL): Use STRDIFF to skip over equal prefix.
12646         * wcsmbs/wcscoll_l.c: Define STRDIFF.
12648 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
12650         [BZ #18397]
12651         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
12652         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
12653         <fpu_control.h> instead of <math/fpu_control.c>.
12654         * sysdeps/mips/mips32/fpu/Makefile: New file.
12656 2015-05-11  Andreas Schwab  <schwab@suse.de>
12658         [BZ #18007]
12659         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
12660         nss_endgrent.
12661         (_nss_compat_endgrent): Call nss_endgrent.
12662         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
12663         nss_endpwent.
12664         (_nss_compat_endpwent): Call nss_endpwent.
12665         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
12666         needent, call nss_setspent only if non-zero.
12667         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
12668         (internal_endspent): Don't call nss_endspent.
12669         (_nss_compat_endspent): Call nss_endspent.
12670         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
12671         Remove.  All uses removed.
12672         (internal_setent): Remove parameter stayopen, add parameter
12673         stream.  Use it instead of global variable.
12674         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
12675         (internal_endent, internal_getent): Add parameter stream.  Use it
12676         instead of global variable.
12677         (CONCAT(_nss_files_end,ENTNAME))
12678         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
12679         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
12680         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
12681         uses removed.
12682         (internal_setent, internal_endent): Add parameter stream.  Use it
12683         instead of global variable.
12684         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
12685         stream.
12686         (get_next_alias): Add parameter stream.
12687         (_nss_files_getaliasent_r): Pass global stream.
12688         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
12689         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
12690         (_nss_files_gethostbyname4_r): Pass local stream to
12691         internal_setent, internal_getent and internal_endent.  Remove
12692         locking.
12694 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12696         * tst-strfmon1.c (tests): Update expected currency symbol.
12698 2015-05-08  Roland McGrath  <roland@hack.frob.com>
12700         * sysdeps/nacl/gethostname.c: New file.
12702 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
12704         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
12705         and sinh.
12706         * math/auto-libm-test-out: Regenerated.
12707         * sysdeps/i386/fpu/libm-test-ulps: Update.
12708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12710 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
12712         [BZ #18125]
12713         * stdlib/tst-setcontext3.c: New file.
12714         * stdlib/tst-setcontext3.sh: New file.
12715         * stdlib/Makefile (tests): Add tst-setcontext3.
12716         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
12717         to verify test program created output file.
12718         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
12719         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
12720         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
12721         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
12723 2015-05-06  Roland McGrath  <roland@hack.frob.com>
12725         [BZ #18383]
12726         * elf/tst-tlsalign.c: New file.
12727         * elf/tst-tlsalign-static.c: New file.
12728         * elf/tst-tlsalign-lib.c: New file.
12729         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
12730         (tests-static): Add tst-tlsalign-static.
12731         (modules-names): Add tst-tlsalign-lib.
12732         (test-xfail-tst-tlsalign): New variable.
12733         (test-xfail-tst-tlsalign-static): New variable.
12735         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
12736         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
12738 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
12740         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
12741         csqrt, erfc, sin and sincos.
12742         * math/auto-libm-test-out: Regenerated.
12743         * sysdeps/i386/fpu/libm-test-ulps: Update.
12744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12746 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12748         * sysdeps/aarch64/libm-test-ulps: Update.
12750 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
12752         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
12753         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
12754         * math/auto-libm-test-out: Regenerated.
12755         * sysdeps/i386/fpu/libm-test-ulps: Update.
12756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12758 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
12760         [BZ #18265]
12761         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
12762         (wcsncpy): Likewise.
12764 2015-05-05  Florian Weimer  <fweimer@redhat.com>
12766         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
12767         Assume __ASSUME_FALLOCATE is always true.
12768         * sysdeps/unix/sysv/linux/posix_fallocate64.c
12769         (__posix_fallocate64_l64): Likweise.
12770         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
12771         (posix_fallocate): Likewise.
12772         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
12773         (__posix_fallocate64_l64): Likewise.
12774         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12775         [!__ASSUME_FALLOCATE]: Add comment.
12777 2015-05-05  Florian Weimer  <fweimer@redhat.com>
12779         * sysdeps/unix/sysv/linux/i386/Makefile
12780         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
12781         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
12782         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
12783         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12784         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12785         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
12786         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
12788 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
12790         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
12791         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
12792         tgamma.
12793         * math/auto-libm-test-out: Regenerated.
12794         * sysdeps/i386/fpu/libm-test-ulps: Update.
12795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12797 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
12799         * math/auto-libm-test-in: Add more tests of tgamma.
12800         * math/auto-libm-test-out: Regenerated.
12801         * sysdeps/i386/fpu/libm-test-ulps: Update.
12802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12804         * math/auto-libm-test-in: Add more tests of tanh.
12805         * math/auto-libm-test-out: Regenerated.
12806         * sysdeps/i386/fpu/libm-test-ulps: Update.
12807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12809         * math/auto-libm-test-in: Add more tests of tan.
12810         * math/auto-libm-test-out: Regenerated.
12811         * sysdeps/i386/fpu/libm-test-ulps: Update.
12812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12814         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
12815         * math/auto-libm-test-out: Regenerated.
12816         * sysdeps/i386/fpu/libm-test-ulps: Update.
12817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12819         * math/auto-libm-test-in: Add another test of pow.
12820         * math/auto-libm-test-out: Regenerated.
12821         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12823         * math/auto-libm-test-in: Add more tests of lgamma.
12824         * math/auto-libm-test-out: Regenerated.
12825         * sysdeps/i386/fpu/libm-test-ulps: Update.
12826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12828         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
12829         log1p.
12830         * math/auto-libm-test-out: Regenerated.
12831         * sysdeps/i386/fpu/libm-test-ulps: Update.
12832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12834 2015-05-01  Mark Wielaard  <mjw@redhat.com>
12836         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
12837         Elf64_Chdr structs and ELFCOMPRESS constants.
12839 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
12841         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
12842         expm1.
12843         * math/auto-libm-test-out: Regenerated.
12844         * sysdeps/i386/fpu/libm-test-ulps: Update.
12845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12847         * math/auto-libm-test-in: Add more tests of erf and erfc.
12848         * math/auto-libm-test-out: Regenerated.
12849         * sysdeps/i386/fpu/libm-test-ulps: Update.
12850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12852 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12854         * config.h.in (HAVE_AARCH64_BE): Add.
12856 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
12858         * math/auto-libm-test-in: Add more tests of csqrt.
12859         * math/auto-libm-test-out: Regenerated.
12860         * sysdeps/i386/fpu/libm-test-ulps: Update.
12861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12863         * math/auto-libm-test-in: Add more tests of cosh and sinh.
12864         * math/auto-libm-test-out: Regenerated.
12865         * sysdeps/i386/fpu/libm-test-ulps: Update.
12866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12868         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
12870 2015-04-29  Roland McGrath  <roland@hack.frob.com>
12872         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
12873         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
12875         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
12876         (euidaccess, eaccess): Define as weak aliases.
12878         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
12879         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
12880         but __suseconds_t is often 'long int' so some sources assume that
12881         type is being used (e.g. they use %ld to print tv_usec).
12883 2015-04-29  Florian Weimer  <fweimer@redhat.com>
12885         [BZ #18007]
12886         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
12887         (CVE-2014-8121)
12888         * nss/tst-nss-getpwent.c: New file.
12889         * nss/Makefile (tests): Add new test.
12891 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
12893         [BZ #18346]
12894         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
12895         exponents less than 48 as cases where high part of mantissa needs
12896         examining to determine whether argument is integral.
12897         * math/libm-test.inc (round_test_data): Add more tests.
12899 2015-04-28  Mark Wielaard  <mjw@redhat.com>
12901         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
12903 2015-04-27  David S. Miller  <davem@davemloft.net>
12905         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
12906         __tls_get_addr.
12907         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
12909 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
12911         [BZ#18333]
12912         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
12914 2015-04-27  Florian Weimer  <fweimer@redhat.com>
12916         [BZ#18333]
12917         * time/tzset.c (parse_tzname): Return error on memory allocation
12918         failure.
12919         * test-skeleton.c (struct temp_name_list): Change type of name
12920         member to non-const.
12921         (add_temp_file): Create a copy of the file name.
12922         (delete_temp_files): Deallocate memory.
12923         (create_temp_file): Add comment.
12925 2015-04-24  Florian Weimer  <fweimer@redhat.com>
12927         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
12928         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
12930 2015-04-24  Roland McGrath  <roland@hack.frob.com>
12932         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
12933         * sysdeps/arm/configure: Regenerated.
12935 2015-04-24  Florian Weimer  <fweimer@redhat.com>
12937         [BZ #17715]
12938         * time/tzfile.c (__tzfile_read): Check for large values of
12939         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
12940         * time/tzset.c (__tzstring_len): New function, based on the old
12941         __tzstring function.
12942         (__tzstring): Call __tzstring_len.
12943         (parse_tzname): New helper function extracted from
12944         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
12945         the input string.
12946         (parse_offset): New helper function extracted from
12947         __tzset_parse_tz.  Replace switch with fallthrough with
12948         initialization before sscanf.
12949         (parse_rule): Likewise.
12950         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
12951         new-style function definition.
12952         * timezone/Makefile (tests): Add tst-tzset.
12953         (tst-tzset.out): Dependencies on time zone files.
12954         (tst-tzset-ENV): Set TZDIR.
12955         (testdata/XT%): Copy crafted time zone files.
12956         * timezone/README: Mention crafted time zone files.
12957         * timezone/testdata/XT1, timezone/testdata/XT2,
12958         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
12959         files.
12960         * timezone/tst-tzset.c: New test.
12962 2015-04-24  Florian Weimer  <fweimer@redhat.com>
12964         * Makeconfig (+gccwarn): Remove -Winline.
12966 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12968         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
12970 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12972         * NEWS: Mention sysconf() cache information support for s390.
12973         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
12975 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
12977         * math/k_casinh.c (__kernel_casinh): Use __copysign.
12978         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
12979         (__nearbyint): Likewise.
12980         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
12981         (copysignl): Likewise.
12983 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
12985         [BZ #18287]
12986         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
12987         based on padding.  (CVE-2015-1781)
12989 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12991         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
12992         libc-vdso.h.
12993         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
12994         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
12995         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
12996         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
12997         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
12998         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
12999         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
13000         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13001         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13002         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
13003         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13004         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13005         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
13006         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
13007         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
13008         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
13009         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
13010         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
13011         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
13012         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
13013         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
13014         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
13015         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
13017 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
13019         * stdlib/setenv.c (__add_to_environ):
13020         Dump core quickly if setenv (..., NULL, ...) is called.
13021         This time, do it the right way, and pacify GCC with a pragma.
13023 2015-04-17  Roland McGrath  <roland@hack.frob.com>
13025         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
13026         IMAP->l_prev cannot be null, and #if out the code for the contrary
13027         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
13028         believe that NS (&_dl_ns[NSID]) could point outside the array.
13030         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
13031         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
13032         before using NSID as an index.
13034 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
13036         [BZ #17825]
13037         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
13038         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
13039         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13041 2015-04-17  Roland McGrath  <roland@hack.frob.com>
13043         Add preliminary port to Google Native Client on ARM.
13044         * abi-tags (.*-.*-nacl.*): New entry.
13045         * sysdeps/arm/nacl: New directory.
13046         * sysdeps/nacl: New directory.
13048 2015-04-16  David S. Miller  <davem@davemloft.net>
13050         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
13051         lowlevellock-futex.h
13053 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
13055         * sysdeps/tile/configure.ac: New file.
13056         * sysdeps/tile/configure: Regenerated.
13058 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13060         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
13061         conditionals for weak_alias and libc_hidden_weak.
13062         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
13063         libc_hidden_weak and weak_alias.
13064         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
13065         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
13066         and weak_alias for static one.
13068 2015-04-15  David S. Miller  <davem@davemloft.net>
13070         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13072 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13074         [BZ #18206]
13075         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
13076           Use signed comparision instead of substraction to avoid
13077           overflow bug.
13078         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
13079           Take the sign of ret.
13080         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
13081           Do not expect precise return values. Only the sign matters.
13082         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
13083         * wcsmbs/test-wcsncmp.c: New File.
13084         * string/test-strncmp.c: Add wcsncmp support.
13086 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13088         [BZ #6792]
13089         * math/w_log1p.c: New file.
13090         * math/w_log1pf.c: Likewise.
13091         * math/w_log1pl.c: Likewise.
13092         * math/Makefile (libm-calls): Add w_log1p.
13093         * math/s_log1pl.c (log1pl): Remove weak_alias.
13094         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
13095         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
13096         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
13097         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
13098         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
13099         [NO_LONG_DOUBLE] (log1pl): Likewise.
13100         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
13101         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
13102         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
13103         (log1p): Remove long_double_symbol.
13104         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
13105         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
13106         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
13107         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
13108         remove weak_alias for corresponding log1p function.
13109         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
13110         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
13111         * sysdeps/ia64/fpu/w_log1p.c: New file.
13112         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
13113         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
13114         * math/libm-test.inc (log1p_test_data): Add errno expectations.
13116 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
13118         [BZ #18247]
13119         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
13120         decimal exponent by 1.
13121         * stdlib/tst-strtod-round-data: Add more tests.
13122         * stdlib/tst-strtod-round.c (tests): Regenerated.
13124 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
13126         * math/auto-libm-test-in: Add more tests of clog and clog10.
13127         * math/auto-libm-test-out: Regenerated.
13128         * sysdeps/i386/fpu/libm-test-ulps: Update.
13129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13131 2015-04-09  Roland McGrath  <roland@hack.frob.com>
13133         * Makeconfig (module-cppflags): Exclude all .v.i files.
13134         (skip-module-cppflags): Variable removed.
13136         * configure.ac (libc_config_ok): Initialize before reading
13137         preconfigure scripts, not after.
13138         * configure: Regenerated.
13140         * test-skeleton.c (TIMEOUT): Move #define to top level.
13141         (main): Grok environment variable TEST_DIRECT.  If set, print
13142         test expectation details into that file and then behave as if
13143         given --direct.
13145 2015-04-09  Florian Weimer  <fweimer@redhat.com>
13147         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
13148         warning on 32-bit.
13150 2015-04-08  David S. Miller  <davem@davemloft.net>
13152         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13154 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
13156         * math/auto-libm-test-in: Add more tests of atanh.
13157         * math/auto-libm-test-out: Regenerated.
13158         * sysdeps/i386/fpu/libm-test-ulps: Update.
13159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13161         * math/auto-libm-test-in: Add more tests of atan.
13162         * math/auto-libm-test-out: Regenerated.
13163         * sysdeps/i386/fpu/libm-test-ulps: Update.
13164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13166 2015-04-08  Florian Weimer  <fweimer@redhat.com>
13168         * elf/pldd.c (main): Rewrite to use struct
13169         scratch_buffer instead of extend_alloca.
13170         * elf/pldd-xx.c (find_maps): Likewise.
13171         * grp/initgroups.c: Include <scratch_buffer.h> instead of
13172         <alloca.h>.
13173         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
13174         scratch_buffer instead of extend_alloca.
13175         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
13176         grp/compat-initgroups.c.
13177         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
13178         Rewrite to use struct scratch_buffer instead of extend_alloca.
13179         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
13180         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13182 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
13184         * math/auto-libm-test-in: Add more tests of cbrt.
13185         * math/auto-libm-test-out: Regenerated.
13186         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13188         * math/auto-libm-test-in: Add more tests of cabs.
13189         * math/auto-libm-test-out: Regenerated.
13190         * sysdeps/i386/fpu/libm-test-ulps: Update.
13191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13193         [BZ #18210]
13194         [BZ #18211]
13195         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
13196         (__ieee754_atan2): Set FE_TONEAREST mode for internal
13197         computations.
13198         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
13199         clog10.
13200         * math/auto-libm-test-out: Regenerated.
13201         * sysdeps/i386/fpu/libm-test-ulps: Update.
13202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13204         [BZ #18197]
13205         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
13206         (atan): Set FE_TONEAREST mode for internal computations.
13207         * math/auto-libm-test-in: Add more tests of atan.
13208         * math/auto-libm-test-out: Regenerated.
13210 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
13212         [BZ #17930]
13213         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
13215 2015-04-07  Florian Weimer  <fweimer@redhat.com>
13217         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
13219 2015-04-07  Florian Weimer  <fweimer@redhat.com>
13221         * include/scratch_buffer.h: New file.
13222         * malloc/scratch_buffer_grow.c: Likewise.
13223         * malloc/scratch_buffer_grow_preserve.c: Likewise.
13224         * malloc/scratch_buffer_set_array_size.c: Likewise.
13225         * malloc/tst-scratch_buffer.c: Likewise.
13226         * malloc/Makefile (routines): Add scratch_buffer_grow.
13227         (tests): Add test case.
13228         * malloc/Versions (GLIBC_PRIVATE): Export
13229         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
13230         __libc_scratch_buffer_set_array_size.
13232 2015-04-06  Richard Henderson  <rth@redhat.com>
13234         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
13235         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13237         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
13238         unsigned int before printing.
13240 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13242         [BZ #17596]
13243         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
13244         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13246 2015-04-02  Florian Weimer  <fweimer@redhat.com>
13248         * include/libc-internal.h (libc_max_align_t): Define.
13250 2015-04-02  Andreas Schwab  <schwab@suse.de>
13252         [BZ #16850]
13253         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
13255 2015-04-02  Mel Gorman  <mgorman@suse.de>
13257         [BZ #17195]
13258         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
13259         as well as the main arena.
13261 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
13263         [BZ #18185]
13264         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
13265         sharing L2 cache to 2 for Silvermont/Knights Landing.
13267 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
13269         [BZ #17711]
13270         * config.make.in (have-protected-data): New.
13271         * configure.ac: Check linker support for protected data symbol.
13272         * configure: Regenerated.
13273         * elf/Makefile (modules-names): Add tst-protected1moda and
13274         tst-protected1modb if $(have-protected-data) is yes.
13275         (tests): Add tst-protected1a and tst-protected1b if
13276         $(have-protected-data) is yes.
13277         ($(objpfx)tst-protected1a): New.
13278         ($(objpfx)tst-protected1b): Likewise.
13279         (tst-protected1modb.so-no-z-defs): Likewise.
13280         * elf/tst-protected1a.c: New file.
13281         * elf/tst-protected1b.c: Likewise.
13282         * elf/tst-protected1mod.h: Likewise.
13283         * elf/tst-protected1moda.c: Likewise.
13284         * elf/tst-protected1modb.c: Likewise.
13286 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
13288         [BZ #17711]
13289         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
13290         indicates it is called from do_lookup_x on relocation against
13291         protected data, skip the data definion in the executable from
13292         copy reloc.
13293         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
13294         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
13295         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
13296         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
13297         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
13298         otherwise to 0.
13299         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
13300         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
13301         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
13302         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
13303         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
13304         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
13306 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
13308         * sysdeps/nptl/pthread.h: Remove duplicate definition of
13309         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
13311 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
13313         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
13314         THREAD_SETMEM_NC.
13315         * sysdeps/x86_64/nptl/tls.h: Ditto.
13317 2015-03-27  Roland McGrath  <roland@hack.frob.com>
13319         * dlfcn/tststatic.c (main): Converted to ...
13320         (do_test): ... this.
13321         (TEST_FUNCTION): New macro.
13322         Include test-skeleton.c.
13324 2015-03-26  Alan Modra  <amodra@gmail.com>
13326         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
13327         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
13328         zero for undefined weak.
13329         (elf_machine_plt_conflict): Similarly.
13331 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
13333         * math/auto-libm-test-in: Add more tests of acosh, asinh and
13334         atanh.
13335         * math/auto-libm-test-out: Regenerated.
13336         * sysdeps/i386/fpu/libm-test-ulps: Update.
13337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13339         * math/auto-libm-test-in: Add another test of asin.
13340         * math/auto-libm-test-out: Regenerated.
13341         * sysdeps/i386/fpu/libm-test-ulps: Update.
13342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13344         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
13345         Remove macro.
13346         (LLL_EBX_REG): Likewise.
13347         (LLL_ENTER_KERNEL): Likewise.
13349         * math/auto-libm-test-in: Add more tests of asin.
13350         * math/auto-libm-test-out: Regenerated.
13351         * sysdeps/i386/fpu/libm-test-ulps: Update.
13352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13354         [BZ #18138]
13355         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
13356         libc_do_syscall_args): New structure.
13357         (INTERNAL_SYSCALL_MAIN_0): New macro.
13358         (INTERNAL_SYSCALL_MAIN_1): Likewise.
13359         (INTERNAL_SYSCALL_MAIN_2): Likewise.
13360         (INTERNAL_SYSCALL_MAIN_3): Likewise.
13361         (INTERNAL_SYSCALL_MAIN_4): Likewise.
13362         (INTERNAL_SYSCALL_MAIN_5): Likewise.
13363         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
13364         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
13365         Replace conditional definitions by conditional definitions of ....
13366         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
13367         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
13368         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
13369         (libpthread-sysdep_routines): Add libc-do-syscall.
13370         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
13371         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
13372         to __NR_futex not 240.
13374 2015-03-25  Alan Modra  <amodra@gmail.com>
13376         * NEWS: Advertise TLS optimization.
13377         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
13378         (DT_PPC_NUM): Increment.
13379         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
13380         (CHECK_STATIC_TLS): Use here.
13381         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
13382         TLS descriptors.
13383         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13384         * sysdeps/powerpc/dl-tls.c: New file.
13385         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
13386         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
13387         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
13388         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
13389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
13390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13393 2015-03-25  Alan Modra  <amodra@gmail.com>
13395         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
13396         for overlapping .opd entries" to "support...".
13397         * sysdeps/powerpc/powerpc64/configure: Regenerate
13399 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
13401         * math/auto-libm-test-in: Add more tests of acos.
13402         * math/auto-libm-test-out: Regenerated.
13403         * sysdeps/i386/fpu/libm-test-ulps: Update.
13404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13406         * math/auto-libm-test-in: Add more tests of expm1.
13407         * math/auto-libm-test-out: Regenerated.
13408         * sysdeps/i386/fpu/libm-test-ulps: Update.
13409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13411 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
13413         * math/auto-libm-test-in: Add more tests of cosh and sinh.
13414         * math/auto-libm-test-out: Regenerated.
13415         * sysdeps/i386/fpu/libm-test-ulps: Update.
13416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13418         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13421         * math/auto-libm-test-in: Add more tests of log2.
13422         * math/auto-libm-test-out: Regenerated.
13423         * sysdeps/i386/fpu/libm-test-ulps: Update.
13424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13426 2015-03-23  Roland McGrath  <roland@hack.frob.com>
13428         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
13429         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
13430         _IO_IS_APPENDING bit in READ_WRITE instead.
13432 2015-03-23  Florian Weimer  <fweimer@redhat.com>
13434         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
13435         (__determine_cpumask_size): Replace extend_alloca with a
13436         variable-length array.  Do not treat res == 0 as an error.
13438 2015-03-23  Florian Weimer  <fweimer@redhat.com>
13440         [BZ #18100]
13441         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
13442         and integer overflow.
13443         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
13444         (main): Add integer overflow tests.
13445         * manual/pattern.texi (Calling Wordexp): Document additional use
13446         for WRDE_SYNTAX.
13448 2015-03-23  Alan Modra  <amodra@gmail.com>
13450         * config.h.in: Remove HAVE_ASM_PPC_REL16.
13451         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
13452         and false branch of conditional.
13453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13454         Likewise.
13456 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
13458         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
13459         libc-modules.h
13460         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
13461         unused declaration of _hurd_intr_rpc_msg_in_trap.
13462         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
13463         defined instead of whether it is non-zero.
13464         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
13465         input constraint instead of both input and output constraint.  Use ecx
13466         clobber instead of %ecx.
13467         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
13468         mutex_unlock): Use a statement expression instead of an expression list.
13469         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
13470         type to vm_size_t instead of vm_address_t.
13471         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
13472         defined instead of whether it is non-zero.
13473         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
13474         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
13475         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
13476         comparisons with mapaddr.
13477         * nscd/nscd-client.h: Include <time.h>.
13478         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
13479         9th parameter to __vm_region instead of int.
13480         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
13481         * scripts/check-local-headers.sh (exclude): Add device/,
13482         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
13483         cthreads.h.
13485 2015-03-19  Roland McGrath  <roland@hack.frob.com>
13487         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
13488         to account for alignment padding.
13489         * sysdeps/arm/memmove.S: Likewise.
13491 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
13493         * sysdeps/unix/sysv/linux/generic/README: New file.
13495 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
13497         [BZ #18138]
13498         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
13499         (futex_abstimed_wait)
13500         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
13501         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
13502         of lll_futex_timed_wait.
13504 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
13506         [BZ #17542]
13507         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
13509 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
13511         [BZ #17090]
13512         [BZ #17620]
13513         [BZ #17621]
13514         [BZ #17628]
13515         * NEWS: Update.
13516         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
13517         entries with Static TLS too.  Skip entries past the end of the
13518         allocated DTV, from Alan Modra.
13519         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
13520         Static TLS DTV entry set up from...
13521         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
13522         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
13523         * nptl/allocatestack.c (init_one_static_tls): ... and here...
13524         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
13525         for Static TLS.
13526         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
13527         that the slot we find is associated with the given map before
13528         using its generation count.
13529         * nptl_db/db_info.c: Include ldsodefs.h.
13530         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
13531         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
13532         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
13533         (link_map::l_tls_offset): New struct field.
13534         (dtv_t::counter): Likewise.
13535         (rtld_global): New struct.
13536         (_rtld_global): New rtld variable.
13537         (dl_tls_dtv_slotinfo_list): New rtld global field.
13538         (dtv_slotinfo_list): New struct.
13539         (dtv_slotinfo): Likewise.
13540         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
13541         (td_lookup): Rename to...
13542         (td_mod_lookup): ... this.  Use new mod parameter instead of
13543         LIBPTHREAD_SO.
13544         * nptl_db/td_thr_tlsbase.c: Include link.h.
13545         (dtv_slotinfo_list, dtv_slotinfo): New functions.
13546         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
13547         addresses even if the DTV is out of date or missing them.
13548         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
13549         index zero-length arrays.
13550         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
13551         (td_lookup): Make it a macro implemented in terms of...
13552         (td_mod_lookup): ... this declaration.
13553         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
13554         (DB_MAIN_VARIABLE): Likewise.
13556 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13558         [BZ #18134]
13559         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
13561 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
13563         * stdlib/setenv.c (__add_to_environ): Revert previous change.
13565 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
13567         [BZ #18128]
13568         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
13569         (atomic_add, atomic_increment_and_test)
13570         (atomic_decrement_and_test): Fix 64-bit arithmetic.
13572 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
13574         * stdlib/setenv.c (__add_to_environ):
13575         Dump core quickly if setenv (..., NULL, ...) is called.
13577 2015-03-13  Roland McGrath  <roland@hack.frob.com>
13579         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
13580         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
13581         all the necessary asm magic in one place.
13582         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
13583         using those.
13585 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
13587         [BZ #14906]
13588         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
13589         traced file mtime. Use consistent log message.
13590         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
13591         (register_traced_file): Call install_watches. Always set mtime.
13592         (invalidate_cache): Iterate over all trace files. Call install_watches.
13593         (inotify_check_files): Don't inline. Handle watching parent
13594         directories and configuration file movement in and out.
13595         (handle_inotify_events): New function.
13596         (main_loop_poll): Call handle_inotify_events.
13597         (main_loop_epoll): Likewise.
13598         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
13599         (struct traced_file): Use array of inotify fds. Add parent directory,
13600         and basename.
13601         (struct database_dyn): Remove unused file_mtime.
13602         (init_traced_file): New inline function.
13603         (define_traced_file): New macro.
13604         * nss/nss_db/db-init.c: Use define_traced_file.
13605         (_nss_db_init): Use init_traced_file.
13606         * nss/nss_files/files-init.c: Use define_traced_file.
13607         (_nss_files_init): Use init_traced_file.
13609 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
13611         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
13612         [_LIBC]: Do not include <stdlib.h>.
13613         [!_LIBC] (abort): Remove declaration.
13614         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
13615         _FP_STATIC_ASSERT instead of conditionally calling abort.
13616         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
13617         (_FP_EXTEND_CNAN): Likewise.
13618         (FP_TRUNC): Likewise.
13619         (__FP_CLZ): Likewise.
13620         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
13622 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
13624         * manual/string.texi (XPG basename): Fix prototype.
13626 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
13628         [BZ #18080]
13629         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
13630         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
13631         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
13632         (__setcontext): Likewise.
13633         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
13634         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
13635         Call rt_sigprocmask syscall one time to set new signal mask
13636         and retrieve the current signal mask instead of two calls.
13637         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
13638         (__swapcontext): Likewise.
13639         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
13640         * stdlib/tst-setcontext2.c: New file.
13642 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
13644         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13646 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
13648         [BZ #18093]
13649         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
13650         the wrong size.
13652 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13654         [BZ #18043]
13655         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
13657 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13659         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
13660         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
13661         Remove define.
13662         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
13663         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
13664         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
13665         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
13666         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
13667         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
13668         define.
13669         * nptl_db/td_symbol_list.c (td_lookup): Remove
13670         HAVE_ASM_GLOBAL_DOT_NAME code.
13671         * sysdeps/powerpc/powerpc64/configure.ac: Remove
13672         HAVE_ASM_GLOBAL_DOT_NAME check.
13673         * sysdeps/powerpc/powerpc64/configure: Regenerate.
13674         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
13675         (DOT_LABEL): Remove define.
13676         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
13677         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
13678         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
13679         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
13680         (__TLS_GET_ADDR): Likewise.
13681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
13682         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
13684 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
13686         [BZ #18111]
13687         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
13688         (_FPU_SETCW): Initialize cw from fpsr before storing.
13689         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
13690         (fesetexceptflag): Rewrite using fpu_control.h.
13691         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
13693 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
13695         [BZ #18110]
13696         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
13697         asms.
13698         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
13700 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
13702         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
13703         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
13704         abort.
13705         (_FP_FMA): Likewise.
13706         (_FP_DIV): Likewise.
13708 2015-03-10  Roland McGrath  <roland@hack.frob.com>
13710         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
13711         with 0 in that case.
13712         * Makefile (summarize-tests): New canned sequence, factored out of
13713         commands for targets tests and xtests.  Display summary lines that
13714         don't start with PASS: or XFAIL: rather than ones that do start with
13715         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
13716         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
13717         do start with ERROR: or FAIL:.
13718         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
13719         (except for [$(build-shared) = yes]).
13720         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
13721         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
13722         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
13723         * nptl/Makefile: Revert 2015-03-04 changes.
13724         [$(CXX) empty] (tests-unsupported): New variable.
13725         * debug/Makefile: Likewise.
13727         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
13728         gnulib file.  Replace __attribute with __attribute__ throughout.
13730 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
13732         * sysdeps/hppa/fpu/libm-test-ulps: Update.
13734 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
13736         [BZ #18104]
13737         * math/auto-libm-test-in: Add another test of pow.
13738         * math/auto-libm-test-out: Regenerated.
13740 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13742         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
13743         $(config-cflags-nofma).
13745 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
13747         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
13748         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
13749         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
13750         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
13751         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
13752         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
13753         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
13754         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
13755         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
13756         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
13757         Add comment on closing #endif.
13759 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13761         * posix/wordexp.c (CHAR_IN_SET): New macro.
13762         (parse_param): Use it.
13764 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13766         * sysdeps/powerpc/fpu/libm-test-ulps: update.
13768 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13770         [BZ #18043]
13771         * posix/wordexp.c (parse_param): Fix buffer overflow.
13772         * posix/wordexp-test.c (test_case): Add test case.
13774 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13776         [BZ #18042]
13777         * posix/wordexp.c (parse_backtick): Fix off-by-one.
13778         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
13780 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13782         [BZ #18043]
13783         * posix/wordexp-test.c (test_case): Add test for BZ #18043
13784         (do_bz18043): Delete.
13785         (at_page_end): New.
13786         (testit): Refactor to have words at the edge of unreadable page.
13788 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13790         [BZ #16734]
13791         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
13792         Cleanup read-only streams as well.
13793         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
13795 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13797         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
13798         <bits/libc-lockP.h>
13800 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
13802         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
13803         on [__KERNEL__].
13804         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
13805         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
13806         * soft-fp/op-common.h (_FP_DECL): Likewise.
13808 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
13810         * elf/ifuncdep2.c (global): Replace
13811         __attribute__((visibility("protected"))) with
13812         asm (".protected global").
13813         * elf/ifuncmod1.c (global): Likewise.
13814         * elf/ifuncmod5.c (global): Likewise.
13816 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
13818         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
13819         <asm/sfp-machine.h> instead of <sfp-machine.h>.
13821 2015-03-06  Roland McGrath  <roland@hack.frob.com>
13823         * manual/install.texi (Configuring and compiling):
13824         Document test-wrapper-env-only.
13825         * INSTALL: Regenerated.
13827 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
13829         [BZ #18043]
13830         * posix/wordexp.c (parse_param): Fix buffer overflow.
13831         * posix/wordexp-test.c (do_bz18043): Add test case.
13833 2015-03-06  Vincent Bernat  <vincent@bernat.im>
13835         * time/tst-strptime2.c (do_test): Ensure failing tests are
13836         reported correctly.
13837         * time/tst-strptime3.c (do_test): Likewise.
13839 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
13841         Fix aio_error thread-safety.
13842         * sysdeps/pthread/aio_error.c: New file
13843         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
13844         synchronization.
13846 2015-03-06  Florian Weimer  <fweimer@redhat.com>
13848         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
13849         (group_number, vfprintf): Use it.
13850         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
13851         (JUMP, REF): Use it.
13852         (WORK_BUFFER_SIZE): New enum constant.
13853         (process_arg, vfprintf): Use it.
13855 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
13857         * manual/errno.texi (Error Messages): Complete example function
13858         by adding missing #define.
13859         (program_invocation_name): Add statement indicating GNU
13860         extension and reference which header file declares the variable.
13861         (program_invocation_short_name): Likewise.
13863 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
13865         * manual/errno.texi (Error Messages): Delete strerror ISO C89
13866         compatibility note.
13868 2015-03-05  Roland McGrath  <roland@hack.frob.com>
13870         * Makeconfig (test-wrapper-env-only): New variable.
13871         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
13872         then use that with $(test-wrapper-env-only) rather than using
13873         $(test-wrapper-env) $(run-program-env) $($*-ENV).
13875 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
13877         [BZ #18082]
13878         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
13879         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
13880         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
13881         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
13882         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
13883         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
13884         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
13885         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
13886         Likewise.
13887         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
13888         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
13889         Likewise.
13890         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
13891         Likewise.
13892         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
13893         Likewise.
13894         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
13895         Likewise.
13896         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
13897         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
13898         Likewise.
13899         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
13900         Likewise.
13901         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
13902         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
13904 2015-03-04  Roland McGrath  <roland@hack.frob.com>
13906         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
13907         (ETH_ALEN): New macro.
13908         (struct ether_addr): Use it for length of ether_addr_octet.
13910         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
13911         (setdb): Don't call __nss_configure_lookup for "rpc".
13912         (do_test): Don't call test_rpc.
13913         (output_rpcent, test_rpc): Functions moved ...
13914         * sunrpc/test-rpcent.c: ... to this new file.
13915         * sunrpc/Makefile (tests): Add it.
13917         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
13918         __xpg_sigpause.
13919         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
13920         * nptl/tst-signal6.c: Likewise.
13921         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
13922         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
13924         * configure.ac (libc_cv_cxx_link_ok): New check.
13925         Reset CXX to empty if it fails to link.
13926         * configure: Regenerated.
13927         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
13928         bug-atexit3-lib only if $(CXX) is nonempty.
13929         * nptl/Makefile (tests): Likewise for tst-cancel24.
13930         (tests, tests-static): Likewise for tst-cancel24-static.
13931         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
13932         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
13933         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
13934         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
13936 2015-03-04  Andreas Schwab  <schwab@suse.de>
13938         [BZ #17631]
13939         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
13940         for non-GCC compilers.
13941         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
13942         Likewise.
13944 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13946         [BZ #17776]
13947         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
13948         integer before bitwise and assembly operations.
13949         (feclearexcept): Likewise.
13950         * math/test-fenvinline.c: New file.
13951         * math/Makefile: Add test-fenvinline test.
13953 2015-03-03  Alan Modra  <amodra@gmail.com>
13955         [BZ #16512]
13956         * scripts/localplt.awk: Strip off symbol version.
13957         * NEWS: Mention bug fix.
13959 2015-03-02  Roland McGrath  <roland@hack.frob.com>
13961         * sysdeps/pthread/timer_routines.c
13962         (timer_free_list, thread_free_list, thread_active_list): Make static.
13964 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
13966         [BZ #17779]
13967         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13968         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
13969         Undefine.
13970         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13971         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
13972         Likewise.
13973         * sysdeps/unix/sysv/linux/sh/kernel-features.h
13974         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
13975         Likewise.
13977 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
13979         [BZ #18036]
13980         * posix/fnmatch_loop.c (END): Detect invalid pattern.
13981         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
13983 2015-03-02  Andreas Schwab  <schwab@suse.de>
13985         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
13986         variable name.
13988 2015-03-02  Florian Weimer  <fweimer@redhat.com>
13990         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
13991         Return error status.
13993 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
13995         [BZ #15969]
13996         * locale/findlocale.c (_nl_find_locale): Introduce const
13997         version of loc_name and drop unsafe type casts.
13999 2015-02-27  Roland McGrath  <roland@hack.frob.com>
14001         * dlfcn/tststatic2.c (main): Converted to ...
14002         (do_test): ... this.
14003         (TEST_FUNCTION): New macro.
14004         Include test-skeleton.c.
14006 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
14008         [BZ #17711]
14009         * elf/Makefile (tests): Add vismain only if PIE is enabled.
14010         (tests-pie): Add vismain.
14011         (CFLAGS-vismain.c): New.
14012         * elf/vismain.c: Add comments for PIE requirement.
14014 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
14016         [BZ #18046]
14017         [BZ #18047]
14018         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
14019         0x1p-56L as threshold for just returning the argument.
14020         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
14021         0x1p-32L as threshold for just returning the argument.
14022         * math/auto-libm-test-in: Add more tests of atanh.
14023         * math/auto-libm-test-out: Regenerated.
14024         * sysdeps/i386/fpu/libm-test-ulps: Update.
14025         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
14027 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
14029         * string/bcopy.c (bcopy): Call memmove for performance.
14031 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
14033         * string/bzero.c (__bzero): Call memset for performance.
14035 2015-02-27  John David Anglin  <dave.anglin@bell.net>
14037         [BZ #18068]
14038         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
14039         to 00100000.
14041 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
14043         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
14045 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
14047         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
14048         (__kernel_standard): Use CSTR macro when setting exc.name.
14049         * sysdeps/ieee754/Makefile [$(subdir) = math]
14050         (CFLAGS-k_standard.c): Remove variable.
14052         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
14053         setting p and q from "else if" to "else".
14054         (qzero): Likewise.
14055         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
14056         (qone): Likewise.
14057         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
14058         (qzerof): Likewise.
14059         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
14060         (qonef): Likewise.
14061         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
14062         (qzero): Likewise.
14063         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
14064         (qone): Likewise.
14066         [BZ #18038]
14067         [BZ #18039]
14068         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
14069         return pi/2 for arguments below 0x1p-113L.
14070         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
14071         return pi/2 for arguments below 0x1p-106L.
14072         * math/auto-libm-test-in: Add more tests of acos.
14073         * math/auto-libm-test-out: Regenerated.
14075         [BZ #16351]
14076         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
14077         (MO): New macro.
14078         (__ieee754_asin): Force underflow exception for results with small
14079         absolute value.
14080         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
14081         (MO): New macro.
14082         (__ieee754_asinf): Force underflow exception for results with
14083         small absolute value.
14084         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
14085         (__ieee754_asin): Force underflow exception for results with small
14086         absolute value.
14087         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
14088         (__ieee754_asinf): Force underflow exception for results with
14089         small absolute value.
14090         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
14091         (__ieee754_asinl): Force underflow exception for results with
14092         small absolute value.
14093         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
14094         (__ieee754_asinl): Force underflow exception for results with
14095         small absolute value.
14096         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
14097         (__ieee754_asinl): Force underflow exception for results with
14098         small absolute value.
14099         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
14100         Include <math.h>.
14101         * math/auto-libm-test-in: Do not mark underflow exceptions as
14102         possibly missing for bug 16351.
14103         * math/auto-libm-test-out: Regenerated.
14105         [BZ #18030]
14106         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
14107         of power of 2 down when low part has opposite sign.
14108         * math/libm-test.inc (logb_test_data): Add more tests.
14110 2015-02-26  Andreas Schwab  <schwab@suse.de>
14112         [BZ #18032]
14113         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
14114         over collating symbol inside a bracket expression.  Minor cleanup.
14115         * posix/tst-fnmatch3.c (do_test): Add test case.
14117 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
14119         [BZ #18029]
14120         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
14121         Adjust exponent of power of 2 down when low part has opposite
14122         sign.
14123         * math/libm-test.inc (ilogb_test_data): Add more tests.
14125 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
14127         [BZ #15969]
14128         * locale/findlocale.c (_nl_find_locale): Fix constness error in
14129         the previous change.
14131         [BZ #15969]
14132         * locale/findlocale.c (_nl_find_locale): Retry archive search
14133         after alias expansion.
14135 2015-02-25  Roland McGrath  <roland@hack.frob.com>
14137         * iconv/tst-iconv3.c (main): Converted to ...
14138         (do_test): ... this.
14139         (TEST_FUNCTION): New macro.
14140         Include test-skeleton.c.
14142         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
14143         (convert): Make function static.
14144         (test_unalign): Likewise.  Add const to argument pointee types.
14145         (main): Replace with static function do_test.
14146         Print "Succeeded." only if RET is zero.
14147         (TEST_FUNCTION): New macro.
14148         Include test-skeleton.c.
14150         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
14151         returns a null pointer.
14153 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14155         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
14156         to __memcpy_ppc only for static builds.
14158 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
14160         [BZ #18020]
14161         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
14162         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
14163         * math/auto-libm-test-in: Add more tests of asinh.
14164         * math/auto-libm-test-out: Regenerated.
14165         * sysdeps/i386/fpu/libm-test-ulps: Update.
14166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14168 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
14170         [BZ #15850]
14171         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
14172         and ip6_mtuinfo definitions here.
14173         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
14174         in this define too.  Update comment.
14176 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
14178         * elf/sprof.c (load_shobj): Tweak error message to match others.
14180 2015-02-24  Kevin Easton  <kevin@guarana.org>
14182         [BZ #16145] (partial fix)
14183         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
14184         to reduce lock contention.
14186 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
14188         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
14189         (struct timex): Update time comment.
14190         (ADJ_SETOFFSET): Define.
14192 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
14194         [BZ #18019]
14195         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
14196         2**56 not 2**28 as threshold for log (2x) formula.
14197         * math/auto-libm-test-in: Add more tests of acosh.
14198         * math/auto-libm-test-out: Regenerated.
14199         * sysdeps/i386/fpu/libm-test-ulps: Update.
14200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14202 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
14204         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
14205         parenthesis around the buf assignment.
14206         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
14208 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
14210         [BZ #16783]
14211         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
14212         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
14213         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
14214         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
14215         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
14216         * math/libm-test.inc (scalb_test_data): Add more tests.
14218 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
14220         [BZ #17916]
14221         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
14222         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
14224 2015-02-24  Eric Rannaud  <e@nanocritical.com>
14226         [BZ #17523]
14227         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
14228         * io/bits/fcntl2.h (open): Use it.
14229         (openat): Likewise.
14230         * io/open.c (__libc_open): Likewise.
14231         * io/open64.c (__libc_open64): Likewise.
14232         * io/open64_2.c (__open64_2): Likewise.
14233         * io/open_2.c (__open_2): Likewise.
14234         * io/openat.c (__openat): Likewise.
14235         * io/openat64.c (__openat64): Likewise.
14236         * io/openat64_2.c (__openat64_2): Likewise.
14237         * io/openat_2.c (__openat_2): Likewise.
14238         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
14239         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
14240         * sysdeps/posix/open64.c (__libc_open64): Likewise.
14241         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14242         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
14243         (__open_nocancel): Likewise.
14244         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
14245         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
14246         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
14248 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14250         [BZ #14841]
14251         * resolv/gethnamaddr.c (getanswer): Skip logging if
14252         RES_USE_DNSSEC is set.
14253         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14255 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
14257         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
14259 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
14261         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
14262         201304L, for Unicode 7.
14264 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
14266         [BZ #17836]
14267         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
14268         shared library.  Add gmon-start.os otherwise.
14269         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
14270         $(objpfx)gmon-start.os if builing shared library.
14271         ($(objpfx)g$(static-start-installed-name)): Likewise.
14273 2015-02-23  Andreas Schwab  <schwab@suse.de>
14275         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
14277 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
14279         [BZ #17269]
14280         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
14281         (enlarge_userbuf): Likewise.
14283 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
14285         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
14286         * math/atest-exp.c (TIMEOUT): Adjust to 200.
14287         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
14288         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
14290 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
14292         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
14293         expression inside statement expression.
14295 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
14297         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
14298         <sysdeps/nptl/lowlevellock.h> and remove macros and
14299         functions that are now defined there.
14300         (SYS_futex): Remove.
14301         (lll_compare_and_swap): Remove.
14302         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
14304 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
14306         [BZ #17999]
14307         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
14308         instead of scandirat.
14309         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
14310         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
14311         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
14312         __scandirat.
14313         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
14314         (__scandirat): Declare.  Use libc_hidden_proto.
14315         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
14316         Remove variable.
14317         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
14319 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
14321         [BZ #15319]
14322         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
14323         (MO): New macro.
14324         (__ieee754_atan2): For results with small absolute value, force
14325         underflow exception and remove excess range and precision from
14326         return value.
14327         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
14328         (MO): New macro.
14329         (__ieee754_atan2f): For results with small absolute value, force
14330         underflow exception and remove excess range and precision from
14331         return value.
14332         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
14333         (MO): New macro.
14334         (__atan): For results with small absolute value, force underflow
14335         exception and remove excess range and precision from return value.
14336         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
14337         (MO): New macro.
14338         (__atanf): For results with small absolute value, force underflow
14339         exception and remove excess range and precision from return value.
14340         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
14341         <math.h>.
14342         (__ieee754_atan2): Force underflow exception for results with
14343         small absolute value.
14344         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
14345         <math_private.h>.
14346         (atan): Force underflow exception for results with small absolute
14347         value.
14348         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
14349         (__atanf): Force underflow exception for results with small
14350         absolute value.
14351         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
14352         <math.h>.
14353         (__atanl): Force underflow exception for results with small
14354         absolute value.
14355         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
14356         (__atanl): Force underflow exception for results with small
14357         absolute value.
14358         * sysdeps/x86/fpu/bits/mathinline.h
14359         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
14360         (__ieee754_atan2): Only define inline for long double.
14361         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
14362         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
14363         * math/auto-libm-test-in: Do not mark underflow exceptions as
14364         possibly missing for bug 15319.  Add more tests of atan2.
14365         * math/auto-libm-test-out: Regenerated.
14366         * math/libm-test.inc (casin_test_data): Do not mark underflow
14367         exceptions as possibly missing for bug 15319.
14368         (casinh_test_data): Likewise.
14369         * sysdeps/i386/fpu/libm-test-ulps: Update.
14371 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
14373         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
14374         * sysdeps/mips/bits/endian.h: Fix comments.
14376 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
14378         [BZ #17996]
14379         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
14380         (hdestroy_r): Likewise.
14381         (hsearch_r): Likewise.
14382         (__hcreate_r): Declare and use libc_hidden_proto.
14383         (__hdestroy_r): Likewise.
14384         (__hsearch_r): Likewise.
14385         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
14386         (hcreate): Call __hcreate_r instead of hcreate_r.
14387         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
14388         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
14389         as weak alias of __hcreate_r.
14390         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
14391         __hdestroy_r.
14392         (hsearch_r): Rename to __hsearch_r and define as weak alias of
14393         __hsearch_r.
14394         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
14395         Remove variable.
14396         (test-xfail-XPG4/search.h/linknamespace): Likewise.
14397         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
14398         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
14399         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
14401 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14403         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
14404         arena_lock into a single arena_get.
14406 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
14408         * dl-reloc.c: Inlucde libc-internal.h.
14409         (_dl_try_allocate_static_tls): Call ALIGN_UP.
14410         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
14411         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
14412         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
14413         (grow_heap): Likewise.
14414         * malloc/malloc.c: Include libc-internal.h.
14415         (do_check_malloc): Call powerof2.
14416         (sysmalloc): Use pagesize. Call ALIGN_UP.
14417         (systrim): Use pagesize.
14418         (mremap_chunk): Use pagesize. Call ALIGN_UP.
14419         (__libc_valloc): Use pagesize.
14420         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
14422 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
14424         [BZ #17991]
14425         * include/sys/resource.h (__getrlimit64): Declare.  Use
14426         libc_hidden_proto.
14427         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
14428         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
14429         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
14430         getrlimit64.
14431         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
14432         __getrlimit64.
14433         [!getrlimit64] (getrlimit64): Define as weak alias of
14434         __getrlimit64.  Use libc_hidden_weak.
14435         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
14436         using __getrlimit64 not __new_getrlimit64.
14437         (__GI_getrlimit64): Likewise.
14438         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
14439         Likewise.
14440         (__GI_getrlimit64): Likewise.
14441         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
14442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
14443         (getrlimit): Add __getrlimit64 alias.
14444         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
14445         Likewise.
14446         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
14447         Remove variable.
14448         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
14449         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
14451 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
14453         * libio/fileops.c: Add missing sys/mman.h
14454         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
14456 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
14458         * manual/math.texi (Errors in Math Functions): Clarify goals
14459         regarding inexact and underflow exceptions.
14461 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
14463         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
14464         * sysdeps/mips/memset.S: Ditto.
14466 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
14468         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
14470 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14472         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
14473         (__v1longjmp): Remove versioned symbol.
14474         (__v1siglongjmp): Remove alias and versioned symbol.
14475         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
14476         (__v2siglongjmp): Likewise.
14478 2015-02-16  Torvald Riegel  <triegel@redhat.com>
14480         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
14482 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
14484         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
14486 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
14488         [BZ #17987]
14489         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
14490         zero result does not depend on the sign resulting from
14491         subtraction.
14492         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
14493         Likewise.
14494         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
14495         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
14496         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14497         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
14498         * math/libm-test.inc (remquo_test_data): Add more tests.
14500 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
14502         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
14503         Problem reported by J William Piggott.
14505 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
14507         [BZ #17978]
14508         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
14509         products 4 * y and 2 * y where those would overflow.
14510         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
14511         Likewise.
14512         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
14513         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
14514         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14515         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
14516         * math/libm-test.inc (remquo_test_data): Add more tests.
14518         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
14520         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
14521         [defined _COMPILING_NEWLIB].
14522         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
14523         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
14525         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
14526         [!defined __mips_isa_rev || __mips_isa_rev < 6].
14528 2015-02-16  Torvald Riegel  <triegel@redhat.com>
14530         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
14531         acquired.
14533 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
14535         [BZ #17792]
14536         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
14537         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
14538         HOST_STACK_END_ADDR): Likewise.
14540 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
14542         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
14543         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
14544         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
14546 2015-02-13  Roland McGrath  <roland@hack.frob.com>
14548         * sysdeps/generic/c++-types.data: New file.
14549         * sysdeps/generic/ld.abilist: New file.
14550         * sysdeps/generic/libBrokenLocale.abilist: New file.
14551         * sysdeps/generic/libanl.abilist: New file.
14552         * sysdeps/generic/libc.abilist: New file.
14553         * sysdeps/generic/libcrypt.abilist: New file.
14554         * sysdeps/generic/libdl.abilist: New file.
14555         * sysdeps/generic/libm.abilist: New file.
14556         * sysdeps/generic/libpthread.abilist: New file.
14557         * sysdeps/generic/libresolv.abilist: New file.
14558         * sysdeps/generic/librt.abilist: New file.
14560 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
14562         [BZ #17569]
14563         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
14564         Compute absolute value of x as modified by fmod, not original
14565         value of x.
14566         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
14567         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
14568         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
14569         RUN_TEST_ffI_f1_mod8.
14570         (remquo_test_data): Add more tests.
14572 2015-02-13  Roland McGrath  <roland@hack.frob.com>
14574         * sysdeps/init_array/pt-crti.S: New file.
14576 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
14578         [BZ #17967]
14579         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
14580         __builtin_fmaf instead of relying on contraction of a * b + c.
14582 2015-02-12  J William Piggott  <elseifthen@gmx.com>
14584         [BZ #17969]
14585         * manual/time.texi: correct the zoneinfo path in the TZ Variable
14586         node.
14588 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
14590         [BZ #17964]
14591         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
14592         __builtin_fma instead of relying on contraction of a * b + c.
14594 2015-02-12  Roland McGrath  <roland@hack.frob.com>
14596         * Makeconfig (ASFLAGS): Add -Werror=undef.
14597         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
14598         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
14599         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
14601         * Makeconfig (after-link): New variable.
14602         (+link-pie, +link-pie-tests): Use it.
14603         (+link-static, +link-static-tests): Likewise.
14604         (+link, +link-tests): Likewise.
14605         * Makerules (build-module, build-module-asneeded): Likewise.
14606         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
14607         Likewise.
14608         * elf/Makefile ($(objpfx)ld.so): Likewise.
14610 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
14612         [BZ #17965]
14613         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
14614         both struct timeval and struct timespec.
14616 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
14618         [BZ #16560]
14619         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14620         and redefine.
14621         (__ieee754_exp2l): Do not multiply small fractional parts by
14622         M_LN2l.
14623         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
14624         small argument.
14625         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14626         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
14627         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
14628         * math/auto-libm-test-in: Add more tests of exp2.
14629         * math/auto-libm-test-out: Regenerated.
14631 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14633         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
14634         unaligned path.
14636 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14638         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
14639         little endian.
14641 2015-02-12  Andreas Schwab  <schwab@suse.de>
14643         [BZ #15790]
14644         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
14645         Filter out elision flags from value returned in kind.
14646         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
14647         * nptl/tst-pthread-mutexattr.c: New file.
14649 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14651         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
14652         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
14653         into gnu-gnu, and update comment to refer to abi-tags.
14655 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
14657         [BZ #15467]
14658         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
14659         (__sincos): Set errno to EDOM for infinite argument.
14660         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
14661         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
14662         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
14663         (__sincosl): Set errno to EDOM for infinite argument.
14664         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
14665         (__sincosl): Set errno to EDOM for infinite argument.
14666         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
14667         (__sincosl): Set errno to EDOM for infinite argument.
14668         * math/libm-test.inc (sincos_test_data): Test errno setting.
14670 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
14672         * string/strxfrm_l.c: Remove #define STRCMP.
14673         * string/strcoll_l.c: Remove #define STRLEN.
14674         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
14675         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
14677 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
14679         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
14680         * sysdeps/mips/mips32/sfp-machine.h: ... here.
14681         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
14682         * sysdeps/mips/mips64/Makefile: ... here.
14683         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
14684         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
14685         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
14686         * sysdeps/mips/mips64/sfp-machine.h: ... here.
14687         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
14688         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
14689         * sysdeps/mips/mips64/n64/Implies: Likewise.
14691 2015-02-10  Roland McGrath  <roland@hack.frob.com>
14693         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
14694         <sys/time.h>, <string.h>, and <errno.h>.
14695         (dest_offset, dest_address, value, zero): Remove unused variables.
14696         (ldouble): Remove typedef.
14697         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
14698         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
14699         1).  Fix code style.
14700         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
14701         (check): Function removed.
14702         (CHECK): New macro.
14703         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
14704         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
14705         Don't call set_sigaction_FP and remove_sigaction_FP here.
14706         (ldouble_test): Just use 'long double' as macro argument, no need for
14707         the 'ldouble' typedef.
14708         (do_test): Set up SIGFPE handler at start, using plain signal rather
14709         than sigaction.  Fix code style.
14711 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
14713         [BZ #17949]
14714         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
14715         jump label.
14717 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14719         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
14720         * sysdeps/powerpc/powerpc32/configure: Regenerated.
14722         * sysdeps/powerpc/configure.ac: Remove file.
14723         * sysdeps/powerpc/configure: Likewise.
14725         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
14726         [sysdep_routines]: Remove wordcopy-power6 object.
14727         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
14728         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
14729         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
14730         (__memmove_ppc32): Likewise.
14731         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
14732         file.
14733         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
14734         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
14735         Remove preprocessor.
14737         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
14738         [sysdep_routines]: Remove wide chars objects.
14739         [wcsmbs]: New rule for wide char objects.
14741         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14742         Remove wordcopy-power6 obejct.
14743         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
14744         Use local call for wordcopy and memcpy symbols.
14745         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
14746         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
14747         implementation for loader.
14748         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
14750         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14751         Remove wordcopy-power7 object.
14752         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
14753         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
14754         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
14755         (_wordcopy_fwd_dest_aligned): Likewise.
14756         (_wordcopy_bwd_aligned): Likewise.
14757         (_wordcopy_bwd_dest_aligned): Likewise.
14759         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
14760         Rewrite to call __memmove_ppc instead of include default
14761         implementation.
14763         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14764         Remove wide chars objects.
14765         [wcsmbs]: New rule for wide char objects.
14767 2015-02-09  Andreas Schwab  <schwab@suse.de>
14769         [BZ #17912]
14770         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14771         in terms of __O_DIRECTORY.
14773 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14775         * time/getdate.c: Include <stdbool.h>.
14776         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
14777         call PTR_MANGLE.
14778         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
14779         PTR_DEMANGLE.
14781 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
14783         Add ersatz _Static_assert on older C hosts
14784         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
14785         pre-C11 C platform that is not known to support _Static_assert.
14787 2015-02-07  Richard Braun  <rbraun@sceen.net>
14789         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
14790         sigstate.
14791         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
14793 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14795         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
14796         priority against unexistent AIO_PRIO_DELTA_MAX.
14797         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
14798         instead of int.
14799         * misc/fchflags.c (fchflags): Likewise.
14800         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
14801         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
14802         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
14803         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
14804         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
14805         Declare macros.
14806         [__USE_MISC] (chflags, fchflags): Declare functions.
14807         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
14808         EINVAL when nfds is greater than FD_SETSIZE.
14809         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
14810         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
14811         45.
14812         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
14813         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
14814         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
14815         MACH_RCV_TIMED_OUT.
14816         * hurd/hurd/signal.h (_hurd_self_sigstate,
14817         _hurd_critical_section_lock, _hurd_critical_section_unlock):
14818         Explicit casts from void *.
14819         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
14820         * abi-tags: Rename gnu-gnu os into gnu.
14822         [BZ #4719]
14823         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
14824         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
14825         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
14826         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
14827         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
14828         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
14830         [BZ #17944]
14831         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
14832         duplicates ADDR->sun_path with sockaddr LEN limitation.
14833         * sysdeps/mach/hurd/connect.c: Include <string.h>
14834         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
14835         * sysdeps/mach/hurd/sendmsg.c: Likewise.
14836         * sysdeps/mach/hurd/sendto.c: Likewise.
14837         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
14838         implementing it by hand.
14840 2015-02-06  Roland McGrath  <roland@hack.frob.com>
14842         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
14843         Use sfi_breg on ldr.
14844         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
14845         Likewise.
14847         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
14848         it's defined.
14849         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
14850         Test SIGSETXID only if it's defined.
14852         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
14854         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
14855         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
14857         * nptl/tst-align2.c: Moved ...
14858         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
14859         * nptl/Makefile (tests): Remove tst-align2.
14860         * sysdeps/unix/sysv/linux/Makefile
14861         [$(subdir) = nptl] (tests): Add tst-align-clone.
14862         * nptl/tst-getpid1.c: Moved ...
14863         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
14864         * nptl/tst-getpid2.c: Moved ...
14865         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
14866         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
14867         * sysdeps/unix/sysv/linux/Makefile
14868         [$(subdir) = nptl] (tests): ... here.
14869         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
14870         * sysdeps/unix/sysv/linux/Makefile
14871         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
14873         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
14874         Drop trailing \n from perror argument.  Use return rather than exit.
14876         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
14877         on [SA_SIGINFO].
14878         * nptl/tst-cancel21.c (do_test): Likewise.
14879         * debug/tst-backtrace6.c: Include <signal.h> first thing.
14880         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
14881         [!SA_SIGINFO]: Make it a stub test.
14883         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
14884         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
14886         * posix/tst-getlogin.c: Move to ...
14887         * login/tst-getlogin.c: ... here.
14888         * posix/Makefile (tests): Move tst-getlogin to ...
14889         * login/Makefile (tests): ... here.
14891         * libio/tst-atime.c (do_test): Move local variables SV and E
14892         inside [ST_NOATIME] conditional.
14894         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
14896         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
14898         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
14899         (wait_code): New function replaces macro.
14900         Call nanosleep rather than syscall.
14902         * nptl/pt-system.c: Rewritten.  Put everything under
14903         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
14904         Use IFUNC to redirect when possible.
14906         * nptl/pt-longjmp.c: Rewritten.  Put everything under
14907         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
14908         Use IFUNC to redirect when possible.
14910         * nptl/pt-fork.c: Rewritten.  Put everything under
14911         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
14912         Use IFUNC to redirect when possible.
14913         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
14915         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
14916         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
14917         unconditionally nowadays.  This included the only reference to
14918         __vdso_clock_gettime that appears outside libc proper.
14919         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
14920         Remove version set (containing only __vdso_clock_gettime).
14921         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
14922         Add attribute_hidden.
14923         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
14924         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
14925         libc_hidden_data_def.
14926         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14927         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14929         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
14930         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
14931         setrpcent, and getrpcport to ...
14932         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
14933         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
14934         getrpcbynumber_r, and getrpcent_r to ...
14935         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
14936         * inet/getrpcbyname.c: Moved ...
14937         * sunrpc/getrpcbyname.c: ... here.
14938         * inet/getrpcbyname_r.c: Moved ...
14939         * sunrpc/getrpcbyname_r.c: ... here.
14940         * inet/getrpcbynumber.c: Moved ...
14941         * sunrpc/getrpcbynumber.c: ... here.
14942         * inet/getrpcbynumber_r.c: Moved ...
14943         * sunrpc/getrpcbynumber_r.c: ... here.
14944         * inet/getrpcent.c: Moved ...
14945         * sunrpc/getrpcent.c: ... here.
14946         * inet/getrpcent_r.c: Moved ...
14947         * sunrpc/getrpcent_r.c: ... here.
14948         * inet/Makefile (routines): Move those to ...
14949         * sunrpc/Makefile (routines): ... here.
14950         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
14951         the $(subdirs) list.
14952         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
14953         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
14954         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
14955         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
14957         * elf/Makefile (routines): Include $(all-dl-routines), not just
14958         $(dl-routines).
14959         (rtld-routines): Likewise.  Use = rather than :=.
14960         * sysdeps/aarch64/Makefile [$(subdir) = elf]
14961         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
14962         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
14963         * sysdeps/arm/Makefile: Likewise.
14964         * sysdeps/i386/Makefile: Likewise.
14965         * sysdeps/x86_64/Makefile: Likewise.
14966         * sysdeps/hppa/Makefile [$(subdir) = elf]
14967         (sysdep_routines, sysdep-rtld-routines): Don't add
14968         $(sysdep-dl-routines) to these.
14969         * sysdeps/ia64/Makefile: Likewise.
14970         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
14971         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
14972         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
14973         Don't add dl-static to these; sysdep-dl-routines alone is enough.
14974         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
14975         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
14976         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
14977         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
14978         * sysdeps/powerpc/Makefile [$(subdir) = elf]
14979         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
14980         these; sysdep-dl-routines alone is enough.
14982 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
14984         [BZ #17932]
14985         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
14986         where multiplication results in zero and third argument is finite
14987         and nonzero.
14988         * math/auto-libm-test-in: Add more tests of fma.
14989         * math/auto-libm-test-out: Regenerated.
14991         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
14992         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
14993         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
14994         (_FP_CMP_EQ): Likewise.
14995         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
14997         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
14998         extra argument CHECK_NAN.  Redefine as wrapper around
14999         _FP_EXTEND_CNAN.
15001 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
15003         * version.h (RELEASE): Set to "stable".
15004         (VERSION): Set to "2.21"
15005         * include/features.h (__GLIBC_MINOR__): Set to 21.
15007         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
15009 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15010             Paul Eggert  <eggert@cs.ucla.edu>
15012         [BZ #16618]
15013         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
15014         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
15015         size in bytes. Store needed elements in wpmax. Use needed size
15016         in bytes for extend_alloca.
15018 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
15020         * manual/install.texi: Latest tested versions are GCC 4.9.2,
15021         binutls 2.25, and texinfo 5.2.
15022         * INSTALL: Regenerate.
15023         * sysdeps/nios2/configure: Regenerate.
15024         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
15025         * manual/contrib.texi: Update.
15026         * po/be.po: Update.
15027         * po/bg.po: Update.
15028         * po/ca.po: Update.
15029         * po/cs.po: Update.
15030         * po/da.po: Update.
15031         * po/de.po: Update.
15032         * po/el.po: Update.
15033         * po/eo.po: Update.
15034         * po/es.po: Update.
15035         * po/fi.po: Update.
15036         * po/fr.po: Update.
15037         * po/gl.po: Update.
15038         * po/hr.po: Update.
15039         * po/hu.po: Update.
15040         * po/ia.po: Update.
15041         * po/id.po: Update.
15042         * po/it.po: Update.
15043         * po/ja.po: Update.
15044         * po/ko.po: Update.
15045         * po/lt.po: Update.
15046         * po/nb.po: Update.
15047         * po/nl.po: Update.
15048         * po/pl.po: Update.
15049         * po/pt_BR.po: Update.
15050         * po/ru.po: Update.
15051         * po/rw.po: Update.
15052         * po/sk.po: Update.
15053         * po/sl.po: Update.
15054         * po/sv.po: Update.
15055         * po/tr.po: Update.
15056         * po/uk.po: Update.
15057         * po/vi.po: Update.
15058         * po/zh_CN.po: Update.
15059         * po/zh_TW.po: Update.
15061         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
15062         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
15063         * sysdeps/hppa/dl-irel.h: Remove #warning.
15064         * sysdeps/hppa/entry.h: Provide prototype for
15065         __canonicalize_funcptr_for_compare and cast argument.
15066         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
15067         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
15068         * sysdeps/hppa/sotruss-lib.c: New file.
15069         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
15070         (atomic_compare_and_exchange_val_acq): Use __typeof__.
15071         (atomic_compare_and_exchange_bool_acq): Likewise.
15072         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
15073         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
15075         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
15076         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
15077         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
15079 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
15081         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
15082         called function in non-PIC case.
15084 2015-01-31  David S. Miller  <davem@davemloft.net>
15086         * sysdeps/sparc/sparc32/bits/atomic.h
15087         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
15088         unlock not after it.
15089         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
15090         volatile register usage warnings from the compiler.
15092         * sysdeps/sparc/nptl/sem_init.c: Delete.
15093         * sysdeps/sparc/nptl/sem_post.c: Delete.
15094         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
15095         * sysdeps/sparc/nptl/sem_wait.c: Delete.
15096         * sysdeps/sparc/sparc32/sem_init.c: New file.
15097         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
15098         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
15099         padding explicitly initialized.
15100         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
15101         padding for in-semaphore spinlock.
15102         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
15103         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
15104         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
15105         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
15106         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
15107         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
15108         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
15109         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
15110         version.
15111         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
15112         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
15114 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
15116         [BZ #17801]
15117         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15118         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
15119         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
15120         New.
15121         (index_AVX_Fast_Unaligned_Load): Likewise.
15122         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
15123         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
15124         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
15125         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
15126         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
15127         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
15128         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
15129         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
15130         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
15132 2015-01-29  Andreas Schwab  <schwab@suse.de>
15134         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
15136 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
15138         [BZ #17892]
15139         * nscd/nscd_stat.c (send_stats): Initialize DATA.
15141 2015-01-28  Martin Sebor  <msebor@redhat.com>
15143         * math/README.libm-test: Clarify. Add "How to read the test output."
15145 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
15147         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
15148         Define to 0.
15150 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
15152         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
15153         (__HAVE_64B_ATOMICS): Define to 0.
15155 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15157         [BZ #17885]
15158         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
15159         value to set as new flag.
15161         [BZ #16576]
15162         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
15163         and use _ARCH_PPCSQ instead.
15164         (__ieee754_sqrt): Likewise.
15165         (__ieee754_sqrtf): Likewise.
15166         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
15167         _ARCH_PPCSQ is defined.
15168         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
15169         fsqrt instruction.
15170         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
15171         _ARCH_PPCSQ is defined.
15172         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
15173         fsqrts instruction.
15174         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
15176 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15178         * iconv/loop.c: Suppress array out of bound warning caused by GCC
15179         bug (GCC BZ #64739).
15181 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
15183         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
15184         Mark _retval as used.
15185         (lll_futex_wake_unlock): Likewise.
15186         (lll_futex_timed_wait_requeue_pi): Likewise.
15188         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
15189         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
15190         register variables.
15192         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
15193         libm_hidden_def.
15195         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
15196         (__bswap_64): Mark as __always_inline.
15198 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
15200         [BZ #15378]
15201         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
15202         when none of the search directories exist.
15204 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15206         [BZ #17869]
15207         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
15208         power8 in .machine directive.
15210         [BZ #17868]
15211         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
15212         set dependency from opd value.
15214 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
15216         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15217         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
15218         architecture.
15220 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
15222         [BZ #17870]
15223         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
15224         with uint64_t.
15225         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
15226         (uint64_t) 1.
15227         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
15228         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
15229         Replace 1UL with (uint64_t) 1.
15230         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
15231         int with uint64_t.
15233 2015-01-23  Roland McGrath  <roland@hack.frob.com>
15235         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
15236         (if_freenameindex): Likewise.
15238         * resource/getrlimit64.c: Add missing libc_hidden_def.
15240 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
15242         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
15243         __label__.
15244         (_FP_FMA): Likewise.
15245         (_FP_TO_INT_ROUND): Likewise.
15246         (_FP_FROM_INT): Likewise.
15248 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15250         [BZ #16418]
15251         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
15252         Make code racy and cancel safe.
15254 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
15256         * sysdeps/arm/unwind-resume.h: Fix copyright year.
15257         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
15258         attribution.
15260         * pwd/tst-getpw.c: Rewrite.
15262         [BZ #17702]
15263         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
15264         (modules-names): Add moddummy1 and moddummy2.
15265         ($(objpfx)tst-rec-dlopen): Define.
15266         * dlfcn/moddummy1.c: New file.
15267         * dlfcn/moddummy2.c: New file.
15268         * dlfcn/tst-rec-dlopen.c: New file.
15269         * elf/dl-cache.c (_dl_load_cache_lookup):
15270         Return char*. Copy result with alloca/strcpy/strdup.
15271         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
15272         returns char*. Free cached. If not saving realname
15273         free cached.
15274         * elf/dl-open.c (dl_open_worker): Do not assert that
15275         _r_debug->r_state is RT_CONSISTENT.
15276         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
15277         returns char*.
15279 2015-01-21  Torvald Riegel  <triegel@redhat.com>
15280             Carlos O'Donell  <carlos@redhat.com>
15282         [BZ #12674]
15283         * nptl/sem_waitcommon.c: New file.
15284         * nptl/sem_wait.c: Include sem_waitcommon.c.
15285         (__sem_wait_cleanup, do_futex_wait): Remove.
15286         (__new_sem_wait): Adapt.
15287         (__new_sem_trywait): New function.
15288         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
15289         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
15290         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
15291         (sem_timedwait): Adapt.
15292         * nptl/sem_post.c (__new_sem_post): Adapt.
15293         (futex_wake): New function.
15294         (__old_sem_post): Add release MO fence.
15295         * nptl/sem_open.c (sem_open): Adapt.
15296         * nptl/sem_init.c (__new_sem_init): Adapt.
15297         (futex_private_if_supported): New function.
15298         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
15299         (__old_sem_getvalue): Add using previous code.
15300         * sysdeps/nptl/internaltypes.h: Adapt.
15301         * nptl/tst-sem13.c (do_test): Adapt.
15302         * nptl/tst-sem11.c (main): Adapt.
15303         * nptl/sem_trywait.c: Remove.
15304         * nptl/DESIGN-sem.txt: Remove.
15305         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
15306         (gen-as-const-headers): Remove structsem.sym.
15307         * nptl/structsem.sym: Remove.
15308         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
15309         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
15310         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
15311         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
15312         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
15313         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
15314         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
15315         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
15316         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
15317         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
15318         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
15319         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
15320         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
15321         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
15322         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
15323         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
15324         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
15325         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
15326         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
15327         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
15328         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
15329         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
15331 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
15333         * INSTALL: Regenerated.
15335         * po/libc.pot: Regenerated.
15337 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
15338             Sandra Loosemore  <sandra@codesourcery.com>
15339             Andrew Jenner  <andrew@codesourcery.com>
15340             Joseph Myers  <joseph@codesourcery.com>
15341             Nathan Sidwell  <nathan@codesourcery.com>
15343         * NEWS: Mention new Nios II port.
15344         * sysdeps/nios2/Implies: New file.
15345         * sysdeps/nios2/Makefile: New file.
15346         * sysdeps/nios2/Subdirs: New file.
15347         * sysdeps/nios2/Versions: New file.
15348         * sysdeps/nios2/__longjmp.S: New file.
15349         * sysdeps/nios2/abort-instr.h: New file.
15350         * sysdeps/nios2/backtrace.c: New file.
15351         * sysdeps/nios2/bits/endian.h: New file.
15352         * sysdeps/nios2/bits/fenv.h: New file.
15353         * sysdeps/nios2/bits/link.h: New file.
15354         * sysdeps/nios2/bits/setjmp.h: New file.
15355         * sysdeps/nios2/bsd-_setjmp.S: New file.
15356         * sysdeps/nios2/bsd-setjmp.S: New file.
15357         * sysdeps/nios2/configure: New generated file.
15358         * sysdeps/nios2/configure.ac: New file.
15359         * sysdeps/nios2/crti.S: New file.
15360         * sysdeps/nios2/crtn.S: New file.
15361         * sysdeps/nios2/dl-init.c: New file.
15362         * sysdeps/nios2/dl-machine.h: New file.
15363         * sysdeps/nios2/dl-sysdep.h: New file.
15364         * sysdeps/nios2/dl-tls.h: New file.
15365         * sysdeps/nios2/dl-trampoline.S: New file.
15366         * sysdeps/nios2/gccframe.h: New file.
15367         * sysdeps/nios2/gmp-mparam.h: New file.
15368         * sysdeps/nios2/jmpbuf-offsets.h: New file.
15369         * sysdeps/nios2/jmpbuf-unwind.h: New file.
15370         * sysdeps/nios2/ldsodefs.h: New file.
15371         * sysdeps/nios2/libc-tls.c: New file.
15372         * sysdeps/nios2/libm-test-ulps: New file.
15373         * sysdeps/nios2/machine-gmon.h: New file.
15374         * sysdeps/nios2/math-tests.h: New file.
15375         * sysdeps/nios2/math_private.h: New file.
15376         * sysdeps/nios2/memusage.h: New file.
15377         * sysdeps/nios2/nptl/Makefile: New file.
15378         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
15379         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
15380         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
15381         * sysdeps/nios2/nptl/pthreaddef.h: New file.
15382         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
15383         * sysdeps/nios2/nptl/tls.h: New file.
15384         * sysdeps/nios2/preconfigure: New file.
15385         * sysdeps/nios2/s_fma.c: New file.
15386         * sysdeps/nios2/s_fmaf.c: New file.
15387         * sysdeps/nios2/setjmp.S: New file.
15388         * sysdeps/nios2/sfp-machine.h: New file.
15389         * sysdeps/nios2/sotruss-lib.c: New file.
15390         * sysdeps/nios2/stackguard-macros.h: New file.
15391         * sysdeps/nios2/stackinfo.h: New file.
15392         * sysdeps/nios2/start.S: New file.
15393         * sysdeps/nios2/sysdep.h: New file.
15394         * sysdeps/nios2/tls-macros.h: New file.
15395         * sysdeps/nios2/tst-audit.h: New file.
15396         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
15397         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
15398         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
15399         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
15400         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
15401         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
15402         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
15403         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
15404         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
15405         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
15406         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
15407         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
15408         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
15409         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
15410         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
15411         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
15412         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
15413         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
15414         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
15415         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
15416         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
15417         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
15418         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
15419         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
15420         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
15421         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
15422         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
15423         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
15424         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
15425         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
15426         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
15427         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
15428         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
15429         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
15430         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
15431         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
15432         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
15433         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
15434         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
15435         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
15436         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
15437         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
15438         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
15439         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
15441 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
15443         [BZ #17844]
15444         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
15445         (getutent): Use weak_alias in non SHARED case
15446         and default_symbol_version in SHARED case.
15447         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
15448         (getutent_r, pututline): Likewise.
15449         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
15450         (getutid): Likewise.
15451         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
15452         (getutid_r): Likewise.
15453         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
15454         (getutline): Likewise.
15455         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
15456         (getutline_r): Likewise.
15457         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
15458         (updwtmp): Likewise.
15460 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
15462         [BZ #17848]
15463         * sysdeps/s390/s390-32/memcmp.S
15464         (memcmp_g5): Rename to __memcmp_g5.
15465         * sysdeps/s390/s390-32/memcpy.S
15466         (memcpy_g5): Rename to __memcpy_g5.
15467         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15468         (memcpy_mvcle) Rename to __memcpy_mvcle.
15469         * sysdeps/s390/s390-32/memset.S
15470         (memset_g5): Rename to __memset_g5.
15471         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15472         (IFUNC_RESOLVE): Prefix ifunc-resolve function
15473         and use prefixed functions.
15474         * sysdeps/s390/s390-32/multiarch/memcmp.S
15475         (memcmp_z196): Rename to __memcmp_z196.
15476         (memcmp_z10): Rename to __memcmp_z10.
15477         (memcmp): Set alias to __memcmp_g5.
15478         (bcmp): Set alias to __memcmp_g5.
15479         * sysdeps/s390/s390-32/multiarch/memcpy.S
15480         (memcpy_z196): Rename to __memcpy_z196.
15481         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15482         (memcpy_z10): Rename to __memcpy_z10.
15483         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15484         (memcpy): Set alias to __memcpy_g5.
15485         * sysdeps/s390/s390-32/multiarch/memset.S
15486         (memset_z196): Rename to __memset_z196.
15487         Jump to __memset_mvcle instead of memset_mvcle.
15488         (memset_z10): Rename to __memset_z10.
15489         Jump to __memset_mvcle instead of memset_mvcle.
15490         (memset_mvcle) Rename to __memset_mvcle.
15491         (memset): Set alias to __memset_g5.
15492         * sysdeps/s390/s390-64/memcmp.S
15493         (memcmp_z900): Rename to __memcmp_z900.
15494         * sysdeps/s390/s390-64/memcpy.S
15495         (memcpy_z900): Rename to __memcpy_z900.
15496         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15497         (memcpy_mvcle) Rename to __memcpy_mvcle.
15498         * sysdeps/s390/s390-64/memset.S
15499         (memset_z900): Rename to __memset_z900.
15500         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
15501         (IFUNC_RESOLVE): Prefix ifunc-resolve function
15502         and use prefixed functions.
15503         * sysdeps/s390/s390-64/multiarch/memcmp.S
15504         (memcmp_z196): Rename to __memcmp_z196.
15505         (memcmp_z10): Rename to __memcmp_z10.
15506         (memcmp): Set alias to __memcmp_z900.
15507         (bcmp): Set alias to __memcmp_z900.
15508         * sysdeps/s390/s390-64/multiarch/memcpy.S
15509         (memcpy_z196): Rename to __memcpy_z196.
15510         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15511         (memcpy_z10): Rename to __memcpy_z10.
15512         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15513         (memcpy): Set alias to __memcpy_z900.
15514         * sysdeps/s390/s390-64/multiarch/memset.S
15515         (memset_z196): Rename to __memset_z196.
15516         Jump to __memset_mvcle instead of memset_mvcle.
15517         (memset_z10): Rename to __memset_z10.
15518         Jump to __memset_mvcle instead of memset_mvcle.
15519         (memset_mvcle) Rename to __memset_mvcle.
15520         (memset): Set alias to __memset_z900.
15522 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
15524         [BZ #17748]
15525         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
15526         __fesetenv instead of fesetenv.
15528 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15530         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
15531         macro.
15533 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15535         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
15536         regression on LE.
15538         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
15539         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
15540         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
15541         strncmp-power8 object.
15542         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15543         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
15544         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
15545         * NEWS: Update.
15547 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15548             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15550         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
15551         trailing byte check.
15553 2015-01-13  David S. Miller  <davem@davemloft.net>
15555         * include/signal.h (__sigreturn): Guard with __USE_MISC.
15557 2015-01-13  Roland McGrath  <roland@hack.frob.com>
15559         * login/logout.c (logout): Use memset rather than bzero.
15560         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
15561         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
15562         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
15563         (_gethtbyaddr): Likewise.
15564         * locale/programs/simple-hash.c (bcopy): Macro removed.
15566 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15568         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15569         Add strcmp-power8 object.
15570         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15571         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
15572         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
15573         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
15574         __strcmp_power8 implementation.
15575         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
15576         * NEWS: Update.
15578         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15579         Add strncpy-power8 and stpncpy-power8 objects.
15580         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15581         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
15582         implementations.
15583         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
15584         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
15585         __stpncpy_power8 implementation.
15586         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
15587         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
15588         __strncpy_power8 implementation.
15589         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
15590         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
15591         * NEWS: Update.
15593         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
15594         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
15595         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
15597         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
15598         strncat-power8 object.
15599         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
15600         __strcat_power8 implementation.
15601         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15602         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
15603         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
15604         optimized strcat for power8.
15606         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
15607         strcpy-power8 and stpcpy-power8 objects.
15608         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15609         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
15610         implementations.
15611         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
15612         multiarch stpcpy implementation for POWER8.
15613         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
15614         multiarch strcpy implementation for POWER8.
15615         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
15616         __strcpy_power8 function.
15617         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
15618         stpcpy for POWER8.
15619         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
15620         strcpy for POWER8.
15621         * NEWS: Update.
15623 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
15625         [BZ #16009]
15626         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
15627         weights and rules. Use do_xfrm_cached if data fits in cache,
15628         do_xfrm otherwise.  Moved former main loop to...
15629         * (do_xfrm_cached): New function.
15630         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
15631         find_idx, find_position and stack_push.
15632         * (find_idx): New function.
15633         * (find_position): Likewise.
15634         * localedata/sort-test.sh: Added test run for do_xfrm.
15635         * localedata/xfrm-test.c (main): Added command line option
15636         -nocache to run the test with strings that are too large for
15637         the STRXFRM cache.
15639 2015-01-13  Torvald Riegel  <triegel@redhat.com>
15641         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
15642         variable to lll_futex_wake call, not the value itself.
15644 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
15646         [BZ #17803]
15647         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
15648         twom64.  Adjust value to 0x1p-64L.
15649         (__scalblnl): Only return standard underflowing result for K <=
15650         -64 not K <= -63; adjust exponent for underflowing result by 64
15651         not 63.
15652         * math/libm-test.inc (scalbn_test_data): Add more tests.
15653         (scalbln_test_data): Likewise.
15655         [BZ #17834]
15656         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
15657         0x1p63L.
15658         (__scalblnl): Get new exponent of adjusted subnormal value from ES
15659         not HX.
15660         * math/libm-test.inc (scalbn_test_data): Add more tests.
15661         (scalbln_test_data): Likewise.
15663 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15664             Stefani Seibold  <stefani@seibold.net>
15666         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
15667         (sysdep_routines): Add dl-vdso here, ...
15668         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
15669         (sysdep_routines): ... not here.
15670         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
15671         fallback when vDSO is not presented.
15672         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
15673         Define with libc_hidden_proto/libc_hidden_data_def definitions.
15674         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
15675         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
15676         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
15677         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
15678         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
15679         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
15680         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
15681         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
15682         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
15683         fallback configurable symbol when vDSO is not available.
15684         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
15685         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
15686         be able to redefine fallback symbol when vDSO is not available.
15687         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
15688         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
15690 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15692         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
15693         (TLS_INIT_TP): Add tm_capable initialization.
15694         (TLS_DEFINE_INIT_TP): Likewise.
15695         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
15696         TCB.
15697         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
15698         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
15699         calculation.
15700         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
15701         transactoion is lock elision is built and TCB tm_capable is set.
15702         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
15703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15704         (INTERNAL_SYSCALL_NCS): Likewise.
15705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15706         (INTERNAL_SYSCALL_NCS): Likewise.
15707         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
15709         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
15710         for powerpc.
15711         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15712         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
15713         and remove it for 32 bits case.
15714         [pthread_rwlock_t] (__rwelision): New field for lock elision.
15715         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
15716         initialization.
15717         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
15718         Disable lock elision with rdlocks if elision is not available.
15720         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
15721         (sysdep_routines): Add lock elision objects.
15722         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15723         [pthread_mutex_t] (__spins): Rework to add lock elision field.
15724         [pthread_mutex_t] (__elision): Add field.
15725         [__PTHREAD_SPINS]: Adjust to init lock elision field.
15726         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
15727         elision definitions for powerpc.
15728         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
15729         implementation of lock elision for powerpc.
15730         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
15731         implementation of timed lock elision for powerpc.
15732         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
15733         implementation of trylock with lock elision for powerpc.
15734         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
15735         implementaion of unlock for lock elision for powerpc.
15736         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
15737         automatic enable lock elision for mutexes.
15738         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
15739         transaction execution definitions for powerpc.
15740         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
15741         definitions.
15742         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
15743         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
15744         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
15745         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
15746         * NEWS: Update.
15748 2015-01-09  Roland McGrath  <roland@hack.frob.com>
15750         * sysdeps/posix/shm-directory.c: Use <> rather than ""
15751         for #include of <shm-directory.h>.
15753 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
15755         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
15756         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
15758 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
15760         [BZ #17791]
15761         * NEWS: Mention bug fix.
15762         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
15763         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
15764         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
15766 2015-01-09  Torvald Riegel <triegel@redhat.com>
15768         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
15770 2015-01-09  Torvald Riegel <triegel@redhat.com>
15772         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
15774 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
15776         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
15777         pointer and cast to uintptr_t.
15779 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
15781         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
15782         removed.
15783         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
15785 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
15787         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
15788         of 0.
15790 2015-01-08  Roland McGrath  <roland@hack.frob.com>
15792         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
15793         <nptl/pthreadP.h> instead.
15794         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
15796         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
15797         already defined.
15798         [__SIGRTMIN] (init): Function removed.
15799         [__SIGRTMIN] (initialized): Variable removed.
15800         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
15801         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
15802         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
15803         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
15804         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
15805         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
15806         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
15807         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
15808         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
15809         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
15810         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
15811         * sysdeps/nptl/allocrtsig.c: New file.
15812         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
15813         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
15814         * sysdeps/generic/testrtsig.h: File removed.
15816         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
15817         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
15819         * nptl/nptl-init.c (pthread_functions): Conditionalize
15820         .ptr__nptl_setxid initialization on [SIGSETXID].
15822         * sysdeps/nptl/sys/procfs.h: New file.
15823         * nptl_db/Makefile (headers): Add it.
15824         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
15826         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
15827         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
15828         * nptl/pthread_attr_setaffinity.c: Include it.
15829         * nptl/pthread_setattr_default_np.c: Likewise.
15830         * nptl/check-cpuset.h: New file.
15832 2015-01-08  Richard Henderson  <rth@redhat.com>
15834         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
15835         (CFLAGS-tst-execstack-prog.c): Likewise.
15836         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
15838 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
15839             Sandra Loosemore  <sandra@codesourcery.com>
15840             Andrew Jenner  <andrew@codesourcery.com>
15841             Joseph Myers  <joseph@codesourcery.com>
15842             Nathan Sidwell  <nathan@codesourcery.com>
15844         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
15845         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
15846         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
15847         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
15848         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
15849         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
15850         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
15851         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
15852         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
15853         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
15854         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
15855         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
15856         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
15857         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
15858         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
15859         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
15860         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
15862 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15864         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
15865         timespec struct member in syscall macro.
15866         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
15867         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
15868         first timeval struct member in syscall macro.
15869         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
15871 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
15873         [BZ #17748]
15874         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
15875         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
15876         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
15877         __feupdateenv and define as weak alias of __feupdateenv.  Use
15878         libm_hidden_weak.
15879         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
15880         libm_hidden_def.
15881         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
15882         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
15883         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
15884         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
15885         libm_hidden_def.
15886         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
15887         __feupdateenv and define as weak alias of __feupdateenv.  Use
15888         libm_hidden_weak.
15889         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
15890         libm_hidden_def.
15891         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
15892         __feupdateenv and define as weak alias of __feupdateenv.  Use
15893         libm_hidden_weak.
15894         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
15895         libm_hidden_def.
15896         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15897         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
15898         (__feupdateenv): Likewise.
15899         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
15900         __feupdateenv and define as weak alias of __feupdateenv.  Use
15901         libm_hidden_weak.
15902         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15903         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
15904         libm_hidden_def.
15905         * sysdeps/tile/math_private.h (__feupdateenv): New inline
15906         function.
15907         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
15908         libm_hidden_def.
15909         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
15910         __feupdateenv instead of feupdateenv.
15911         (default_libc_feupdateenv_test): Likewise.
15912         (libc_feresetround_ctx): Likewise.
15914 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15916         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
15917         prototype.
15919 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
15921         * posix/regcomp.c (parse_bracket_exp): Initialize type to
15922         COLL_SYM in a couple of places to avoid uninitialized variable
15923         wanings on tilegx gcc 4.8.2.
15925 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
15927         * sysdeps/aarch64/strcpy.S: New file.
15928         * sysdeps/aarch64/stpcpy.S: New file.
15929         * NEWS: Updated.
15931 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
15933         * sysdeps/aarch64/strrchr.S: New file.
15934         * NEWS: Updated.
15936 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
15938         [BZ #17658]
15939         * stdlib/setenv.c: Fix memory leak when setting large,
15940         duplicate string.
15942 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
15944         [BZ #17273]
15945         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
15946         and tabs from buffer before parsing fstab entry.
15947         * misc/tst-mntent.c (main): Add test for mount entry with
15948         trailing spaces and tabs.
15950 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
15952         [BZ #17748]
15953         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
15954         * math/fesetround.c (fesetround): Rename to __fesetround and
15955         define as weak alias of __fesetround.  Use libm_hidden_weak.
15956         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
15957         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
15958         * sysdeps/arm/fesetround.c (fesetround): Likewise.
15959         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
15960         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
15961         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
15962         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
15963         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
15964         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
15965         __fesetround_inline.
15966         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
15967         __fesetround_inline instead of __fesetround.
15968         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
15969         __fesetround and define as weak alias of __fesetround.  Use
15970         libm_hidden_weak.  Call __fesetround_inline instead of
15971         __fesetround.
15972         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
15973         __fesetround and define as weak alias of __fesetround.  Use
15974         libm_hidden_weak.
15975         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
15976         Likewise.
15977         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
15978         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15979         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
15980         * sysdeps/tile/math_private.h (__fesetround): New inline function.
15981         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
15982         __fesetround and define as weak alias of __fesetround.  Use
15983         libm_hidden_weak.
15984         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
15985         __fesetround instead of fesetround.
15986         (default_libc_feholdexcept_setround): Likewise.
15987         (libc_feholdsetround_ctx): Likewise.
15988         (libc_feholdsetround_noex_ctx): Likewise.
15990         [BZ #17748]
15991         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
15992         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
15993         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
15994         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
15995         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15996         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
15997         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15998         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
15999         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16000         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16001         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16002         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16003         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16004         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16005         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
16006         libm_hidden_def.
16007         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
16008         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
16009         Likewise.
16010         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16011         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16012         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16013         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16014         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
16015         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
16016         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
16017         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
16018         __fesetenv instead of fesetenv.
16019         (libc_feresetround_noex_ctx): Likewise.
16020         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
16021         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
16022         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
16023         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
16024         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
16025         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
16026         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16027         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
16028         (__feupdateenv): Likewise.
16029         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16030         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16031         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16032         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
16034 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
16036         [BZ #17806]
16037         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
16038         addresses have been freed.
16040 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
16042         * resolv/res_init.c (__res_vinit): Improve comments about nserv
16043         and nservall.
16045 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
16047         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
16048         Clean up check_pf allocation pattern. addresses
16050 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16052         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
16053         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
16054         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
16055         * nptl/pthread_exit.c (__pthread_exit): Likewise.
16056         * nptl/pthread_join.c (pthread_join): Likewise.
16057         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
16058         * sysdeps/posix/waitid.c (__waitid): Likewise.
16059         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
16060         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
16061         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
16062         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
16063         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
16064         Likewise.
16065         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
16066         (__libc_pread64): Likewise.
16067         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
16068         (__libc_pwrite): Likewise.
16069         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
16070         (__libc_pwrite64): Likewsie.
16071         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
16072         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
16073         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
16074         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
16075         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
16076         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
16077         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
16079         Likewise.
16080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16081         (__libc_pread64): Likewise.
16082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
16083         Likewise.
16084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
16085         (__libc_pwrite64): Likewise.
16086         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
16087         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
16088         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
16089         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
16090         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
16091         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
16092         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
16093         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
16094         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
16095         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
16096         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
16097         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
16098         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
16099         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
16100         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
16101         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
16102         Likewise.
16104 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
16106         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
16107         (CFLAGS-test-double.c): Likewise.
16108         (CFLAGS-test-ldouble.c): Likewise.
16109         (CPPFLAGS-test-ifloat.c): Likewise.
16110         (CPPFLAGS-test-idouble.c): Likewise.
16111         (CPPFLAGS-test-ildoubl.c): Likewise.
16112         (CFLAGS-test-test-fenv.c): Remove variable.
16113         (CFLAGS-test-misc.c): Likewise.
16115 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
16117         [BZ #17797]
16118         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
16119         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
16120         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
16121         CLOCKS_PER_SEC == 1000000.
16122         * time/clocktest.c (main): Replace %ld with %jd and cast to
16123         intmax_t.
16125 2015-01-05  Roland McGrath  <roland@hack.frob.com>
16127         * sysdeps/generic/unwind-resume.h: New file.
16128         * sysdeps/gnu/unwind-resume.c: Include it.
16129         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
16130         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
16131         argument list.
16132         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
16133         global rather than static.
16134         (_Unwind_Resume): Update user.
16135         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
16136         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
16137         rather than static.  Add __attribute__ ((cold)).
16138         (_Unwind_Resume, __gcc_personality_v0): Update callers.
16139         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
16140         * sysdeps/arm/arm-unwind-resume.S: New file.
16141         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
16142         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
16143         * sysdeps/arm/Makefile [$(subdir) = csu]
16144         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
16145         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
16146         Add rt-arm-unwind-resume.
16147         [$(subdir) = nptl]
16148         (libpthread-sysdep_routines, libpthread-shared-only-routines):
16149         Add pt-arm-unwind-resume.
16150         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
16151         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
16153 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
16155         [BZ #17748]
16156         * include/fenv.h (__feholdexcept): Declare.  Use
16157         libm_hidden_proto.
16158         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
16159         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
16160         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16161         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
16162         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
16163         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
16164         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
16165         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16166         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
16167         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
16168         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
16169         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
16170         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
16171         (feholdexcept): Likewise.
16172         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16173         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16174         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
16175         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16176         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
16177         __feholdexcept instead of feholdexcept.
16178         (default_libc_feholdexcept_setround): Likewise.
16180 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
16182         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
16183         to avoid using stl/str to align destination.
16185 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
16187         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
16189 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
16191         [BZ #17796]
16192         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
16193         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
16194         Define as weak alias not strong alias.
16196 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
16198         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
16199         bltzal with addiupc.
16200         (RTLD_START): Ditto.
16202 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
16204         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
16205         for __vdso_* functions in declarations.
16206         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
16207         definitions.
16208         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
16209         INTERNAL_VSYSCALL): Use struct return types to check for error.
16211         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
16212         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
16213         function with cast from llround().
16214         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
16215         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
16216         Define.
16218 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
16220         [BZ #17793]
16221         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
16222         Define as weak alias not strong alias.
16224         [BZ #17635]
16225         * ctype/ctype-c99.c: New file.  isblank implementation moved from
16226         ...
16227         * ctype/ctype-extn.c: ... here.
16228         (__isblank_l): Move to ...
16229         * ctype/ctype-c99_l.c: ... here.  New file.
16230         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
16231         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
16232         Remove variable.
16233         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
16234         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
16235         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
16236         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
16237         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
16239         [BZ #17777]
16240         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
16241         (posix_fadvise64): Define as weak alias not strong alias.
16242         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16243         (posix_fallocate64): Likewise.
16244         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
16245         Remove variable.
16246         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
16247         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
16248         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
16249         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
16250         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
16252 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
16254         [BZ #16191]
16255         * NEWS: Mention bug fix.
16256         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
16257         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
16258         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
16259         (HOST_STACK_END_ADDR): Likewise.
16261 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
16263         [BZ #17748]
16264         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
16265         * math/fegetround.c (fegetround): Rename to __fegetround and
16266         define as weak alias of __fegetround.  Use libm_hidden_weak.
16267         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
16268         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
16269         * sysdeps/arm/fegetround.c (fegetround): Likewise.
16270         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
16271         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16272         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
16273         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
16274         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
16275         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16276         Undefine after rather than before function definition; use
16277         parentheses around function name in definition.
16278         (__fegetround): Also undefine macro after function definition.
16279         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
16280         __fegetround and define as weak alias of __fegetround.  Use
16281         libm_hidden_weak.  Do not undefine as macro.
16282         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16283         Likewise.
16284         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
16285         __fegetround and define as weak alias of __fegetround.  Use
16286         libm_hidden_weak.
16287         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16288         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16289         * sysdeps/tile/math_private.h (__fegetround): New inline function.
16290         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
16291         __fegetround and define as weak alias of __fegetround.  Use
16292         libm_hidden_weak.
16293         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
16294         __fegetround instead of fegetround.
16296         [BZ #17782]
16297         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
16298         Condition macro definition on [__USE_MISC].
16300         [BZ #17781]
16301         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
16302         (struct sigaction): Change type of sa_flags field to int.
16304         [BZ #17780]
16305         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
16306         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
16307         __glibc_reserved0.
16309         * nptl/version.c (banner): Use single year in copyright notice.
16311         * NEWS: Update copyright dates.
16312         * catgets/gencat.c (print_version): Likewise.
16313         * csu/version.c (banner): Likewise.
16314         * debug/catchsegv.sh: Likewise.
16315         * debug/pcprofiledump.c (print_version): Likewise.
16316         * debug/xtrace.sh (do_version): Likewise.
16317         * elf/ldconfig.c (print_version): Likewise.
16318         * elf/ldd.bash.in: Likewise.
16319         * elf/pldd.c (print_version): Likewise.
16320         * elf/sotruss.sh: Likewise.
16321         * elf/sprof.c (print_version): Likewise.
16322         * iconv/iconv_prog.c (print_version): Likewise.
16323         * iconv/iconvconfig.c (print_version): Likewise.
16324         * locale/programs/locale.c (print_version): Likewise.
16325         * locale/programs/localedef.c (print_version): Likewise.
16326         * login/programs/pt_chown.c (print_version): Likewise.
16327         * malloc/memusage.sh (do_version): Likewise.
16328         * malloc/memusagestat.c (print_version): Likewise.
16329         * malloc/mtrace.pl: Likewise.
16330         * manual/libc.texinfo: Likewise.
16331         * nptl/version.c (banner): Likewise.
16332         * nscd/nscd.c (print_version): Likewise.
16333         * nss/getent.c (print_version): Likewise.
16334         * nss/makedb.c (print_version): Likewise.
16335         * posix/getconf.c (main): Likewise.
16336         * scripts/test-installation.pl: Likewise.
16337         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
16339 2015-01-02  Will Newton  <will.newton@linaro.org>
16341         * sysdeps/arm/armv7/configure: Removed.
16342         * sysdeps/arm/armv7/configure.ac: Likewise.
16344 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
16346         * All files with FSF copyright notices: Update copyright dates
16347         using scripts/update-copyrights.
16348         * intl/plural.c: Regenerated.
16349         * locale/programs/charmap-kw.h: Likewise.
16350         * locale/programs/locfile-kw.h: Likewise.
16352 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16354         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
16356 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
16358         [BZ #17748]
16359         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
16360         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
16361         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
16362         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
16363         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16364         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
16365         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16366         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
16367         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16368         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
16369         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16370         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16371         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
16372         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16373         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
16374         libm_hidden_def.
16375         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
16376         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
16377         Likewise.
16378         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
16379         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16380         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16381         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16382         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
16383         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
16384         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
16385         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
16386         __fegetenv instead of fegetenv.
16387         (libc_feholdsetround_noex_ctx): Likewise.
16389 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
16391         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
16392         (Elf_MIPS_ABIFlags_v0): New structure.
16393         (EF_MIPS_FP64): Define.
16394         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
16395         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
16396         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
16397         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
16398         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
16399         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
16400         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
16401         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
16402         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
16403         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
16404         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
16405         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
16406         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
16407         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
16408         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
16409         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
16410         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
16411         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
16412         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
16413         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
16414         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
16415         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
16416         field.
16417         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
16418         EF_MIPS_FP64.
16419         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
16420         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
16421         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
16422         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
16423         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
16424         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
16425         * sysdeps/mips/tst-abi-interlink.c: Likewise.
16426         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
16427         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
16428         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
16429         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
16430         record the current FP ABI extension.
16431         (mips-mode-switch): Define to show if kernel headers support mode
16432         switching.
16433         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16434         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
16435         supported SYSV ABI version to 3.
16436         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
16437         feature.
16439 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16440             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16442         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
16443         path.
16444         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
16446 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
16448         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
16449         __fegetround and redefine to call __fegetround.  Remove condition
16450         on [!__NO_MATH_INLINES].
16451         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
16452         function.
16453         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
16454         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16455         Remove macro.
16456         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
16457         instead of <fenv_libc.h>.
16458         (__llrintl): Call fegetround instead of __fegetround.
16459         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
16460         instead of <fenv_libc.h>.
16461         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16462         (__lrintl): Call fegetround instead of __fegetround.
16463         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
16464         instead of <fenv_libc.h>.
16465         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16466         (__rintl): Call fegetround instead of __fegetround.
16468 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16470         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
16471         arrays.
16473 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
16475         [BZ #17775]
16476         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
16477         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
16478         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
16480 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
16482         * sysdeps/i386/tls-macros.h: Include <features.h>.
16483         (TLS_LE): Use non-PIC version for GCC >= 5.0.
16484         (TLS_IE): Likewise.
16485         (TLS_LD): Likewise.
16486         (TLS_GD): Likewise.
16487         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
16488         define for GCC >= 5.0.
16490 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
16492         * math/test-fenv.c (test_single_exception, set_single_exc,
16493         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
16494         feexcp_mask_test, feenable_test, fe_single_test): Add
16495         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
16496         case where they are not used.
16497         * math/libm-test.inc: Likewise.
16498         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
16499         unused in the absence of FP rounding/exception support.
16500         * stdio-common/tst-printf-round.c: Likewise.
16501         * stdlib/tst-strtod-round.c: Likewise.
16502         * stdlib/tst-strtod-underflow.c: Likewise.
16504 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
16506         [BZ #17723]
16507         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
16508         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
16509         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16510         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
16511         libm_hidden_weak.
16512         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
16513         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
16514         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
16515         libm_hidden_def.
16516         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16517         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
16518         libm_hidden_weak.
16519         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
16520         Likewise.
16521         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
16522         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16523         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
16524         libm_hidden_weak.
16525         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
16526         libm_hidden_def.
16527         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
16528         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
16529         (__feraiseexcept): Likewise.
16530         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16531         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
16532         libm_hidden_weak.
16533         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
16534         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
16535         libm_hidden_def.
16536         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
16537         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
16538         Use libm_hidden_def.
16539         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
16540         libm_hidden_def.
16541         (feraiseexcept): Define as weak not strong alias.  Use
16542         libm_hidden_weak.
16543         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
16544         New inline function.  Factored out of ...
16545         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
16546         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
16547         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
16548         feraiseexcept.
16549         * math/w_acos.c (__acos): Likewise.
16550         * math/w_asin.c (__asin): Likewise.
16551         * math/w_ilogb.c (__ilogb): Likewise.
16552         * math/w_j0.c (y0): Likewise.
16553         * math/w_j1.c (y1): Likewise.
16554         * math/w_jn.c (yn): Likewise.
16555         * math/w_log.c (__log): Likewise.
16556         * math/w_log10.c (__log10): Likewise.
16557         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
16558         * sysdeps/aarch64/fpu/math_private.h
16559         (libc_feupdateenv_test_aarch64): Likewise.
16560         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
16561         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
16562         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
16563         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
16564         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
16565         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
16566         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
16567         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16568         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16569         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16571 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
16573         [BZ #17732]
16574         * io/test-utime.c (main): Replace %ld with %jd and cast to
16575         intmax_t.
16576         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
16577         * nptl/tst-mutex5.c: Include <stdint.h>.
16578         (do_test): Replace %ld with %jd and cast to intmax_t.
16579         * posix/tst-regex.c (run_test): Likewise.
16580         (run_test_backwards): Likewise.
16581         * rt/tst-clock.c: Include <stdint.h>.
16582         (clock_test): Replace %ld with %jd and cast to intmax_t.
16583         * rt/tst-cpuclock1.c: Include <stdint.h>.
16584         (do_test): Replace %lu with %ju and cast to uintmax_t.
16585         * rt/tst-cpuclock2.c: Include <stdint.h>.
16586         (do_test): Replace %lu with %ju and cast to uintmax_t.
16587         * rt/tst-mqueue1.c: Include <stdint.h>.
16588         (check_attrs): Replace %ld with %jd and cast to intmax_t.
16589         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
16590         intmax_t.
16591         * rt/tst-mqueue4.c (do_test): Likewise.
16592         * rt/tst-timer4.c: Include <stdint.h>.
16593         (check_ts): Replace %ld with %jd and cast to intmax_t.
16594         (do_test): Likewise.
16595         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
16596         and cast to intmax_t.
16597         * sysdeps/pthread/tst-timer.c (main): Likewise.
16598         * time/clocktest.c (main): Likewise.
16599         * time/tst-posixtz.c (do_test): Likewise.
16600         * timezone/tst-timezone.c (main): Likewise.
16602 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
16603             H.J. Lu  <hongjiu.lu@intel.com>
16605         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
16606         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
16607         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
16608         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
16609         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
16610         version if bit_Fast_Unaligned_Load is set.
16611         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16612         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16613         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16614         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16615         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16616         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16617         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16618         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
16619         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
16620         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
16621         to 4.
16622         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
16623         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
16624         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
16625         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
16627 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
16629         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
16630         instead of #if to avoid a Wundef warning.
16631         * stdlib/tst-limits.c (do_test): Likewise.
16633         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
16634         parallel other exception macros.
16635         (fegetenv): Convert from macro to extern inline so that it applies
16636         retroactively to inline functions already seen by the compiler.
16637         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
16639         * posix/Makefile (before-compile): Use $(objpfx) for
16640         posix-conf-vars-def.h.
16642 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16644         * posix/getconf.c (main): Use size_t for type of I.
16645         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
16646         NSPEC.
16648         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
16649         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
16650         * posix/posix-envs.def: Likewise.
16651         * sysdeps/posix/sysconf.c: Likewise.
16652         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
16653         (specs): Remove array.
16654         * scripts/gen-posix-conf-vars.awk: Support generation of specs
16655         array.
16657         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
16658         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
16659         (__sysconf): Use CONF_IS_* macros.
16661         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
16662         ($(objpfx)posix-conf-vars-def.h): New target.
16663         * posix/posix-conf-vars.list: New file.
16664         * posix/posix-conf-vars.h: New file.
16665         * posix/confstr.c: Include posix-conf-vars.h.
16666         (confstr): Use CONF_IS_* macros.
16667         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
16668         CONF_IS_* macros.
16669         * scripts/gen-posix-conf-vars.awk: New file.
16671 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
16673         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
16674         fegetround): Add no-op macros to avoid linknamespace issues.
16676         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
16677         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
16679         * sysdeps/unix/sysv/linux/tile/sysdep.h
16680         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
16681         assembly-specific section to avoid a redefinition warning.
16683         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
16684         long before casting to pointer to avoid a cast warning.
16686 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
16688         * sysdeps/tile/tilegx/Implies: New file.
16690 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
16692         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
16694 2014-12-23  Florian Weimer  <fweimer@redhat.com>
16696         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
16698 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
16700         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
16701         not define.
16702         * sysdeps/unix/sysv/linux/utimes.c: Do not include
16703         <kernel-features.h>.
16704         (__utimes) [__NR_utimes]: Make code unconditional.
16705         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
16706         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16707         (__ASSUME_UTIMES): Do not undefine.
16708         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16709         (__ASSUME_UTIMES): Likewise.
16710         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16711         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
16712         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
16713         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
16715 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
16717         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
16719 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
16721         [BZ #17747]
16722         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
16723         alias to weak alias for j0l, y0l.
16724         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
16725         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
16727         [BZ #17746]
16728         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
16729         conversion.
16731 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
16733         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
16734         to zero if not already defined.
16736 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
16738         [BZ #17724]
16739         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
16740         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
16741         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
16742         (char *) casts added.
16743         * sysdeps/ieee754/k_standardf.c: New file.
16744         * sysdeps/ieee754/k_standardl.c: Likewise.
16745         * math/Makefile (libm-support): Remove k_standard.
16746         (libm-calls): Add k_standard.
16748 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16750         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
16751         Optimize to avoid an unnecessary FPCR read.
16753 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16755         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
16756         Optimize to reduce FPCR/FPSR accesses.
16758 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16760         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
16761         Call libc_fetestexcept_aarch64.
16763 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16765         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
16766         Call libc_fesetround_aarch64.
16768 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
16770         [BZ #17733]
16771         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
16772         (__bind): Do not define as weak alias.
16773         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
16774         define.
16775         (__getsockname): Do not define as weak alias.
16777 2014-12-22  Will Newton  <will.newton@linaro.org>
16779         * manual/install.texi: Document that we require bison 2.7
16780         or above.
16781         * INSTALL: Regenerate.
16782         * configure.ac: Use AC_CHECK_PROG_VER instead of
16783         AC_PATH_PROG when checking for bison and check for
16784         version 2.7 or above.
16785         * configure: Regenerate.
16787 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
16789         [BZ #17745]
16790         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
16791         * sysdeps/tile/ffsll.c (ffsll): To here.
16793         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
16795 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
16797         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
16798         if not defined.
16799         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
16800         definition.
16801         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
16802         hidden ___tls_get_addr.
16803         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
16804         hidden __tls_get_addr.
16805         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
16806         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
16807         Likewise.
16809 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
16811         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
16812         _dl_init call.
16814 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
16816         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
16817         from "call _dl_init@PLT".
16818         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
16820 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
16822         * manual/search.texi: (Array Sort Function): Clarify stable sorting
16823         guarantees.
16825 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
16827         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
16829 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
16831         [BZ #17744]
16832         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
16833         strnlen.
16835 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
16837         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
16838         of multu on MIPSr6.
16839         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
16840         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
16841         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
16842         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
16843         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
16845 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
16847         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
16848         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
16849         (PTR_SUBU): Use subu for mips32r6/mips64r6.
16850         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
16851         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
16852         mips32r6/mips64r6.
16853         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
16855 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
16857         * string/strncat.c (STRNCAT): Simplify implementation.
16859 2014-12-19  David S. Miller  <davem@davemloft.net>
16861         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
16862         access the quad as both a long double and as a series of 4 words.
16864         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
16865         link_map->l_info array access.
16867 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
16869         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
16871         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
16872         * math/atest-exp2.c (TIMEOUT): Likewise.
16873         * math/atest-sincos.c (TIMEOUT): Likewise.
16875 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
16877         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
16878         -Wno-error with -fno-builtin-lround.
16880 2014-12-19  Torvald Riegel  <triegel@redhat.com>
16882         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
16883         Contains futex constants and functions moved over from ...
16884         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
16885         <lowlevellock-futex.h>.
16886         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
16887         (lll_timedwait_tid): Add comments and parentheses around macro
16888         arguments.
16890 2014-12-19  Torvald Riegel  <triegel@redhat.com>
16892         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
16893         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
16894         (__lll_private_flag): Remove.
16895         (lll_futex_wait): Likewise.
16896         (lll_futex_timed_wait): Likewise.
16897         (lll_futex_wake): Likewise.
16898         (lll_futex_requeue): Likewise.
16899         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
16900         (__lll_timedwait_tid): Spell out argument names.
16901         (lll_timedwait_tid): Add comments and parentheses around macro
16902         arguments.
16903         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
16904         LLL_SHARED and LLL_PRIVATE usable from assembly code.
16906 2014-12-19  Torvald Riegel  <triegel@redhat.com>
16908         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
16909         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
16910         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16911         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
16912         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
16913         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
16914         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
16915         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
16916         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
16917         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
16918         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
16919         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
16920         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
16921         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
16922         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
16923         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
16924         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
16925         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
16926         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
16928 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
16930         * sysdeps/x86_64/x32/Makefile: New file.
16932 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
16934         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
16935         1L with (mp_limb_t) 1.
16937 2014-12-17  Roland McGrath  <roland@hack.frob.com>
16939         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
16940         * nptl/libc_pthread_init.c: ... here.
16941         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
16942         * nptl/register-atfork.c: ... here.
16944         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
16945         Use pthread_sigmask rather than INTERNAL_SYSCALL.
16946         Use assert_perror to check its return value.
16947         (__gai_create_helper_thread): Likewise.
16949         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
16951         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
16953 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
16955         [BZ #17725]
16956         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
16957         __profil_counter.
16958         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
16959         Likewise.
16960         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
16961         Likewise.
16962         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
16963         Likewise.
16964         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
16965         (profil_counter): Likewise.
16966         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
16967         (profil_counter): Likewise.
16968         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
16969         Likewise.
16970         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
16971         Likewise.
16972         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
16973         (profil_counter): Likewise.
16974         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
16975         Likewise.
16976         [!__profil_counter] (profil_counter): Define as weak alias of
16977         __profil_counter.
16978         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
16979         (profil_counter): Rename to __profil_counter.
16980         [!__profil_counter] (profil_counter): Define as weak alias of
16981         __profil_counter.
16982         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
16983         (profil_counter): Rename to __profil_counter.
16984         [!__profil_counter] (profil_counter): Define as weak alias of
16985         __profil_counter.
16986         * sysdeps/posix/profil.c: Update comment referring to
16987         profil_counter.
16988         (__profil): Use __profil_counter instead of profil_counter.
16989         * sysdeps/posix/sprofil.c (profil_counter): Rename to
16990         __profil_counter.  Use __profil_counter_ushort and
16991         __profil_counter_uint in definitions.
16992         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
16993         instead of profil_counter_uint and profil_counter_ushort.
16995         [BZ #17722]
16996         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
16997         define as weak alias of __inet_makeaddr.
16998         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
16999         as weak alias of __inet_addr.
17000         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
17001         as weak alias of __inet_pton.  Use libc_hidden_weak.
17002         * include/arpa/inet.h (__inet_pton): Declare.  Use
17003         libc_hidden_proto.
17004         (inet_makeaddr): Don't use libc_hidden_proto.
17005         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
17006         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
17007         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
17008         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
17009         Remove variable.
17010         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
17011         (test-xfail-POSIX/time.h/linknamespace): Likewise.
17013 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
17015         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
17017 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
17019         * stdio-common/bug-vfprintf-nargs.c (do_test):
17020         Cast value to intptr_t to avoid format warning
17021         for usage with PRIdPTR printing macro.
17023 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
17025         * libio/tst-widetext.c (do_test):
17026         Use format type %td instead of %Zd for ptrdiff_t
17027         in order to avoid format warning.
17029 2014-12-17  Andreas Schwab  <schwab@suse.de>
17031         * nscd/mem.c (gc): Add size_t cast to match printf format.
17033 2014-12-16  Roland McGrath  <roland@hack.frob.com>
17035         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
17036         (init): Apply PTR_MANGLE to pointers before storing them.
17037         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
17038         before using them.
17040 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
17042         [BZ #17719]
17043         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
17044         define as weak alias of __memrchr.
17045         (__memrchr): Do not define as strong alias of memrchr.
17046         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
17047         Remove variable.
17048         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
17049         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
17050         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
17052         [BZ #17717]
17053         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
17054         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
17055         (if_indextoname): Rename to __if_indextoname and define as weak
17056         alias of __if_indextoname.  Use libc_hidden_weak.
17057         (if_freenameindex): Rename to __if_freenameindex and define as
17058         weak alias of __if_freenameindex.
17059         (if_nameindex): Rename to __if_nameindex and define as weak alias
17060         of __if_nameindex.
17061         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
17062         __if_nametoindex and define as weak alias of __if_nametoindex.
17063         Use libc_hidden_weak.
17064         (if_freenameindex): Rename to __if_freenameindex and define as
17065         weak alias of __if_freenameindex.
17066         (if_nameindex): Rename to __if_nameindex and define as weak alias
17067         of __if_nameindex.
17068         (if_indextoname): Rename to __if_indextoname and define as weak
17069         alias of __if_indextoname.  Use libc_hidden_weak.
17070         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
17071         __if_nametoindex and define as weak alias of __if_nametoindex.
17072         Use libc_hidden_weak.
17073         (if_freenameindex): Rename to __if_freenameindex and define as
17074         weak alias of __if_freenameindex.  Use libc_hidden_weak.
17075         (if_nameindex_netlink): Use __if_freenameindex instead of
17076         if_freenameindex.
17077         (if_nameindex): Rename to __if_nameindex and define as weak alias
17078         of __if_nameindex.  Use libc_hidden_weak.
17079         (if_indextoname): Rename to __if_indextoname and define as weak
17080         alias of __if_indextoname.  Use libc_hidden_weak.
17081         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
17082         libc_hidden_proto.
17083         [!_ISOMAC] (__if_freenameindex): Likewise.
17084         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
17085         if_nametoindex.
17086         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
17087         variable.
17088         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
17089         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
17090         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
17091         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
17092         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
17093         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
17094         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
17096         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
17097         Remove variable.
17098         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
17099         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
17101 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17103         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
17104         subscript above bounds'
17106         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
17107         bounds.
17109 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
17111         * libio/tst-fopenloc.c: Use test-skeleton.c.
17113         * stdlib/tst-bsearch.c: Use test-skeleton.c.
17114         (entry): Rename to ITEM.
17115         (do_test, comp): Adjust.
17117         * stdio-common/tst-fseek.c: Use test-skeleton.c.
17119 2014-12-16  Torvald Riegel  <triegel@redhat.com>
17121         * string/tester.c: Include <libc-internal.h>.
17122         (test_memset): Ignore -Wmemset-transposed-args.
17124 2014-12-16  Torvald Riegel  <triegel@redhat.com>
17126         * misc/tst-mntent2.c (do_test): Fix warning.
17128 2014-12-16  Torvald Riegel  <triegel@redhat.com>
17130         * elf/tst-unique4lib.cc(a): Mark as used.
17132 2014-12-16  Florian Weimer  <fweimer@redhat.com>
17134         [BZ #17630]
17135         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
17136         names.
17138 2014-12-16  Allan McRae  <allan@archlinux.org>
17140         * stdio-common/Makefile (tests): Re-add bug26.
17142 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
17144         [BZ #17657]
17145         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
17146         static array.
17148 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
17150         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
17151         (__lll_lock_wait): Likewise.
17152         (__lll_timedlock_wait): Likewise.
17153         (__lll_timedwait_tid): Likewise.
17154         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
17155         (__lll_robust_timedlock_wait): Likewise.
17156         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
17157         (lll_cond_trylock): Likewise.
17158         (__lll_lock): Likewise.
17159         (__lll_robust_lock): Likewise.
17160         (__lll_cond_lock): Likewise.
17161         (lll_robust_cond_lock): Likewise.
17162         (__lll_timedlock): Likewise.
17163         (__lll_robust_timedlock): Likewise.
17164         (__lll_unlock): Likewise.
17165         (__lll_robust_unlock): Likewise.
17166         (lll_wait_tid): Likewise.
17167         (lll_timedwait_tid): Likewise.
17169 2014-12-15  Torvald Riegel  <triegel@redhat.com>
17171         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
17173 2014-12-15  Torvald Riegel  <triegel@redhat.com>
17175         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
17177 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
17179         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
17180         * stdio-common/tst-sprintf.c: Likewise.
17182 2014-12-15  Torvald Riegel  <triegel@redhat.com>
17184         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
17186 2014-12-15  Jeff Law  <law@redhat.com>
17188         [BZ #16617]
17189         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
17190         on the heap.  (CVE-2012-3406)
17191         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
17192         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
17193         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
17195 2014-12-15  Will Newton  <will.newton@linaro.org>
17197         * manual/install.texi: Bump required version of texinfo
17198         to 4.7 from 4.5.
17199         * INSTALL: Regenerated.
17200         * configure.ac: Check for makeinfo version 4.7 and above.
17201         * configure: Regenerated.
17203 2014-12-12  Roland McGrath  <roland@hack.frob.com>
17205         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
17206         PREFIX, string constant to insert between directory and name.
17207         * sysdeps/posix/shm_open.c: Update caller.
17208         * sysdeps/posix/shm_unlink.c: Likewise.
17209         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
17210         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
17211         (SEM_SHM_PREFIX): New macro.
17212         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
17213         [$(have-thread-library) = no].
17214         * nptl/Makefile (libpthread-routines): Add shm-directory.
17215         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
17216         * sysdeps/nptl/shm-directory.h: New file.
17217         * sysdeps/posix/shm-directory.c
17218         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
17219         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
17220         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
17221         INTERNAL_SYSCALL.
17222         (__where_is_shmfs): Function removed.
17223         (mountpoint, defaultmount, defaultdir, __namedsem_once):
17224         Variables removed.
17225         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
17226         Use SHM_GET_NAME.
17227         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
17229         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
17230         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
17231         unconditional for use inside libpthread.
17232         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
17234 2014-12-12  Roland McGrath  <roland@hack.frob.com>
17236         * nptl/pthread_getaffinity.c: New file.
17237         * nptl/pthread_setaffinity.c: New file.
17238         * nptl/pthread_getname.c: New file.
17239         * nptl/pthread_setname.c: New file.
17241         * nptl/pthread_create.c (START_THREAD_DEFN)
17242         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
17244 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17245             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17247         * resolv/res_send.c (send_vc): Disable warning resplen may
17248         be used uninitialized.
17250 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17252         * nptl/tst-mutex6.c
17253         (ATTR_NULL): New define checks ATTR against NULL.
17254         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
17255         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
17257 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
17259         [BZ #17581]
17260         * malloc/hooks.c
17261         (mem2mem_check): Revert my previous change.
17262         (malloc_check_get_size): Revert my previous change.
17263         (mem2chunk_check): Revert my previous change.
17265 2014-12-11  Roland McGrath  <roland@hack.frob.com>
17267         * sysdeps/posix/shm-directory.c: New file.
17268         * sysdeps/posix/shm-directory.h: New file.
17269         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
17270         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
17271         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
17272         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
17273         Transmute EPERM to EACCES.
17274         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
17275         from ...
17276         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
17277         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
17279 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17281         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
17282         pointer and cast to uintptr_t.
17283         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
17284         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
17285         Add cast to avoid warning.
17286         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
17288 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
17290         * nptl/semaphore.h: Move to ...
17291         * sysdeps/pthread/semaphore.h: ... here.
17292         * Makefile (installed-headers): Change nptl/semaphore.h to
17293         sysdeps/pthread/semaphore.h.
17295 2014-12-11  Roland McGrath  <roland@hack.frob.com>
17297         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
17298         generated error format strings.
17300         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
17301         -Wformat-extra-args warnings for scanf formats.
17302         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
17303         test of zero-length format (duh).
17304         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
17305         corner-case scanf format test.
17306         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
17307         generated fprintf format string.
17308         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
17309         corner-case sprintf format tests.
17310         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
17311         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
17312         -Wformat-extra-args warnings throughout.
17313         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
17314         (CFLAGS-scanf4.c): Likewise.
17315         (CFLAGS-scanf7.c): Likewise.
17316         (CFLAGS-tst-sprintf.c): Likewise.
17317         (CFLAGS-tst-printf.c): Likewise.
17318         (CFLAGS-tst-printfsz.c): Likewise.
17320 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
17322         * include/cpio.h: New file.
17323         * include/fmtmsg.h: Likewise.
17325         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
17326         corresponding format argument to size_t.
17327         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
17328         arguments.
17329         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
17330         corresponding format argument to size_t.
17331         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
17332         arguments.
17333         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
17334         corresponding format argument to size_t.
17335         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
17336         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
17337         (CFLAGS-tst-mbswcs2.c): Likewise.
17338         (CFLAGS-tst-mbswcs3.c): Likewise.
17339         (CFLAGS-tst-mbswcs4.c): Likewise.
17340         (CFLAGS-tst-mbswcs5.c): Likewise.
17341         (CFLAGS-tst-trans.c): Likewise
17343 2014-12-11  Roland McGrath  <roland@hack.frob.com>
17345         * posix/regexbug1.c (main): Use "%s" format with regerror results,
17346         rather than assuming they won't contain any '%'s.
17348 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
17350         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
17351         inhibit_loop_to_libcall to avoid recursive calls.
17352         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
17353         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
17355 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
17357         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
17358         prototype.
17360 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
17362         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
17363         integer value instead of boolean.
17365 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
17367         * malloc/malloc.c: Fix powerof2 check.
17369 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17371         * locale/programs/locfile.h (maybe_swap_uint32):
17372         Remove inline and add unused attribute.
17374 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17376         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
17377         Truncating assembler expression to a .long expression.
17379 2014-12-11  Andreas Schwab  <schwab@suse.de>
17381         * elf/rtld.c (struct map_args): Constify str member.
17382         (do_preload): Constify fname argument.
17384 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17386         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
17387         constants definition.
17389 2014-12-11  Andreas Schwab  <schwab@suse.de>
17391         [BZ #16657]
17392         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
17393         FORCE_ELISION instead of DO_ELISION.
17394         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
17395         Remove.
17396         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
17397         Likewise.
17399         * iconvdata/gconv-modules: Remove duplicate entry.
17401 2014-12-11  Will Newton  <will.newton@linaro.org>
17403         Merge gettext 0.19.3 into intl/.
17405         This involves a number of cosmetic changes to comments
17406         and ANSI function definitions and prototypes throughout
17407         all the files. The gettext copyright header is used but
17408         with the date ranges taken from the glibc copy.
17410         * NEWS: Add gettext merge to 2.21.
17411         * intl/bindtextdom.c: Switch to gettext copyright.
17412         Use ANSI definitions and prototypes.
17413         Use gl_* locking primitives rather than __libc_* ones.
17414         Use __builtin_expect rather than __glibc_likely/unlikely.
17415         * intl/dcgettext.c: Switch to gettext copyright.
17416         Use ANSI definitions and prototypes.
17417         * intl/dcigettext.c: Switch to gettext copyright.
17418         Use ANSI definitions and prototypes.
17419         (INTDIV0_RAISES_SIGFPE): New define.
17420         Use gl_* locking primitives rather than __libc_* ones.
17421         Include eval-plural.h instead of plural-eval.c.
17422         Use __builtin_expect rather than __glibc_likely/unlikely.
17423         * intl/dcngettext.c: Switch to gettext copyright.
17424         Use ANSI definitions and prototypes.
17425         * intl/dgettext.c: Likewise.
17426         * intl/dngettext.c: Likewise.
17427         * intl/plural-eval.c: Renamed to...
17428         * intl/eval-plural.h: ...this.
17429         * intl/explodename.c: Switch to gettext copyright.
17430         Use ANSI definitions and prototypes.
17431         (_nl_explode_name): Use strchr instead of __rawmemchr.
17432         * intl/finddomain.c: Switch to gettext copyright.
17433         Use ANSI definitions and prototypes.
17434         Use gl_* locking primitives rather than __libc_* ones.
17435         (_nl_find_domain): Use malloc rather than alloca for
17436         allocation of temporary locale name.
17437         * intl/gettext.c: Switch to gettext copyright.
17438         Use ANSI definitions and prototypes.
17439         * intl/gettextP.h: Switch to gettext copyright.
17440         Use ANSI definitions and prototypes.
17441         Use gl_* locking primitives rather than __libc_* ones.
17442         * intl/gmo.h: Switch to gettext copyright.
17443         (struct sysdep_string): Move struct segment_pair outside of
17444         struct definition.
17445         * intl/hash-string.c: Use ANSI definitions and prototypes.
17446         * intl/hash-string.h: Switch to gettext copyright.
17447         Use ANSI definitions and prototypes.
17448         * intl/l10nflist.c: Switch to gettext copyright.
17449         Use ANSI definitions and prototypes.
17450         (_nl_normalize_codeset): Avoid integer overflow.
17451         * intl/loadinfo.h: Switch to gettext copyright.
17452         Use ANSI definitions and prototypes.
17453         (LIBINTL_DLL_EXPORTED): New define.
17454         (PATH_SEPARATOR): New define.
17455         * intl/loadmsgcat.c: Switch to gettext copyright.
17456         * intl/localealias.c: Switch to gettext copyright.
17457         Use ANSI definitions and prototypes.
17458         (_nl_expand_alias): Use PATH_SEPARATOR.
17459         * intl/ngettext.c: Switch to gettext copyright.
17460         Use ANSI definitions and prototypes.
17461         * intl/plural-exp.c: Likewise.
17462         * intl/plural-exp.h: Switch to gettext copyright.
17463         Use ANSI definitions and prototypes.
17464         (struct expression): Move definition of enum operator outside
17465         of struct definition.
17466         * intl/plural.c: Regenerate.
17467         * intl/plural.y: Switch to gettext copyright.
17468         Use ANSI definitions and prototypes.
17469         Port to bison 3.0.
17470         * intl/textdomain.c: Switch to gettext copyright.
17471         Use ANSI definitions and prototypes.
17472         Use gl_* locking primitives rather than __libc_* ones.
17474 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
17476         * debug/warning-nop.c: Add used atrribute.
17478 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
17480         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
17482         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
17483         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
17484         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
17486 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
17487             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17489         [BZ #17634]
17490         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
17491         Undefine after defining function.  Define as weak alias of
17492         __wcschr.  Use libc_hidden_weak.
17493         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
17494         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
17495         (libc_hidden_def): Also define __GI___wcschr alias.
17496         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
17497         __wcschr and define as weak alias of __wcschr.
17498         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
17499         __wcschr.
17500         [!WCSCHR] (DEFAULT_WCSCHR): Define.
17501         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
17502         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
17503         libc_hidden_weak.  Do not use libc_hidden_def.
17504         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
17505         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
17506         __GI___wcschr alias.
17507         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
17508         [IS_IN (libc)] (wcschr): Define as macro expanding to
17509         __redirect_wcschr.
17510         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
17511         [IS_IN (libc)] (__wcschr_power6): Likewise.
17512         [IS_IN (libc)] (__wcschr_power7): Likewise.
17513         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
17514         instead of wcschr.
17515         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
17516         __libc_wcschr.
17517         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
17518         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
17519         __wcschr and define as weak alias of __wcschr.  Use
17520         libc_hidden_builtin_def.
17521         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
17522         as weak alias of __wcschr.  Use libc_hidden_weak.
17523         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
17524         wcschr.
17525         * time/era.c (_nl_init_era_entries): Likewise.
17526         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
17527         variable.
17528         (test-xfail-XPG3/time.h/linknamespace): Likewise.
17529         (test-xfail-XPG4/time.h/linknamespace): Likewise.
17531 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
17533         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
17534         format for long int variable.
17536 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
17538         [BZ #10672]
17539         * manual/search.texi: (Array Sort Function): Remove claim how to make
17540         qsort stable.
17542 2014-12-10  Andreas Schwab  <schwab@suse.de>
17544         [BZ #12847]
17545         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
17546         user-controlled locks.
17548 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
17550         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
17551         register.
17553 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
17555         * configure.ac (--disable-werror): New configure option.
17556         (enable_werror): New AC_SUBST.
17557         * configure: Regenerated.
17558         * config.make.in (enable-werror): New variable.
17559         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
17560         -Wno-error=undef.
17561         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
17562         * manual/install.texi (Configuring and compiling): Document
17563         --disable-werror.
17564         * INSTALL: Regenerated.
17565         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
17566         (CFLAGS-tst-chk2.c): Likewise.
17567         (CFLAGS-tst-chk3.c): Likewise.
17568         (CFLAGS-tst-chk4.cc): Likewise.
17569         (CFLAGS-tst-chk5.cc): Likewise.
17570         (CFLAGS-tst-chk6.cc): Likewise.
17571         (CFLAGS-tst-lfschk1.c): Likewise.
17572         (CFLAGS-tst-lfschk2.c): Likewise.
17573         (CFLAGS-tst-lfschk3.c): Likewise.
17574         (CFLAGS-tst-lfschk4.cc): Likewise.
17575         (CFLAGS-tst-lfschk5.cc): Likewise.
17576         (CFLAGS-tst-lfschk6.cc): Likewise.
17578         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
17579         (main): Disable -Wdeprecated-declarations around calls to
17580         register_printf_function.
17582         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
17583         (do_test): Disable -Wdiv-by-zero around some calls to
17584         fwrite_unlocked and fread_unlocked.
17586         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
17587         (DIAG_POP_NEEDS_COMMENT): Likewise.
17588         (_DIAG_STR1): Likewise.
17589         (_DIAG_STR): Likewise.
17590         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
17591         * stdio-common/bug21.c: Include <libc-internal.h>.
17592         (do_test): Disable -Wformat around call to sscanf.
17593         * stdio-common/scanf14.c: Include <libc-internal.h>.
17594         (main): Disable -Wformat around some calls to scanf functions.
17596 2014-12-09  Torvald Riegel  <triegel@redhat.com>
17598         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
17600 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17602         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
17603         stack variable alignment.
17605 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
17607         [BZ #17682]
17608         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
17609         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
17610         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
17611         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
17612         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
17613         __getrlimit instead of getrlimit.
17614         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
17615         __gettimeofday instead of gettimeofday.
17616         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17617         Likewise.
17618         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17619         Likewise.
17620         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17621         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
17622         Remove variable.
17623         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
17624         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
17626 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17628         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
17629         for wide-character tests.
17631 2014-12-04  Roland McGrath  <roland@hack.frob.com>
17633         * io/openat64.c: #include <libc-internal.h>
17634         (__openat64): Prototypify.  Use ignore_value on MODE.
17635         * io/openat.c: Likewise.
17636         * misc/reboot.c: #include <libc-internal.h>
17637         (reboot): Prototypify.  Use ignore_value on HOWTO.
17638         * misc/ptrace.c: #include <libc-internal.h>
17639         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
17641 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
17643         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
17644         XPG4, UNIX98 and XOPEN2K.
17645         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
17646         Remove variable.
17647         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
17649 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17651         * libio/fileops.c: Use ISO C style for function definitions.
17652         * libio/iofopen.c: Likewise.
17653         * libio/wfileops.c: Likewise.
17655         [BZ #17653]
17656         * libio/fileops.c (_IO_new_file_underflow): Unset cached
17657         offset on EOF.
17658         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
17659         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
17660         (fgets_func): Function pointer to fgets and fgetws.
17661         (do_ftell_test): Add test to verify ftell value after read
17662         EOF.
17663         (do_test): Set fgets_func.
17665         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
17666         O_TRUNC flag for w and w+ modes.
17667         (do_rewind_test): Likewise.
17668         (do_ftell_test): Likewise.
17669         (do_write_test): Likewise.
17671         [BZ #17647]
17672         * libio/fileops.c (do_ftell): Seek only when there are
17673         unflushed writes.
17674         * libio/wfileops.c (do_ftell_wide): Likewise.
17675         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
17676         test case.
17677         (do_one_test): Call it.
17679 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
17681         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
17682         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
17683         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
17684         Remove variable.
17685         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
17686         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
17687         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
17689 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
17691         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
17692         Remove variable.
17693         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
17695         [BZ #17668]
17696         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
17697         as weak alias of __getifaddrs.  Use libc_hidden_weak.
17698         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
17699         __freeifaddrs.  Use libc_hidden_weak.
17700         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
17701         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
17702         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
17703         __freeifaddrs.  Use libc_hidden_weak.
17704         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
17705         __getifaddrs and define as weak alias of __getifaddrs.  Use
17706         libc_hidden_weak.
17707         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
17708         __freeifaddrs.  Use libc_hidden_weak.
17709         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
17710         Remove variable.
17711         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
17712         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
17714 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
17716         [BZ #17601]
17717         * sysdeps/mips/start.S (__start): Use indirect jump to call
17718         __libc_start_main.
17720 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
17722         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
17724         * nptl/tst-mutex1.c: Include <stdbool.h>.
17725         [!ATTR] (ATTR_NULL): New macro.
17726         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
17727         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
17728         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
17730         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
17731         to char *.
17733         [BZ #17665]
17734         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
17735         Change conditional to [__USE_MISC].
17737         [BZ #17664]
17738         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
17739         fgets_unlocked.
17740         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
17741         __fgets_unlocked.
17742         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
17743         fgets_unlocked.
17744         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
17745         Remove variable.
17746         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
17747         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
17748         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
17749         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
17750         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
17751         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
17752         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
17753         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
17754         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
17756         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
17758 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17760         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17761         Remove strpbrk objects.
17762         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17763         (__libc_ifunc_impl_list): Remove strpbrk implementation.
17764         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
17765         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
17766         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
17767         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
17769         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17770         Remove strcspn objects.
17771         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17772         (__libc_ifunc_impl_list): Remove strcspn implementation.
17773         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
17774         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
17775         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
17776         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
17778         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17779         Remove strspn objetcs.
17780         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17781         (__libc_ifunc_impl_list): Remove strspn implementation.
17782         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
17783         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
17784         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
17785         * sysdeps/powerpc/powerpc64/strspn.S: New file.
17787 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
17789         [BZ #17581]
17790         * malloc/hooks.c
17791         (mem2mem_check): Add a terminator to the chain of checking blocks.
17792         (malloc_check_get_size): Use it here.
17793         (mem2chunk_check): Ditto.
17795 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17797         * sysdeps/powerpc/powerpc64/strtok.S: New file.
17798         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
17800 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
17802         * bits/ioctl-types.h: Indent preprocessor directives correctly.
17804         * nptl/nptl-init.c: Include libc-internal.h.
17805         (__pthread_initialize_minimal_internal): Use ROUND_UP.
17807         * elf/ldconfig.c (search_dir): Expand comment.
17809 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
17811         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
17812         variable.
17813         (linknamespace-symlist-stdlibs-tests): Likewise.
17814         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
17815         instead of $(objpfx)symlist-stdlibs.
17816         (linknamespace-libs-isoc): New variable.
17817         (linknamespace-libs): Use $(linknamespace-libs-isoc).
17818         (linknamespace-libs-ISO): New variable.
17819         (linknamespace-libs-ISO99): Likewise.
17820         (linknamespace-libs-ISO11): Likewise.
17821         (linknamespace-libs-XPG3): Likewise.
17822         (linknamespace-libs-XPG4): Likewise.
17823         (linknamespace-libs-POSIX): Likewise.
17824         (linknamespace-libs-UNIX98): Likewise.
17825         (linknamespace-libs-XOPEN2K): Likewise.
17826         (linknamespace-libs-POSIX2008): Likewise.
17827         (linknamespace-libs-XOPEN2K8): Likewise.
17828         ($(objpfx)symlist-stdlibs): Replace by
17829         $(linknamespace-symlist-stdlibs-tests).  Use
17830         $(linknamespace-libs-$*) as set of libraries.
17831         ($(linknamespace-header-tests)): Update dependencies.  Use
17832         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
17833         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
17834         * conform/linknamespace.pl: Remove comment about considering
17835         definitions of symbols from irrelevant libraries.
17837 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
17839         [BZ #13862]
17840         * elf/dl-tls.c: Include <atomic.h>.
17841         (oom): Remove #ifdef SHARED/#endif.
17842         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
17843         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
17844         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
17845         big enough.
17846         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
17847         * nptl/Makefile (tests): Add tst-stack4.
17848         (modules-names): Add tst-stack4mod.
17849         ($(objpfx)tst-stack4): New.
17850         (tst-stack4mod.sos): Likewise.
17851         ($(objpfx)tst-stack4.out): Likewise.
17852         ($(tst-stack4mod.sos)): Likewise.
17853         (clean): Likewise.
17854         * nptl/tst-stack4.c: New file.
17855         * nptl/tst-stack4mod.c: Likewise.
17857 2014-11-27  J. Brown  <jb999@gmx.de>
17859         * sysdeps/x86/bits/string.h: Add recent CPUs.
17861 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
17863         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
17864         sigblock.
17866         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
17867         feof.
17869         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
17870         variable.
17872 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
17874         * nscd/connections.c: Include libc-internal.h because of macro
17875         usage ignore_value.
17877 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17879         * string/bits/string3.h (__warn_memset_zero_len): Don't
17880         declare for gcc newer than 5.0.
17881         (memset): Don't test for zero-length __LEN for gcc newer than
17882         5.0.
17884 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
17886         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
17887         size_t for %zu format.
17889         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
17890         difference, not %ju.
17892 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
17894         * include/libc-internal.h (ignore_value): New macro.
17895         * nscd/connections.c (restart): Wrap calls to setuid and setgid
17896         with ignore_value.
17898         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
17899         definition.
17901         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
17902         pthread_cleanup_push to void *.
17904         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
17905         Undefine.
17907         [BZ #16619]
17908         [BZ #16740]
17909         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
17910         instead of 1L << 52.
17912         * libio/bug-rewind.c (do_test): Check fwscanf return values.
17913         * libio/bug-rewind2.c (do_test): Likewise.
17915         * debug/test-stpcpy_chk-ifunc.c: Remove file.
17916         * debug/test-strcpy_chk-ifunc.c: Likewise.
17917         * wcsmbs/test-wcschr-ifunc.c: Likewise.
17918         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17919         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17920         * wcsmbs/test-wcslen-ifunc.c: Likewise.
17921         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17922         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17923         * Rules [$(multi-arch) = no] (tests): Do not filter out
17924         $(tests-ifunc).
17925         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
17926         * debug/Makefile (tests-ifunc): Remove variable.
17927         (tests): Do not add $(tests-ifunc).
17928         * wcsmbs/Makefile (tests-ifunc): Remove variable.
17929         (tests): Do not add $(tests-ifunc).
17930         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
17931         [TEST_IFUNC]: Remove conditionals.
17932         * string/test-string.h (TEST_IFUNC): Remove macro.
17933         [TEST_IFUNC]: Remove conditionals.
17935         * string/test-strchr.c [!WIDE] (L): New macro.
17936         [WIDE] (L): Likewise.
17937         (check1): Use CHAR instead of char.  Use L on string and character
17938         constants.
17940 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
17942         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
17943         tests.
17944         * sysdeps/powerpc/bits/atomic.h
17945         (__arch_atomic_exchange_and_add_32_acq): Add definition.
17946         (__arch_atomic_exchange_and_add_32_rel): Likewise.
17947         (atomic_exchange_and_add_acq): Likewise.
17948         (atomic_exchange_and_add_rel): Likewise.
17949         * sysdeps/powerpc/powerpc32/bits/atomic.h
17950         (__arch_atomic_exchange_and_add_64_acq): Add definition.
17951         (__arch_atomic_exchange_and_add_64_rel): Likewise.
17952         * sysdeps/powerpc/powerpc64/bits/atomic.h
17953         (__arch_atomic_exchange_and_add_64_acq): Add definition.
17954         (__arch_atomic_exchange_and_add_64_rel): Likewise.
17956 2014-11-26  Torvald Riegel  <triegel@redhat.com>
17958         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
17959         Change synchronization of __sched_fifo_min_prio and
17960         __sched_fifo_max_prio.
17961         * nptl/pthread_mutexattr_getprioceiling.c
17962         (pthread_mutexattr_getprioceiling): Likewise.
17963         * nptl/pthread_mutexattr_setprioceiling.c
17964         (pthread_mutexattr_setprioceiling): Likewise.
17965         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
17966         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
17967         Likewise.
17969 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
17971         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
17972         void.
17974 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
17976         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
17977         third argument const.
17979 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
17981         fnmatch: work around GCC compiler warning bug with uninit var
17982         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
17983         This works around a bug with x86-64 GCC 4.9.2 and earlier
17984         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
17985         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
17986         used uninitialized in this function [-Wmaybe-uninitialized]".
17988 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
17990         * posix/bug-regex31.c (main): Return RES not 0.
17992 2014-11-25  Anton Blanchard <anton@samba.org>
17994         * sysdeps/powerpc/bits/atomic.h
17995         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
17997 2014-11-24  Sterling Augustine  <saugustine@google.com>
17999         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
18001 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
18003         [BZ #17608]
18004         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
18006 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
18008         [BZ #17633]
18009         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
18010         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
18011         variable.
18012         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
18013         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
18015 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
18017         * string/strncpy.c (strncpy): Improve performance by using memset.
18019 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
18021         * string/strcpy.c (strcpy):
18022         Improve performance by using strlen and memcpy.
18024 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
18026         * string/strcoll_l.c (get_next_seq): __always_inline.
18027         * string/strcoll_l.c (do_compare): __always_inline.
18029 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18031         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
18032         defined.
18033         * include/mqueue.h: Likewise.
18034         * include/stdlib.h: Likewise.
18036         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
18037         (get_null_defines): Adjust.
18038         * sunrpc/Makefile: Adjust comment.
18039         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
18040         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
18041         (CFLAGS-interp.c): Likewise.
18042         (CFLAGS-ldconfig.c): Likewise.
18043         (CPPFLAGS-.os): Likewise.
18044         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18045         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
18046         * extra-modules.mk (extra-modules.mk): Likewise.
18047         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
18048         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
18049         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
18050         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
18051         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
18052         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
18053         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
18054         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
18055         * iconvdata/Makefile (CPPFLAGS): Likewise.
18056         (cpp-srcs-left): Add libof for all iconvdata routines.
18057         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
18058         * include/assert.h: Likewise.
18059         * include/ctype.h: Likewise.
18060         * include/errno.h: Likewise.
18061         * include/libc-symbols.h: Likewise.
18062         * include/math.h: Likewise.
18063         * include/netdb.h: Likewise.
18064         * include/resolv.h: Likewise.
18065         * include/stdio.h: Likewise.
18066         * include/stdlib.h: Likewise.
18067         * include/string.h: Likewise.
18068         * include/sys/stat.h: Likewise.
18069         * include/wctype.h: Likewise.
18070         * intl/l10nflist.c: Likewise.
18071         * libidn/idn-stub.c: Likewise.
18072         * libio/libioP.h: Likewise.
18073         * nptl/libc_multiple_threads.c: Likewise.
18074         * nptl/pthreadP.h: Likewise.
18075         * posix/regex_internal.h: Likewise.
18076         * resolv/res_hconf.c: Likewise.
18077         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
18078         * sysdeps/arm/memmove.S: Likewise.
18079         * sysdeps/arm/sysdep.h: Likewise.
18080         * sysdeps/generic/_itoa.h: Likewise.
18081         * sysdeps/generic/symbol-hacks.h: Likewise.
18082         * sysdeps/gnu/errlist.awk: Likewise.
18083         * sysdeps/gnu/errlist.c: Likewise.
18084         * sysdeps/i386/i586/memcpy.S: Likewise.
18085         * sysdeps/i386/i586/memset.S: Likewise.
18086         * sysdeps/i386/i686/memcpy.S: Likewise.
18087         * sysdeps/i386/i686/memmove.S: Likewise.
18088         * sysdeps/i386/i686/mempcpy.S: Likewise.
18089         * sysdeps/i386/i686/memset.S: Likewise.
18090         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18091         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18092         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
18093         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
18094         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18095         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18096         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
18097         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18098         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18099         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18100         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18101         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18102         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18103         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18104         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18105         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18106         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
18107         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
18108         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
18109         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18110         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18111         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18112         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18113         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18114         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18115         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18116         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
18117         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18118         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
18119         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18120         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18121         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18122         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18123         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18124         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18125         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18126         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18127         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18128         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18129         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18130         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18131         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18132         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18133         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18134         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18135         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18136         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
18137         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
18138         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18139         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18140         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18141         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
18142         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
18143         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18144         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18145         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
18146         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18147         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
18148         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
18149         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18150         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18151         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18152         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
18153         * sysdeps/nptl/bits/libc-lock.h: Likewise.
18154         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
18155         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
18156         * sysdeps/posix/closedir.c: Likewise.
18157         * sysdeps/posix/opendir.c: Likewise.
18158         * sysdeps/posix/readdir.c: Likewise.
18159         * sysdeps/posix/rewinddir.c: Likewise.
18160         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
18161         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
18162         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18163         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18164         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18165         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
18166         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
18167         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
18168         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
18169         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
18170         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
18171         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
18172         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
18173         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
18174         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
18175         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
18176         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
18177         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
18178         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
18179         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
18180         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
18181         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
18182         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
18183         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
18184         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
18185         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
18186         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
18187         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
18188         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
18189         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
18190         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
18191         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
18192         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
18193         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
18194         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
18195         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
18196         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18197         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18198         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
18199         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
18200         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
18201         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
18202         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
18203         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
18204         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
18205         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
18206         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
18207         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
18208         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
18209         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
18210         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
18211         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
18212         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
18213         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
18214         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
18215         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
18216         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
18217         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
18218         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
18219         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
18220         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
18221         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
18222         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
18223         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
18224         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
18225         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
18226         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
18227         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
18228         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
18229         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
18230         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
18231         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
18232         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
18233         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
18234         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
18235         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
18236         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
18237         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
18238         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
18239         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
18240         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
18241         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18242         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
18243         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
18244         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18245         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
18246         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
18247         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18248         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18249         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18250         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
18251         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
18252         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
18253         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
18254         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18255         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
18256         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
18257         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18258         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
18259         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
18260         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18261         * sysdeps/unix/alpha/sysdep.S: Likewise.
18262         * sysdeps/unix/alpha/sysdep.h: Likewise.
18263         * sysdeps/unix/make-syscalls.sh: Likewise.
18264         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
18265         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
18266         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
18267         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
18268         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
18269         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
18270         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
18271         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
18272         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
18273         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
18274         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
18275         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
18276         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18277         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
18278         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
18279         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18280         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18281         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
18282         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
18283         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
18284         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
18285         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
18286         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
18287         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
18288         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
18289         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
18290         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
18291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
18292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
18293         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
18294         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18295         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
18296         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18297         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18298         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
18299         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
18300         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18301         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18302         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
18303         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
18304         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18305         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
18306         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18307         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18308         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
18309         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
18310         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18311         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18312         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
18313         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18314         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
18315         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
18316         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
18317         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
18318         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
18319         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
18320         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
18321         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18322         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
18323         * sysdeps/x86_64/memcpy.S: Likewise.
18324         * sysdeps/x86_64/memmove.c: Likewise.
18325         * sysdeps/x86_64/memset.S: Likewise.
18326         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
18327         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18328         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18329         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
18330         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
18331         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18332         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18333         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18334         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18335         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18336         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18337         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18338         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
18339         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18340         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18341         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
18342         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18343         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18344         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18345         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18346         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
18347         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18348         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18349         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
18350         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18351         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18352         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18353         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
18354         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
18355         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18356         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
18357         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18358         * sysdeps/x86_64/strcmp.S: Likewise.
18360         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
18362         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
18363         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
18364         * elf/rtld-Rules: Likewise.
18365         * elf/setup-vdso.h: Likewise.
18366         * include/assert.h: Likewise.
18367         * include/bits/stdlib-float.h: Likewise.
18368         * include/errno.h: Likewise.
18369         * include/sys/stat.h: Likewise.
18370         * include/unistd.h: Likewise.
18371         * sysdeps/aarch64/setjmp.S: Likewise.
18372         * sysdeps/alpha/setjmp.S: Likewise.
18373         * sysdeps/arm/__longjmp.S: Likewise.
18374         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
18375         * sysdeps/arm/setjmp.S: Likewise.
18376         * sysdeps/arm/sysdep.h: Likewise.
18377         * sysdeps/generic/_itoa.h: Likewise.
18378         * sysdeps/generic/dl-sysdep.h: Likewise.
18379         * sysdeps/generic/ldsodefs.h: Likewise.
18380         * sysdeps/i386/dl-tls.h: Likewise.
18381         * sysdeps/i386/setjmp.S: Likewise.
18382         * sysdeps/m68k/setjmp.c: Likewise.
18383         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
18384         * sysdeps/mach/hurd/opendir.c: Likewise.
18385         * sysdeps/posix/getcwd.c: Likewise.
18386         * sysdeps/posix/opendir.c: Likewise.
18387         * sysdeps/posix/profil.c: Likewise.
18388         * sysdeps/powerpc/dl-procinfo.h: Likewise.
18389         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18390         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
18391         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18392         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18393         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
18394         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
18395         * sysdeps/s390/dl-tls.h: Likewise.
18396         * sysdeps/s390/s390-32/setjmp.S: Likewise.
18397         * sysdeps/s390/s390-64/setjmp.S: Likewise.
18398         * sysdeps/sh/sh3/setjmp.S: Likewise.
18399         * sysdeps/sh/sh4/setjmp.S: Likewise.
18400         * sysdeps/unix/alpha/sysdep.h: Likewise.
18401         * sysdeps/unix/arm/sysdep.S: Likewise.
18402         * sysdeps/unix/i386/sysdep.S: Likewise.
18403         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
18404         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
18405         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
18406         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
18407         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18408         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
18409         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
18410         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18411         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
18412         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
18413         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
18414         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
18415         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
18416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18418         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18419         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18420         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18421         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18422         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18423         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
18424         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18425         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18426         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
18427         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
18428         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
18429         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18430         * sysdeps/unix/x86_64/sysdep.S: Likewise.
18431         * sysdeps/x86_64/setjmp.S: Likewise.
18433         * include/math.h: Use IS_IN instead of IS_IN_libm.
18434         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
18435         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18436         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18437         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
18438         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18439         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18440         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18441         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18442         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18443         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18444         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
18445         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
18446         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
18447         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
18448         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
18449         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
18450         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
18451         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
18452         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
18453         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
18454         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
18455         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
18456         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
18457         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
18458         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
18459         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
18460         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
18461         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
18462         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
18463         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
18464         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
18465         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18466         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
18468         Likewise.
18469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
18470         Likewise.
18471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
18472         Likewise.
18473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
18474         Likewise.
18475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
18476         Likewise.
18477         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18478         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
18479         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18480         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18481         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18482         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
18484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
18485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
18486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
18487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
18488         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
18489         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
18490         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18491         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18492         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18493         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18494         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18495         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18496         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18497         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
18498         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
18499         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
18500         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
18501         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
18502         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
18503         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
18505         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
18506         * nptl/pthreadP.h: Likewise.
18507         * nptl_db/structs.def: Likewise.
18508         * sysdeps/arm/sysdep.h: Likewise.
18509         * sysdeps/nptl/bits/libc-lock.h: Likewise.
18510         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
18511         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
18512         * sysdeps/unix/alpha/sysdep.h: Likewise.
18513         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
18514         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
18515         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
18516         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
18517         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
18518         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
18519         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18520         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
18521         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18522         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
18523         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
18524         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
18525         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
18526         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
18527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
18528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
18529         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
18530         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
18531         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
18532         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
18533         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
18534         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
18535         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
18536         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
18537         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
18538         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
18540         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
18541         * nptl/pthreadP.h: Likewise.
18542         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
18543         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
18544         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
18545         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
18546         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
18547         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
18548         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18549         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
18550         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
18551         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
18552         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
18553         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
18554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
18555         Likewise.
18556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
18557         Likewise.
18558         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
18559         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
18560         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
18561         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
18562         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
18563         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
18564         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
18565         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
18567         * dlfcn/dladdr.c: Use IS_IN.
18568         * dlfcn/dladdr1.c: Likewise.
18569         * dlfcn/dlclose.c: Likewise.
18570         * dlfcn/dlerror.c: Likewise.
18571         * dlfcn/dlinfo.c: Likewise.
18572         * dlfcn/dlmopen.c: Likewise.
18573         * dlfcn/dlopen.c: Likewise.
18574         * dlfcn/dlsym.c: Likewise.
18575         * dlfcn/dlvsym.c: Likewise.
18577         * include/ifaddrs.h: Use IS_IN.
18578         * inet/check_pf.c: Likewise.
18579         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18580         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
18582         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
18583         IS_IN_ldconfig.
18584         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
18585         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
18587         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
18588         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
18589         IS_IN (libc).
18591         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
18593         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
18594         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18595         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
18596         * include/libc-symbols.h (IS_IN_LIB): New macro.
18597         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
18598         * include/netdb.h: Likewise.
18599         * include/stap-probe.h: Remove all uses of IN_LIB.
18601         * Makeconfig (module-cppflags-real): Define MODULE_NAME
18602         instead of IN_MODULE.
18603         * include/libc-symbols.h (IN_MODULE): Define using
18604         MODULE_NAME.
18605         (PASTE_NAME, PASTE_NAME1): New macros.
18606         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
18607         of IN_LIB.
18608         (STAP_PROBE_ASM): Likewise.
18610 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18612         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
18613         __mach_init in dlopened libc.
18615 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
18617         * sysdeps/arm/preconfigure.ac: Delete EABI check.
18618         * sysdeps/arm/preconfigure: Regenerate.
18620 2014-11-21  Roland McGrath  <roland@hack.frob.com>
18622         * nptl/pthread_create.c (__pthread_create_2_1): Set
18623         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
18624         when copying values from IATTR into PD.
18626 2014-11-21  Will Newton  <will.newton@linaro.org>
18627             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
18629         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
18630         Refactor inline-asm.  Also add comment.
18632         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
18633         ElfW macro instead of hardcoded Elf64 types.
18634         (la_aarch64_gnu_pltenter): Likewise.
18635         * sysdeps/aarch64/dl-machine.h
18636         (elf_machine_runtime_setup): Use ElfW(Addr).
18638         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
18639         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
18640         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
18641         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
18642         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
18643         (R_AARCH64_TLS_DTPMOD64): Rename to ..
18644         (R_AARCH64_TLS_DTPMOD): This.
18645         (R_AARCH64_TLS_DTPREL64): Rename to ...
18646         (R_AARCH64_TLS_DTPREL): This.
18647         (R_AARCH64_TLS_TPREL64): Rename to ...
18648         (R_AARCH64_TLS_TPREL): This.
18649         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
18650         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
18651         R_AARCH64_TLS_TPREL64.
18652         (elf_machine_rela): Likewise.
18654 2014-11-21  Torvald Riegel  <triegel@redhat.com>
18656         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
18657         by setting it to 0.  64b atomics are not supported currently.
18659 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18661         [BZ #16469]
18662         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
18663         search domain names.
18665 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18667         [BZ #16469]
18668         * NEWS: Update.
18669         * resolv/res_query.c (__libc_res_nquerydomain): Retain
18670         trailing dot.
18671         * posix/tst-getaddrinfo5.c: New.
18672         * posix/Makefile (tests): Add it.
18674 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18676         [BZ #14498]
18677         * NEWS: Fixed.
18678         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
18679         after parsing line but before break_if_match.
18680         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
18681         if there is a protocol mismatch.
18683 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
18685         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
18686         because the potential race is on the user-supplied stream.
18688 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18690         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
18691         string literal if not passed a buffer.
18692         * manual/job.texi (ctermid): Update reasoning, note deviation
18693         from posix, suggest mtasurace when not passed a buffer, for
18694         future non-preliminary safety notes.
18696 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18698         * manual/users.texi (cuserid): Fix MT-Safety note for the case
18699         of not passing it a buffer.
18700         Reported by Peng Haitao.
18702 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18704         * manual/Makefile ($(objpfx)stamp-summary): Require
18705         check-safety.sh to pass.
18706         * manual/check-safety.sh: Wish for verification that every
18707         @deftypefn and @deftypefun is followed by a @safety remark.
18709 2014-11-20  Roland McGrath  <roland@hack.frob.com>
18711         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
18713         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
18714         PTHREAD_CANCEL_ASYNCHRONOUS.
18715         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
18716         send SIGCANCEL.
18718         * nptl/default-sched.h: New file.
18719         * sysdeps/unix/sysv/linux/default-sched.h: New file.
18720         * nptl/pthread_create.c: Include it.
18721         (__pthread_create_2_1): Use collect_default_sched instead of making
18722         Linux syscalls here directly.
18724 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18726         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
18727         __pthread_once): Use C11 atomics.
18729 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18731         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
18733 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18735         * include/atomic.h (__atomic_link_error, __atomic_check_size,
18736         atomic_thread_fence_acquire, atomic_thread_fence_release,
18737         atomic_thread_fence_seq_cst, atomic_load_relaxed,
18738         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
18739         atomic_compare_exchange_weak_relaxed,
18740         atomic_compare_exchange_weak_acquire,
18741         atomic_compare_exchange_weak_release,
18742         atomic_exchange_acquire, atomic_exchange_release,
18743         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
18744         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
18745         atomic_fetch_and_acquire,
18746         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
18748 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18750         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
18751         USE_ATOMIC_COMPILER_BUILTINS): Define.
18752         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
18753         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18754         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
18755         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18756         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
18757         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18758         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
18759         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18760         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
18761         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18762         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
18763         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18764         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
18765         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18766         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
18767         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18768         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
18769         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18770         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
18771         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18772         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
18773         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18774         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
18775         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18776         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
18777         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18778         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
18779         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18780         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
18781         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18782         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
18783         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18784         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
18785         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18786         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
18787         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18788         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
18789         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18790         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
18791         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18793 2014-11-19  Roland McGrath  <roland@hack.frob.com>
18795         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
18796         the sched_priority value here.  It was already checked when the user
18797         called pthread_attr_setschedparam.
18799         * nptl/tst-bad-schedattr.c: New file.
18800         * nptl/Makefile (tests): Add it.
18802 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
18803             Florian Weimer  <fweimer@redhat.com>
18804             Joseph Myers  <joseph@codesourcery.com>
18805             Adam Conrad  <adconrad@0c3.net>
18806             Andreas Schwab  <schwab@suse.de>
18807             Brooks  <bmoses@google.com>
18809         [BZ #17625]
18810         * wordexp-test.c (__dso_handle): Add prototype.
18811         (__register_atfork): Likewise.
18812         (__app_register_atfork): New function.
18813         (registered_forks): New global.
18814         (register_fork): New function.
18815         (test_case): Add 3 new tests for WRDE_CMDSUB.
18816         (main): Call __app_register_atfork.
18817         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
18818         fork count is non-zero fail the test.
18819         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
18820         is set.
18821         (parse_dollars): Remove check for WRDE_NOCMD.
18822         (parse_dquote): Likewise.
18824 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18826         * Makeconfig (built-modules): List non-library modules to be
18827         built.
18828         (module-cppflags): Include libc-modules.h for
18829         everything except shlib-versions.v.i.
18830         (CPPFLAGS): Use it.
18831         (before-compile): Add libc-modules.h.
18832         ($(common-objpfx)libc-modules.h,
18833         $(common-objpfx)libc-modules.stmp): New targets.
18834         (common-generated): Add libc-modules.h and libc-modules.stmp.
18835         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
18836         * include/libc-symbols.h: Don't include libc-modules.h.
18837         * include/libc-modules.h: Remove file.
18838         * scripts/gen-libc-modules.awk: New script to generate
18839         libc-modules.h.
18840         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
18841         Depend on libc-modules.stmp.
18843         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
18845         * Makeconfig (in-module): Get value of libof set for the
18846         translation unit.
18847         (CPPFLAGS): Use $(in-module).
18848         * Makerules: Don't suffix routine names for nonlib.
18849         * include/libc-modules.h: New file.
18850         * include/libc-symbols.h: Include libc-modules.h
18851         (IS_IN): New macro to replace IS_IN_* macros.
18852         * elf/Makefile: Set libof-* for each routine.
18853         * elf/rtld-Rules: Likewise.
18854         * extra-modules.mk: Likewise.
18855         * iconv/Makefile: Likewise.
18856         * iconvdata/Makefile: Likewise.
18857         * locale/Makefile: Likewise.
18858         * malloc/Makefile: Likewise.
18859         * nss/Makefile: Likewise.
18860         * sysdeps/gnu/Makefile: Likewise.
18861         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
18862         * sysdeps/unix/sysv/linux/Makefile: Likewise.
18863         * sysdeps/s390/s390-64/Makefile: Likewise.
18864         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
18865         CPPFLAGS for nscd instead of nonlib.
18867 2014-11-18  Roland McGrath  <roland@hack.frob.com>
18869         * nptl/createthread.c: New file.
18871         * nptl/createthread.c: Moved ...
18872         * sysdeps/unix/sysv/linux/createthread.c: ... here.
18874         * nptl/createthread.c: Add proper top-line comment.
18875         (do_clone): Folded into ...
18876         (create_thread): ... here.  Take new arguments STOPPED_START and
18877         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
18878         increment __nptl_threads, do event-reporting logic, do
18879         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
18880         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
18881         resource cleanup if sched_setaffinity or sched_setscheduler fails,
18882         just send SIGCANCEL.
18883         * nptl/pthread_create.c: Forward-declare create_thread before
18884         including createthread.c.
18885         (start_thread): Use new macro START_THREAD_DEFN to replace defining
18886         declaration, and new macro START_THREAD_SELF to replace argument.
18887         Remove return statement.
18888         (report_thread_creation): New function.
18889         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
18890         synchronization logic, and __nptl_nthreads increment here, around
18891         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
18892         PD->parent_cancelhandling here, before create_thread.  When
18893         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
18894         __deallocate_stack, and ENOMEM translation here.
18896 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
18898         [BZ #17616]
18899         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
18900         (mptwo): Rename to __mptwo.
18901         (__inv): Use __mptwo instead of mptwo.
18902         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
18903         (mptwo): Rename to __mptwo.
18904         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
18905         of mpone and __mptwo instead of mptwo.
18906         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
18907         instead of mpone.
18908         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18909         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
18910         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
18911         of mpone and __mptwo instead of mptwo.
18912         (__mpranred): Use __mpone instead of mpone.
18913         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
18914         variable.
18915         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
18916         (test-xfail-ISO99/math.h/linknamespace): Likewise.
18917         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
18918         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
18919         (test-xfail-ISO11/math.h/linknamespace): Likewise.
18920         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
18921         (test-xfail-XPG3/math.h/linknamespace): Likewise.
18922         (test-xfail-XPG4/math.h/linknamespace): Likewise.
18923         (test-xfail-POSIX/math.h/linknamespace): Likewise.
18924         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
18925         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
18926         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
18927         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
18928         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
18929         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
18930         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
18931         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
18932         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
18933         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
18935 2014-11-18  Tom de Vries  <tom@codesoucery.com>
18937         * manual/signal.texi (Primitives Interrupted by Signals): In section,
18938         replace BSD Handler xref with BSD Signal Handling.
18940 2014-11-17  Richard Henderson  <rth@redhat.com>
18942         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
18943         (_FP_PACK_RAW_2): Remove.
18944         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
18945         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
18946         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
18947         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
18948         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
18949         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
18950         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
18951         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
18952         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
18953         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
18954         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
18955         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
18956         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
18957         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
18958         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
18959         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
18961 2014-11-14  Roland McGrath  <roland@hack.frob.com>
18963         * signal/signal.h [__USE_MISC]
18964         (struct sigvec): Remove type.
18965         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
18966         (sigvec): Remove declaration.
18967         * sysdeps/posix/sigvec.c: Moved ...
18968         * signal/sigvec.c: ... here, replacing old file.
18969         (struct sigvec): New type, copied from old signal.h definition.
18970         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
18971         (__sigvec): Convert definition to prototype.
18972         (sigvec): Replace weak_alias with compat_symbol.
18973         * signal/Versions (libc: GLIBC_2.21): New version set.
18974         * include/signal.h: Remove __sigvec declaration.
18975         * sysdeps/unix/bsd/sigvec.c: Remove file.
18976         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
18977         * manual/signal.texi (BSD Handler): Remove subsection.
18978         Move siginterrupt up to ...
18979         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
18980         (Blocking in BSD): Fold subsection into its parent.
18981         * NEWS: Mention sigvec removal.
18983 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
18985         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
18986         (DLA_FMS): Make definition conditional only on [__FMA4__].
18987         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
18988         definition.
18990         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
18991         Make definition conditional only on [PROF].
18992         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
18993         definition.
18994         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
18995         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
18997         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
18998         !__GNUC__].
18999         * include/signal.h (__sigpause): Move declaration above call to
19000         libc_hidden_proto.
19001         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
19002         variable.
19003         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
19004         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
19006 2014-11-14  David S. Miller  <davem@davemloft.net>
19008         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
19009         Define before including <string/memcpy.c> and <string/mempcpy.c>.
19011 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
19013         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
19014         * configure: Regenerated.
19015         * manual/install.texi (Tools for Compilation): Document a
19016         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
19017         compiler verified to work.
19018         * INSTALL: Regenerated.
19020         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
19021         redeclare with asm name.
19022         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
19023         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
19024         including <string.h>.
19025         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19026         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
19027         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19028         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
19029         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19030         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
19031         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19033 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
19035         * stdlib/strtol.c (__strtol): Use prototype definition.
19037         [BZ #17594]
19038         * stdlib/strtol.c (SYM__): New macro.
19039         (SYM__1): Likewise.
19040         (__strtol): Likewise.
19041         (strtol): Rename to __strtol and define as weak alias of
19042         __strtol.  Use libc_hidden_weak.
19044 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19046         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
19047         Use numbered labels in inline assembly.
19049 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19051         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
19052         Add setjmp LIBC_PROBE.
19053         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
19054         Likewise.
19055         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
19056         Add longjmp, longjmp_target LIBC_PROBE.
19057         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
19058         Likewise.
19060 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19062         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19063         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
19064         to get rid of unused variable warning.
19066 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19068         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
19069         Check for unwind_backtrace ==  NULL only in SHARED case.
19070         (__backchain_backtrace): Compile only in SHARED case.
19071         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
19072         Likewise.
19073         (__backchain_backtrace): Declare as static.
19075 2014-11-12  Roland McGrath  <roland@hack.frob.com>
19077         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
19078         (__libc_multiple_threads_ptr): Variable moved ...
19079         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
19081 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
19083         * conform/GlibcConform.pm: New file.
19084         * conform/conformtest.pl: Use GlibcConform module.
19085         * conform/linknamespace.pl: New file.
19086         * conform/list-header-symbols.pl: Likewise.
19087         * conform/Makefile (linknamespace-symlists-base): New variable.
19088         (linknamespace-symlists-tests): Likewise.
19089         (linknamespace-header-base): Likewise.
19090         (linknamespace-header-tests): Likewise.
19091         (tests-special): Add new tests.
19092         ($(linknamespace-symlists-tests)): New rule.
19093         (linknamespace-libs): New variable.
19094         ($(objpfx)symlist-stdlibs): New rule.
19095         ($(linknamespace-header-tests)): Likewise.
19096         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
19097         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
19098         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
19099         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
19100         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
19101         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
19102         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
19103         (test-xfail-ISO/math.h/linknamespace): Likewise.
19104         (test-xfail-ISO/signal.h/linknamespace): Likewise.
19105         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
19106         (test-xfail-ISO/time.h/linknamespace): Likewise.
19107         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
19108         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
19109         (test-xfail-ISO99/math.h/linknamespace): Likewise.
19110         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
19111         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
19112         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
19113         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
19114         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
19115         (test-xfail-ISO11/math.h/linknamespace): Likewise.
19116         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
19117         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
19118         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
19119         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
19120         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
19121         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
19122         (test-xfail-XPG3/math.h/linknamespace): Likewise.
19123         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
19124         (test-xfail-XPG3/search.h/linknamespace): Likewise.
19125         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
19126         (test-xfail-XPG3/time.h/linknamespace): Likewise.
19127         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
19128         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
19129         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
19130         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
19131         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
19132         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
19133         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
19134         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
19135         (test-xfail-XPG4/math.h/linknamespace): Likewise.
19136         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
19137         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
19138         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
19139         (test-xfail-XPG4/search.h/linknamespace): Likewise.
19140         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
19141         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
19142         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
19143         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
19144         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
19145         (test-xfail-XPG4/time.h/linknamespace): Likewise.
19146         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
19147         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
19148         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
19149         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
19150         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
19151         (test-xfail-POSIX/math.h/linknamespace): Likewise.
19152         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
19153         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
19154         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
19155         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
19156         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
19157         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
19158         (test-xfail-POSIX/time.h/linknamespace): Likewise.
19159         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
19160         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
19161         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
19162         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
19163         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
19164         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
19165         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
19166         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
19167         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
19168         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
19169         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
19170         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
19171         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
19172         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
19173         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
19174         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
19175         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
19176         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
19177         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
19178         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
19179         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
19180         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
19181         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
19182         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
19183         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
19184         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
19185         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
19186         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
19187         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
19188         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
19189         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
19190         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
19191         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
19192         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
19193         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
19194         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
19195         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
19196         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
19197         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
19198         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
19199         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
19200         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
19201         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
19202         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
19203         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
19204         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
19205         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
19206         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
19207         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
19208         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
19209         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
19210         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
19211         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
19212         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
19213         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
19214         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
19215         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
19216         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
19217         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
19218         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
19219         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
19220         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
19221         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
19222         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
19223         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
19224         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
19225         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
19226         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
19227         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
19228         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
19229         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
19230         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
19231         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
19232         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
19233         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
19234         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
19235         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
19236         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
19237         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
19238         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
19239         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
19240         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
19241         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
19242         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
19243         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
19244         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
19245         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
19246         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
19247         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
19248         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
19249         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
19250         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
19251         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
19252         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
19253         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
19254         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
19255         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
19256         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
19258         [BZ #17589]
19259         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
19260         of fgets_unlocked.
19262         [BZ #17585]
19263         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
19264         (memmem): Rename to __memmem and define as weak alias of
19265         __memmem.  Use libc_hidden_weak.
19266         (__memmem): Use libc_hidden_def.
19267         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
19268         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
19269         memmem.
19271         [BZ #17582]
19272         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
19273         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
19274         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
19275         and define as weak alias of __fgets_unlocked.  Use
19276         libc_hidden_weak.
19277         (__fgets_unlocked): Use libc_hidden_def.
19278         * include/stdio.h (__fgets_unlocked): Declare.  Use
19279         libc_hidden_proto.
19280         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
19281         __fgets_unlocked instead of fgets_unlocked.
19282         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
19283         (GET_NPROCS_CONF_PARSER): Likewise.
19284         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
19285         (GET_NPROCS_CONF_PARSER): Likewise.
19287         [BZ #17574]
19288         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
19289         weak alias of __wmemset.  Use libc_hidden_weak.
19290         (__wmemset): Use libc_hidden_def.
19291         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
19292         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
19293         of wmemset.
19295         [BZ #17573]
19296         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
19297         with asm name __mempcpy.
19298         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
19300         [BZ #17572]
19301         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
19302         and define as weak alias of __rawmemchr.
19303         (__rawmemchr): Do not define as strong alias of rawmemchr.
19305         [BZ #17571]
19306         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
19307         alias of __qsort_r.
19308         (qsort): Call __qsort_r instead of qsort_r.
19309         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
19310         (__qsort_r): Declare.  Call libc_hidden_proto.
19311         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
19312         instead of qsort_r.
19313         * nscd/gai.c (__qsort_r): Define to qsort_r.
19314         * posix/tst-rfc3484.c (__qsort_r): Likewise.
19315         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
19316         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
19318         [BZ #17570]
19319         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
19320         define as weak alias of __malloc_info.
19322         [BZ #17584]
19323         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
19324         as weak alias of __rewinddir.  Don't use libc_hidden_def.
19325         (__rewinddir): Use libc_hidden_def.
19326         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
19327         as weak alias of __rewinddir.  Don't use libc_hidden_def.
19328         (__rewinddir): Use libc_hidden_def.
19329         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
19330         weak alias of __rewinddir.  Don't use libc_hidden_def.
19331         (__rewinddir): Use libc_hidden_def.
19332         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
19333         (__rewinddir): Use libc_hidden_proto.
19334         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
19335         rewinddir.
19336         (__getcwd): Use __rewinddir instead of rewinddir.
19338         [BZ #17583]
19339         * libio/fileno.c (fileno): Rename to __fileno and define as weak
19340         alias of __fileno.  Use libc_hidden_weak.
19341         (__fileno): Use libc_hidden_def.
19342         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
19343         * libio/ftello.c (ftello): Rename to __ftello and define as weak
19344         alias of __ftello.
19345         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
19346         __ftello.
19347         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
19348         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
19349         libc_hidden_def.
19350         (fread_unlocked): Don't use libc_hidden_ver.
19351         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
19352         and define as weak alias of __fread_unlocked.  Don't use
19353         libc_hidden_def.
19354         (__fread_unlocked): Use libc_hidden_def.
19355         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
19356         (ftello): Don't use libc_hidden_proto.
19357         (__ftello): Declare.  Use libc_hidden_proto.
19358         (fread_unlocked): Don't use libc_hidden_proto.
19359         (__fread_unlocked): Declare.  Use libc_hidden_proto.
19360         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
19361         and __ftello instead of fileno, fread_unlocked and ftello.
19363 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19365         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
19366         GOT12.
19367         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
19368         Likewise.
19369         (_dl_start_user): Likewise.
19370         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
19372 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
19373             Siddhesh Poyarekar  <siddhesh@redhat.com>
19375         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
19376         Move argv and envp down instead of moving argc up.
19377         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
19379 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
19381         [BZ #17506]
19382         * test-skeleton.c (main): Return successful if one of
19383         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
19384         * string/tst-strcoll-overflow.c: Define expected status.
19386 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
19388         [BZ #17475]
19389         * locale/iso-639.def: Define Bhili and Tulu language codes.
19391 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
19393         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
19395 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
19397         [BZ #17555]
19398         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
19400 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
19402         * configure.ac: Updated check of minimal required version to
19403         2.22.
19404         * manual/install.texi (Tools for Compilation): Updated version
19405         number.
19406         * configure: Regenerated.
19407         * INSTALL: Likewise.
19409 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
19411         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
19412         __tls_get_addr.
19414 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
19416         * include/sys/wait.h (__libc_waitpid): Remove declaration.
19417         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
19418         (__waitpid): Don't define as alias.  Use libc_hidden_def not
19419         libc_hidden_weak.
19420         (waitpid): Define as alias of __waitpid.
19421         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
19422         __waitpid.
19423         (__waitpid): Don't define as alias.  Use libc_hidden_def not
19424         libc_hidden_weak.
19425         (waitpid): Define as alias of __waitpid.
19426         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
19427         __libc_waitpid alias.
19428         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
19429         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
19430         Likewise.
19431         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
19432         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
19433         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
19434         alias.
19435         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
19436         __waitpid.
19437         (__waitpid): Don't define as alias.  Use libc_hidden_def not
19438         libc_hidden_weak.
19439         (waitpid): Define as alias of __waitpid.
19441 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
19443         * manual/llio.texi: Add comment that write safety has been
19444         fixed in Linux.
19446         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
19447         (localplt-build-dso): Add elf/ld.so.
19448         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
19449         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
19450         and free for ld.so.
19451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
19452         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
19453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
19454         Likewise.
19455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
19456         Likewise.
19457         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
19458         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
19459         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
19460         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
19461         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
19462         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
19463         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
19464         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
19465         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
19466         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
19467         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
19469 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
19471         [BZ #14132]
19472         * include/libc-symbols.h (INTUSE): Remove macro.
19473         (INTDEF): Likewise.
19474         (INTVARDEF): Likewise.
19475         (_INTVARDEF): Likewise.
19476         (INTDEF2): Likewise.
19477         (INTVARDEF2): Likewise.
19478         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
19479         rtld_hidden_def instead of INTVARDEF.
19480         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
19481         (_dl_starting_up_internal): Remove declaration.
19482         (_dl_starting_up): Use rtld_hidden_proto.
19483         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
19484         declaration.
19485         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
19486         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
19487         _dl_starting_up.
19488         * elf/dl-writev.h (_dl_writev): Likewise.
19489         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
19490         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
19491         _dl_starting_up_internal.
19493 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19495         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
19496         test-skeleton.c.
19498 2014-11-05  Will Newton  <will.newton@linaro.org>
19500         * benchtests/Makefile: (bench-malloc): Add malloc thread
19501         scalability benchmark.
19502         * benchtests/bench-malloc-threads.c: New file.
19504 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
19506         * sysdeps/aarch64/strchrnul.S: New file.
19508 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19510         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
19511         definition.
19512         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19513         Likwise.
19514         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19515         Likewise.
19516         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19517         Likewise.
19518         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19519         Likewise.
19520         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19521         Likewise.
19523 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
19525         * catgets/test-gencat.c: Use test-skeleton.c.
19526         * catgets/tst-catgets.c: Likewise.
19527         * csu/tst-empty.c: Likewise.
19528         * elf/tst-audit2.c: Likewise.
19529         * elf/tst-global1.c: Likewise.
19530         * elf/tst-pathopt.c: Likewise.
19531         * elf/tst-piemod1.c: Likewise.
19532         * elf/tst-tls10.c: Likewise.
19533         * elf/tst-tls11.c: Likewise.
19534         * elf/tst-tls12.c: Likewise.
19535         * gnulib/tst-gcc.c: Likewise.
19536         * iconvdata/tst-e2big.c: Likewise.
19537         * iconvdata/tst-loading.c: Likewise.
19538         * iconv/tst-iconv1.c: Likewise.
19539         * iconv/tst-iconv2.c: Likewise.
19540         * inet/test-inet6_opt.c: Likewise.
19541         * inet/tst-gethnm.c: Likewise.
19542         * inet/tst-network.c: Likewise.
19543         * inet/tst-ntoa.c: Likewise.
19544         * intl/tst-codeset.c: Likewise.
19545         * intl/tst-gettext2.c: Likewise.
19546         * intl/tst-gettext3.c: Likewise.
19547         * intl/tst-ngettext.c: Likewise.
19548         * intl/tst-translit.c: Likewise.
19549         * io/test-stat.c: Likewise.
19550         * libio/test-fmemopen.c: Likewise.
19551         * libio/tst-freopen.c: Likewise.
19552         * libio/tst-sscanf.c: Likewise.
19553         * libio/tst-ungetwc1.c: Likewise.
19554         * libio/tst-ungetwc2.c: Likewise.
19555         * libio/tst-widetext.c: Likewise.
19556         * localedata/tst-ctype.c: Likewise.
19557         * localedata/tst-digits.c: Likewise.
19558         * localedata/tst-leaks.c: Likewise.
19559         * localedata/tst-mbswcs1.c: Likewise.
19560         * localedata/tst-mbswcs2.c: Likewise.
19561         * localedata/tst-mbswcs3.c: Likewise.
19562         * localedata/tst-mbswcs4.c: Likewise.
19563         * localedata/tst-mbswcs5.c: Likewise.
19564         * localedata/tst-setlocale.c: Likewise.
19565         * localedata/tst-trans.c: Likewise.
19566         * localedata/tst-wctype.c: Likewise.
19567         * localedata/tst-xlocale1.c: Likewise.
19568         * login/tst-grantpt.c: Likewise.
19569         * malloc/tst-calloc.c: Likewise.
19570         * malloc/tst-malloc.c: Likewise.
19571         * malloc/tst-mallocstate.c: Likewise.
19572         * malloc/tst-mcheck.c: Likewise.
19573         * malloc/tst-mtrace.c: Likewise.
19574         * malloc/tst-obstack.c: Likewise.
19575         * math/atest-exp2.c: Likewise.
19576         * math/atest-exp.c: Likewise.
19577         * math/atest-sincos.c: Likewise.
19578         * math/test-matherr.c: Likewise.
19579         * math/test-misc.c: Likewise.
19580         * math/test-powl.c: Likewise.
19581         * math/tst-definitions.c: Likewise.
19582         * misc/tst-dirname.c: Likewise.
19583         * misc/tst-efgcvt.c: Likewise.
19584         * misc/tst-fdset.c: Likewise.
19585         * misc/tst-hsearch.c: Likewise.
19586         * misc/tst-mntent2.c: Likewise.
19587         * nptl/tst-sem7.c: Likewise.
19588         * nptl/tst-sem8.c: Likewise.
19589         * nptl/tst-sem9.c: Likewise.
19590         * nss/test-netdb.c: Likewise.
19591         * posix/tst-fnmatch.c: Likewise.
19592         * posix/tst-getlogin.c: Likewise.
19593         * posix/tst-gnuglob.c: Likewise.
19594         * posix/tst-mmap.c: Likewise.
19595         * pwd/tst-getpw.c: Likewise.
19596         * resolv/tst-inet_ntop.c: Likewise.
19597         * rt/tst-timer.c: Likewise.
19598         * stdio-common/test-fseek.c: Likewise.
19599         * stdio-common/test-popen.c: Likewise.
19600         * stdio-common/test-vfprintf.c: Likewise.
19601         * stdio-common/tst-cookie.c: Likewise.
19602         * stdio-common/tst-fileno.c: Likewise.
19603         * stdio-common/tst-gets.c: Likewise.
19604         * stdio-common/tst-obprintf.c: Likewise.
19605         * stdio-common/tst-perror.c: Likewise.
19606         * stdio-common/tst-sprintf2.c: Likewise.
19607         * stdio-common/tst-sprintf3.c: Likewise.
19608         * stdio-common/tst-sprintf.c: Likewise.
19609         * stdio-common/tst-swprintf.c: Likewise.
19610         * stdio-common/tst-tmpnam.c: Likewise.
19611         * stdio-common/tst-unbputc.c: Likewise.
19612         * stdio-common/tst-wc-printf.c: Likewise.
19613         * stdlib/tst-environ.c: Likewise.
19614         * stdlib/tst-fmtmsg.c: Likewise.
19615         * stdlib/tst-limits.c: Likewise.
19616         * stdlib/tst-rand48-2.c: Likewise.
19617         * stdlib/tst-rand48.c: Likewise.
19618         * stdlib/tst-random2.c: Likewise.
19619         * stdlib/tst-random.c: Likewise.
19620         * stdlib/tst-strtol.c: Likewise.
19621         * stdlib/tst-strtoll.c: Likewise.
19622         * stdlib/tst-tls-atexit.c: Likewise.
19623         * stdlib/tst-xpg-basename.c: Likewise.
19624         * string/test-ffs.c: Likewise.
19625         * string/tst-bswap.c: Likewise.
19626         * string/tst-inlcall.c: Likewise.
19627         * string/tst-strtok.c: Likewise.
19628         * string/tst-strxfrm.c: Likewise.
19629         * sysdeps/x86_64/tst-audit10.c: Likewise.
19630         * sysdeps/x86_64/tst-audit3.c: Likewise.
19631         * sysdeps/x86_64/tst-audit4.c: Likewise.
19632         * sysdeps/x86_64/tst-audit5.c: Likewise.
19633         * time/tst-ftime_l.c: Likewise.
19634         * time/tst-getdate.c: Likewise.
19635         * time/tst-mktime3.c: Likewise.
19636         * time/tst-mktime.c: Likewise.
19637         * time/tst-posixtz.c: Likewise.
19638         * time/tst-strptime2.c: Likewise.
19639         * time/tst-strptime3.c: Likewise.
19640         * wcsmbs/tst-btowc.c: Likewise.
19641         * wcsmbs/tst-mbrtowc.c: Likewise.
19642         * wcsmbs/tst-mbsrtowcs.c: Likewise.
19643         * wcsmbs/tst-wchar-h.c: Likewise.
19644         * wcsmbs/tst-wcpncpy.c: Likewise.
19645         * wcsmbs/tst-wcrtomb.c: Likewise.
19646         * wcsmbs/tst-wcsnlen.c: Likewise.
19647         * wcsmbs/tst-wcstof.c: Likewise.
19649 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
19651         [BZ #14132]
19652         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
19653         INTDEF.
19654         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
19655         declaration.
19656         (_dl_mcount): Use rtld_hidden_proto.
19657         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
19658         _dl_mcount.
19659         * elf/rtld.c (_rtld_global_ro): Likewise.
19661         [BZ #14132]
19662         * elf/dl-init.c (_dl_init): Don't use INTDEF.
19663         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
19664         of _dl_init_internal.
19665         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
19666         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
19667         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
19668         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
19669         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
19670         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
19671         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
19672         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
19673         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
19674         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
19675         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
19676         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
19677         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19678         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19679         * sysdeps/tile/dl-start.S (_start): Likewise.
19680         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
19681         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
19683         [BZ #14132]
19684         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
19685         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
19686         (rtld_progname): Make macro definition unconditional.
19687         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
19688         INTDEF.
19689         (dlmopen_doit): Do not use INTUSE with _dl_argv.
19690         (dl_main): Likewise.
19691         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19692         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
19693         instead of _dl_argv_internal.
19694         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19695         __GI__dl_argv instead of INTUSE(_dl_argv).
19696         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
19697         __GI__dl_argv instead of _dl_argv_internal.
19699         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
19700         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
19701         macro.
19702         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
19703         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
19704         New macro.
19705         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
19706         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
19707         macro.
19708         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
19709         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
19711 2014-11-04  Andreas Schwab  <schwab@suse.de>
19713         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
19715 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19717         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
19718         mtvsrd instruction in binary form.
19720 2014-11-03  Andreas Schwab  <schwab@suse.de>
19722         [BZ #17522]
19723         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
19724         for less than MB_LEN_MAX use a local buffer of that size.
19725         * libio/tst-fputws.c: New file.
19726         * libio/Makefile (tests): Add tst-fputws.
19728 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
19730         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
19731         the size of the fpu_fr.fpu_dregs[] array.
19733 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
19735         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
19736         (__nanosleep): Do not define as alias.
19737         (nanosleep): Define as alias of __nanosleep.
19738         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
19739         __libc_nanosleep name.
19741 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
19743         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
19744         install.texi in comment.
19746 2014-10-31  Torvald Riegel  <triegel@redhat.com>
19748         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
19749         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
19750         ... add here and use lwsync or sync ...
19751         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
19752         ... and add here using lwsync.
19754 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
19756         * elf/dl-machine-reject-phdr.h: New file.
19757         * elf/dl-load.c: #include that.
19758         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
19759         if that returned true.
19761 2014-10-31  Roland McGrath  <roland@hack.frob.com>
19763         [BZ #17496]
19764         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
19765         gen-as-const-headers chunk.  Add a big scare comment after the last
19766         safe place to touch before-compile.
19768 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
19770         * manual/install.texi (Tools for Compilation): Update autoconf
19771         version requirements.
19772         * INSTALL: Regenerated.
19774         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
19775         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
19776         (__libc_pselect): Likewise.
19778         [BZ #14138]
19779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
19780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19784 2014-10-31  Torvald Riegel  <triegel@redhat.com>
19786         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
19787         correct barrier instruction.
19788         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
19789         Likewise.
19790         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
19791         Likewise.
19793 2014-10-30  Roland McGrath  <roland@hack.frob.com>
19795         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
19796         after defining inlines.  Instead, just use parens to defeat macro
19797         expansion of __isctype in its declaration.
19799 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
19801         * include/sys/uio.h (__libc_readv): Remove declaration.
19802         (__libc_writev): Likewise.
19803         * misc/readv.c (__libc_readv): Rename to __readv.
19804         (__readv): Do not define as alias.
19805         (readv): Define as alias of __readv.
19806         * misc/writev.c (__libc_writev): Rename to __writev.
19807         (__writev): Do not define as alias.
19808         (writev): Define as alias of __writev.
19809         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
19810         (__readv): Do not define as alias.
19811         (readv): Define unconditionally as alias of __readv.
19812         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
19813         (__writev): Do not define as alias.
19814         (writev): Define unconditionally as alias of __writev.
19815         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
19816         name.
19817         (writev): Do not define __libc_writev name.
19819 2014-10-30  Roland McGrath  <roland@hack.frob.com>
19821         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
19822         (convert_charseq): New function, broken out of ...
19823         (use_from_charmap): ... here.  Call it.
19824         (use_to_charmap): Use convert_charseq and free instead of duplicating
19825         its code with a variable-length stack struct.
19827 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
19829         * include/fcntl.h (__libc_creat): Remove declaration.
19830         * io/creat.c (__libc_creat): Rename to creat.
19831         (creat): Do not define as alias.
19832         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
19833         of creat instead of __libc_creat.
19834         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
19835         to creat.
19836         (creat): Do not define as alias.
19837         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
19838         __libc_creat.
19839         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
19840         __libc_creat name.
19841         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
19842         Likewise.
19844 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
19846         * manual/llio.texi: Add comments discussing why write() may be
19847         considered MT-unsafe on Linux.
19849 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
19851         * dl-load.c (local_strdup): Remove.
19852         (expand_dynamic_string_token): Use __strdup.
19853         (decompose_rpath): Likewise.
19854         (_dl_map_object): Likewise.
19856 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
19858         [BZ #14132]
19859         * sysdeps/generic/unwind-dw2-fde.c
19860         (__register_frame_info_bases_internal): Do not declare.
19861         (__register_frame_info_table_bases_internal): Likewise.
19862         (__deregister_frame_info_bases_internal): Likewise.
19863         (__register_frame_info_bases): Declare and use hidden_proto before
19864         definition.  Use hidden_def instead of INTDEF.
19865         (__register_frame_info_table_bases): Likewise.
19866         (__deregister_frame_info_bases): Likewise.
19867         (__register_frame_info): Do not use INTUSE.
19868         (__register_frame): Likewise.
19869         (__register_frame_info_table): Likewise.
19870         (__register_frame_table): Likewise.
19871         (__deregister_frame_info): Likewise.
19872         (__deregister_frame): Likewise.
19874 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
19876         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19877         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
19878         not undefine.
19879         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
19880         Likewise.
19881         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
19882         Likewise.
19884 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
19886         [BZ #14138]
19887         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
19888         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
19889         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
19890         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
19891         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
19892         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
19893         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
19894         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
19895         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
19896         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
19897         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
19898         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
19899         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
19900         syscall.
19901         (setfsuid): Likewise.
19902         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
19903         (setfsuid): Likewise.
19904         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
19905         (setfsuid): Likewise.
19906         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
19907         Likewise.
19908         (setfsuid): Likewise.
19909         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
19910         (setfsuid): Likewise.
19911         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
19912         Likewise.
19913         (setfsuid): Likewise.
19915 2014-10-27  Andreas Schwab  <schwab@suse.de>
19917         [BZ #17501]
19918         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
19919         check for Slow_SSE4_2 feature bit.
19920         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
19921         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
19922         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
19923         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
19925 2014-10-24  Roland McGrath  <roland@hack.frob.com>
19927         * configure.ac: Validate compiler version with a empirical test of
19928         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
19929         $CC -v output.
19930         * configure: Regenerated.
19932         * inet/htons.c (htons): Prototypify.
19933         * inet/htonl.c (htonl): Likewise.
19935 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19937         * string/strncat.c (strncat): Improve performance by using strlen.
19939 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19941         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
19943 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19945         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
19946         Call libc_fetestexcept_aarch64.
19948 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19950         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
19951         Call libc_feholdexcept_aarch64.
19953 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19955         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
19956         Call get_rounding_mode.
19958 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19960         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
19961         Simplify logic.
19963 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19965         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
19966         Simplify logic.
19968 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
19970         [BZ #14138]
19971         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
19972         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
19973         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
19974         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
19975         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
19976         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
19977         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
19978         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
19979         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
19980         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
19981         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19982         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
19983         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
19984         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
19985         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
19986         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
19987         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
19988         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
19989         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
19990         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
19991         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
19992         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
19993         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
19994         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
19995         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
19996         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
19997         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
19998         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
19999         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
20000         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
20001         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
20002         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
20003         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
20004         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
20005         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
20006         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
20007         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
20008         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
20009         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
20010         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
20011         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
20012         syscall.
20013         (geteuid): Likewise.
20014         (getgid): Likewise.
20015         (getuid): Likewise.
20016         (getresgid): Likewise.
20017         (getresuid): Likewise.
20018         (getgroups): Likewise.
20019         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
20020         (geteuid): Likewise.
20021         (getgid): Likewise.
20022         (getuid): Likewise.
20023         (getresgid): Likewise.
20024         (getresuid): Likewise.
20025         (getgroups): Likewise.
20026         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
20027         (geteuid): Likewise.
20028         (getgid): Likewise.
20029         (getuid): Likewise.
20030         (getresgid): Likewise.
20031         (getresuid): Likewise.
20032         (getgroups): Likewise.
20033         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
20034         Likewise.
20035         (geteuid): Likewise.
20036         (getgid): Likewise.
20037         (getuid): Likewise.
20038         (getresgid): Likewise.
20039         (getresuid): Likewise.
20040         (getgroups): Likewise.
20041         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
20042         (geteuid): Likewise.
20043         (getgid): Likewise.
20044         (getuid): Likewise.
20045         (getresgid): Likewise.
20046         (getresuid): Likewise.
20047         (getgroups): Likewise.
20048         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
20049         Likewise.
20050         (geteuid): Likewise.
20051         (getgid): Likewise.
20052         (getuid): Likewise.
20053         (getgroups): Likewise.
20055         [BZ #14138]
20056         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
20057         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
20058         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
20059         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20060         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
20061         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
20062         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
20063         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
20064         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
20065         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
20066         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
20067         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
20068         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
20069         __chown.
20070         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
20071         (lchown): Likewise.
20072         (fchown): Likewise.
20073         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
20074         Likewise.
20075         (lchown): Likewise.
20076         (fchown): Likewise.
20077         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
20078         (lchown): Likewise.
20079         (fchown): Likewise.
20080         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
20081         Likewise.
20082         (lchown): Likewise.
20083         (fchown): Likewise.
20085 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20087         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
20088         Simplify logic.
20090 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20092         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
20093         Cleanup logic.
20095 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20097         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
20098         Remove unused include.
20100 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20102         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
20103         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
20104         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
20105         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
20107 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
20108             Helge Deller <deller@gmx.de>
20110         [BZ #17508]
20111         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
20112         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
20113         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
20115 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
20117         [BZ #14132]
20118         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
20119         Remove macro definition.
20120         (__ashrdi3_v_glibc20): Likewise.
20121         (__lshrdi3_v_glibc20): Likewise.
20122         (__cmpdi2_v_glibc20): Likewise.
20123         (__ucmpdi2_v_glibc20): Likewise.
20124         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
20125         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20126         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20127         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20128         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20129         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
20131 2014-10-22  Roland McGrath  <roland@hack.frob.com>
20133         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
20134         old GNU extension [0] syntax.
20135         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
20136         alloca rather than an array member with variable length.
20137         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
20138         * nscd/nscd.c (invalidate_db): New function, broken out of ...
20139         (parse_opt): ... here.  Likewise use alloca there.
20140         Validate the -i argument before checking for rootness.
20141         (send_shutdown): New function, broken out of ...
20142         (parse_opt): ... here.
20144 2014-10-22  Roland McGrath  <roland@hack.frob.com>
20146         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
20147         macro to get at the _rt_local_ro field.
20148         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
20149         ([PIC] case) or _dl_hwcap ([!PIC] case).
20150         * sysdeps/arm/setjmp.S: Likewise.
20152         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
20153         * sysdeps/arm/configure.ac: New check to define it.
20154         * sysdeps/arm/configure: Regenerated.
20155         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
20156         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
20157         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
20158         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
20159         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
20160         Use move/movt pair instead of a load.
20161         (LDST_GLOBAL): Macro removed.
20162         (LDR_GLOBAL): New macro replaces it.
20163         (LDR_HIDDEN): New macro.
20164         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
20165         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
20167         * setjmp/tst-setjmp-static.c: New file.
20168         * setjmp/Makefile (tests): Add it.
20169         (tests-static): New variable.
20171 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
20173         [BZ #17485]
20174         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
20176 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
20178         [BZ #14132]
20179         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
20181 2014-10-21  Roland McGrath  <roland@hack.frob.com>
20183         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
20185 2014-10-20  Roland McGrath  <roland@hack.frob.com>
20187         * io/fts.c (dirent_not_directory): New function.
20188         (fts_build): Call it.
20190 2014-10-20  Roland McGrath  <roland@hack.frob.com>
20192         * nptl/version.c (__nptl_main): Use normal __write rather than
20193         INTERNAL_SYSCALL.
20194         (banner): Update copyright years.
20196         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
20197         gettimeofday.
20198         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
20199         * nptl/pthread_cond_timedwait.c: Likewise.
20200         * nptl/pthread_mutex_timedlock.c: Likewise.
20201         * nptl/sem_timedwait.c: Likewise.
20203         * sysdeps/nptl/bits/libc-lock.h
20204         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
20205         (__libc_lock_init_recursive): Return void, not 0.
20206         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
20207         (__libc_rwlock_init): Likewise.
20208         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
20210 2014-10-20  Torvald Riegel  <triegel@redhat.com>
20212         [BZ #15215]
20213         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
20214         (__pthread_once_slow): ... here.
20215         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
20216         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
20218 2014-10-20  Torvald Riegel  <triegel@redhat.com>
20220         [BZ #15215]
20221         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
20222         __PTHREAD_ONCE_FORK_GEN_INCR): New.
20223         * sysdeps/nptl/fork.c (__libc_fork): Use them.
20224         * nptl/pthread_once.c (__pthread_once): Likewise.
20225         Update comments.
20227 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
20229         [BZ #14138]
20230         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
20231         name.
20232         (writev): Use __libc_writev as strong name.
20233         * sysdeps/unix/sysv/linux/readv.c: Remove file.
20234         * sysdeps/unix/sysv/linux/writev.c: Likewise.
20236 2014-10-17  Roland McGrath  <roland@hack.frob.com>
20238         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
20240         * sysdeps/i386/nptl/tls.h
20241         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
20242         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
20243         New macros.
20244         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
20245         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
20246         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
20247         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
20248         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
20249         Call CHECK_THREAD_SYSINFO instead of doing an assert.
20251         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
20252         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
20253         on [__NR_futex].
20254         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
20255         broken out of ...
20256         (__pthread_mutex_init): ... here.  Call it.
20257         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
20258         Conditionalize PI cases on [__NR_futex].
20259         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
20260         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
20261         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
20263         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
20264         conditional on [SIGSETXID].
20265         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
20266         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
20267         is defined.  Likewise for SIGSETXID.
20268         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
20269         Conditionalize definitions on [SIGSETXID].
20270         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
20271         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
20272         unblocking on [SIGCANCEL].
20274         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
20275         [__NR_set_robust_list].
20277 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20279         * string/strcoll_l.c (get_next_seq): Fix up formatting.
20280         (do_compare): Likewise.
20282 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
20284         [BZ #15884]
20285         * string/strcoll_l.c: Don't include stdio.h.
20286         (coll_seq): Remove members idxarr and rulearr.
20287         (get_next_seq_cached): Remove function.
20288         (get_next_seq): Likewise.
20289         (get_next_seq_nocache): Rename to get_next_seq.
20290         (do_compare): Remove function.
20291         (do_compare_nocache): Rename to do_compare.
20292         (STRCOLL): Remove weight and rules cache.
20294 2014-10-16  Roland McGrath  <roland@hack.frob.com>
20296         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
20297         * sysdeps/arm/sfp-machine.h: ... to here.
20298         * sysdeps/arm/Implies: Remove arm/soft-fp.
20300 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
20302         * conform/data/sys/utsname.h-data (*_t): Allow.
20303         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
20304         [POSIX] (WEXITED): Do not expect constant.
20305         [POSIX] (WSTOPPED): Likewise.
20306         [POSIX] (WNOHANG): Likewise.
20307         [POSIX] (WNOWAIT): Likewise.
20308         [POSIX] (siginfo_t): Do not expect type or elements.
20309         [POSIX] (pid_t): Do not expect type.
20310         [POSIX] (signal.h): Do not allow header.
20311         [POSIX] (sys/resource.h): Likewise.
20312         [POSIX] (si_*): Do not allow pattern.
20313         [POSIX] (W*): Likewise.
20314         [POSIX] (P_*): Likewise.
20315         [POSIX] (BUS_*): Likewise.
20316         [POSIX] (CLD_*): Likewise.
20317         [POSIX] (FPE_*): Likewise.
20318         [POSIX] (ILL_*): Likewise.
20319         [POSIX] (POLL_*): Likewise.
20320         [POSIX] (SEGV_*): Likewise.
20321         [POSIX] (SI_*): Likewise.
20322         [POSIX] (TRAP_*): Likewise.
20323         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
20324         variable.
20326 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
20328         [BZ #12926]
20329         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
20330         infinite loop when __recvmsg returns 0.
20332 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
20334         * CANCEL-FCT-WAIVE: Remove file.
20335         * CANCEL-FILE-WAIVE: Likewise.
20337         [BZ #14132]
20338         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
20339         instead of INTVARDEF.
20340         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
20341         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
20342         rtld_hidden_data_def instead of INTVARDEF.
20343         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
20344         * elf/dl-deps.c (expand_dst): Likewise.
20345         * elf/dl-load.c (_dl_dst_count): Likewise.
20346         (_dl_dst_substitute): Likewise.
20347         (decompose_rpath): Likewise.
20348         (_dl_init_paths): Likewise.
20349         (open_path): Likewise.
20350         (_dl_map_object): Likewise.
20351         * elf/rtld.c (dl_main): Likewise.
20352         (process_dl_audit): Likewise.
20353         (process_envvars): Likewise.
20354         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
20355         Remove declaration.
20356         (__libc_enable_secure): Use rtld_hidden_proto.
20358 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20360         * elf/dl-load.c
20361         (add_path): New function broken out of _dl_rtld_di_serinfo.
20362         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
20364 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
20366         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
20367         parentheses around macro arguments.
20368         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
20369         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
20370         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
20371         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
20372         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
20373         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
20374         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
20375         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
20376         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
20377         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
20378         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
20379         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
20380         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
20381         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
20382         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
20383         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
20384         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
20385         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
20386         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
20387         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
20388         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
20389         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
20390         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
20391         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
20392         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
20393         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
20394         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
20395         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
20396         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
20397         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
20398         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
20399         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
20400         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
20401         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
20402         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
20403         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
20404         Likewise.
20405         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
20406         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
20407         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
20408         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
20409         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
20410         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
20411         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
20412         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
20413         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
20414         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
20415         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
20416         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
20417         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
20418         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
20419         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
20420         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
20421         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
20422         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
20423         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
20424         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
20425         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
20426         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
20427         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
20428         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
20429         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
20430         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
20431         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
20432         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
20433         (_FP_FRAC_SRS_1): Likewise.
20434         (_FP_FRAC_CLZ_1): Likewise.
20435         (_FP_MUL_MEAT_1_imm): Likewise.
20436         (_FP_MUL_MEAT_1_wide): Likewise.
20437         (_FP_MUL_MEAT_1_hard): Likewise.
20438         (_FP_SQRT_MEAT_1): Likewise.
20439         (_FP_FRAC_ASSEMBLE_1): Likewise.
20440         (_FP_FRAC_DISASSEMBLE_1): Likewise.
20441         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
20442         (__FP_CLZ_2): Likewise.
20443         (_FP_MUL_MEAT_2_wide): Likewise.
20444         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
20445         (_FP_MUL_MEAT_2_gmp): Likewise.
20446         (_FP_MUL_MEAT_2_120_240_double): Likewise.
20447         (_FP_SQRT_MEAT_2): Likewise.
20448         (_FP_FRAC_ASSEMBLE_2): Likewise.
20449         (_FP_FRAC_DISASSEMBLE_2): Likewise.
20450         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
20451         (_FP_FRAC_CLZ_4): Likewise.
20452         (_FP_MUL_MEAT_4_wide): Likewise.
20453         (_FP_MUL_MEAT_4_gmp): Likewise.
20454         (_FP_SQRT_MEAT_4): Likewise.
20455         (_FP_FRAC_ASSEMBLE_4): Likewise.
20456         (_FP_FRAC_DISASSEMBLE_4): Likewise.
20457         * soft-fp/op-common.h (_FP_CMP): Likewise.
20458         (_FP_CMP_EQ): Likewise.
20459         (_FP_CMP_UNORD): Likewise.
20460         (_FP_TO_INT): Likewise.
20461         (_FP_FROM_INT): Likewise.
20462         [!__FP_CLZ] (__FP_CLZ): Likewise.
20463         (_FP_DIV_HELP_imm): Likewise.
20464         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
20465         Likewise.
20466         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
20467         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
20468         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
20469         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
20470         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
20471         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
20472         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
20473         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
20474         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
20475         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
20476         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
20477         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
20478         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
20479         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
20480         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
20481         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
20482         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
20483         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
20484         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
20485         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
20486         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
20487         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
20488         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
20489         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
20490         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
20491         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
20492         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
20493         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
20494         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
20495         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
20496         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
20497         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
20498         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
20499         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
20500         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
20501         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
20502         (FP_UNPACK_RAW_SP): Likewise.
20503         (FP_PACK_RAW_S): Likewise.
20504         (FP_PACK_RAW_SP): Likewise.
20505         (FP_UNPACK_S): Likewise.
20506         (FP_UNPACK_SP): Likewise.
20507         (FP_UNPACK_SEMIRAW_S): Likewise.
20508         (FP_UNPACK_SEMIRAW_SP): Likewise.
20509         (FP_PACK_S): Likewise.
20510         (FP_PACK_SP): Likewise.
20511         (FP_PACK_SEMIRAW_S): Likewise.
20512         (FP_PACK_SEMIRAW_SP): Likewise.
20513         (_FP_SQRT_MEAT_S): Likewise.
20514         (FP_CMP_S): Likewise.
20515         (FP_CMP_EQ_S): Likewise.
20516         (FP_CMP_UNORD_S): Likewise.
20517         (FP_TO_INT_S): Likewise.
20518         (FP_FROM_INT_S): Likewise.
20520         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
20522         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
20523         (FP_EX_INVALID_IMZ): Likewise.
20524         (FP_EX_INVALID_IMZ_FMA): Likewise.
20525         (FP_EX_INVALID_ISI): Likewise.
20526         (FP_EX_INVALID_ZDZ): Likewise.
20527         (FP_EX_INVALID_IDI): Likewise.
20528         (FP_EX_INVALID_SQRT): Likewise.
20529         (FP_EX_INVALID_CVI): Likewise.
20530         (FP_EX_INVALID_VC): Likewise.
20531         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
20532         "invalid" exceptions.
20533         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
20534         (_FP_ADD_INTERNAL): Likewise.
20535         (_FP_MUL): Likewise.
20536         (_FP_FMA): Likewise.
20537         (_FP_DIV): Likewise.
20538         (_FP_CMP_CHECK_NAN): Likewise.
20539         (_FP_SQRT): Likewise.
20540         (_FP_TO_INT): Likewise.
20541         (FP_EXTEND): Likewise.
20543 2014-10-09  Allan McRae  <allan@archlinux.org>
20545         * po/fr.po: Update French translation from translation project.
20547 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
20549         [BZ #14132]
20550         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
20551         of INTDEF.
20552         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
20553         (__cxa_atexit): Use libc_hidden_proto.
20554         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
20556         [BZ #14132]
20557         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
20558         declaration.
20559         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
20560         [!_ISOMAC] (__iswspace_l_internal): Likewise.
20561         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
20562         [!_ISOMAC] (__iswctype_internal): Likewise.
20563         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
20564         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
20565         alias.
20566         (fcntl): Remove __fcntl_internal alias.
20567         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
20568         __connect_internal alias.
20569         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
20570         Likewise.
20572         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
20573         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
20574         FP_DENORM_ZERO.
20575         (_FP_CHECK_FLUSH_ZERO): New macro.
20576         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
20577         (_FP_CMP): Likewise.
20578         (_FP_CMP_EQ): Likewise.
20579         (_FP_TO_INT): Do not set inexact for subnormal arguments if
20580         FP_DENORM_ZERO.
20581         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
20582         (FP_TRUNC): Likewise.
20584         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
20585         treated as invalid conversion, not as normal exponent.
20587         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
20588         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
20589         (_FP_CMP_EQ): Likewise.
20590         (_FP_CMP_UNORD): Likewise.
20591         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
20592         (FP_CMP_EQ_D): Likewise.
20593         (FP_CMP_UNORD_D): Likewise.
20594         * soft-fp/extended.h (FP_CMP_E): Likewise.
20595         (FP_CMP_EQ_E): Likewise.
20596         (FP_CMP_UNORD_E): Likewise.
20597         * soft-fp/quad.h (FP_CMP_Q): Likewise.
20598         (FP_CMP_EQ_Q): Likewise.
20599         (FP_CMP_UNORD_Q): Likewise.
20600         * soft-fp/single.h (FP_CMP_S): Likewise.
20601         (FP_CMP_EQ_S): Likewise.
20602         (FP_CMP_UNORD_S): Likewise.
20603         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
20604         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
20605         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
20606         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
20607         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
20608         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
20609         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
20610         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
20611         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
20612         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
20613         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
20614         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
20615         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
20616         to FP_CMP_Q.
20617         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
20618         FP_CMP_Q.
20619         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
20620         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
20621         FP_CMP_EQ_Q.
20622         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
20623         FP_CMP_Q.
20624         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
20625         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
20626         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
20627         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
20628         FP_CMP_EQ_Q.
20629         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
20630         FP_CMP_Q.
20631         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
20632         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
20633         FP_CMP_EQ_Q.
20634         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
20635         FP_CMP_Q.
20636         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
20637         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
20638         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
20639         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
20640         FP_CMP_EQ_Q.
20642         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
20643         a subnormal result, set the underflow exception if trapping on
20644         underflow is enabled.
20645         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
20646         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
20647         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
20648         redefine to 0.
20649         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
20650         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
20651         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
20652         * soft-fp/extendxftf2.c (__extendxftf2): Use
20653         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
20655         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
20656         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
20657         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20658         FP_HANDLE_EXCEPTIONS.
20659         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
20660         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20661         FP_HANDLE_EXCEPTIONS.
20662         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
20663         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20664         FP_HANDLE_EXCEPTIONS.
20665         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
20666         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20667         FP_HANDLE_EXCEPTIONS.
20669 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
20671         [BZ #14132]
20672         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
20673         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
20674         use INTUSE.
20675         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
20676         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
20677         Remove alias.
20678         (__adjtimex): Define using libc_hidden_ver.
20679         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
20680         Remove declaration.
20681         (ntp_gettime): Call __adjtimex directly.
20682         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
20683         Remove declaration.
20684         (ntp_gettimex): Call __adjtimex directly.
20685         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
20686         __adjtimex_internal alias.
20688 2014-10-08  Roland McGrath  <roland@hack.frob.com>
20690         [BZ #17460]
20691         * nscd/nscd.c (more_help): Rewrite list of tables collection
20692         using xstrdup and asprintf.
20694         * nscd/nscd_conf.c: Remove local xstrdup declaration.
20696 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20697             Roland McGrath  <roland@hack.frob.com>
20699         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
20700         (do_lookup_unique): ... local function 'enter' here; update callers.
20702 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
20704         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
20705         compat_symbol calls on [SHARED].
20706         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
20707         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
20708         Remove.
20709         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20710         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
20711         (oldsetrlimit): Remove.
20712         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
20714         (lchown): New syscall entry.
20715         (oldsetrlimit): Remove.
20716         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20717         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
20718         (oldsetrlimit): Remove.
20719         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20721         [BZ #14138]
20722         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
20723         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
20724         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
20725         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
20726         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
20727         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
20728         (fchown): Likewise.
20729         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
20730         (fchown): Likewise.
20731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
20732         Likewise.
20734 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20736         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
20737         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
20738         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
20739         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
20740         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
20741         Likewise.
20742         (__old_sem_post): Likewise.
20744 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
20746         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
20747         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
20748         HAVE_CLOCK_GETTIME_VSYSCALL macros.
20749         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
20750         Use INLINE_VSYSCALL macro.
20751         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
20752         __vdso_clock_gettime.
20753         * sysdeps/unix/sysv/linux/tile/init-first.c
20754         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
20755         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
20756         __vdso_clock_gettime.
20758         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
20759         to set up frame more cleanly.
20761         * sysdeps/tile/memcmp.c: New file.
20763         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
20765         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
20766         * sysdeps/tile/tilegx/strcasestr.c: New file.
20767         * sysdeps/tile/tilegx/strnlen.c: New file.
20768         * sysdeps/tile/tilegx/strstr.c: New file.
20770         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
20772 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
20774         * nptl/tst-setuid3.c: Write errors to stdout.
20776 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20778         * elf/dl-deps.c
20779         (preload): New functions broken out of _dl_map_object_deps.
20780         (_dl_map_object_deps):  Remove a nested function. Update call sites.
20782 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
20784         [BZ #14138]
20785         * sysdeps/unix/sysv/linux/execve.c: Remove file.
20786         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
20788 2014-10-01  Steve Ellcey  <sellcey@mips.com>
20790         * sysdeps/mips/strcmp.S: New.
20792 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
20794         [BZ #14138]
20795         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
20796         (linkat): Likewise.
20797         (mkdirat): Likewise.
20798         (readlinkat): Likewise.
20799         (renameat): Likewise.
20800         (symlinkat): Likewise.
20801         (unlinkat): Likewise.
20802         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
20803         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
20804         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
20805         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
20806         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
20807         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
20808         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
20810 2014-09-30  Will Newton  <will.newton@linaro.org>
20812         * math/math.h: Define long double math functions if
20813         _LIBC_TEST is defined.
20814         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
20816         * localedata/Makefile: Move assignment to tests-special
20817         into an ifdef testing run-built-tests.
20818         * timezone/Makefile: Likewise.
20820 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
20822         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
20823         with $(BASH) not $(SHELL).
20825 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
20826             Matthew LeGendre  <legendre1@llnl.gov>
20828         [BZ #17411]
20829         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
20830         l_reloc_result.
20832 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20834         * stdio-common/printf_fp.c
20835         (hack_digit): New function, broken out of ...
20836         (__printf_fp): ... local function here.  Update call sites.
20837         hack_digit now takes an additional parameter that is a pointer
20838         to a struct of the referenced locals.  Those locals moved inside
20839         the struct and references updated.
20841 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
20843         * aclocal.m4: Require autoconf 2.69.
20844         * configure: Regenerated.
20845         * sysdeps/aarch64/configure: Likewise.
20846         * sysdeps/alpha/configure: Likewise.
20847         * sysdeps/arm/armv7/configure: Likewise.
20848         * sysdeps/arm/configure: Likewise.
20849         * sysdeps/ia64/configure: Likewise.
20850         * sysdeps/mach/configure: Likewise.
20851         * sysdeps/mips/configure: Likewise.
20852         * sysdeps/s390/configure: Likewise.
20853         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
20854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
20856         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
20857         file.
20858         * sysdeps/ia64/configure.ac: Likewise.
20860 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
20862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
20863         specify symbol version for ld.so.  Do not include entry for
20864         libpthread.
20865         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
20866         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
20867         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
20869         [BZ #14171]
20870         * Makeconfig [$(build-shared) = yes]
20871         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
20872         makefiles.
20873         [$(build-shared) = yes && $(soversions.mk-done) = t]
20874         ($(common-objpfx)gnu/lib-names.h): Remove rule.
20875         [$(build-shared) = yes && $(soversions.mk-done) = t]
20876         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
20877         to Makerules.
20878         [$(build-shared) = yes && $(soversions.mk-done) = t]
20879         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
20880         here.
20881         [$(build-shared) = yes && $(soversions.mk-done) = t]
20882         (common-generated): Don't append gnu/lib-names.h and
20883         gnu/lib-names.stmp here.
20884         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
20885         (lib-names-h-abi): New variable.
20886         [$(build-shared) = yes && $(soversions.mk-done) = t]
20887         (lib-names-stmp-abi): Likewise.
20888         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20889         abi-variants] (before-compile): Append
20890         $(common-objpfx)$(lib-names-h-abi).
20891         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20892         abi-variants] (common-generated): Append gnu/lib-names.h.
20893         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20894         abi-variants] (install-others-nosubdir): Depend on
20895         $(inst_includedir)/$(lib-names-h-abi).
20896         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20897         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
20898         [$(build-shared) = yes && $(soversions.mk-done) = t]
20899         ($(common-objpfx)$(lib-names-h-abi)): New rule.
20900         [$(build-shared) = yes && $(soversions.mk-done) = t]
20901         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
20902         [$(build-shared) = yes && $(soversions.mk-done) = t]
20903         (common-generated): Append $(lib-names-h-abi) and
20904         $(lib-names-stmp-abi).
20905         * scripts/lib-names.awk: Do not handle multi being set.
20906         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
20907         Remove variable.
20908         (abi-lp64_be-ld-soname): Likewise.
20909         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
20910         Likewise.
20911         (abi-hard-ld-soname): Likewise.
20912         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
20913         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
20914         Remove variable.
20915         (abi-o32_hard-ld-soname): Likewise.
20916         (abi-o32_soft_2008-ld-soname): Likewise.
20917         (abi-o32_hard_2008-ld-soname): Likewise.
20918         (abi-n32_soft-ld-soname): Likewise.
20919         (abi-n32_hard-ld-soname): Likewise.
20920         (abi-n32_soft_2008-ld-soname): Likewise.
20921         (abi-n32_hard_2008-ld-soname): Likewise.
20922         (abi-n64_soft-ld-soname): Likewise.
20923         (abi-n64_hard-ld-soname): Likewise.
20924         (abi-n64_soft_2008-ld-soname): Likewise.
20925         (abi-n64_hard_2008-ld-soname): Likewise.
20926         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
20927         Likewise.
20928         (abi-64-v2-ld-soname): Likewise.
20929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
20930         ld.so entries.
20931         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
20932         variable.
20933         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
20934         entry.
20935         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
20936         variable.
20937         (abi-64-ld-soname): Likewise.
20938         (abi-x32-ld-soname): Likewise.
20939         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
20940         entry.
20941         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
20943 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
20945         [BZ #14138]
20946         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
20947         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
20948         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
20949         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
20950         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
20951         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
20952         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
20953         syscall entry for GLIBC_2.2 symbol version.
20954         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
20955         Likewise.
20956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
20957         (setrlimit): Likewise.
20958         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
20959         Likewise.
20961 2014-09-23  Will Newton  <will.newton@linaro.org>
20963         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
20964         _LINUX_ARM_SYSDEP_H include guard too.
20965         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
20966         define.
20968 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
20970         * sysdeps/unix/sysv/linux/eventfd.c:
20971         Make first argument unsigned.
20972         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
20973         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
20975 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
20977         * socket/recvmmsg.c (recvmmsg): Drop const argument.
20978         * socket/sys/socket.h: Likewise
20979         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
20981 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20983         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
20985 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
20987         * time/tst-ftime.c: New test.
20988         * time/Makefile (tests): Add tst-ftime.
20990 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
20992         * soft-fp/extended.h: Fix comment formatting.
20993         * soft-fp/op-1.h: Likewise.
20994         * soft-fp/op-2.h: Likewise.
20995         * soft-fp/op-4.h: Likewise.
20996         * soft-fp/op-8.h: Likewise.
20997         * soft-fp/op-common.h: Likewise.
20998         * soft-fp/soft-fp.h: Likewise.
21000         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
21002 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
21004         [BZ #6652]
21005         * Makeconfig (soversions-default-setname): Remove variable.
21006         ($(common-objpfx)soversions.i): Don't pass default_setname to
21007         soversions.awk.
21008         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
21009         oldest_abi to abi-versions.awk.
21010         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
21011         * config.make.in (oldest-abi): Remove variable.
21012         * configure.ac (--enable-oldest-abi): Remove configure option.
21013         * configure: Regenerated.
21014         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
21015         text.
21016         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
21017         * scripts/soversions.awk: Do not handle default_setname variable.
21018         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
21019         variable.
21020         * sysdeps/mach/hurd/configure: Regenerated.
21021         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
21022         variable.
21023         * sysdeps/unix/sysv/linux/configure: Regenerated.
21025 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21027         * elf/Makefile (CFLAGS-interp.c): Remove.
21028         ($(elf-objpfx)runtime-linker.h): Generate header with linker
21029         path string.
21030         * elf/interp.c: Include generated runtime-linker.h
21032         * Makerules (lib%.so): Don't include $(+interp) in
21033         prerequisites.
21034         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
21035         * dlfcn/eval.c: Remove file.
21037         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
21038         macros.
21040         [BZ #17266]
21041         * misc/sys/cdefs.h: Define __extern_always_inline for clang
21042         4.2 and newer.
21044         [BZ #17370]
21045         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
21047 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21048             Jakub Jelinek  <jakub@redhat.com>
21050         [BZ #17266]
21051         * libio/stdio.h: Check definition of __fortify_function
21052         instead of __extern_always_inline to include bits/stdio2.h.
21053         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
21054         check if __extern_always_inline is defined.
21055         [__USE_MISC || __USE_XOPEN]: Likewise.
21056         [__USE_ISOC99] Likewise.
21057         * misc/sys/cdefs.h (__fortify_function): Define only if
21058         __extern_always_inline is defined.
21059         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
21060         __extern_always_inline and __extern_inline only for g++-4.3
21061         and newer or a compatible gcc.
21063 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
21065         [BZ #17371]
21066         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
21067         last change to handle zero prefix length.
21069 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21071         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
21072         _SC_REGEX_VERSION.
21074         * posix/getconf.c (vars): Add _POSIX_IPV6 and
21075         _POSIX_RAW_SOCKETS.
21077 2014-09-13  Allan McRae  <allan@archlinux.org>
21079         * po/ru.po: Update Russian translation from translation project.
21081 2014-09-12  Roland McGrath  <roland@hack.frob.com>
21083         * locale/programs/locale.c (show_locale_vars): Inline local function
21084         into its sole call site.  Clean up some style nits.
21085         (print_item): New function, broken out of ...
21086         (show_info): ... local function here.  Clean up style nits.
21088         * locale/programs/ld-ctype.c (set_one_default): New function, broken
21089         out of ...
21090         (set_class_defaults): ... local function set_default here.
21091         Define set_default as a macro locally to pass constant parameters.
21092         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
21093         rather than a shared local.
21095         * stdlib/rpmatch.c (try): New function, broken out of ...
21096         (rpmatch): ... local function here.  Also, prototypify definition.
21098 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
21100         * scripts/soversions.awk: Do not handle configuration names.
21101         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
21102         vendor and os variables to soversions.awk.
21103         * configure.ac: Do not modify gnu-* host_os.
21104         * configure: Regenerated
21105         * shlib-versions: Remove first column with configuration names.
21106         * nptl/shlib-versions: Likewise.
21107         * nptl_db/shlib-versions: Likewise.
21108         * sysdeps/hppa/shlib-versions: Likewise.
21109         * sysdeps/m68k/shlib-versions: Likewise.
21110         * sysdeps/mach/hurd/shlib-versions: Likewise.
21111         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
21112         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
21113         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
21114         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
21115         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
21116         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
21117         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
21118         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
21119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
21120         Likewise.
21121         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21122         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
21123         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
21124         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
21125         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
21126         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
21127         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
21128         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
21131         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
21132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
21133         Regenerated.
21134         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
21135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
21136         Condition symbol version definitions on [HAVE_ELFV2_ABI].
21138         * shlib-versions: Remove OS-specific entries.  Moved to files in
21139         sysdeps.
21140         * sysdeps/mach/hurd/shlib-versions: New file.
21141         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
21143         * nptl/shlib-versions: Remove architecture-specific entries.
21144         Moved to files in sysdeps.
21145         * shlib-versions: Likewise.
21146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
21147         file.
21148         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21149         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
21150         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
21151         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
21153         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
21154         (UDP_NO_CHECK6_RX): Likewise.
21156 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21158         * sysdeps/posix/sysconf.c (__sysconf): Spell
21159         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
21161 2014-08-12  Florian Weimer  <fweimer@redhat.com>
21163         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
21164         loading.
21165         * iconv/Versions (__gconv_transliterate): Export for use from
21166         gconv modules.
21167         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
21168         (struct __gconv_trans_data, __gconv_trans_fct,
21169         __gconv_trans_context_fct, __gconv_trans_query_fct,
21170         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
21171         definitions.
21172         (struct __gconv_step_data): Remove __trans member.
21173         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
21174         longer hidden.  Remove unused trans_data argument.
21175         * iconv/gconv_int.h (struct trans_struct): Remove definition.
21176         (__gconv_translit_find): Remove declaration.
21177         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
21178         prototype.
21179         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
21180         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
21181         trans_data argument.  Add hidden definition.
21182         (__gconv_translit_find): Remove.
21183         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
21184         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
21185         * iconv/skeleton.c: Remove transliteration initialization.
21186         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
21187         __gconv_step_data initialization.
21188         * libio/iofwide.c (__libio_translit_): Remove.
21189         (_IO_fwide): Adjust struct __gconv_step_data initialization.
21190         * wcsmbs/btowc.c (__btowc): Likewise.
21191         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21192         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
21193         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
21194         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
21195         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
21196         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
21197         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
21198         * wcsmbs/wctob.c (wctob): Likewise.
21200 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21202         [BZ #16194]
21203         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
21204         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
21205         register usage.
21206         * sysdeps/x86/Makefile: Adjust.
21208 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21209             Roland McGrath  <roland@hack.frob.com>
21211         * locale/weight.h: Add include guard.
21212         (findidx): Make static rather than auto; take new parameters
21213         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
21214         * locale/weightwc.h: Likewise.
21215         * posix/fnmatch_loop.c
21216         (FCT): Change type of EXTRA from int32_t to wint_t.
21217         Don't include either header inside the function.
21218         Call FINDIDX rather than findidx, and pass new arguments.
21219         #undef FINDIDX at the end of the file.
21220         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
21221         FINDIDX before including fnmatch_loop.c for the non-wide version.
21222         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
21223         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
21224         for the wide version.
21225         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
21226         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
21227         Pass new arguments to findidx.
21228         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
21229         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
21230         Don't #include it inside the function.  Pass new arguments to findidx.
21231         * posix/regex_internal.h
21232         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
21233         (re_string_elem_size_at): Don't #include it inside the function.
21234         Pass new arguments to findidx.
21235         * string/strcoll_l.c: #include WEIGHT_H at top level.
21236         (get_next_seq): Don't #include it inside the function.
21237         Pass new arguments to findidx.
21238         (get_next_seq_nocache): Likewise.
21239         * string/strxfrm_l.c: #include WEIGHT_H at top level.
21240         (STRXFRM): Don't #include it inside the function.
21241         Pass new arguments to findidx.
21243 2014-09-11  Florian Weimer  <fweimer@redhat.com>
21245         [BZ #17344]
21246         * malloc/malloc.c (unlink): Turn asserts into a call to
21247         malloc_printerr.
21249 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
21251         [BZ #17370]
21252         * libio/wfileops (do_ftell_wide): Free OUT.
21254 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
21256         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
21258 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21260         [BZ #17363]
21261         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
21262         group if the current group is empty.
21264 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21266         * benchtests/bench-memset.c (test_main): Add more test from size
21267         from 32 to 512 bytes.
21268         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21269         Add POWER8 memset object.
21270         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21271         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
21272         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
21273         implementation.
21274         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
21275         Likewise.
21276         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
21277         multiarch POWER8 memset optimization.
21278         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
21279         POWER8 memset optimization.
21281         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21282         Remove bzero multiarch objects.
21283         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
21284         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
21285         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
21286         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
21287         Remove define.
21288         [__bzero]: Redefine to specific name.
21289         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
21290         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
21291         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
21292         define.
21293         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21294         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21296 2014-09-10  Florian Weimer  <fweimer@redhat.com>
21298         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
21299         warnings into errors.
21301         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
21302         __cxa_thread_atexit_impl prototype.
21304 2014-09-09  Steve Ellcey  <sellcey@mips.com>
21306         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
21307         Fix capitalization of error message.
21309 2014-09-09  Steve Ellcey  <sellcey@mips.com>
21311         * sysdeps/mips/preconfigure: Modify ABI tests.
21313 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
21315         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
21317 2014-09-07  Roland McGrath  <roland@hack.frob.com>
21318             Carlos O'Donell  <carlos@systemhalted.org>
21320         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
21321         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
21322         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
21323         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
21324         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
21325         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
21326         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
21327         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
21328         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
21329         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
21330         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
21331         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
21332         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
21333         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
21334         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
21335         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
21336         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
21337         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
21338         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
21339         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
21340         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
21341         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
21342         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
21343         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
21344         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
21345         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
21346         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
21347         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
21348         Deconditionalize the code that was previously under [RESET_PID].
21349         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
21350         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
21351         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
21352         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
21353         include sysdep.h.
21355 2014-09-08  Allan McRae  <allan@archlinux.org>
21357         * version.h (RELEASE): Set to "development".
21358         (VERSION): Set to "2.20.90"
21360 2014-09-07  Allan McRae  <allan@archlinux.org
21362         * version.h (RELEASE): Set to "stable".
21363         (VERSION): Set to "2.20"
21364         * include/features.h (__GLIBC_MINOR__): Set to 20.
21366         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
21367         Liebler.
21369         * po/ko.po: Update Korean translation from translation project.
21371 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
21373         [BZ #17354]
21374         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
21375         macro for handling signed relocations.
21377 2014-09-03  Florian Weimer  <fweimer@redhat.com>
21379         [BZ #17325]
21380         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
21381         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
21382         assert.
21383         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
21384         * iconvdata/ibm935.c (BODY): Likewise.
21385         * iconvdata/ibm937.c (BODY): Likewise.
21386         * iconvdata/ibm939.c (BODY): Likewise.
21387         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
21388         assert.
21389         * iconvdata/Makefile (iconv-test.out): Pass module list to test
21390         script.
21391         * iconvdata/run-iconv-test.sh: New test loop for checking for
21392         decoder crashers.
21394 2014-09-02  Khem Raj  <raj.khem@gmail.com>
21396         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
21397         libm_hidden_ver.
21399 2014-09-01  Allan McRae  <allan@archlinux.org>
21401         * po/eo.po: Update Esperanto translation from translation project.
21403         * po/ca.po: Update Catalan translation from translation project.
21405 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21407         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
21408         __proc_dostop call.
21410 2014-08-27  Mark Wielaard  <mjw@redhat.com>
21412         [BZ #17319]
21413         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
21414         to call set_thread_area instead of hand written asm.
21415         (__NR_set_thread_area): Removed define.
21416         (TLS_FLAG_WRITABLE): Likewise.
21417         (__ASSUME_SET_THREAD_AREA): Remove check.
21418         (TLS_EBX_ARG): Remove define.
21419         (TLS_LOAD_EBX): Likewise.
21421 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21423         Simplify atomicity of socket creation in bind.
21425         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
21426         looking up the name after linking the file.
21428 2014-08-27  Allan McRae  <allan@archlinux.org>
21430         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21432 2014-08-26  Florian Weimer  <fweimer@redhat.com>
21434         [BZ #17187]
21435         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
21436         trans_compare, open_translit, __gconv_translit_find):
21437         Remove module loading code.
21439 2014-08-26  Allan McRae  <allan@archlinux.org>
21441         * po/vi.po: Update Vietnamese translation from translation project.
21443         * po/uk.po: Update Ukrainian translation from translation project.
21445         * po/fr.po: Update French translation from translation project.
21447         * po/ru.po: Update Russian translation from translation project.
21449         * po/pl.po: Update Polish translation from translation project.
21451         * po/cs.po: Update Czech translation from translation project.
21453         * po/de.po: Update German translation from translation project.
21455         * po/bg.po: Update Bulgarian translation from translation project.
21457         * po/sv.po: Update Sweedish translation from translation project.
21459         * po/nl.po: Update Dutch translation from translation project.
21461         * po/es.po: Update Spanish translation from translation project.
21463 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21465         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
21467         * catgets/Makefile (CPPFLAGS-gencat): Remove.
21468         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
21469         (CPPFLAGS-iconvconfig): Likewise.
21470         * timezone/Makefile (CPPFLAGS-zic): Likewise.
21472         * include/libc-symbols.h: Remove unnecessary check for
21473         NOT_IN_libc.
21474         * nptl/pthreadP.h: Likewise.
21475         * sysdeps/aarch64/setjmp.S: Likewise.
21476         * sysdeps/alpha/setjmp.S: Likewise.
21477         * sysdeps/arm/sysdep.h: Likewise.
21478         * sysdeps/i386/setjmp.S: Likewise.
21479         * sysdeps/m68k/setjmp.c: Likewise.
21480         * sysdeps/posix/getcwd.c: Likewise.
21481         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21482         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
21483         * sysdeps/s390/s390-32/setjmp.S: Likewise.
21484         * sysdeps/s390/s390-64/setjmp.S: Likewise.
21485         * sysdeps/sh/sh3/setjmp.S: Likewise.
21486         * sysdeps/sh/sh4/setjmp.S: Likewise.
21487         * sysdeps/unix/alpha/sysdep.h: Likewise.
21488         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
21489         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21490         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
21491         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21494         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21495         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21496         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21497         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21498         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21499         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
21500         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21501         * sysdeps/x86_64/setjmp.S: Likewise.
21503 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
21505         [BZ #17263]
21506         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
21507         <stdint.h>.
21508         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
21509         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
21511 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21513         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
21515         [BZ #17262]
21516         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
21517         and __x86_64__ when disabling x87 inline functions.
21519 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
21521         [BZ #17259]
21522         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
21523         asm statement with __cpuid_count.
21525 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
21527         * configure.ac: Change __ehdr_start code to dereference the struct.
21528         Run readelf on the output to look for relocations.
21529         * configure: Regenerated.
21531 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
21533         [BZ #17261]
21534         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
21535         value to 0.
21536         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
21538 2014-08-12  Roland McGrath  <roland@hack.frob.com>
21540         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
21542 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
21544         [BZ #16892]
21545         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
21546         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
21548 2014-08-12  Sean Anderson  <seanga2@gmail.com>
21550         * malloc/malloc.c: Fix typo in comment.
21552 2014-08-09  Allan McRae  <allan@archlinux.org>
21554         * Regenerate libc.po.
21556 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
21558         * intl/tst-gettext2.sh: Check every lang file for creation.
21560 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
21562         * sysdeps/aarch64/fpu/math_private.h
21563         (libc_feholdsetround_noex_aarch64_ctx): New function.
21565 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
21567         * sysdeps/arm/armv6/strcpy.S (strcpy):
21568         Fix performance issue in misaligned cases.
21570 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21572         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
21573         Move definition from termios.h.
21574         (struct termio): Likewise.
21575         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
21576         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
21577         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
21578         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
21579         Likewise.
21580         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
21581         Move definition to ioctl-types.h
21582         (struct termio): Likewise.
21583         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
21584         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
21585         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
21586         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
21587         Likewise.
21589 2014-08-05  Richard Henderson  <rth@redhat.com>
21591         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
21592         exceptions.
21593         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
21594         Add fraiseexcpt.
21595         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
21596         Use __feraiseexcept.
21597         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
21598         Protect libm symbols with IS_IN_libm.
21600         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
21602 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
21604         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
21606 2014-08-04  Will Newton  <will.newton@linaro.org>
21608         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
21609         file.
21611 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
21613         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
21614         variants for each function.
21616 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21618         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
21619         appended ...
21620         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
21621         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
21622         appended ...
21623         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
21624         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
21625         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
21626         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
21627         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
21628         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
21629         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
21630         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
21631         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
21632         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
21633         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
21634         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
21635         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
21636         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
21637         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
21638         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
21639         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
21640         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
21641         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
21642         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
21643         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
21644         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
21645         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
21646         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
21647         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
21648         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
21649         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
21650         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
21651         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
21652         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
21653         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
21654         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
21655         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
21656         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
21657         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
21658         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
21659         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
21660         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
21661         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
21662         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
21663         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
21664         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
21665         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
21666         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
21667         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
21668         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
21669         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
21670         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
21671         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
21672         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
21673         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
21674         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
21675         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
21676         Update #include.
21677         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
21678         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
21680 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21682         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
21683         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
21684         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
21685         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
21686         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
21687         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
21689 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21691         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
21692         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
21693         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21694         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
21696 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21698         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
21699         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
21700         (__libc_vfork): Define function under this name.
21701         (__vfork): Define as an alias.
21702         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
21703         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
21705 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21707         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
21708         that was previously under [RESET_PID].
21709         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
21711 2014-08-04  Andreas Schwab  <schwab@suse.de>
21713         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
21715 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
21717         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
21718         (main): Likewise.
21720 2014-08-01  Roland McGrath  <roland@hack.frob.com>
21722         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
21724 2014-08-01  Richard Henderon  <rth@redhat.com>
21726         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
21727         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
21728         typo in exact zero test.
21729         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21730         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21731         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21733 2014-08-01  Roland McGrath  <roland@hack.frob.com>
21735         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
21736         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
21737         * sysdeps/arm/sysdep.h: ... here.
21738         [!__ASSEMBLER__]: Include <stdint.h>.
21740 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21742         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
21743         (HAVE_WCTYPE_H): Likewise.
21744         (HAVE_ISWCTYPE): Likewise.
21745         (ENABLE_NLS): Likewise.
21746         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
21747         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
21749         * posix/regex_internal.c: Check if DEBUG is defined and is
21750         set.
21752         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
21753         (HAVE_MBSRTOWCS): Likewise.
21754         * posix/fnmatch.c: Include string.h unconditionally.
21756 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
21758         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
21759         reversal.
21761 2014-07-31  Roland McGrath  <roland@hack.frob.com>
21763         * sysdeps/generic/safe-fatal.h: New file.
21764         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
21765         * nptl/forward.c: Include it.
21766         (__pthread_unwind): Use __safe_fatal as default action, rather
21767         than a bogus use of INTERNAL_SYSCALL that could never work.
21769         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
21770         * configure.ac (libc_cv_builtin_trap): New test.
21771         * configure: Regenerated.
21772         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
21773         (ABORT_INSTRUCTION): Define using __builtin_trap.
21775         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
21776         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
21777         * sysdeps/nptl/nptl-signals.h: New file.
21778         * nptl/pthreadP.h: Include <nptl-signals.h>.
21780 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21782         * sysdeps/s390/s390-64/utf16-utf32-z9.c
21783         (ONE_DIRECTION): Define.
21784         * sysdeps/s390/s390-64/utf8-utf16-z9.c
21785         (ONE_DIRECTION): Define.
21786         * sysdeps/s390/s390-64/utf8-utf32-z9.c
21787         (ONE_DIRECTION): Define.
21789 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21791         * sysdeps/s390/Makefile: Delete file.
21792         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
21793         * sysdeps/s390/__longjmp.c: Delete file.
21794         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
21795         Remove fields __flags and __reserved.
21796         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
21797         and add versioning.
21798         * sysdeps/s390/rtld-__longjmp.c: Delete file.
21799         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
21800         * sysdeps/s390/rtld-setjmp.S: Likewise.
21801         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
21802         * sysdeps/s390/s390-32/__longjmp.c: ... here.
21803         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
21804         * sysdeps/s390/s390-32/setjmp.S: ... here.
21805         Add versioning.
21806         (__sigsetjmp): Remove setting __flags field.
21807         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
21808         * sysdeps/s390/s390-64/__longjmp.c: ... here.
21809         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
21810         * sysdeps/s390/s390-64/setjmp.S: ... here.
21811         Add versioning.
21812         (__sigsetjmp): Remove setting __flags field.
21813         * sysdeps/s390/setjmp.S: Delete file.
21814         * sysdeps/s390/sigjmp.c: Likewise.
21815         * sysdeps/s390/v1-longjmp.c: Likewise.
21816         * sysdeps/s390/v1-setjmp.h: Likewise.
21817         * sysdeps/s390/v1-sigjmp.c: Likewise.
21818         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
21819         Remove v1-longjmp_chk.
21820         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
21821         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
21822         Include debug/longjmp_chk.c and add versioning.
21823         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
21824         Include nptl/pt-longjmp.c and add versioning.
21825         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
21826         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
21827         Include __longjmp.c.
21828         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
21829         Move to ...
21830         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
21831         (__getcontext): Remove setting __flags field.
21832         Add versioning.
21833         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21834         Don't restore upper high grps.
21835         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
21836         Likewise.
21837         (__swapcontext): Remove setting uc_flags field.
21838         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
21839         Delete file.
21840         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
21841         Include __longjmp.c.
21842         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
21843         Move to ...
21844         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
21845         (__getcontext): Remove setting __flags field.
21846         Add versioning.
21847         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
21848         (__swapcontext): Remove setting uc_flags field.
21849         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
21850         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
21851         Remove fields uc_high_gprs and __reserved.
21852         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
21853         New file with reverted content.
21854         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
21855         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
21856         Regenerated.
21857         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
21858         Regenerated.
21860 2014-07-31  Andreas Schwab  <schwab@suse.de>
21862         * config.h.in (HAVE_IFUNC): Define to 0.
21863         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
21864         definedness.
21866 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
21868         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21869         memmove-avx-unaligned, memcpy-avx-unaligned and
21870         mempcpy-avx-unaligned.
21871         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21872         Add tests for AVX memcpy functions.
21873         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
21874         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
21875         memcpy_chk.
21876         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
21877         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
21878         memmove_chk.
21879         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
21880         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
21881         mempcpy_chk.
21882         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
21883         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
21884         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
21886 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21888         [BZ #17213]
21889         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
21890         powerpc64le.
21892 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
21894         [BZ #16839]
21895         * manual/llio.texi: Add section about open file description locks.
21896         * manual/examples/ofdlocks.c: Example of open file description
21897         lock usage.
21898         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
21899         F_OFD_SETLK, and F_OFD_SETLKW.
21901 2014-07-23  Allan McRae  <allan@archlinux.org>
21903         * po/es.po: Update Spanish translation from translation project.
21905 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
21907         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
21909 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
21911         [BZ #17078]
21912         * sysdeps/arm/dl-machine.h (elf_machine_rela)
21913         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
21914         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
21916 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
21918         [BZ #17088]
21919         * math/fesetenv.c (__fesetenv)
21920         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
21921         * math/feupdateenv.c (__feupdateenv)
21922         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
21924         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
21925         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
21926         (__ASSUME_SOCKETCALL): Do not define.
21928         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
21929         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
21930         (__ASSUME_SOCKETCALL): Do not define.
21931         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
21932         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
21933         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21934         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
21935         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21936         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
21937         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21938         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21940         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
21941         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
21942         (__ASSUME_SOCKETCALL): Do not define.
21943         (__ASSUME_IPC64): Define unconditionally.
21944         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
21945         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21946         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
21947         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21948         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
21949         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21950         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
21951         Likewise.
21953         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
21954         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
21955         (__ASSUME_SOCKETCALL): Do not define.
21956         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
21957         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21958         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21959         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
21960         (__ASSUME_REQUEUE_PI): Define unconditionally.
21961         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
21962         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
21963         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21964         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
21965         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21966         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21968         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
21969         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
21970         (__ASSUME_SOCKETCALL): Do not define.
21971         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
21972         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21973         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21974         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
21975         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21976         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21978         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
21979         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
21980         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21981         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
21982         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21983         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
21984         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21985         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
21986         (__ASSUME_GETCPU_SYSCALL): Likewise.
21988         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
21989         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
21990         cases for individual architectures.
21991         * sysdeps/gnu/configure: Regenerated.
21992         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
21993         LIBC_SLIBDIR_RTLDDIR.
21994         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
21995         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
21996         LIBC_SLIBDIR_RTLDDIR.
21997         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
21998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
21999         LIBC_SLIBDIR_RTLDDIR.
22000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
22001         Regenerated.
22002         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
22003         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
22004         file.
22005         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
22006         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
22007         file.
22008         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
22009         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
22010         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
22011         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
22013         * sysdeps/aarch64/shlib-versions: Move to ...
22014         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
22015         * sysdeps/alpha/shlib-versions: Move to ...
22016         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
22017         * sysdeps/arm/shlib-versions: Move to ...
22018         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
22019         * sysdeps/hppa/shlib-versions: Move all contents except for
22020         libgcc_s entry to ...
22021         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
22022         entry from ...
22023         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
22024         * sysdeps/ia64/shlib-versions: Move to ...
22025         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
22026         entry from ...
22027         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
22028         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
22029         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
22030         * sysdeps/microblaze/shlib-versions: Move to ...
22031         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
22032         * sysdeps/mips/shlib-versions: Move to ...
22033         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
22034         entry from ...
22035         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
22036         * sysdeps/tile/shlib-versions: Move to ...
22037         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
22038         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
22039         from ...
22040         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
22041         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
22042         entry from ...
22043         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
22045 2014-07-17  Will Newton  <will.newton@linaro.org>
22047         * sysdeps/arm/bits/atomic.h
22048         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
22049         (__arch_compare_and_exchange_bool_16_int): Likewise.
22050         (__arch_compare_and_exchange_bool_64_int): Likewise.
22052         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
22053         into an #else block.
22055 2014-07-16  Roland McGrath  <roland@hack.frob.com>
22057         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
22058         just Linux configurations.  Test empirically that the compiler sets
22059         __ARM_EABI__, rather than using the tuple to decide.
22060         * sysdeps/arm/preconfigure: Regenerated.
22061         * sysdeps/unix/sysv/linux/arm/configure: File removed.
22062         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
22063         contents appended ...
22064         * sysdeps/arm/configure.ac: ... here.
22065         * sysdeps/arm/configure: Regenerated.
22067 2014-07-15  Roland McGrath  <roland@hack.frob.com>
22069         * nptl/pthread_kill.c: New file.
22070         * nptl/pthread_sigmask.c: New file.
22071         * nptl/pthread_sigqueue.c: New file.
22073         * sysdeps/nptl/lowlevellock.h: New file.
22074         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
22075         * sysdeps/nptl/lowlevellock-futex.h: New file.
22077         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
22078         Remove dead declarations.
22080 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
22082         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
22083         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
22084         config-cflags-avx2.
22085         * sysdeps/x86_64/configure.ac: Likewise.
22086         * sysdeps/i386/configure: Regenerated.
22087         * sysdeps/x86_64/configure: Likewise.
22088         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22089         memset-avx2 only if config-cflags-avx2 is yes.
22090         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22091         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
22092         defined.
22093         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
22094         only if HAVE_AVX2_SUPPORT is defined.
22095         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22097 2014-07-14  Alan Modra  <amodra@gmail.com>
22099         [BZ #17153]
22100         * elf/elf.h (DT_PPC64_NUM): Correct value.
22101         * NEWS: Add to fixed bug list.
22103 2014-07-13  Jim Meyering  <meyering@fb.com>
22105         [BZ 17150]
22106         regex: don't deref NULL upon heap allocation failure
22107         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
22108         failure in one more place.
22109         To trigger the segfault, configure grep -with-included-regex,
22110         build it, and run these commands:
22111         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
22113 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
22115         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
22117 2014-07-11  Richard Henderson  <rth@redhat.com>
22119         * sysdeps/aarch64/libm-test-ulps: Update.
22121 2014-07-10  Florian Weimer  <fweimer@redhat.com>
22123         [BZ #17135]
22124         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
22125         * nptl/allocatestack.c (__nptl_setxid_error): New function.
22126         (__nptl_setxid): Initialize error member.  Call
22127         __nptl_setxid_error.
22128         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
22129         * nptl/descr.h (struct xid_command): Add error member.
22130         * nptl/tst-setuid3.c: New file.
22131         * nptl/Makefile (tests): Add it.
22133 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22135         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
22136         New define.
22137         (__lll_trylock): Use __lll_base_trylock.
22138         (__lll_cond_trylock): Likewise.
22140 2014-07-10  Roland McGrath  <roland@hack.frob.com>
22142         * nptl/pthread_create.c (start_thread): Use atomic_or and
22143         lll_futex_wake directly rather than lll_robust_dead.
22144         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
22145         (lll_robust_dead): Macro removed.
22146         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
22147         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
22148         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
22149         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22150         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22151         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
22152         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
22153         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22154         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
22155         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22156         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22157         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22158         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22159         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22160         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22162         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
22163         Use atomic_compare_and_exchange_val_acq directly rather than
22164         lll_robust_trylock.
22165         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
22166         (__lll_robust_trylock, lll_robust_trylock): Removed.
22167         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
22168         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
22169         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22170         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22171         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
22172         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
22173         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22174         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
22175         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22176         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22177         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22178         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22179         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22180         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22182 2014-07-02  Florian Weimer  <fweimer@redhat.com>
22184         * manual/locale.texi (Locale Names): New section documenting
22185         locale name syntax.  Adjust menu and node chaining accordingly.
22186         (Choosing Locale): Reference Locale Names, Locale Categories.
22187         Mention setting LC_ALL=C.  Reflect that name syntax is now
22188         documented.
22189         (Locale Categories): New section title.  Reference Locale Names.
22190         LC_ALL is an environment variable, but not a category.
22191         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
22192         description, now in Locale Name.  Reference that section.  Locale
22193         name syntax is now documented.
22195 2014-07-02  Florian Weimer  <fweimer@redhat.com>
22197         [BZ #17137]
22198         * locale/findlocale.c (name_present, valid_locale_name): New
22199         functions.
22200         (_nl_find_locale): Use the loc_name variable to store name
22201         candidates.  Call name_present and valid_locale_name to check and
22202         validate locale names.  Return an error if the locale is invalid.
22204 2014-07-02  Florian Weimer  <fweimer@redhat.com>
22206         * locale/setlocale.c (setlocale): Use strdup for allocating
22207         composite name copy.
22209 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22211         Sync up with gnulib.
22212         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
22213         [!_LIBC && ENABLE_NLS]: Include gettext.h.
22214         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
22215         and _GL_ARG_NONNULL.
22216         [USE_UNLOCKED_IO]: Include unlocked-io.h.
22217         [!_LIBC]: Include code for Windows and Cygwin.
22218         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
22219         Include prototype for int strerror_r.
22220         [!_LIBC] (is_open): New function.
22221         (flush_stdout): New function.
22222         (print_errno_message): Use it.
22223         (error): Likewise.
22224         (error_at_line): Likewise.
22225         (error_tail) Add function attribute macros.  Use
22226         __builtin_expect.
22228         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
22230         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
22232         * io/ftw.c: Include sys/param.h unconditionally.
22234         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
22236         [BZ #17125]
22237         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
22238         libc_freeres_ptr.
22239         (freecache): New function to free CACHE on exit.
22241         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
22242         initialization.
22244 2014-07-09  David S. Miller  <davem@davemloft.net>
22246         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22248         * sysdeps/sparc/nptl/internaltypes.h: Delete.
22249         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
22250         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
22251         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
22252         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
22253         * sysdeps/sparc/nptl/sem_init.c: Likewise.
22254         * sysdeps/sparc/nptl/sem_post.c: Likewise.
22255         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
22256         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
22257         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
22258         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
22259         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
22260         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
22262 2014-07-09  Andreas Schwab  <schwab@suse.de>
22264         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
22265         output.
22266         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
22267         (do_test): Likewise.
22269         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22271 2014-07-09  Will Newton  <will.newton@linaro.org>
22273         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
22274         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
22275         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
22276         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
22277         * sysdeps/hppa/start.S (_start): Likewise.
22279 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
22281         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
22283         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
22284         defined.
22286 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22288         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
22289         after checking that it is non-NULL.
22291         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
22293 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22295         * sysdeps/powerpc/memmove.c: Remove file.
22296         * sysdeps/powerpc/powerpc32/power4/memcopy.h
22297         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
22298         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
22299         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
22300         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
22301         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
22302         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
22303         string memmove instead of removed powerpc one.
22305         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
22306         [weak_alias]: Fix compiler warning due trailing data.
22307         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
22308         [weak_alias]: Likewise.
22309         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
22310         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
22312         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22313         (__libc_ifunc_impl_list): Add memmove functions.
22315 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22317         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
22318         Remove code.
22319         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
22320         Likewise
22321         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
22322         Likewise
22323         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
22324         Likewise
22325         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
22326         Likewise
22327         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
22328         Likewise
22329         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
22330         Likewise
22331         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
22332         Likewise
22333         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
22334         Likewise
22335         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
22336         Likewise
22337         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
22338         Likewise
22339         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
22340         Likewise
22341         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
22342         Likewise
22343         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
22344         Likewise
22345         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
22346         Likewise
22347         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
22348         Likewise
22349         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
22350         Likewise
22352 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22354         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
22355         to avoid alignment traps in non-cacheable memory.
22356         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22358         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
22359         multiarch objects.
22360         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
22361         file: multiarch power7 memmove.
22362         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
22363         multiarch default memmove.
22364         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
22365         multiarch memove for powerpc32/power4.
22367         * string/bcopy.c: Use full path to include memmove.c.
22368         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
22369         multiarch objects.
22370         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
22371         bcopy for powerpc64.
22372         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
22373         bcopy for powerpc64.
22374         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
22375         and memmove implementations.
22376         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
22377         optimized multiarch memmove for POWER7/powerpc64.
22378         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
22379         default multiarch memmove for powerpc64.
22380         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
22381         multiarch for powerpc64.
22382         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
22383         for POWER7/powerpc64.
22384         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
22385         memmove for POWER7/powerpc64.
22387         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
22388         glibc default one.
22390         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
22391         __ELF_NATIVE_CLASS equal to 64.
22393 2014-07-07  Roland McGrath  <roland@hack.frob.com>
22395         * sysdeps/nptl/lowlevellock.h: File removed.
22397         * NEWS: NPTL is no longer an add-on!
22398         * nptl/internaltypes.h: Moved ...
22399         * sysdeps/nptl/internaltypes.h: ... here.
22400         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
22401         * sysdeps/nptl/fork.c: Likewise.
22402         * sysdeps/nptl/gai_misc.h: Likewise.
22403         * sysdeps/nptl/librt-cancellation.c: Likewise.
22404         * sysdeps/nptl/jmp-unwind.c: Likewise.
22405         * sysdeps/nptl/setxid.h: Likewise.
22406         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
22407         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
22408         * sysdeps/unix/sysv/linux/arm/Implies: New file.
22409         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
22410         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
22411         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
22412         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
22413         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
22414         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
22415         * sysdeps/unix/sysv/linux/mips/Implies: New file.
22416         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
22417         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
22418         * sysdeps/unix/sysv/linux/sh/Implies: New file.
22419         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
22420         * sysdeps/unix/sysv/linux/tile/Implies: New file.
22421         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
22422         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
22423         * nptl/Makeconfig: Moved ...
22424         * sysdeps/nptl/Makeconfig: ... here.
22425         * nptl/configure: File removed.
22426         * nptl/ANNOUNCE: File removed.
22427         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
22428         * sysdeps/unix/sysv/linux/configure: Regenerated.
22430         * nptl/Makefile (routines): Add libc_pthread_init,
22431         libc_multiple_threads, register-atfork and unregister-atfork.
22432         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
22433         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
22434         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
22435         pthread-pi-defines.sym, structsem.sym.
22436         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
22437         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
22438         [$(subdir) = nptl] (tests): Add tst-setgetname.
22439         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
22440         * sysdeps/unix/sysv/linux/sigaction.c: Just include
22441         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
22442         [!LIBC_SIGACTION]: Remove aliases.
22443         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
22444         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
22445         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
22446         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
22447         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
22448         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
22449         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
22450         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
22451         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
22452         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
22453         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
22454         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
22455         __libc_allocate_rtsig_private.
22456         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
22457         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
22458         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
22459         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
22460         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
22461         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
22462         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
22463         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
22464         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
22465         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
22466         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
22467         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
22468         * nptl/internaltypes.h: ... here.
22469         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
22470         * sysdeps/nptl/jmp-unwind.c: ... here.
22471         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
22472         * nptl/libc-lowlevellock.c: ... here.
22473         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
22474         * nptl/libc_multiple_threads.c: ... here.
22475         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
22476         * nptl/libc_pthread_init.c: ... here.
22477         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
22478         * nptl/lowlevelbarrier.sym: ... here.
22479         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
22480         * nptl/lowlevelcond.sym: ... here.
22481         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
22482         * nptl/lowlevellock.c: ... here.
22483         * nptl/lowlevellock.h: Moved ...
22484         * sysdeps/nptl/lowlevellock.h: ... here.
22485         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
22486         * nptl/lowlevelrobustlock.c: ... here.
22487         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
22488         * nptl/lowlevelrobustlock.sym: ... here.
22489         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
22490         * nptl/lowlevelrwlock.sym: ... here.
22491         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
22492         * nptl/pt-fork.c: ... here.
22493         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
22494         * nptl/pthread-pi-defines.sym: ... here.
22495         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
22496         * nptl/pthread_attr_getaffinity.c: ... here.
22497         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
22498         * nptl/pthread_attr_setaffinity.c: ... here.
22499         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
22500         * nptl/pthread_mutex_cond_lock.c: ... here.
22501         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
22502         Update #include.
22503         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
22504         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
22505         * nptl/pthread_once.c: ... here, replacing old file.
22506         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
22507         * nptl/pthread_yield.c: ... here.
22508         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
22509         * nptl/register-atfork.c: ... here.
22510         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
22511         * nptl/sem_post.c: ... here.
22512         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
22513         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
22514         * nptl/sem_timedwait.c: ... here.
22515         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
22516         * nptl/sem_trywait.c: ... here.
22517         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
22518         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
22519         * nptl/sem_wait.c: ... here.
22520         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
22521         * nptl/structsem.sym: ... here.
22522         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
22523         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
22524         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
22525         * nptl/unregister-atfork.c: ... here.
22526         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
22527         * nptl/unwindbuf.sym: ... here.
22528         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
22529         * sysdeps/nptl/fork.c: ... here.
22530         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
22531         * sysdeps/nptl/fork.h: ... here.
22532         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
22533         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
22534         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
22535         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
22536         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
22537         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
22538         * sysdeps/unix/sysv/linux/getpid.c: ... here.
22539         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
22540         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
22541         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
22542         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
22543         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
22544         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
22545         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
22546         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
22547         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
22548         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
22549         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
22550         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
22551         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
22552         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
22553         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
22554         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
22555         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
22556         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
22557         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
22558         * sysdeps/unix/sysv/linux/raise.c: ... here.
22559         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
22560         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
22561         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
22562         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
22563         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
22564         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
22565         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
22566         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
22567         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
22568         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
22569         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
22570         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
22571         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
22572         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
22573         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
22575 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22577         * sysdeps/generic/memcopy.h: Add comment for
22578         MEMCPY_OK_FOR_FWD_MEMMOVE.
22580 2014-07-04  Will Newton  <will.newton@linaro.org>
22582         * string/memchr.c: Merge from gnulib.
22583         [_LIBC]: Remove conditionals.
22584         (__ptr_t): Remove define.
22585         (LONG_MAX_32_BITS): Likewise.
22586         (LONG_MAX): Likewise.
22587         (MEMCHR): Use ANSI prototype and optimize algorithm.
22589         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
22591 2014-07-03  Roland McGrath  <roland@hack.frob.com>
22593         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
22594         (lll_futex_timed_wait_bitset): Fix syscall argument count.
22596         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
22597         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
22598         in a bare environment with no <stdlib.h> installed.
22599         * sysdeps/nptl/configure: Regenerated.
22601         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
22603         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
22604         AC_EGREP_CPP for kernel header checks, so they only succeed if
22605         including <linux/version.h> actually works right.
22606         * sysdeps/unix/sysv/linux/configure: Regenerated.
22608         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
22609         value so it's not diagnosed as unused.
22611         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
22612         thing) with "ifeq ($(subdir),rt)".
22614 2014-07-03  Richard Henderson  <rth@redhat.com>
22616         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
22617         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
22618         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
22620         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
22621         (math_force_eval): New.
22623         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
22624         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
22626         * sysdeps/alpha/fpu/s_round.c: Remove file.
22627         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
22629         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
22630         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
22631         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
22632         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
22633         (_dl_start, print_statistics): Likewise.
22634         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
22635         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
22637         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22638         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22639         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22640         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22641         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
22642         (HP_SMALL_TIMING_AVAIL): Define.
22643         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22644         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
22645         (HP_SMALL_TIMING_AVAIL): Define.
22646         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22647         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22649         * sysdeps/aarch64/hp-timing.h: New file.
22651         * sysdeps/generic/hp-timing.h: Remove dead comment.
22652         * sysdeps/generic/hp-timing-common.h: New file.
22653         * sysdeps/alpha/hp-timing.h: Include it.
22654         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
22655         * sysdeps/i386/i686/hp-timing.h: Likewise.
22656         * sysdeps/ia64/hp-timing.h: Likewise.
22657         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22658         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22659         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22660         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22661         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
22662         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
22663         (hp_timing_t): New.
22665         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
22666         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
22667         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
22668         * elf/rtld.c (_dl_start_final): Likewise.
22669         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
22670         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22671         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22672         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22673         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22674         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
22675         (HP_TIMING_DIFF_INIT): Remove.
22676         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22677         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
22678         (HP_TIMING_DIFF_INIT): Remove.
22679         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22680         * sysdeps/i386/i686/hp-timing.c: Remove file.
22681         * sysdeps/x86_64/hp-timing.c: Remove file.
22682         * sysdeps/ia64/hp-timing.c: Remove file.
22683         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
22684         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
22685         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
22686         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
22688         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
22689         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
22690         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
22691         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
22692         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
22693         (HP_TIMING_ACCUM): Remove.
22694         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
22695         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
22696         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
22698         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
22699         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
22700         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
22701         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
22702         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
22703         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
22704         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
22705         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
22707         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
22709 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
22711         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
22713 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22715         Sync up with gettext.
22716         * intl/loadmsgcat.c: Define O_BINARY if not defined.
22717         [_MSC_VER]: Include malloc.h
22718         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
22719         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
22720         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
22721         TEMP_FAILURE_RETRY.  Cast return of alloca.
22722         [!_LIBC] Call gl_rwlock_init.
22723         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
22725 2014-07-02  Roland McGrath  <roland@hack.frob.com>
22727         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
22728         before checking its value.
22730 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22732         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
22734         * debug/memcpy_chk.c: Don't include pagecopy.h.
22735         * debug/mempcpy_chk.c: Likewise.
22736         * string/memcpy.c: Likewise.
22737         * string/memmove.c: Likewise.
22738         * sysdeps/powerpc/memmove.c: Likewise.
22739         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
22740         definition of PAGE_COPY_FWD_MAYBE here...
22741         * sysdeps/generic/pagecopy.h: ... from here.
22742         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
22744 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22745             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22747         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
22748         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
22749         optimizations.
22750         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22751         (__libc_ifunc_impl_list): Likewise.
22752         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
22753         multiarch strcat for PPC64.
22754         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
22755         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
22757 2014-07-02  Roland McGrath  <roland@hack.frob.com>
22759         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
22761 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22763         * intl/loadmsgcat.c: Remove declaration of
22764         get_sysdep_segment_value.
22765         (get_sysdep_segment_value): Use ISO C style.
22766         (_nl_load_domain): Use ISO C style.  Get rid of redundant
22767         semicolon.  Fix typo and formatting in comment.
22768         (_nl_unload_domain): Use ISO C style.
22770         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
22772 2014-07-02  Will Newton  <will.newton@linaro.org>
22774         * malloc/obstack.c: Merge from gnulib master.
22775         [HAVE_CONFIG_H]: Remove conditional code.
22776         [!_LIBC]: Include config.h.
22777         [!ELIDE_CODE]: Don't include inttypes.h, include
22778         stdint.h unconditionally.
22779         (print_and_abort): Mark as _Noreturn.
22780         (_obstack_allocated_p): Mark as __attribute_pure__.
22781         (obstack_free): Rename to __obstack_free.
22782         [!__attribute__]: Remove conditional code.
22783         * malloc/obstack.h: Merge from gnulib master.
22784         [__cplusplus]: Move conditional down.
22785         [!__attribute_pure__]: Define __attribute_pure__ here
22786         if it is not already defined.
22787         (_obstack_memory_used): Mark as __attribute_pure__.
22788         [!__obstack_free]: Define as obstack_free.
22789         [__GNUC__]: Remove check for ancient NeXT gcc.
22791 2014-07-02  Will Newton  <will.newton@linaro.org>
22792             Paul Eggert  <eggert@cs.ucla.edu>
22794         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
22796 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22798         * resolv/gethnamaddr.c: Add comment warning that the file is
22799         not maintained.
22801 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
22803         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
22804         entries.
22806         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
22807         entry for aio_cancel and aio_cancel64.
22808         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
22809         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
22810         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
22811         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
22812         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
22813         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
22814         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
22815         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
22816         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
22817         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
22818         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
22819         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
22820         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
22822 2014-07-01  Roland McGrath  <roland@hack.frob.com>
22824         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
22825         * nptl/pthread_mutex_lock.c: Likewise.
22826         * nptl/pthread_mutex_timedlock.c: Likewise.
22827         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
22829 2014-07-01  Richard henderson  <rth@redhat.com>
22831         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
22832         (__isnan, __isnanl): Remove.
22833         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
22835         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22837 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
22839         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22841 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22843         * resolv/nss_dns/dns-host.c (getanswer_r)
22844         [MULTI_PTRS_ARE_ALIASES]: Remove code.
22846 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
22848         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22849         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
22850         undefine.
22851         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
22852         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
22854 2014-07-01  Roland McGrath <roland@hack.frob.com>
22856         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
22857         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
22859         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
22860         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
22862         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
22863         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
22864         ... here.
22865         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
22866         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
22868         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
22869         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
22870         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
22871         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
22873         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
22874         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
22875         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
22876         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
22877         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
22878         Moved ...
22879         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
22880         ... here.
22881         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
22882         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
22883         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
22884         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
22885         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
22886         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
22887         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
22888         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
22889         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
22890         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
22891         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
22892         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
22893         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
22894         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
22895         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
22896         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
22897         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
22898         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
22899         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
22900         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
22901         ... here.
22902         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
22903         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
22904         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
22905         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
22906         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
22907         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
22908         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
22909         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
22911 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
22913         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
22914         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
22915         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
22916         Add sysdep.
22918 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22920         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22922 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
22924         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
22925         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22927         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22929         * sysdeps/arm/libm-test-ulps: Regenerated.
22931 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
22932             Roland McGrath <roland@hack.frob.com>
22934         * test-skeleton.c (signal_handler): Kill the whole process group
22935         before killing the child individually.
22936         (main): Report any failure on `setpgid'.
22938 2014-06-30  Roland McGrath  <roland@hack.frob.com>
22940         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
22941         from _TLS_H to _ARM_NPTL_TLS_H.
22942         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
22943         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
22945 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
22947         [BZ #16539]
22948         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
22949         (__expm1l): Return argument unchanged when small but not
22950         subnormal.
22952         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
22953         include macro name.
22954         (_FP_UNPACK_RAW_1_P): Likewise.
22955         (_FP_PACK_RAW_1): Likewise.
22956         (_FP_PACK_RAW_1_P): Likewise.
22957         (_FP_MUL_MEAT_1_wide): Likewise.
22958         (_FP_MUL_MEAT_DW_1_hard): Likewise.
22959         (_FP_MUL_MEAT_1_hard): Likewise.
22960         (_FP_DIV_MEAT_1_imm): Likewise.
22961         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
22962         (_FP_DIV_MEAT_1_udiv): Likewise.
22963         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
22964         (_FP_UNPACK_RAW_2): Likewise.
22965         (_FP_UNPACK_RAW_2_P): Likewise.
22966         (_FP_PACK_RAW_2): Likewise.
22967         (_FP_PACK_RAW_2_P): Likewise.
22968         (_FP_MUL_MEAT_DW_2_wide): Likewise.
22969         (_FP_MUL_MEAT_2_wide): Likewise.
22970         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
22971         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
22972         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
22973         (_FP_MUL_MEAT_2_gmp): Likewise.
22974         (_FP_DIV_MEAT_2_udiv): Likewise.
22975         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
22976         (_FP_FRAC_SRL_4): Likewise.
22977         (_FP_FRAC_SRST_4): Likewise.
22978         (_FP_FRAC_SRS_4): Likewise.
22979         (_FP_UNPACK_RAW_4): Likewise.
22980         (_FP_UNPACK_RAW_4_P): Likewise.
22981         (_FP_PACK_RAW_4): Likewise.
22982         (_FP_PACK_RAW_4_P): Likewise.
22983         (_FP_MUL_MEAT_DW_4_wide): Likewise.
22984         (_FP_MUL_MEAT_4_wide): Likewise.
22985         (_FP_MUL_MEAT_4_gmp): Likewise.
22986         (umul_ppppmnnn): Likewise.
22987         (_FP_DIV_MEAT_4_udiv): Likewise.
22988         (__FP_FRAC_ADD_4): Likewise.
22989         (__FP_FRAC_SUB_3): Likewise.
22990         (__FP_FRAC_SUB_4): Likewise.
22991         (__FP_FRAC_DEC_3): Likewise.
22992         (__FP_FRAC_DEC_4): Likewise.
22993         (__FP_FRAC_ADDI_4): Likewise.
22994         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
22995         (_FP_FRAC_SRL_8): Likewise.
22996         (_FP_FRAC_SRS_8): Likewise.
22998         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
22999         include macro name.
23000         (FP_UNPACK_RAW_EP): Likewise.
23001         (FP_PACK_RAW_E): Likewise.
23002         (FP_PACK_RAW_EP): Likewise.
23003         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
23004         (_FP_ISSIGNAN): Likewise.
23005         (_FP_ADD_INTERNAL): Likewise.
23006         (_FP_FMA): Likewise.
23007         (_FP_CMP): Likewise.
23008         (_FP_SQRT): Likewise.
23009         (_FP_TO_INT): Likewise.
23010         (_FP_FROM_INT): Likewise.
23011         (FP_EXTEND): Likewise.
23012         (_FP_DIV_MEAT_N_loop): Likewise.
23014 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
23016         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
23017         throughout.
23019 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
23021         [BZ #17097]
23022         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
23023         result with correct sign in case of exponents that produce
23024         overflow except for X very close to 1.
23026 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
23028         mktime: merge #if/#ifdef usage from glibc
23029         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
23030         as that works with both Glibc's and Gnulib's style.
23031         See thread starting at Siddhesh Poyarekar's bug report at:
23032         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
23034 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23036         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
23037         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
23038         * sysdeps/tile/tilegx/memmove.c: Remove file.
23040 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
23042         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
23043         abi-name definition.
23044         * scripts/soversions.awk: Do not handle or generate ABI lines.
23045         * shlib-versions: Remove ABI entries.
23046         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
23047         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
23049 2014-06-27  Roland McGrath  <roland@hack.frob.com>
23051         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
23052         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
23053         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
23054         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
23055         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
23056         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
23057         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
23058         Moved ...
23059         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
23060         ... here.
23061         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
23062         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
23063         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
23064         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
23065         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
23066         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
23067         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
23068         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
23069         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
23070         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
23071         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
23072         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
23073         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
23074         Moved ...
23075         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
23076         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
23077         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
23078         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
23079         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
23080         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
23081         Moved ...
23082         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
23083         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
23084         Moved ...
23085         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
23086         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
23087         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
23088         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
23089         Moved ...
23090         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
23091         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
23092         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
23093         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
23094         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
23095         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
23096         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
23097         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
23098         Moved ...
23099         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
23100         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
23101         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
23102         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
23103         Moved ...
23104         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
23105         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
23106         Moved ...
23107         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
23108         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
23109         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
23110         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
23111         Moved ...
23112         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
23113         ... here.
23114         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
23115         Identical file removed.
23116         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
23117         Moved ...
23118         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
23119         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
23120         Identical file removed.
23121         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
23122         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
23123         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
23124         Moved ...
23125         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
23126         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
23127         Identical file removed.
23128         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
23129         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
23130         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
23131         Identical file removed.
23132         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
23133         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
23134         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
23135         Identical file removed.
23136         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
23137         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
23138         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
23139         Identical file removed.
23140         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
23141         Moved ...
23142         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
23143         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
23144         Identical file removed.
23145         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
23146         Moved ...
23147         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
23148         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
23149         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
23150         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
23151         Identical file removed.
23152         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
23153         Moved ...
23154         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
23155         ... here.
23156         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
23157         Identical file removed.
23158         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
23159         Moved ...
23160         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
23161         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
23162         Identical file removed.
23163         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
23164         Moved ...
23165         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
23166         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
23167         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
23168         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
23169         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
23170         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
23171         Moved ...
23172         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
23173         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
23174         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
23176         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
23177         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
23178         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
23179         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
23180         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
23182 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
23184         [BZ #17092]
23185         * nscd/nscd.c (monitor_child): Return exit status of child
23186         instead of return value from wait syscall.
23188 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
23190         * configure.ac (libc_commonpagesize): Remove variable.
23191         (libc_relro_required): Likewise.
23192         (libc_cv_z_relro): Remove configure test.
23193         * configure: Regenerated.
23194         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
23195         variable.
23196         (libc_relro_required): Likewise.
23197         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
23198         (libc_relro_required): Likewise.
23199         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
23200         (libc_relro_required): Likewise.
23201         * sysdeps/arm/preconfigure: Regenerated.
23202         * sysdeps/ia64/preconfigure: Remove file.
23203         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
23204         variable.
23205         (libc_relro_required): Likewise.
23207         [BZ #16561]
23208         [BZ #16562]
23209         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
23210         (__ieee754_yn): Set FE_TONEAREST mode internally and then
23211         recompute overflowing results in original rounding mode.
23212         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
23213         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
23214         recompute overflowing results in original rounding mode.
23215         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
23216         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
23217         recompute overflowing results in original rounding mode.
23218         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
23219         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
23220         recompute overflowing results in original rounding mode.
23221         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
23222         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
23223         recompute overflowing results in original rounding mode.
23224         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
23225         (libc_feholdsetround_ctx): New macro.
23226         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
23227         * sysdeps/i386/fpu/libm-test-ulps: Update.
23228         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
23230 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23232         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
23233         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
23234         corresponding .cpsetup call.
23236 2014-06-26  Roland McGrath  <roland@hack.frob.com>
23238         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
23239         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
23240         * sysdeps/arm/Makefile [$(subdir) = csu]
23241         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
23242         (static-only-routines): Add aeabi_read_tp here.
23243         (shared-only-routines): Add libc-aeabi_read_tp here.
23244         (CFLAGS-libc-start.c): Add -fexceptions here.
23245         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
23246         (sysdep_routines, static-only-routines, shared-only-routines):
23247         Don't add to these here.
23248         (CFLAGS-libc-start.c): Likewise.
23250         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
23251         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
23252         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
23253         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
23254         * sysdeps/arm/Makefile [$(subdir) = rt]
23255         (librt-sysdep_routines, librt-shared-only-routines):
23256         Append rt-aeabi_unwind_cpp_pr1 here.
23257         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
23258         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
23259         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
23260         (libpthread-sysdep_routines, libpthread-shared-only-routines):
23261         Append nptl-aeabi_unwind_cpp_pr1 here.
23262         (tests): Filter out tst-cleanupx4 here.
23263         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
23264         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
23265         Don't do those here.
23267 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23269         * scripts/list-sources.sh: Do not handle ports specially.
23271 2014-06-26  Roland McGrath  <roland@hack.frob.com>
23273         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
23274         * sysdeps/arm/feupdateenv.c: Likewise.
23276         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
23278 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23280         * manual/texinfo.tex: Update to version 2014-05-05.10 with
23281         trailing whitespace removed.
23282         * scripts/config.guess: Update to version 2014-03-23.
23283         * scripts/config.sub: Update to version 2014-05-01
23284         * scripts/install-sh: Update to version 2013-12-25.23.
23285         * scripts/move-if-change: Update from gnulib.
23287 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23289         * debug/memmove_chk.c: Remove pagecopy.h include.
23291 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
23293         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
23294         identical to gnulib mktime.
23296 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23298         * configure.ac: Do not test for machine being rs6000.  Do not test
23299         for powerpc*-*soft.
23300         * configure: Regenerated.
23302         [BZ #11505]
23303         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
23304         test.
23305         * configure: Regenerated.
23306         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
23307         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
23308         Remove configure test.
23309         * sysdeps/arm/configure: Regenerated.
23310         * sysdeps/nptl/configure.ac: Do not check
23311         libc_cv_asm_cfi_directives.
23312         * sysdeps/nptl/configure: Regenerated.
23313         * sysdeps/x86_64/nptl/configure.ac: Remove file.
23314         * sysdeps/x86_64/nptl/configure: Remove generated file.
23315         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
23316         unconditional.
23317         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
23319 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23321         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
23322         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
23323         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
23324         it is defined.
23326         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
23327         instead of whether it is defined.
23328         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
23329         * sysdeps/hppa/dl-machine.h: Likewise.
23330         * sysdeps/ia64/dl-machine.h: Likewise.
23331         * sysdeps/m68k/dl-machine.h: Likewise.
23332         * sysdeps/microblaze/dl-machine.h: Likewise.
23333         * sysdeps/mips/dl-machine.: Likewise.
23334         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23335         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23336         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23337         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23338         * sysdeps/sh/dl-machine.h: Likewise.
23339         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23340         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23341         * sysdeps/tile/dl-machine.h: Likewise.
23342         * sysdeps/x86_64/dl-machine.h: Likewise.
23344         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
23345         code.
23346         (verify_persistent_db): Likewise.
23348 2014-06-26  Roland McGrath  <roland@hack.frob.com>
23350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
23351         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
23352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
23353         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
23354         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23355         Moved ...
23356         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
23357         ... here.
23358         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
23359         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
23360         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
23361         Identical file removed.
23362         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
23363         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
23364         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
23365         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
23366         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
23367         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
23368         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
23369         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
23370         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
23371         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
23372         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23373         Moved ...
23374         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
23375         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
23376         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
23377         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
23378         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
23379         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23380         Moved ...
23381         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
23382         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
23383         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
23384         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
23385         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
23386         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
23387         Identical file removed.
23388         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
23389         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
23390         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
23391         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
23392         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23393         Moved ...
23394         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
23395         ... here.
23396         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
23397         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
23398         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
23399         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
23400         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
23401         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
23402         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
23403         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
23404         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
23405         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
23406         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23407         Moved ...
23408         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
23409         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
23410         Moved ...
23411         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
23412         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
23413         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
23414         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23415         Moved ...
23416         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
23417         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
23418         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
23420         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
23421         folded into ...
23422         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
23423         * sysdeps/unix/sysv/linux/s390/Versions
23424         (libpthread: GLIBC_2.19): New version set.
23425         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
23426         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
23427         (librt: GLIBC_2.3.3): New version set.
23428         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
23429         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
23430         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
23431         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
23432         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
23433         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
23434         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
23435         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
23436         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
23437         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
23438         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
23439         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
23440         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
23441         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
23442         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
23443         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
23444         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
23445         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
23446         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
23447         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
23448         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
23449         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
23450         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
23451         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
23452         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
23453         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
23454         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
23455         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
23456         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
23457         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
23458         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
23459         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
23460         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
23461         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
23462         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
23463         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
23464         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
23465         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
23466         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
23467         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
23468         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
23469         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
23470         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
23471         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
23472         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
23474         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
23475         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
23476         (__libc_vfork): Define the function under this name.
23477         [!NOT_IN_libc] (__vfork): Make this an alias.
23478         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
23479         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
23480         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
23481         (__libc_vfork): Define the function under this name.
23482         [!NOT_IN_libc] (__vfork): Make this an alias.
23483         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
23484         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
23485         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
23486         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
23487         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
23488         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
23490         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
23491         code that was previously under [RESET_PID].
23492         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
23493         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
23494         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
23496         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
23497         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
23498         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
23499         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
23500         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
23501         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
23502         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
23503         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
23504         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
23505         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
23506         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
23507         Moved ...
23508         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
23509         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
23510         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
23511         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
23512         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
23513         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
23514         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
23515         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
23516         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
23517         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
23518         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
23519         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
23520         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
23521         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
23522         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
23523         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
23524         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
23525         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
23526         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
23527         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
23528         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
23529         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
23530         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
23531         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
23532         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
23533         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
23534         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
23535         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
23536         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
23538 2014-06-25  Roland McGrath  <roland@hack.frob.com>
23540         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
23541         that was previously under [RESET_PID].
23542         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
23544 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
23546         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
23547         not undefine and redefine.
23548         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
23549         [O_CLOEXEC]: Make code unconditional.
23550         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
23551         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
23552         <kernel-features.h>.
23553         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
23554         conditional variable definition.
23555         (shm_open) [O_CLOEXEC]: Make code unconditional.
23556         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
23557         code.
23559         * configure.ac (USE_REGPARMS): Don't define here.
23560         * configure: Regenerated.
23561         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
23562         * sysdeps/i386/configure: Regenerated.
23564         * nptl/createthread.c: Don't include kernel-features.h.
23565         * nptl/pthread_cancel.c: Likewise.
23566         * nptl/pthread_condattr_setclock.c: Likewise.
23567         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
23568         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
23569         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
23570         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
23571         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
23572         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
23573         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
23574         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
23575         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
23576         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
23577         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
23578         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
23579         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
23580         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
23581         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
23582         * nscd/gai.c: Likewise.
23583         * nss/nss_db/db-open.c: Likewise.
23584         * sysdeps/generic/ldsodefs.h: Likewise.
23585         * sysdeps/sh/nptl/tls.h: Likewise.
23586         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
23587         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
23588         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
23589         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
23590         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
23591         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
23592         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
23593         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23594         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23595         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
23596         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
23597         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23598         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
23599         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
23600         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
23601         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
23602         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
23603         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
23604         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
23605         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
23606         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
23607         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
23608         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
23609         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
23610         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
23611         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
23612         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
23613         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
23614         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
23615         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
23616         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
23617         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
23618         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
23619         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
23620         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
23621         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
23622         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
23623         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
23624         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
23625         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
23626         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23627         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
23628         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
23629         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23630         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
23631         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
23632         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
23633         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
23634         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
23635         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
23636         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
23637         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
23638         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
23639         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
23640         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
23641         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
23642         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
23643         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
23644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
23646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
23647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
23648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
23649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
23650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
23651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
23652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
23653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
23654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
23655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
23656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
23657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
23658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
23664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
23665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
23666         * sysdeps/unix/sysv/linux/pread.c: Likewise.
23667         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
23668         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
23669         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
23670         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
23671         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
23672         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
23673         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
23674         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
23675         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
23676         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
23677         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
23678         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
23679         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
23680         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
23681         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
23682         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
23683         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
23684         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
23685         * sysdeps/unix/sysv/linux/system.c: Likewise.
23686         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
23687         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
23688         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23689         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23690         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23691         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
23692         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23694         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
23695         * configure: Regenerated.
23696         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
23698         * configure.ac (base_machine): Do not set specially for particular
23699         machines here.
23700         * configure: Regenerated.
23701         * sysdeps/powerpc/preconfigure: Move machine and base_machine
23702         settings from configure.ac.
23703         * sysdeps/i386/preconfigure: New file.
23704         * sysdeps/s390/preconfigure: Likewise.
23705         * sysdeps/sh/preconfigure: Likewise.
23706         * sysdeps/sparc/preconfigure: Likewise.
23708 2014-06-25  Roland McGrath  <roland@hack.frob.com>
23710         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
23711         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
23712         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
23713         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
23714         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
23715         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
23716         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
23717         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
23718         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
23719         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
23720         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
23721         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
23722         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
23723         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
23724         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
23725         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
23726         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
23727         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
23728         * sysdeps/sparc/sparc64/Makefile: ... appended here.
23730         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
23731         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
23732         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
23733         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
23734         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
23735         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
23736         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
23737         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
23738         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
23739         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
23740         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
23741         * sysdeps/sparc/sparc32/sem_post.c: ... here.
23742         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
23743         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
23744         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
23745         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
23746         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
23747         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
23748         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
23749         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
23750         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
23751         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
23752         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
23753         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
23754         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
23755         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
23756         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
23757         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
23758         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
23759         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
23760         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
23761         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
23762         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
23763         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
23764         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
23765         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
23766         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
23767         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
23769         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
23770         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
23771         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
23772         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
23773         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23774         Moved ...
23775         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
23776         ... here.
23777         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
23778         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
23779         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
23780         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
23781         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
23782         Moved ...
23783         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
23784         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
23785         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
23786         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
23787         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
23788         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
23789         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
23790         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23791         Moved ...
23792         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
23793         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23794         Moved ...
23795         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
23796         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
23797         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
23798         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23799         Moved ...
23800         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
23801         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
23802         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
23803         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
23804         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
23805         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
23806         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
23807         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
23808         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
23809         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23810         Moved ...
23811         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
23812         ... here.
23813         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
23814         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
23815         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
23816         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
23817         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
23818         Moved ...
23819         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
23820         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
23821         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
23822         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
23823         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
23824         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
23825         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
23826         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23827         Moved ...
23828         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
23829         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23830         Moved ...
23831         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
23832         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
23833         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
23834         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23835         Moved ...
23836         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
23837         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
23838         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
23839         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
23840         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
23842 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
23844         * timezone/checktab.awk: Update from tzcode 2014e.
23845         * timezone/private.h: Likewise.
23846         * timezone/tzfile.h: Likewise.
23847         * timezone/zdump.c: Likewise.
23848         * timezone/zic.c: Likewise.
23850         * sysdeps/unix/sysv/linux/kernel-features.h
23851         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
23852         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
23853         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
23854         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23855         Remove conditional code.
23857 2014-06-25  Will Newton  <will.newton@linaro.org>
23859         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
23860         (_dl_arm_cap_flags): Add HWCAP2 values.
23861         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
23862         (_DL_HWCAP_COUNT): Increase to 37.
23863         (_DL_HWCAP_LAST): New define.
23864         (_DL_HWCAP2_LAST): New define.
23865         (_dl_procinfo): Add support for printing
23866         AT_HWCAP2 entries.
23867         (_dl_string_hwcap): Use _dl_hwcap_string.
23869 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23871         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23873 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
23875         * README: Do not mention ports directory.
23877         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
23878         Remove macro.
23879         * sysdeps/unix/sysv/linux/futimes.c: Do not include
23880         <kernel-features.h>.
23881         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
23882         conditional variable definition.
23883         (__futimes): Update comment.
23884         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
23885         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
23887         [BZ #16560]
23888         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
23889         arguments close to 0.
23890         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
23891         Likewise.
23892         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
23893         Likewise.
23894         * math/auto-libm-test-in: Add more tests of exp10.
23895         * math/auto-libm-test-out: Regenerated.
23896         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23898         * sysdeps/unix/sysv/linux/kernel-features.h
23899         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
23900         * sysdeps/unix/sysv/linux/readv.c: Do not include
23901         <kernel-features.h>.
23902         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
23903         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
23904         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
23905         unconditional.
23906         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
23907         conditional code.
23908         * sysdeps/unix/sysv/linux/writev.c: Do not include
23909         <kernel-features.h>.
23910         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
23911         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
23912         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
23913         unconditional.
23914         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
23915         conditional code.
23917 2014-06-25  Will Newton  <will.newton@linaro.org>
23919         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
23920         comment changes throughout the file.  Remove checks
23921         for HAVE_*_H definitions that are not required.
23922         (__gen_tempname): Call abort if an unknown kind value is
23923         passed.
23925 2014-06-25  Andreas Schwab  <schwab@suse.de>
23927         [BZ #17086]
23928         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
23929         scalbln, scalblnf, scalblnl in libc.
23931 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23933         [BZ #17086]
23934         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
23935         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
23936         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
23938 2014-06-24  Roland McGrath  <roland@hack.frob.com>
23940         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
23941         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
23942         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
23943         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
23944         Update #include.
23945         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
23946         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
23947         Update #include.
23948         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
23949         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
23950         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
23951         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
23952         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
23953         * sysdeps/x86/bits/pthreadtypes.h: ... here.
23954         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
23955         * sysdeps/x86/bits/semaphore.h: ... here.
23956         * sysdeps/x86/nptl/elide.h: Moved ...
23957         * sysdeps/x86/elide.h: ... here.
23958         * sysdeps/x86_64/nptl/Implies: File removed.
23959         * sysdeps/i386/nptl/Implies: File removed.
23961 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
23963         [BZ #16539]
23964         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
23965         return the argument for normal arguments with exponent below -64.
23966         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
23967         Likewise.
23968         * math/auto-libm-test-in: Add another test of expm1.
23969         * math/auto-libm-test-out: Regenerated.
23971         [BZ #16287]
23972         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
23973         calling __erfcl for arguments at least 16.
23974         * math/auto-libm-test-in: Add more tests of erf.
23975         * math/auto-libm-test-out: Regenerated.
23977         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
23978         individual architectures.
23979         * sysdeps/unix/sysv/linux/configure: Regenerated.
23980         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
23981         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
23982         * sysdeps/unix/sysv/linux/powerpc/configure.ac
23983         (ldd_rewrite_script): Define variable.
23984         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
23986         file.
23987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
23988         generated file.
23989         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
23990         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
23991         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
23992         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
23993         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
23994         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
23995         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
23996         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
23998 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24000         [BZ #17084]
24001         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
24002         Rename member __data.d to __data.__elision_data.
24004 2014-06-24  Wilco  <wdijkstr@arm.com>
24006         * NEWS: Add 16918 to fixed bug list.
24008 2014-06-24  Wilco  <wdijkstr@arm.com>
24010         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
24012 2014-06-24  Wilco  <wdijkstr@arm.com>
24014         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
24015         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
24016         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
24017         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
24018         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
24019         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
24020         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
24021         Use _FPU_MASK_RM.
24023 2014-06-24  Wilco  <wdijkstr@arm.com>
24025         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
24027 2014-06-24  Wilco  <wdijkstr@arm.com>
24029         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
24030         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
24031         * sysdeps/arm/fesetround.c (fesetround): Remove space.
24032         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
24034 2014-06-24  Wilco  <wdijkstr@arm.com>
24036         [BZ #16918]
24037         * sysdeps/arm/feupdateenv.c (feupdateenv):
24038         Rewrite to reduce FPSCR accesses and fix return value.
24040 2014-06-24  Wilco  <wdijkstr@arm.com>
24042         * sysdeps/arm/fclrexcpt.c (feclearexcept):
24043         Optimize to avoid unnecessary FPSCR writes.
24044         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
24045         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
24046         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
24047         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
24049 2014-06-24  Wilco  <wdijkstr@arm.com>
24051         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
24052         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
24053         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
24054         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
24055         Call libc_fetestexcept_vfp.
24056         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
24057         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
24058         __SOFTFP__ ifdef so that they can be built for softfp.
24060 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24062         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
24063         argument type signed char.
24065         * Makerules (check-abi): Dump diff of symlist if the test
24066         fails.
24068 2014-06-23  Roland McGrath  <roland@hack.frob.com>
24070         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
24071         using abort.
24073         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
24074         Remove unused variable ST.
24076 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
24078         [BZ #16354]
24079         [BZ #17061]
24080         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
24081         small arguments before calling __expm1.
24082         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
24083         small arguments before calling __expm1f.
24084         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
24085         small arguments before calling __expm1l.
24086         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24087         Likewise.
24088         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
24089         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
24090         spurious underflow for some cosh tests.
24091         * math/auto-libm-test-out: Regenerated.
24092         * sysdeps/i386/fpu/libm-test-ulps: Update.
24094         [BZ #17050]
24095         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
24096         (__ieee754_y1): Set errno if return value overflows.
24097         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
24098         (__ieee754_y1f): Set errno if return value overflows.
24099         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
24100         (__ieee754_y1l): Set errno if return value overflows.
24101         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
24102         (__ieee754_y1l): Set errno if return value overflows.
24103         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
24104         * math/auto-libm-test-out: Regenerated.
24106         * math/gen-auto-libm-tests.c: Document use of
24107         ignore-zero-inf-sign.
24108         (input_flag_type): Add value flag_ignore_zero_inf_sign.
24109         (input_flags): Add ignore-zero-inf-sign.
24110         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
24111         * math/gen-libm-test.pl (generate_testfile): Handle
24112         ignore-zero-inf-sign.
24113         * math/auto-libm-test-in: Mark some cpow tests with
24114         ignore-zero-inf-sign and some with xfail-rounding.
24115         * math/auto-libm-test-out: Regenerated.
24116         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
24117         * sysdeps/i386/fpu/libm-test-ulps: Update.
24118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24120         [BZ #16315]
24121         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
24122         overflowing or underflowing operations take place with sign of
24123         result.
24124         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24125         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
24126         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
24127         (__ieee754_pow): Recompute overflowing and underflowing results in
24128         original rounding mode.
24129         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
24130         (__powl_helper): Allow negative argument X and scale negated value
24131         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
24132         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
24133         overflowing or underflowing operations take place with sign of
24134         result.
24135         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
24136         Include <math.h>.
24137         * math/auto-libm-test-in: Add more tests of pow.
24138         * math/auto-libm-test-out: Regenerated.
24139         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
24140         (pow_tonearest_test_data): Remove.
24141         (pow_test_tonearest): Likewise.
24142         (pow_towardzero_test_data): Likewise.
24143         (pow_test_towardzero): Likewise.
24144         (pow_downward_test_data): Likewise.
24145         (pow_test_downward): Likewise.
24146         (pow_upward_test_data): Likewise.
24147         (pow_test_upward): Likewise.
24148         (main): Don't call removed functions.
24149         * sysdeps/i386/fpu/libm-test-ulps: Update.
24150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24152 2014-06-23  Roland McGrath  <roland@hack.frob.com>
24154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
24155         Moved ...
24156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
24157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24158         Moved ...
24159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
24160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24161         Moved ...
24162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
24163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
24164         Moved ...
24165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
24166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
24167         File removed.
24168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24169         File removed.
24170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
24171         File removed.
24172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
24173         File removed.
24174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
24175         File removed.
24176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
24177         File removed.
24178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
24179         File removed.
24180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24181         File removed.
24182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
24183         File removed.
24184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24185         File removed.
24186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
24187         File removed.
24188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
24189         File removed.
24190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
24191         Moved ...
24192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
24193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
24194         Moved ...
24195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
24196         ... here.
24197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
24198         Moved ...
24199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
24200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
24201         Moved ...
24202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
24203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
24204         Moved ...
24205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
24206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
24207         Moved ...
24208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
24209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
24210         Moved ...
24211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
24212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
24213         Moved ...
24214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
24215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
24216         Moved ...
24217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
24218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
24219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
24220         ... here.
24221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
24222         Moved ...
24223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
24224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
24225         Moved ...
24226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24227         ... here.
24228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
24229         Moved ...
24230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24231         ... here.
24232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24233         Moved ...
24234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
24235         ... here.
24236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
24237         Moved ...
24238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
24239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
24240         Moved ...
24241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
24242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
24243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
24244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
24245         Moved ...
24246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
24247         ... here.
24248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24249         Moved ...
24250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
24251         ... here.
24252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
24253         Moved ...
24254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
24255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24256         Moved ...
24257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
24258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
24259         Moved ...
24260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
24261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24262         Moved ...
24263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
24264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
24265         Moved ...
24266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
24267         ... here.
24268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24269         Moved ...
24270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
24271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
24272         Moved ...
24273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
24274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24275         Moved ...
24276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
24277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
24278         Moved ...
24279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
24280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
24281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
24282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
24283         Moved ...
24284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
24285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24286         Moved ...
24287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
24288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
24289         Moved ...
24290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
24291         ... here.
24292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24293         Moved ...
24294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
24295         ... here.
24296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
24297         Moved ...
24298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
24299         ... here.
24300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24301         Moved ...
24302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
24303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
24304         Moved ...
24305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
24306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24307         Moved ...
24308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
24309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
24310         Moved ...
24311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
24312         ... here.
24313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24314         Moved ...
24315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
24316         ... here.
24317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
24318         Moved ...
24319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
24320         ... here.
24321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24322         Moved ...
24323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
24324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
24325         Moved ...
24326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
24328 2014-06-23  Will Newton  <will.newton@linaro.org>
24329             Wilco  <wdijkstr@arm.com>
24331         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
24332         implementation.  Include get-rounding-mode.h.
24333         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
24334         [!libc_feholdsetround_noex_ctx]: Define
24335         libc_feholdsetround_noex_ctx.
24336         [!libc_feholdsetround_noexf_ctx]: Define
24337         libc_feholdsetround_noexf_ctx.
24338         [!libc_feholdsetround_noexl_ctx]: Define
24339         libc_feholdsetround_noexl_ctx.
24340         (libc_feholdsetround_ctx): New function.
24341         (libc_feresetround_ctx): New function.
24342         (libc_feholdsetround_noex_ctx): New function.
24343         (libc_feresetround_noex_ctx): New function.
24345 2014-06-23  Roland McGrath  <roland@hack.frob.com>
24347         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
24348         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
24349         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
24350         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
24351         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
24352         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
24354         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
24355         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
24356         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
24357         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
24358         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
24359         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
24360         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
24361         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
24362         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
24363         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
24364         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
24365         Moved ...
24366         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
24367         ... here.
24368         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
24369         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
24370         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
24371         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
24372         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
24373         Moved ...
24374         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
24375         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
24376         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
24377         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
24378         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
24379         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
24380         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
24381         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
24382         Moved ...
24383         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
24384         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
24385         Moved ...
24386         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
24387         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
24388         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
24389         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
24390         Moved ...
24391         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
24392         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
24393         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
24394         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
24395         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
24396         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
24397         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
24398         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
24399         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
24400         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
24401         Moved ...
24402         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
24403         ... here.
24404         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
24405         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
24406         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
24407         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
24408         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
24409         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
24410         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
24411         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
24412         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
24413         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
24414         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
24415         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
24416         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
24417         Moved ...
24418         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
24419         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
24420         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
24421         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
24422         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
24423         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
24424         Moved ...
24425         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
24426         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
24427         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
24428         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
24429         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
24431         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
24432         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
24433         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
24434         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
24435         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
24436         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
24437         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
24438         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
24439         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
24440         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
24441         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
24442         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
24443         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
24444         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
24445         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
24446         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
24447         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
24448         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
24449         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
24450         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
24451         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
24452         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
24453         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
24454         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
24455         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
24456         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
24457         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
24458         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
24460 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
24462         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
24463         (FALLOC_FL_COLLAPSE_RANGE): New macro.
24464         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
24465         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
24466         (IPV6_PMTUDISC_INTERFACE): Likewise.
24467         (IPV6_PMTUDISC_OMIT): Likewise.
24469 2014-06-23  Andreas Schwab  <schwab@suse.de>
24471         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
24472         Remove unused errout label.
24474 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24476         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
24477         macro: hardware supports Vector Crypto instructions.
24479 2014-06-23  Will Newton  <will.newton@linaro.org>
24481         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
24482         rather than __builtin_expect.
24484         * elf/dl-lookup.c (undefined_msg): Remove variable.
24485         (_dl_lookup_symbol_x): Replace undefined_msg with string
24486         literal.
24488         * elf/dl-lookup.c (do_lookup_unique): New function.
24489         (do_lookup_x): Move STB_GNU_UNIQUE handling code
24490         to a separate function.
24492 2014-06-23  Andreas Schwab  <schwab@suse.de>
24494         [BZ #17079]
24495         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
24496         before reading the next line.
24498 2014-06-23  Will Newton  <will.newton@linaro.org>
24500         * test-skeleton.c (signal_handler): Use printf and %m
24501         rather than perror.  Use printf rather than fprintf to
24502         stderr.  Use puts rather than fputs to stderr.
24503         (main): Likewise.
24505 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
24507         * nscd/nscd.c (thread_info_t): Remove typedef.
24508         (thread_info): Remove variable.
24510 2014-06-21  Allan McRae  <allan@archlinux.org>
24512         * NEWS: Mention CVE-2014-4043.
24514 2014-06-20  Roland McGrath  <roland@hack.frob.com>
24516         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
24517         * nptl/smp.h: ... here.
24519         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
24521         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
24522         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
24523         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
24524         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
24526         * nptl/allocatestack.c: Include <stack-aliasing.h>.
24527         * nptl/stack-aliasing.h: New file.
24528         * sysdeps/i386/i686/stack-aliasing.h: New file.
24529         * sysdeps/i386/i686/nptl/Makefile: File removed.
24530         * sysdeps/x86_64/stack-aliasing.h: New file.
24531         * sysdeps/x86_64/nptl/Makefile
24532         (CFLAGS-pthread_create.c): Variable removed.
24534         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
24535         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
24536         old file.
24537         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
24538         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
24539         old file.
24541 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
24543         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24544         (__ASSUME_SIGFRAME_V2): Remove macro.
24545         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
24546         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
24547         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
24548         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
24549         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
24550         Declare as function.  Remove conditional macro definitions.
24551         (__default_rt_sa_restorer): Likewise.
24552         (__default_sa_restorer_v1): Remove declaration.
24553         (__default_sa_restorer_v2): Likewise.
24554         (__default_rt_sa_restorer_v1): Likewise.
24555         (__default_rt_sa_restorer_v2): Likewise.
24556         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
24557         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
24558         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
24560 2014-06-20  Roland McGrath  <roland@hack.frob.com>
24562         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
24563         (libpthread-routines): Add sysdep.
24564         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
24565         * sysdeps/unix/sysv/linux/sparc/Versions
24566         (libpthread: GLIBC_2.3.3): New version set.
24567         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
24568         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
24569         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
24570         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
24571         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
24572         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
24573         Moved ...
24574         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
24575         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
24576         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
24577         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
24578         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
24579         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
24580         * sysdeps/sparc/nptl/sem_init.c: ... here.
24581         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
24582         * sysdeps/sparc/nptl/sem_post.c: ... here.
24583         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
24584         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
24585         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
24586         * sysdeps/sparc/nptl/sem_wait.c: ... here.
24587         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
24588         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
24589         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
24590         (libpthread-routines): Add cpu_relax.
24591         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
24592         File removed.
24593         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
24594         (librt: GLIBC_2.3.3): New version set.
24595         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
24596         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
24597         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
24598         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
24599         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
24600         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
24601         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
24602         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
24603         Moved ...
24604         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
24605         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
24606         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
24607         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
24608         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
24609         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
24610         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
24611         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
24612         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
24613         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
24614         Moved ...
24615         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
24616         Update #include.
24617         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
24618         Moved ...
24619         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
24620         Update #include.
24621         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
24622         Moved ...
24623         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
24624         Update #include.
24625         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
24626         Moved ...
24627         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
24628         Update #include.
24629         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
24630         Moved ...
24631         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
24632         Update #include.
24633         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
24634         Moved ...
24635         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
24636         Update #include.
24637         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
24638         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
24639         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
24640         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
24641         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
24642         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
24643         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
24644         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
24645         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
24646         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
24647         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
24648         Moved ...
24649         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
24650         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
24651         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
24652         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
24653         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
24655 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
24657         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
24658         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
24659         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
24660         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
24661         * nscd/nscd.c: Likewise.
24662         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
24663         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
24664         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
24665         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
24667         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
24668         <kernel-features.h>.
24669         (init_mq_netlink): Remove conditional have_sock_cloexec
24670         definitions.  Remove code conditional on have_sock_cloexec < 0.
24671         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
24672         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
24673         * sysdeps/unix/sysv/linux/opensock.c: Do not include
24674         <kernel-features.h>.
24675         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
24676         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
24678 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
24680         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24681         Add tests for memset_chk and memset.
24683         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
24684         with AVX2_Usable.
24686 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
24688         [BZ #16046]
24689         * elf/tst-dl-iter-static.c: New file.
24690         * elf/Makefile (tests-static): Add tst-dl-iter-static.
24692         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
24693         error.
24695 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
24697         * sysdeps/unix/sysv/linux/kernel-features.h
24698         (__ASSUME_F_GETOWN_EX): Remove macro.
24699         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
24700         <kernel-features.h>.
24701         (miss_F_GETOWN_EX): Remove variable or macro.
24702         (do_fcntl): Do not check miss_F_GETOWN_EX.
24703         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
24705         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
24706         Remove macro.
24707         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
24708         [!__ASSUME_AT_RANDOM]: Remove conditional code.
24709         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
24711         * sysdeps/unix/sysv/linux/kernel-features.h
24712         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
24713         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
24714         [ADJ_OFFSET_SS_READ]: Make code unconditional.
24715         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
24717 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
24719         [BZ #17075]
24720         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
24721         Fix calculation of the symbol's value.
24722         * sysdeps/arm/tst-armtlsdescloc.c: New file.
24723         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
24724         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
24725         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
24726         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
24727         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
24728         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
24729         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
24730         (modules-names): Add `tst-armtlsdescmod',
24731         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
24732         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
24733         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
24734         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
24735         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
24736         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
24737         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
24738         ($(objpfx)tst-armtlsdescloc): New dependency.
24739         ($(objpfx)tst-armtlsdescextnow): Likewise.
24740         ($(objpfx)tst-armtlsdescextlazy): Likewise.
24741         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
24742         TLS scheme support.
24743         * sysdeps/arm/configure: Regenerate.
24745 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
24747         * include/fcntl.h (__atfct_seterrno): Remove prototype.
24748         (__atfct_seterrno_2): Likewise.
24749         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
24750         <kernel-features.h>.
24751         (__ASSUME_ATFCTS): Do not undefine and redefine.
24752         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
24753         (__have_atfcts): Remove conditional definition.
24754         (__fxstatat([__NR_fstatat64]: Make code unconditional.
24755         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
24756         unreachable if [__ASSUME_ATFCTS].
24757         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
24758         not undefine and redefine.
24759         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
24760         <kernel-features.h>.
24761         (faccessat) [__NR_faccessat]: Make code unconditional.
24762         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
24763         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
24764         <kernel-features.h>.
24765         (fchmodat) [__NR_fchmodat]: Make code unconditional.
24766         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
24767         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
24768         <kernel-features.h>.
24769         (fchownat) [__NR_fchownat]: Make code unconditional.
24770         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
24771         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
24772         <kernel-features.h>.
24773         (futimesat) [__NR_futimesat]: Make code unconditional.
24774         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
24775         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24776         <kernel-features.h>.
24777         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
24778         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
24779         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24780         <kernel-features.h>.
24781         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
24782         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
24783         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
24784         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24785         <kernel-features.h>.
24786         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
24787         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
24788         * sysdeps/unix/sysv/linux/linkat.c: Do not include
24789         <kernel-features.h>.
24790         (linkat) [__NR_linkat]: Make code unconditional.
24791         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
24792         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
24793         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
24794         <kernel-features.h>.
24795         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
24796         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
24797         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
24798         <kernel-features.h>.
24799         (mkdirat) [__NR_mkdirat]: Make code unconditional.
24800         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
24801         * sysdeps/unix/sysv/linux/openat.c: Do not include
24802         <kernel-features.h>.
24803         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
24804         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
24805         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
24806         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
24807         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
24808         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
24809         <kernel-features.h>.
24810         (readlinkat) [__NR_readlinkat]: Make code unconditional.
24811         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
24812         result of INLINE_SYSCALL directly, not via int variable.
24813         * sysdeps/unix/sysv/linux/renameat.c: Do not include
24814         <kernel-features.h>.
24815         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
24816         (renameat) [__NR_renameat]: Make code unconditional.
24817         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
24818         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
24819         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
24820         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
24821         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
24822         (__ASSUME_ATFCTS): Do not undefine and redefine.
24823         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
24824         <kernel-features.h>.
24825         (symlinkat) [__NR_symlinkat]: Make code unconditional.
24826         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
24827         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
24828         <kernel-features.h>.
24829         (unlinkat) [__NR_unlinkat]: Make code unconditional.
24830         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
24831         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
24832         (__ASSUME_ATFCTS): Do not undefine and redefine.
24833         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24834         <kernel-features.h>.
24835         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
24836         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
24837         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24838         <kernel-features.h>.
24839         (__xmknodat) [__NR_mknodat]: Make code unconditional.
24840         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
24842 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
24844         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
24846 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
24848         [BZ #17069]
24849         * posix/regcomp.c (parse_reg_exp): Deallocate partially
24850         constructed tree before returning error.
24851         * posix/bug-regexp36.c: Expand test case.
24853 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
24855         [BZ #6803]
24856         * math/libm-test.inc (scalbln_test_date):
24857         Add errno expectations.
24858         * math/w_scalblnf.c: New File.
24859         Add wrapper which checks for setting errno to ERANGE.
24860         Add weak_alias for corresponding scalbln function.
24861         * math/w_scalbln.c: Likewise.
24862         * math/w_scalblnl.c: Likewise.
24863         * math/Makefile (libm-calls): Add w_scalbln.
24864         * sysdeps/ieee754/flt-32/s_scalblnf.c:
24865         Remove weak_alias for corresponding scalbln function.
24866         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24867         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24868         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24869         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24870         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
24871         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
24872         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
24873         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
24874         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
24875         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
24876         Remove long_double_symbol for scalblnl function in libm, libc.
24877         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
24878         Add wrapper which checks for setting errno to ERANGE.
24879         Add long_double_symbol for scalblnl function in libm, libc.
24880         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
24881         Remove long_double_symbol for scalblnl in libm.
24882         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
24883         Add wrapper which checks for setting errno to ERANGE.
24884         Add long_double_symbol for scalblnl function in libm.
24885         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
24886         Do not use wrapper because of own implementation.
24888 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
24890         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
24891         3 bytes for __pad1 for x32.
24892         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
24894 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
24895             H.J. Lu  <hongjiu.lu@intel.com>
24897         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
24898         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
24899         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24900         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24901         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
24903 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
24905         [BZ #17069]
24906         * posix/regcomp.c (parse_expression): Deallocate partially
24907         constructed tree before returning error.
24908         * posix/Makefile.c (tests): Add bug-regex36.
24909         (generated): Add bug-regex36.mtrace.
24910         (tests-special): Add $(objpfx)bug-regex36-mem.out
24911         (bug-regex36-ENV): New variable.
24912         ($(objpfx)bug-regex36-mem.out): New rule.
24913         * posix/bug-regex36.c: New file.
24915 2014-06-19  Will Newton  <will.newton@linaro.org>
24917         * malloc/malloc.c (systrim): If extra is zero then return
24918         early.
24920 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24922         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
24924 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
24926         * sysdeps/aarch64/strchr.S: New file.
24928 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
24930         [BZ #17022]
24931         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
24932         from arguments -2 or below.
24933         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
24934         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
24936 2014-06-18  Andreas Schwab  <schwab@suse.de>
24938         [BZ #17062]
24939         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
24940         of a bracket expr not to run off the end of the string.
24941         * posix/Makefile (tests): Add tst-fnmatch3.
24942         * posix/tst-fnmatch3.c: New file.
24944 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
24946         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
24947         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
24948         [$(cross-compiling) = no]: Likewise.
24949         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
24950         [$(cross-compiling) = no]: Likewise.
24952 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24954         [BZ #17031]
24955         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
24956         double, adjusted for any remainder from the high double.
24957         * math/libm-test.inc (nearbyint): Add tests.
24958         (rint): Likewise.
24960 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24962         * nptl/sysdeps/powerpc/Makefile: Moved ...
24963         * sysdeps/powerpc/nptl/Makefile: ... here.
24964         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
24965         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
24966         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
24967         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
24968         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
24969         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
24970         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
24971         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
24972         * nptl/sysdeps/powerpc/tls.h: Moved ...
24973         * sysdeps/powerpc/nptl/tls.h: ... here.
24975 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
24977         [BZ #16681]
24978         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
24979         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
24980         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
24981         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
24982         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
24983         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
24984         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
24985         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
24986         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
24988 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
24990         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
24992 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
24994         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
24995         defined operator.
24997         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
24998         $TIMEOUTFACTOR.
25000 2014-06-16  Florian Weimer  <fweimer@redhat.com>
25002         [BZ #17058]
25003         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
25004         non-executed part of the test.
25006 2014-06-16  Andreas Schwab  <schwab@suse.de>
25008         * string/bits/string2.h (strdup, strndup): Update feature guard.
25010 2014-06-14  David S. Miller  <davem@davemloft.net>
25012         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25014 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
25016         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
25017         that was previously under [RESET_PID].
25018         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
25020         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
25021         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
25022         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
25023         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25024         (__libc_vfork): New strong alias.
25025         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
25027 2014-06-14 Andi Kleen  <ak@linux.intel.com>
25029         * sysdeps/generic/elide.h: New file.
25031 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25033         * Makefile (installed-headers): Adjust path of pthread.h header.
25035 2014-06-13  Roland McGrath  <roland@hack.frob.com>
25037         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
25038         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
25039         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
25040         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
25042         * nptl/sysdeps/s390/Makefile: Moved ...
25043         * sysdeps/s390/nptl/Makefile: ... here.
25044         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
25045         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
25046         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
25047         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
25048         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
25049         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
25050         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
25051         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
25052         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
25053         * sysdeps/s390/nptl/pthreaddef.h: ... here.
25054         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
25055         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
25056         * nptl/sysdeps/s390/tls.h: Moved ...
25057         * sysdeps/s390/nptl/tls.h: ... here.
25059         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
25060         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
25062 2014-06-13  David S. Miller  <davem@davemloft.net>
25064         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
25065         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
25066         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
25067         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
25068         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
25069         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
25070         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
25071         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
25072         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
25073         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
25074         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
25075         Remove RESET_PID cpp guards.
25076         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
25077         Remove RESET_PID cpp guards.
25078         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
25080 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
25082         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
25083         __sp to uintptr_t.
25085 2014-06-13  Andi Kleen  <ak@linux.intel.com>
25087         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
25088         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
25089         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
25090         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
25091         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
25092         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
25093         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
25094         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
25095         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
25096         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
25097         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
25098         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
25099         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
25100         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
25101         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
25102         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
25103         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
25104         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
25105         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
25106         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
25108         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
25109         (pthread_rwlock_rdlock): Add elision.
25110         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
25111         (pthread_rwlock_wrlock): Add elision.
25112         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
25113         (pthread_rwlock_trywrlock): Add elision.
25114         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
25115         (pthread_rwlock_tryrdlock): Add elision.
25116         * nptl/pthread_rwlock_unlock.c: Include elide.h.
25117         (pthread_rwlock_tryrdlock): Add elision unlock.
25118         * nptl/sysdeps/pthread/pthread.h:
25119         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
25120         (PTHREAD_RWLOCK_INITIALIZER,
25121         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
25122         Handle new elision field.
25123         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
25124         * sysdeps/arm/nptl/bits/pthreadtypes.h
25125         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25126         * sysdeps/sh/nptl/bits/pthreadtypes.h
25127         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25128         * sysdeps/tile/nptl/bits/pthreadtypes.h
25129         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25130         * sysdeps/a/nptl/bits/pthreadtypes.h
25131         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25132         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
25133         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25134         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
25135         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25136         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
25137         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25138         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
25139         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25140         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
25141         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25142         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
25143         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25144         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
25145         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25146         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
25147         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25148         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
25149         (elision_init): Set try_xbegin to zero when no RTM.
25150         * sysdeps/x86/nptl/bits/pthreadtypes.h
25151         (pthread_rwlock_t): Change __pad1 to __rwelision.
25152         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25154 2014-06-13  Andi Kleen  <ak@linux.intel.com>
25156         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
25157         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
25158         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
25159         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
25161 2014-06-13  Meador Inge  <meadori@codesourcery.com>
25163         [BZ #16996]
25164         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
25165         that the cached result has been set before returning it.
25167 2014-06-12  Roland McGrath  <roland@hack.frob.com>
25169         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
25170         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
25171         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
25172         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
25173         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
25174         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
25176         * nptl/sysdeps/sparc/Makefile: Moved ...
25177         * sysdeps/sparc/nptl/Makefile: ... here.
25178         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
25179         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
25180         * nptl/sysdeps/sparc/tls.h: Moved ...
25181         * sysdeps/sparc/nptl/tls.h: ... here.
25182         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
25183         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
25184         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
25185         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
25186         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
25187         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
25188         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
25189         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
25190         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
25191         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
25192         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
25193         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
25194         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
25195         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
25196         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
25197         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
25198         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
25199         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
25200         Update #include.
25201         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
25202         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
25203         Update #include.
25204         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
25205         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
25206         Update #include.
25207         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
25208         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
25209         Update #include.
25211         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
25213         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
25214         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
25216         * sysdeps/pthread/posix-timer.h: Include <list.h>.
25217         (struct list_links): Type removed.
25218         (struct thread_node, struct timer_node): Replace struct list_links
25219         with struct list_head.
25220         (list_unlink_ip): Likewise.
25221         * sysdeps/pthread/timer_routines.c
25222         (timer_free_list, thread_free_list, thread_active_list): Likewise.
25223         (list_append, list_insbefore): Likewise.
25224         (list_init): Function removed.
25225         (thread_init, init_module): Use INIT_LIST_HEAD instead.
25226         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
25227         * sysdeps/pthread/Makefile: ... here, new file.
25229         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
25230         * sysdeps/nptl/Implies: ... here.
25231         * sysdeps/unix/sysv/linux/Implies: Add nptl.
25232         * nptl/sysdeps/pthread/list.h: Moved ...
25233         * include/list.h: ... here.
25234         * nptl/sysdeps/pthread/createthread.c: Moved ...
25235         * nptl/createthread.c: ... here.
25236         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
25237         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
25238         * nptl/pt-longjmp.c: ... here.
25239         * nptl/sysdeps/pthread/Makefile: Moved ...
25240         * sysdeps/nptl/Makefile: ... here.
25241         * nptl/sysdeps/pthread/Subdirs: Moved ...
25242         * sysdeps/nptl/Subdirs: ... here.
25243         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
25244         * sysdeps/nptl/aio_misc.h: ... here.
25245         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
25246         * sysdeps/nptl/bits/libc-lock.h: ... here.
25247         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
25248         * sysdeps/nptl/bits/libc-lockP.h: ... here.
25249         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
25250         * sysdeps/nptl/bits/stdio-lock.h: ... here.
25251         * nptl/sysdeps/pthread/configure: Moved ...
25252         * sysdeps/nptl/configure: ... here.
25253         * nptl/sysdeps/pthread/configure.ac: Moved ...
25254         * sysdeps/nptl/configure.ac: ... here.
25255         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
25256         * sysdeps/nptl/gai_misc.h: ... here.
25257         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
25258         * sysdeps/nptl/librt-cancellation.c: ... here.
25259         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
25260         * sysdeps/nptl/malloc-machine.h: ... here.
25261         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
25262         * sysdeps/nptl/pthread-functions.h: ... here.
25263         * nptl/sysdeps/pthread/pthread.h: Moved ...
25264         * sysdeps/nptl/pthread.h: ... here.
25265         * nptl/sysdeps/pthread/setxid.h: Moved ...
25266         * sysdeps/nptl/setxid.h: ... here.
25267         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
25268         * sysdeps/nptl/sigfillset.c: ... here.
25269         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
25270         * sysdeps/nptl/tcb-offsets.h: ... here.
25271         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
25272         * sysdeps/nptl/tst-mqueue8x.c: ... here.
25273         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
25274         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
25275         * nptl/sysdeps/pthread/allocalim.h: Moved ...
25276         * sysdeps/pthread/allocalim.h: ... here.
25277         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
25278         * sysdeps/pthread/bits/sigthread.h: ... here.
25279         * nptl/sysdeps/pthread/flockfile.c: Moved ...
25280         * sysdeps/pthread/flockfile.c: ... here.
25281         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
25282         * sysdeps/pthread/ftrylockfile.c: ... here.
25283         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
25284         * sysdeps/pthread/funlockfile.c: ... here.
25285         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
25286         * sysdeps/pthread/posix-timer.h: ... here.
25287         * nptl/sysdeps/pthread/timer_create.c: Moved ...
25288         * sysdeps/pthread/timer_create.c: ... here.
25289         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
25290         * sysdeps/pthread/timer_delete.c: ... here.
25291         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
25292         * sysdeps/pthread/timer_getoverr.c: ... here.
25293         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
25294         * sysdeps/pthread/timer_gettime.c: ... here.
25295         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
25296         * sysdeps/pthread/timer_routines.c: ... here.
25297         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
25298         * sysdeps/pthread/timer_settime.c: ... here.
25299         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
25300         * sysdeps/pthread/tst-timer.c: ... here.
25301         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
25302         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
25304         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
25305         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
25307         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
25308         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
25309         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
25310         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
25311         Update #include target.
25312         * nptl/sysdeps/i386/i686/Makefile: Moved ...
25313         * sysdeps/i386/i686/nptl/Makefile: ... here.
25314         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
25315         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
25316         Update #include target.
25317         * nptl/sysdeps/i386/i686/tls.h: Moved ...
25318         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
25319         * nptl/sysdeps/i386/Makefile: Moved ...
25320         * sysdeps/i386/nptl/Makefile: ... here.
25321         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
25322         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
25323         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
25324         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
25325         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
25326         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
25327         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
25328         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
25329         * sysdeps/i386/nptl/pthreaddef.h: ... here.
25330         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
25331         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
25332         * nptl/sysdeps/i386/tls.h: Moved ...
25333         * sysdeps/i386/nptl/tls.h: ... here.
25335         * sysdeps/sh/Makefile [$(subdir) = csu]
25336         (gen-as-const-headers): Add tcb-offsets.sym.
25337         * nptl/sysdeps/sh/Makefile: File removed.
25338         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
25339         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
25340         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
25341         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
25342         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
25343         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
25344         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
25345         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
25346         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
25347         * sysdeps/sh/nptl/pthreaddef.h: ... here.
25348         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
25349         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
25350         * nptl/sysdeps/sh/tls.h: Moved ...
25351         * sysdeps/sh/nptl/tls.h: ... here.
25352         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
25353         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
25354         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
25355         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
25356         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
25357         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
25358         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
25359         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
25360         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
25361         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
25362         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
25363         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
25364         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
25365         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
25366         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
25367         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
25368         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
25369         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
25370         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
25371         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
25372         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
25373         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
25374         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
25375         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
25376         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
25377         Moved ...
25378         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
25379         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
25380         Moved ...
25381         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
25382         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
25383         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
25384         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
25385         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
25386         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
25387         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
25388         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
25389         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
25390         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
25391         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
25392         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
25393         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
25394         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
25395         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
25396         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
25397         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
25398         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
25399         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
25401 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25403         * posix/spawn_faction_addopen.c: Include string.h.
25405 2014-06-11  Roland McGrath  <roland@hack.frob.com>
25407         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
25408         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
25409         * nptl/sysdeps/x86_64/Makefile: Moved ...
25410         * sysdeps/x86_64/nptl/Makefile: ... here.
25411         * nptl/sysdeps/x86_64/configure: Moved ...
25412         * sysdeps/x86_64/nptl/configure: ... here.
25413         * nptl/sysdeps/x86_64/configure.ac: Moved ...
25414         * sysdeps/x86_64/nptl/configure.ac: ... here.
25415         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
25416         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
25417         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
25418         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
25419         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
25420         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
25421         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
25422         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
25423         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
25424         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
25425         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
25426         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
25427         * nptl/sysdeps/x86_64/tls.h: Moved ...
25428         * sysdeps/x86_64/nptl/tls.h: ... here.
25429         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
25430         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
25431         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
25432         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
25434         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
25436 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25438         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25440 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
25442         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
25443         type.
25444         [POSIX] (off_t): Likewise.
25445         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
25446         [POSIX] (S_ISBLK): Require macro.
25447         [POSIX] (S_ISCHR): Likewise.
25448         [POSIX] (S_ISDIR): Likewise.
25449         [POSIX] (S_ISFIFO): Likewise.
25450         [POSIX] (S_ISREG): Likewise.
25451         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
25452         optional-macro.
25453         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
25454         type.
25455         [POSIX] (time_t): Likewise.
25456         [POSIX] (timer_t): Likewise.
25458 2014-06-11  Florian Weimer  <fweimer@redhat.com>
25460         [BZ #17048]
25461         * posix/spawn_int.h (struct __spawn_action): Make the path string
25462         non-const to support deallocation.
25463         * posix/spawn_faction_addopen.c
25464         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
25465         * posix/spawn_faction_destroy.c
25466         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
25467         path in all spawn_do_open actions.
25468         * posix/tst-spawn.c (do_test): Exercise the copy operation in
25469         posix_spawn_file_actions_addopen.
25471 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
25473         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
25474         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
25475         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
25476         conditional code always true.
25477         (__libc_vfork): New alias.
25479 2014-06-11  Roland McGrath  <roland@hack.frob.com>
25481         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25482         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
25484         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
25486         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25487         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
25489         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
25490         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
25492         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25493         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
25495 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
25497         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
25498         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
25499         multiarch strcmp for PPC64.
25500         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
25501         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
25502         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
25503         multiarch optimizations.
25504         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25505         (__libc_ifunc_impl_list): Likewise.
25507 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25509         * benchtests/scripts/validate_benchout.py: New script.
25510         * benchtests/Makefile (bench-func): Call it.
25511         * benchtests/scripts/benchout.schema.json: New file.
25513 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
25515         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
25516         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
25517         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
25518         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
25519         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
25520         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
25521         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
25522         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
25523         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
25524         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
25525         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
25526         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
25527         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
25528         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
25529         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
25530         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
25531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
25532         Moved ...
25533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
25534         ... here.
25535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
25536         Moved ...
25537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
25538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
25539         Moved ...
25540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
25541         ... here.
25542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
25543         Moved ...
25544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
25545         ... here.
25546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
25547         Moved ...
25548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
25549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
25550         Moved ...
25551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
25552         ... here.
25553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
25554         Moved ...
25555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
25556         ... here.
25557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
25558         Moved ...
25559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
25560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
25561         Moved ...
25562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
25563         ... here.
25564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
25565         Moved ...
25566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
25567         ... here.
25568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
25569         Moved ...
25570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
25571         ... here.
25572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
25573         Moved ...
25574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
25575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
25576         Moved ...
25577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
25578         ... here.
25579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
25580         Moved ...
25581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
25582         ... here.
25583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
25584         Moved ...
25585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
25586         ... here.
25587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
25588         Moved ...
25589         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
25590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
25591         Moved ...
25592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
25593         ... here.
25594         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
25595         Moved ...
25596         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
25597         ... here.
25598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
25599         Moved ...
25600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
25601         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
25602         Moved ...
25603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
25604         ... here.
25605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
25606         Moved ...
25607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
25608         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
25609         Moved ...
25610         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
25611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
25612         Moved ...
25613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
25614         ... here.
25615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
25616         Moved ...
25617         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
25618         ... here.
25619         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
25620         Moved ...
25621         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
25622         ... here.
25623         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
25624         Moved ...
25625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
25626         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
25627         Moved ...
25628         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
25629         ... here.
25630         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
25631         Moved ...
25632         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
25633         ... here.
25634         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
25635         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
25636         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
25637         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
25638         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
25639         Moved ...
25640         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
25641         ... here.
25642         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
25643         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
25644         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
25645         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
25646         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
25647         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
25648         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
25649         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
25650         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
25651         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
25652         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
25653         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
25654         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
25655         Moved ...
25656         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
25657         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
25658         Moved ...
25659         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
25660         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
25661         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
25662         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
25663         Moved ...
25664         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
25665         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
25666         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
25667         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
25668         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
25669         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
25670         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
25672 2014-06-10  Wilco  <wdijkstr@arm.com>
25674         * math/test-fenv-return.c: New file.
25675         * math/Makefile: Add new test test-fenv-return.
25677 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
25679         [BZ #17042]
25680         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
25681         when x - 1 is zero.
25682         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
25683         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
25684         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
25685         0.0L for an argument of 1.0L.
25686         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
25687         Likewise.
25688         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
25689         value when x - 1 is zero.
25690         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
25691         * sysdeps/i386/fpu/libm-test-ulps: Update.
25692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25694 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
25696         [BZ #15119]
25697         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
25699 2014-06-09  Roland McGrath  <roland@hack.frob.com>
25701         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
25702         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
25704 2014-06-09  Roland McGrath  <roland@hack.frob.com>
25706         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25707         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
25709         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25710         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
25712         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25713         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
25715         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25716         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
25718         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
25719         if not already defined.
25720         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
25721         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
25722         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
25723         (TLS_INIT_TP): Use it.
25724         (TLS_DEFINE_INIT_TP): New macro.
25725         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
25727 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
25729         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
25730         constant.
25731         [POSIX] (IXANY): Likewise.
25732         [POSIX] (OLCUC): Likewise.
25733         [POSIX || POSIX2008] (CBAUD): Do not allow.
25734         [POSIX || POSIX2008] (DEFECHO): Likewise.
25735         [POSIX || POSIX2008] (ECHOCTL): Likewise.
25736         [POSIX || POSIX2008] (ECHOKE): Likewise.
25737         [POSIX || POSIX2008] (ECHOPRT): Likewise.
25738         [POSIX || POSIX2008] (EXTA): Likewise.
25739         [POSIX || POSIX2008] (EXTB): Likewise.
25740         [POSIX || POSIX2008] (FLUSHO): Likewise.
25741         [POSIX || POSIX2008] (LOBLK): Likewise.
25742         [POSIX || POSIX2008] (PENDIN): Likewise.
25743         [POSIX || POSIX2008] (SWTCH): Likewise.
25744         [POSIX || POSIX2008] (VDISCARD): Likewise.
25745         [POSIX || POSIX2008] (VDSUSP): Likewise.
25746         [POSIX || POSIX2008] (VLNEXT): Likewise.
25747         [POSIX || POSIX2008] (VREPRINT): Likewise.
25748         [POSIX || POSIX2008] (VSTATUS): Likewise.
25749         [POSIX || POSIX2008] (VWERASE): Likewise.
25750         (B*): Change to B[0123456789]*.
25751         * conform/data/time.h-data [POSIX || UNIX98]
25752         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
25753         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25754         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
25755         [POSIX] (tm_*): Do not allow.
25757 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
25759         * Makefile (install): Don't set LANGUAGE.
25760         * Makefile.in (install): Likewise.
25761         * assert/Makefile (test-assert-ENV): Remove variable.
25762         (test-assert-perr-ENV): Likewise.
25763         * elf/Makefile (neededtest4-ENV): Likewise.
25764         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
25765         [$(cross-compiling) = no]: Don't set LANGUAGE.
25766         * io/ftwtest-sh (LANG): Remove variable.
25767         * libio/Makefile (tst-widetext-ENV): Likewise.
25768         * manual/install.texi (Running make install): Don't refer to
25769         environment settings for make install.
25770         * INSTALL: Regenerated.
25771         * nptl/tst-tls6.sh: Don't set LANG.
25772         * posix/globtest.sh (LANG): Remove variable.
25773         * string/Makefile (tester-ENV): Likewise.
25774         (inl-tester-ENV): Likewise.
25775         (noinl-tester-ENV): Likewise.
25776         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
25777         [$(cross-compiling) = no]: Don't set LANGUAGE.
25778         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
25779         without explicit environment settings.
25781 2014-06-06  Roland McGrath  <roland@hack.frob.com>
25783         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
25784         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
25785         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
25786         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
25788 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
25790         * crypt/crypt-private.h [DOS]: Add some includes taken from the
25791         other files in the crypt directory.
25792         * crypt/crypt.c: Remove duplicate includes.
25793         * crypt/crypt-entry.c: Likewise.
25794         * crypt/crypt_util.c: Likewise.
25796 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
25798         * Makeconfig (run-program-env): New variable.
25799         (run-program-prefix-before-env): Likewise.
25800         (run-program-prefix-after-env): Likewise.
25801         (run-program-prefix): Define in terms of new variables.
25802         (built-program-cmd-before-env): New variable.
25803         (built-program-cmd-after-env): Likewise.
25804         (built-program-cmd): Define in terms of new variables.
25805         (test-program-prefix-before-env): New variable.
25806         (test-program-prefix-after-env): Likewise.
25807         (test-program-prefix): Define in terms of new variables.
25808         (test-program-cmd-before-env): New variable.
25809         (test-program-cmd-after-env): Likewise.
25810         (test-program-cmd): Define in terms of new variables.
25811         * Rules (make-test-out): Use $(run-program-env).
25812         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
25813         (help): Do not mention environment variables.  Mention
25814         --timeoutfactor option.
25815         (timeoutfactor): New variable.
25816         (blacklist_exports): Remove function.
25817         (exports): Remove variable.
25818         (command): Do not include ${exports}.
25819         * manual/install.texi (Configuring and compiling): Do not mention
25820         test wrappers preserving environment variables.  Mention that last
25821         assignment to a variable must take precedence.
25822         * INSTALL: Regenerated.
25823         * benchtests/Makefile (run-bench): Use $(run-program-env).
25824         * catgets/Makefile ($(objpfx)test1.cat): Use
25825         $(built-program-cmd-before-env), $(run-program-env) and
25826         $(built-program-cmd-after-env).
25827         ($(objpfx)test2.cat): Do not specify environment variables
25828         explicitly.
25829         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
25830         $(run-program-env) and $(built-program-cmd-after-env).
25831         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
25832         $(run-program-env) and $(test-program-cmd-after-env).
25833         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
25834         explicitly.
25835         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
25836         run_program_env and test_program_cmd_after_env arguments.
25837         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
25838         * elf/tst-pathopt.sh: Use run_program_env argument.
25839         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
25840         $(test-wrapper-env) and $(run-program-env).
25841         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
25842         run_program_env arguments.
25843         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
25844         * intl/Makefile ($(objpfx)tst-gettext.out): Use
25845         $(test-program-prefix-before-env), $(run-program-env) and
25846         $(test-program-prefix-after-env).
25847         ($(objpfx)tst-gettext2.out): Likewise.
25848         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
25849         run_program_env and test_program_prefix_after_env arguments.
25850         * intl/tst-gettext2.sh: Likewise.
25851         * intl/tst-gettext4.sh: Do not set environment variables
25852         explicitly.
25853         * intl/tst-gettext6.sh: Likewise.
25854         * intl/tst-translit.sh: Likewise.
25855         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
25856         $(test-program-prefix-before-env), $(run-program-env) and
25857         $(test-program-prefix-after-env).
25858         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
25859         run_program_env and test_program_prefix_after_env arguments.
25860         * math/Makefile (run-regen-ulps): Use $(run-program-env).
25861         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
25862         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
25863         explicitly with each use of ${test_wrapper_env}.
25864         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
25865         $(test-program-prefix-before-env), $(run-program-env) and
25866         $(test-program-prefix-after-env).
25867         * posix/tst-getconf.sh: Do not set environment variables
25868         explicitly.
25869         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
25870         run_program_env and test_program_prefix_after_env arguments.
25871         * stdio-common/tst-printf.sh: Do not set environment variables
25872         explicitly.
25873         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
25874         $(test-program-prefix-before-env), $(run-program-env) and
25875         $(test-program-prefix-after-env).
25876         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
25877         run_program_env and test_program_prefix_after_env arguments.
25878         Split $test calls into $test_pre and $test.
25879         * timezone/Makefile (build-testdata): Use
25880         $(built-program-cmd-before-env), $(run-program-env) and
25881         $(built-program-cmd-after-env).
25883 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25885         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
25886         strlen for non SHARED builds.
25888 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25890         * nptl/allocatestack.c (check_list): Inlined function...
25891         (__reclaim_stacks): ... here.
25893 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
25895         [BZ #15698]
25896         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
25897         memory overrun.
25899 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
25901         * Rules (make-test-out): Include
25902         LOCPATH=$(common-objpfx)localedata in default environment.
25903         * debug/Makefile (tst-chk1-ENV): Remove variable.
25904         (tst-chk2-ENV): Likewise.
25905         (tst-chk3-ENV): Likewise.
25906         (tst-chk4-ENV): Likewise.
25907         (tst-chk5-ENV): Likewise.
25908         (tst-chk6-ENV): Likewise.
25909         (tst-lfschk1-ENV): Likewise.
25910         (tst-lfschk2-ENV): Likewise.
25911         (tst-lfschk3-ENV): Likewise.
25912         (tst-lfschk4-ENV): Likewise.
25913         (tst-lfschk5-ENV): Likewise.
25914         (tst-lfschk6-ENV): Likewise.
25915         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
25916         (tst-iconv7-ENV): Likewise.
25917         * intl/Makefile (LOCPATH-ENV): Likewise.
25918         (tst-codeset-ENV): Likewise.
25919         (tst-gettext3-ENV): Likewise.
25920         (tst-gettext5-ENV): Likewise.
25921         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
25922         (tst-fopenloc-ENV): Likewise.
25923         (tst-fgetws-ENV): Remove variable.
25924         (tst-ungetwc1-ENV): Likewise.
25925         (tst-ungetwc2-ENV): Likewise.
25926         (bug-ungetwc2-ENV): Likewise.
25927         (tst-swscanf-ENV): Likewise.
25928         (bug-ftell-ENV): Likewise.
25929         (tst-fgetwc-ENV): Likewise.
25930         (tst-fseek-ENV): Likewise.
25931         (tst-ftell-partial-wide-ENV): Likewise.
25932         (tst-ftell-active-handler-ENV): Likewise.
25933         (tst-ftell-append-ENV): Likewise.
25934         * posix/Makefile (tst-fnmatch-ENV): Likewise.
25935         (tst-regexloc-ENV): Likewise.
25936         (bug-regex1-ENV): Likewise.
25937         (tst-regex-ENV): Likewise.
25938         (tst-regex2-ENV): Likewise.
25939         (bug-regex5-ENV): Likewise.
25940         (bug-regex6-ENV): Likewise.
25941         (bug-regex17-ENV): Likewise.
25942         (bug-regex18-ENV): Likewise.
25943         (bug-regex19-ENV): Likewise.
25944         (bug-regex20-ENV): Likewise.
25945         (bug-regex22-ENV): Likewise.
25946         (bug-regex23-ENV): Likewise.
25947         (bug-regex25-ENV): Likewise.
25948         (bug-regex26-ENV): Likewise.
25949         (bug-regex30-ENV): Likewise.
25950         (bug-regex32-ENV): Likewise.
25951         (bug-regex33-ENV): Likewise.
25952         (bug-regex34-ENV): Likewise.
25953         (bug-regex35-ENV): Likewise.
25954         (tst-rxspencer-ENV): Likewise.
25955         (tst-rxspencer-no-utf8-ENV): Likewise.
25956         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
25957         (tst-sscanf-ENV): Likewise.
25958         (tst-swprintf-ENV): Likewise.
25959         (tst-swscanf-ENV): Likewise.
25960         (test-vfprintf-ENV): Likewise.
25961         (scanf13-ENV): Likewise.
25962         (bug14-ENV): Likewise.
25963         (tst-grouping-ENV): Likewise.
25964         * stdlib/Makefile (tst-strtod-ENV): Likewise.
25965         (tst-strtod3-ENV): Likewise.
25966         (tst-strtod4-ENV): Likewise.
25967         (tst-strtod5-ENV): Likewise.
25968         (testmb2-ENV): Likewise./
25969         * string/Makefile (tst-strxfrm-ENV): Likewise.
25970         (tst-strxfrm2-ENV): Likewise.
25971         (bug-strcoll1-ENV): Likewise.
25972         (test-strcasecmp-ENV): Likewise.
25973         (test-strncasecmp-ENV): Likewise.
25974         * time/Makefile (tst-strptime-ENV): Likewise.
25975         (tst-ftime_l-ENV): Likewise.
25976         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
25977         (tst-mbrtowc-ENV): Likewise.
25978         (tst-wcrtomb-ENV): Likewise.
25979         (tst-mbrtowc2-ENV): Likewise.
25980         (tst-c16c32-1-ENV): Likewise.
25981         (tst-mbsnrtowcs-ENV): Likewise.
25983 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
25985         * manual/resource.texi (How to get information about the memory
25986         subsystem?): Fix typo.
25987         Reported by Peon de la Parra Ivan <peon@keba.com>
25989 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
25991         [BZ #16882]
25992         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
25993         (pthread_spin_lock): Branch out of spin loop to proper location.
25994         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
25995         (pthread_spin_lock): Likewise.
25997         * nptl/tst-spin4.c: New test.
25998         * nptl/Makefile (tests): Add tst-spin4.
26000 2014-06-03  Andreas Schwab  <schwab@suse.de>
26002         [BZ #15946]
26003         * resolv/res_send.c (send_dg): Reload file descriptor after
26004         calling reopen.
26006 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
26008         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26010 2014-06-03  Richard Henderson  <rth@redhat.com>
26012         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
26013         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
26014         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
26015         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
26016         in the SAVE_PID block.
26017         (__libc_vfork): New alias.
26018         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
26020         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
26021         child in registers, not on the stack.  Remove RESET_PID conditionals.
26022         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
26024 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
26026         * sysdeps/aarch64/libm-test-ulps: Regenerate.
26028 2014-06-03  Wilco  <wdijkstr@arm.com>
26030         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
26031         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
26032         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
26033         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
26034         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
26035         Likewise.
26037 2014-06-03  Wilco  <wdijkstr@arm.com>
26039         * sysdeps/aarch64/fpu/math_private.h
26040         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
26041         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
26042         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
26043         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
26044         Fix declarations.
26046 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26048         * crypt/crypt-private.h: Include ufc-crypt.h.
26049         (__b64_from_24bit): Declare extern.
26050         * crypt/crypt_util.c(__b64_from_24bit): New function.
26051         (b64t): New static const variable.
26052         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
26053         (b64t): Remove variable.
26054         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
26055         * crypt/sha256-crypt.c: Include crypt-private.h.
26056         (b64t): Remove variable.
26057         (__sha256_crypt_r): Remove b64_from_24bit and replace
26058         with __b64_from_24bit.
26059         * crypt/sha512-crypt.c: Likewise.
26061 2014-06-02  Roland McGrath  <roland@hack.frob.com>
26063         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
26064         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
26065         Label the code __libc_vfork rather than __vfork.
26066         [!NOT_IN_libc] (vfork): Define as weak alias.
26067         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
26068         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
26069         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
26071 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26073         * malloc/malloc.c (malloc_info): Fix format specifier for
26074         n_mmaps.
26076 2014-06-02  Wilco  <wdijkstr@arm.com>
26078         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
26079         FPCR write.
26081 2014-06-02  Wilco  <wdijkstr@arm.com>
26083         [BZ #17009]
26084         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
26085         Rewrite to reduce FPCR/FPSR accesses.
26087 2014-06-01  David S. Miller  <davem@davemloft.net>
26089         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26091 2014-05-31  David S. Miller  <davem@davemloft.net>
26093         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
26094         to occur in round to nearest mode when |x| >= 2.0
26096 2014-05-30  Richard Henderson  <rth@twiddle.net>
26098         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
26099         (PSEUDO_RET_NOERRNO): Remove.
26100         (ret): Don't redefine.
26101         (ret_NOERRNO): Define in terms of ret.
26102         (ret_ERRVAL): Likewise.
26104         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
26105         use of PSEUDO_RET; perform the error check directly.
26107 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
26109         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
26110         with __int128_t.
26112 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26114         * malloc/malloc (malloc_info): Fix formatting.
26116 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26117             Roland McGrath  <roland@hack.frob.com>
26119         * malloc/malloc (malloc_info): Also print mmapped statistics.
26121 2014-05-30  Roland McGrath  <roland@hack.frob.com>
26123         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
26124         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
26126 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
26128         * malloc/malloc.c (malloc_info): Inline mi_arena.
26130 2014-05-29  Richard Henderson  <rth@twiddle.net>
26132         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
26133         Remove comma before expanding ASM_ARGS_##nr.
26134         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
26135         Make _x0 a strict output; make _x8 a strict input; adjust expansion
26136         of ASM_ARGS_##nr.
26137         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
26138         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
26139         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
26140         (ASM_ARGS_1): Add leading comma.
26142         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
26143         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
26144         to __errno_location.
26145         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
26146         Remove the expected plt for __errno_location.
26148         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26149         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
26150         call to __read_tp.
26152         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26153         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
26154         it and break it down.
26155         (DOCARGS_0, DOCARGS_1): Do nothing.
26156         (DOCARGS_2): Update to store into the new stack frame.
26157         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
26158         (UNDOCARGS_1): Update to restore from the new stack frame.
26159         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
26160         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
26162         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26163         (SINGLE_THREAD_P): New parameter for result regno.
26164         (PSEUDO): Update to match; use cbz instead of beq.
26166         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26167         Use ENTRY to define the _nocancel entry point.  Share the syscall
26168         and syscall error check paths with the cancel path.
26169         (PSEUDO_END): New.
26171         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
26172         whitespace; tabs before and after asm mnemonics.
26174 2014-05-29  Eric Wong  <normalperson@yhbt.net>
26176         [BZ #15132]
26177         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26178         Call fstat64 or stat64 internally, depending on arguments passed.
26179         Replace stat buffer argument with file descriptor argument.
26180         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
26181         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
26182         Pass fd to __internal_statvfs instead of calling fstat64.
26183         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
26184         Pass fd to __internal_statvfs64 instead of calling fstat64.
26185         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
26186         Pass -1 to __internal_statvfs instead of calling stat64.
26187         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
26188         Pass -1 to __internal_statvfs64 instead of calling stat64.
26190 2014-05-28  Roland McGrath  <roland@hack.frob.com>
26192         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
26193         that was previously under [RESET_PID].
26194         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
26196         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
26197         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
26199 2014-05-27  Roland McGrath  <roland@hack.frob.com>
26201         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
26203         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
26204         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
26206 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
26208         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
26210 2014-05-27  Andreas Schwab  <schwab@suse.de>
26212         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
26213         TLS_INIT_TP macro.
26214         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
26215         * elf/rtld.c (init_tls, dl_main): Likewise.
26216         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
26217         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
26218         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
26219         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
26220         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
26221         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
26222         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
26223         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
26224         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
26225         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
26226         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
26227         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
26228         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
26229         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
26230         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
26231         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
26232         * sysdeps/generic/tls.h: Update description.
26234 2014-05-27  Will Newton  <will.newton@linaro.org>
26236         [BZ #16990]
26237         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
26238         and restore r2 rather than just restoring.
26240 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26242         [BZ #16724]
26243         * libio/tst-ftell-append.c: New test case.
26244         * libio/Makefile (tests): Add test case.
26245         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
26246         append mode.
26247         * libio/wfileops.c (do_ftell_wide): Likewise.
26249 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26251         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26253         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
26254         ...
26255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
26256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26257         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
26258         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
26259         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
26260         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
26261         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
26262         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
26263         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
26264         Moved ...
26265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
26266         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
26267         Moved ...
26268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
26269         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
26270         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
26271         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
26272         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
26273         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
26274         ...
26275         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
26276         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
26277         Moved ...
26278         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
26279         here.
26280         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
26281         ...
26282         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
26283         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
26284         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
26286         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
26287         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
26288         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
26289         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
26291         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
26292         merge into ...
26293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
26294         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
26295         ...
26296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
26297         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
26298         ...
26299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
26300         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
26301         Moved ...
26302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
26303         here.
26304         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
26305         Moved ...
26306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
26307         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
26308         Moved ...
26309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
26311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
26312         conditional [RESET_PID].
26313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
26314         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
26315         removed.
26316         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
26317         removed.
26319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
26320         <tcb-offsets.h>.
26321         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26322         (__libc_vfork): New strong alias.
26323         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
26324         removed.
26325         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
26326         Removed.
26328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
26329         <tcb-offsets.h>.
26330         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
26331         (__libc_vfork): New strong alias.
26332         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
26333         removed.
26334         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
26335         removed.
26337 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
26339         * malloc/malloc.c (mi_arena): New function.
26340         (malloc_info): Remove nested function mi_arena. Call non-nosted
26341         function mi_arena.
26343 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26345         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
26346         by insrwi.
26347         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
26348         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
26349         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
26350         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
26351         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
26352         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
26353         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
26355 2014-05-26  Andreas Schwab  <schwab@suse.de>
26357         [BZ #16984]
26358         * locale/programs/repertoire.c (repertoire_read): Add slash
26359         between I18NPATH element and file name.
26360         * locale/programs/locfile.c (locfile_read): Likewise.
26362 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
26364         * nptl/pthread_mutexattr_settype.c
26365         (__pthread_mutexattr_settype):
26366         Disable lock elision for PTHREAD_MUTEX_NORMAL.
26368 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
26370         * nptl/tst-mutex5 (do_test):
26371         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
26373 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26375         * benchtests/README: Document 'init' directive.
26376         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
26377         BENCH_INIT.
26378         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
26379         (parse_file): Recognize 'init' directive.
26381 2014-05-26  Kyle McMartin  <kyle@redhat.com>
26383         [BZ #16796]
26384         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
26385         alignment of struct pthread.
26387 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26389         [BZ #16878]
26390         * nscd/netgroupcache.c (addgetnetgrentX): Look for
26391         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
26392         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
26393         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
26395 2014-05-25  Richard Henderson  <rth@twiddle.net>
26397         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26398         (SINGLE_THREAD_P_PIC): Remove.
26399         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
26400         (SINGLE_THREAD_P_PIC): Remove.
26402         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
26403         branch to syscall error ...
26404         (PSEUDO): ... here.
26405         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
26406         from __local_syscall_error to .Lsyscall_error.
26407         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
26408         (SYSCALL_ERROR): Update label name.
26410         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26411         Do not use DOARGS/UNDOARGS.
26412         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
26413         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
26414         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
26415         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
26416         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
26418         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
26419         block comment.
26421         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
26422         define if !NOT_IN_libc.
26423         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
26424         define with non-default symbol versions.
26426 2014-05-23  Richard Henderson  <rth@twiddle.net>
26428         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
26429         (vfork, __vfork): Define via compat_symbol.
26431         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
26432         [!HAVE_IFUNC] (vfork_compat): Remove.
26433         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
26435 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
26437         [BZ #16978]
26438         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
26439         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
26440         variable.
26442 2014-05-23  Richard Henderson  <rth@twiddle.net>
26444         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
26445         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
26446         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
26447         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
26449         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
26450         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
26451         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
26452         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
26453         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
26454         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
26455         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
26456         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
26457         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
26458         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
26459         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
26460         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
26461         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
26462         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
26463         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
26464         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
26465         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
26466         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
26467         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
26468         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
26469         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
26470         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
26471         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
26472         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
26473         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
26474         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
26475         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
26476         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
26477         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
26478         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
26479         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
26480         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
26481         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
26482         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
26483         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
26484         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
26485         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
26486         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
26487         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
26488         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
26489         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
26490         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
26491         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
26492         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
26493         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
26494         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
26495         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
26496         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
26497         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
26498         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
26499         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
26500         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
26501         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
26502         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
26503         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
26504         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
26506         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
26507         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
26508         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
26509         before exiting on error.
26510         (__libc_vfork): New strong alias.
26511         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
26512         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
26514         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
26515         that was previously under [RESET_PID].
26516         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
26518         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
26520 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
26522         [BZ #16977]
26523         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
26524         value when x - 1 is zero.
26525         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
26526         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
26527         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
26528         0.0L for an argument of 1.0L.
26529         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
26530         Likewise.
26531         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
26532         value when x - 1 is zero.
26533         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
26534         * sysdeps/i386/fpu/libm-test-ulps: Update.
26535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26537 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
26539         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
26540         alphasort and versionsort.
26542 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26544         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
26545         macro.
26546         [copysignf]: Likewise.
26548 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26550         * crypt/md5-crypt.c: Fix formatting.
26552 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26554         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
26555         (b64_from_24bit): New function.
26557 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26559         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
26560         libc_hidden_builtin_def to ifunc.
26561         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
26562         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
26564 2014-05-21  Roland McGrath  <roland@hack.frob.com>
26566         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
26567         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
26569 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
26571         * nscd/Depend (linuxthreads): Remove.
26572         (nptl): Add.
26573         * resolv/Depend (linuxthreads): Remove.
26574         * rt/Depend (linuxthreads): Remove.
26576         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
26577         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
26578         $(common-objpfx)elf/.
26579         (link-libc-before-gnulib): Likewise.
26580         (elfobjdir): Remove variable.
26581         * Makefile (install): Use $(elf-objpfx) instead of
26582         $(common-objpfx)elf/.
26583         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
26584         $(elfobjdir)/.
26585         (link-libc-deps): Likewise.
26586         ($(common-objpfx)libc.so): Likewise.
26587         ($(common-objpfx)linkobj/libc.so): Likewise.
26588         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
26589         instead of $(common-objpfx)elf/.
26590         (symbolic-link-list): Likewise.
26591         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
26592         [$(cross-compiling) = no]: Likewise.
26593         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
26594         $(elfobjdir)/.
26595         (static-gnulib-arch): Likewise.
26596         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
26597         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
26598         $(common-objpfx)elf/.
26600 2014-05-21  Richard Henderson  <rth@redhat.com>
26602         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26603         (SINGLE_THREAD_P): Use the correct width load.  Fold
26604         into the ldr offset.
26606         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
26607         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
26609 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
26611         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
26612         (libgcc_s_resume): Use __attribute_used__.
26613         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
26614         Likewise.
26616 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26618         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
26619         optimization when used with float constants.
26621         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26623 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
26625         [BZ #16915]
26626         * locale/nl_langinfo_l.c: Make direct reference to every
26627         _nl_current_CATEGORY symbol.
26628         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
26629         (tests-static): Add tst-langinfo-static.
26630         (tests-special): Add tst-langinfo-static.out.
26631         ($(objpfx)tst-langinfo.out): Redirect output.
26632         ($(objpfx)tst-langinfo-static.out): New.
26633         * localedata/tst-langinfo.sh: Send output to stdout.
26634         * localedata/tst-langinfo-static.c: New file.
26636         [BZ #16965]
26637         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
26638         when the shift amount is modulo the limb size.
26640 2014-05-20  Richard Henderson  <rth@redhat.com>
26642         [BZ #16967]
26643         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
26644         Change type of sa_flags from unsigned int to int.
26646         [BZ #16966]
26647         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
26649         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
26651 2014-05-20  Will Newton  <will.newton@linaro.org>
26653         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26654         Test the return value of the system call in the nocancel case.
26656 2014-05-20  Will Newton  <will.newton@linaro.org>
26657             Yvan Roux  <yvan.roux@linaro.org>
26659         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
26660         #include of asm/ptrace.h.
26661         (PTRACE_GET_THREAD_AREA): Remove #undef.
26662         (PTRACE_GETHBPREGS): Likewise.
26663         (PTRACE_SETHBPREGS): Likewise.
26664         (struct user_regs_struct): New structure.
26665         (struct user_fpsimd_struct): New structure.
26666         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
26667         #include of asm/ptrace.h and second #include of sys/user.h.
26668         (PTRACE_GET_THREAD_AREA): Remove #undef.
26669         (PTRACE_GETHBPREGS): Likewise.
26670         (PTRACE_SETHBPREGS): Likewise.
26671         (ELF_NGREG): Use new struct user_regs_struct.
26672         (elf_fpregset_t): Use new struct user_fpsimd_struct.
26674 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26676         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
26677         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
26679 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
26681         [BZ #16958]
26682         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
26683         membar to avoid block loads/stores to overlap previous stores.
26685 2014-05-17  Richard Henderson  <rth@redhat.com>
26687         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
26688         Create the __##syscall_name##_nocancel entry point.
26689         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
26690         Remove; let the sysdep-cancel.h code create it.
26692 2014-05-17  David S. Miller  <davem@davemloft.net>
26694         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
26695         Protect with __USE_GNU.
26696         (TIOCSET_TEMPT): Likewise.
26697         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
26698         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
26699         these are already provided in bits/ioctl-types.h
26701 2014-05-16  Roland McGrath  <roland@hack.frob.com>
26703         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
26704         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
26706         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
26707         Use wait4 regardless of [__NR_waitpid].
26709 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
26711         PR libgcc/60166
26712         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
26713         (_FP_NANSIGN_Q): Set the quiet bit.
26715 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
26717         * benchtests/Makefile
26718         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
26719         not $(common-objpfx)math/libm.so.
26720         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
26721         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
26722         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
26723         $(common-objpfx)dlfcn/libdl.so.
26724         ($(objpfx)tst-audit8): Depend on $(libm), not
26725         $(common-objpfx)math/libm.so.
26726         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
26727         not $(common-objpfx)dlfcn/libdl.so.
26728         * math/Makefile
26729         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
26730         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
26731         [$(build-shared) = yes].
26732         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
26733         $(common-objpfx)nptl/libpthread.so.
26734         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
26735         $(common-objpfx)math/libm.so$(libm.so-version) or
26736         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
26737         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
26738         $(common-objpfx)dlfcn/libdl.so.
26739         * setjmp/Makefile (link-libm): Remove variable.
26740         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
26741         * stdio-common/Makefile (link-libm): Remove variable.
26742         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
26743         * stdlib/Makefile (link-libm): Remove variable.
26744         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
26745         ($(objpfx)tst-strtod-round): Likewise.
26746         ($(objpfx)tst-tininess): Likewise.
26747         ($(objpfx)tst-strtod-underflow): Likewise.
26748         ($(objpfx)tst-strtod6): Likewise.
26749         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
26750         $(libdl), not $(common-objpfx)nptl/libpthread.so and
26751         $(common-objpfx)dlfcn/libdl.so.
26753 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26755         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
26756         BSD terminal modes definitions.
26758 2014-05-16  Roland McGrath  <roland@hack.frob.com>
26760         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
26761         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
26763         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
26764         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
26765         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
26766         Don't do #include_next.
26767         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
26768         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
26769         Don't do #include_next.
26770         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
26771         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
26772         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
26773         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
26775 2014-05-16  Allan McRae  <allan@archlinux.org>
26777         * po/sv.po: Update Swedish translation from translation project.
26779         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
26780         in sed expression.
26782 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
26784         [BZ #16917]
26785         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
26786         errno if the TIOCGPTN ioctl fails with an error different than
26787         EINVAL.
26788         * login/tst-ptsname.c: New file.
26789         * login/Makefile (tests): Add tst-ptsname.
26791         [BZ #16943]
26792         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
26793         and prlimit64.
26795 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26797         [BZ #16849]
26798         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
26799         herrno to return EAI_AGAIN.
26801 2014-05-14  Roland McGrath  <roland@hack.frob.com>
26803         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
26804         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
26805         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
26806         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
26807         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
26808         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
26809         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
26810         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
26811         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
26812         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
26813         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
26814         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
26815         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
26816         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
26817         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
26818         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
26819         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
26820         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
26821         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
26822         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
26823         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
26824         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
26825         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
26826         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
26827         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
26828         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
26829         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
26830         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
26831         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
26832         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
26833         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
26834         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
26835         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
26836         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
26837         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26838         Moved ...
26839         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
26840         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
26841         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
26842         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
26843         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
26844         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
26845         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
26846         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
26847         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
26848         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
26849         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
26850         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
26851         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
26852         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
26853         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
26854         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
26855         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
26856         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
26857         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
26858         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
26859         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
26860         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
26861         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
26862         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
26863         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
26864         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
26865         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
26866         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
26867         Moved ...
26868         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
26869         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
26870         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
26871         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
26872         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
26873         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
26874         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
26875         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
26876         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
26877         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
26878         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
26879         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
26880         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
26881         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
26882         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
26883         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
26884         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
26885         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
26886         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
26887         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
26888         Moved ...
26889         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
26890         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
26891         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
26893         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
26894         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
26895         (libpthread-sysdep_routines): Add elision-related stuff here instead.
26896         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
26897         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
26898         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
26899         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
26900         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
26901         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
26902         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
26903         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
26904         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
26905         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
26906         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
26907         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
26908         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
26909         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
26910         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
26911         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
26912         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
26913         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
26914         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
26915         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
26916         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
26917         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
26918         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
26919         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
26920         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
26921         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
26922         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
26923         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
26925         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
26926         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
26928         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
26929         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
26930         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
26931         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
26932         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
26933         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
26934         Moved ...
26935         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
26936         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
26937         Moved ...
26938         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
26939         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
26940         Moved ...
26941         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
26942         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
26943         Moved ...
26944         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
26945         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
26946         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
26947         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
26948         Moved ...
26949         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
26950         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
26951         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
26952         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
26953         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
26954         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
26955         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
26956         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
26957         Moved ...
26958         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
26959         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
26960         Moved ...
26961         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
26962         ... here.
26963         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
26964         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
26965         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
26966         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
26967         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
26968         Moved ...
26969         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
26970         ... here.
26971         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
26972         Moved ...
26973         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
26974         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
26975         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
26976         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
26977         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
26978         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
26979         Moved ...
26980         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
26981         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
26982         Moved ...
26983         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
26984         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
26985         Moved ...
26986         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
26987         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
26988         Moved ...
26989         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
26990         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
26991         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
26992         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
26993         Moved ...
26994         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
26995         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
26996         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
26997         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
26998         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
26999         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
27000         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
27001         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
27002         Moved ...
27003         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
27004         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
27005         Moved ...
27006         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
27007         ... here.
27008         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
27009         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
27010         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
27011         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
27012         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
27013         Moved ...
27014         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
27015         ... here.
27016         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
27017         Moved ...
27018         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
27019         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
27020         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
27021         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
27022         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
27023         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
27024         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
27025         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
27026         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
27027         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
27028         Moved ...
27029         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
27030         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
27031         Moved ...
27032         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
27033         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
27034         Moved ...
27035         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
27036         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
27037         Moved ...
27038         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
27039         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
27040         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
27041         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
27042         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
27043         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
27044         Moved ...
27045         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
27046         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
27047         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
27048         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
27049         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
27050         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
27051         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
27052         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
27053         Moved ...
27054         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
27055         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
27056         Moved ...
27057         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
27058         ... here.
27059         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
27060         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
27061         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
27062         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
27063         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
27064         Moved ...
27065         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
27066         ... here.
27067         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
27068         Moved ...
27069         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
27070         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
27071         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
27072         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
27073         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
27074         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
27075         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
27076         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
27077         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
27078         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
27079         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
27081         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
27082         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
27084         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
27085         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
27087         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
27088         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
27089         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
27090         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
27091         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
27092         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
27093         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
27094         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
27095         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
27096         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
27097         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
27098         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
27099         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
27100         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
27101         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
27102         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
27103         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
27104         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
27105         Moved ...
27106         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
27107         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
27108         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
27109         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
27110         Moved ...
27111         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
27112         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
27113         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
27114         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
27115         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
27116         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
27117         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
27118         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
27119         Moved ...
27120         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
27121         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
27122         Moved ...
27123         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
27124         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
27125         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
27126         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
27127         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
27128         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
27129         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
27130         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
27131         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
27132         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
27133         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
27134         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
27135         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
27136         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
27137         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
27138         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
27139         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
27141         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
27142         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
27143         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
27144         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
27145         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
27147         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
27148         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
27149         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
27150         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
27151         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
27152         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
27153         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
27154         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
27155         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
27156         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
27158         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
27159         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
27161         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
27162         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
27163         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
27164         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
27165         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
27166         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
27167         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
27168         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
27169         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
27170         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
27171         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
27172         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
27173         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
27174         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
27175         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
27176         Update #include.
27177         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
27178         Likewise.
27179         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
27180         Likewise.
27181         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
27182         Likewise.
27183         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
27184         Likewise.
27185         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
27186         Likewise.
27187         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
27188         Likewise.
27189         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
27190         Likewise.
27191         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
27192         Likewise.
27193         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
27194         Likewise.
27195         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
27196         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
27197         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
27198         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
27199         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
27200         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
27201         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
27202         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
27203         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
27204         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
27205         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
27206         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
27207         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
27208         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
27209         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
27211         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
27212         that was previously under [RESET_PID].
27213         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27214         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
27215         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
27217         * sysdeps/i386/nptl/Implies: New file.
27218         * sysdeps/x86_64/nptl/Implies: New file.
27219         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
27220         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
27221         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
27222         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
27224         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
27225         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27226         (__libc_vfork): New strong alias.
27227         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
27228         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
27230         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
27231         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27232         (__libc_vfork): New strong alias.
27233         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
27234         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
27236         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
27237         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27238         (__libc_vfork): New strong alias.
27239         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
27240         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
27241         * nptl/pt-vfork.c: New file.
27242         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
27243         (libpthread: GLIBC_2.20): New version set (empty).
27245 2014-05-14  Will Newton  <will.newton@linaro.org>
27247         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
27248         rather than #if.
27250 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
27252         [BZ #16564]
27253         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
27254         arguments with exponent 65 or above.
27255         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
27256         arguments 0x1p113L or above.
27257         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
27258         to arguments 0x1p107L or above.
27259         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
27260         positive arguments with exponent 65 or above.
27261         * math/auto-libm-test-in: Add more tests of log1p.
27262         * math/auto-libm-test-out: Regenerated.
27264         [BZ #16928]
27265         * math/s_cacos.c (__cacos): Ensure zero real part of result from
27266         non-finite arguments is +0.
27267         * math/s_cacosf.c (__cacosf): Likewise.
27268         * math/s_cacosl.c (__cacosl): Likewise.
27269         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
27270         * sysdeps/i386/fpu/libm-test-ulps: Update.
27271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27273         [BZ #16927]
27274         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
27275         value.
27276         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
27277         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
27278         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
27279         for explicit high bit of mantissa when testing for argument equal
27280         to 1.
27281         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
27282         * sysdeps/i386/fpu/libm-test-ulps: Update.
27283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27285         [BZ #16516]
27286         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
27287         (__erf): Scale by 16 instead of 8 in potentially underflowing
27288         case.  Ensure exception if result actually underflows.
27289         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
27290         (__erff): Scale by 16 instead of 8 in potentially underflowing
27291         case.  Ensure exception if result actually underflows.
27292         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
27293         (efx8): Remove variable.
27294         (__erfl): Scale by 16 instead of 8 in potentially underflowing
27295         case.  Ensure exception if result actually underflows.
27296         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
27297         (efx8): Remove variable.
27298         (__erfl): Scale by 16 instead of 8 in potentially underflowing
27299         case.  Ensure exception if result actually underflows.
27300         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
27301         (efx8): Remove variable.
27302         (__erfl): Scale by 16 instead of 8 in potentially underflowing
27303         case.  Ensure exception if result actually underflows.
27304         * math/auto-libm-test-in: Add more tests of erf.
27305         * math/auto-libm-test-out: Regenerated.
27307 2014-05-14  Andreas Schwab  <schwab@suse.de>
27309         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
27310         Remove code conditionalized on USE___THREAD.
27312         * config.h.in (HAVE_PT_CHOWN): Define as 0.
27313         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
27314         not definedness.
27316 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
27318         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
27319         Define unconditionally.
27320         (__ASSUME_O_CLOEXEC): Likewise.
27321         (__ASSUME_SOCK_CLOEXEC): Likewise.
27322         (__ASSUME_IN_NONBLOCK): Likewise.
27323         (__ASSUME_PIPE2): Likewise.
27324         (__ASSUME_EVENTFD2): Likewise.
27325         (__ASSUME_SIGNALFD4): Likewise.
27326         (__ASSUME_DUP3): Likewise.
27327         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
27328         (__ASSUME_DUP3): Do not define.
27329         (__ASSUME_EVENTFD2): Likewise.
27330         (__ASSUME_IN_NONBLOCK): Likewise.
27331         (__ASSUME_O_CLOEXEC): Likewise.
27332         (__ASSUME_PIPE2): Likewise.
27333         (__ASSUME_SIGNALFD4): Likewise.
27334         (__ASSUME_SOCK_CLOEXEC): Likewise.
27335         (__ASSUME_UTIMES): Undefine.
27336         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27337         (__ASSUME_UTIMES): Do not define.
27338         (__ASSUME_O_CLOEXEC): Likewise.
27339         (__ASSUME_SOCK_CLOEXEC): Likewise.
27340         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
27341         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
27342         0x020621].
27343         (__ASSUME_PIPE2): Likewise.
27344         (__ASSUME_EVENTFD2): Likewise.
27345         (__ASSUME_SIGNALFD4): Likewise.
27346         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
27347         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
27348         Do not define.
27349         (__ASSUME_EVENTFD2): Likewise.
27350         (__ASSUME_SIGNALFD4): Likewise.
27351         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27352         (__ASSUME_32BITUIDS): Likewise.
27353         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27354         (__ASSUME_IPC64): Likewise.
27355         (__ASSUME_ST_INO_64_BIT): Likewise.
27356         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
27357         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
27358         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
27359         (__ASSUME_UTIMES): Do not define.
27360         (__ASSUME_PSELECT): Likewise.
27361         (__ASSUME_PPOLL): Likewise.
27362         (__ASSUME_O_CLOEXEC): Likewise.
27363         (__ASSUME_SOCK_CLOEXEC): Likewise.
27364         (__ASSUME_IN_NONBLOCK): Likewise.
27365         (__ASSUME_PIPE2): Likewise.
27366         (__ASSUME_EVENTFD2): Likewise.
27367         (__ASSUME_SIGNALFD4): Likewise.
27368         (__ASSUME_DUP3): Likewise.
27369         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
27370         (__ASSUME_UTIMES): Likewise.
27371         (__ASSUME_O_CLOEXEC): Likewise.
27372         (__ASSUME_SOCK_CLOEXEC): Likewise.
27373         (__ASSUME_IN_NONBLOCK): Likewise.
27374         (__ASSUME_PIPE2): Likewise.
27375         (__ASSUME_EVENTFD2): Likewise.
27376         (__ASSUME_SIGNALFD4): Likewise.
27377         (__ASSUME_DUP3): Likewise.
27378         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27379         (__ASSUME_UTIMES): Likewise.
27380         (__ASSUME_O_CLOEXEC): Likewise.
27381         (__ASSUME_SOCK_CLOEXEC): Likewise.
27382         (__ASSUME_IN_NONBLOCK): Likewise.
27383         (__ASSUME_PIPE2): Likewise.
27384         (__ASSUME_EVENTFD2): Likewise.
27385         (__ASSUME_SIGNALFD4): Likewise.
27386         (__ASSUME_DUP3): Likewise.
27387         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
27388         Likewise.
27389         (__ASSUME_UTIMES): Likewise.
27390         (__ASSUME_EVENTFD2): Likewise.
27391         (__ASSUME_SIGNALFD4): Likewise.
27392         * sysdeps/unix/sysv/linux/tile/kernel-features.h
27393         (__ASSUME_O_CLOEXEC): Likewise.
27394         (__ASSUME_SOCK_CLOEXEC): Likewise.
27395         (__ASSUME_IN_NONBLOCK): Likewise.
27396         (__ASSUME_PIPE2): Likewise.
27397         (__ASSUME_EVENTFD2): Likewise.
27398         (__ASSUME_SIGNALFD4): Likewise.
27399         (__ASSUME_DUP3): Likewise.
27400         (__ASSUME_UTIMES): Undefine.
27402         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
27403         feclearexcept.  Remove symbol versioning code.
27404         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
27405         symbol versioning code.
27406         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
27407         symbol versioning code.
27408         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
27409         feupdateenv.  Remove symbol versioning code.
27410         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
27411         fegetexceptflag.  Remove symbol versioning code.
27412         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
27413         fesetexceptflag.  Remove symbol versioning code.
27414         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
27415         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
27416         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
27417         (__posix_fadvise64_l32): Remove prototype.
27418         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
27419         code.
27421 2014-05-13  Roland McGrath  <roland@hack.frob.com>
27423         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
27424         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
27425         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
27426         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
27428 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
27430         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
27431         current working directory
27433 2014-05-13  Roland McGrath  <roland@hack.frob.com>
27435         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
27436         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
27437         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
27438         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
27439         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
27440         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
27441         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
27442         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
27443         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
27444         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
27445         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
27446         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
27447         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
27448         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
27449         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
27450         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
27451         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
27452         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
27453         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
27454         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
27455         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
27456         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
27457         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
27458         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
27459         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
27460         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
27461         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
27462         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
27463         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
27464         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
27465         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
27466         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
27467         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
27468         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
27469         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
27470         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
27471         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
27472         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
27473         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
27474         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
27475         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
27476         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
27478         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
27479         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
27481         * sysdeps/unix/sysv/linux/arm/Makefile
27482         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
27483         Add rt-aeabi_unwind_cpp_pr1.
27484         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
27485         Add nptl-aeabi_unwind_cpp_pr1.
27486         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
27487         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
27488         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
27489         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
27490         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
27491         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
27493         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
27494         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
27495         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
27496         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
27498         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
27499         Deconditionalize the code that was previously under [RESET_PID].
27500         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
27502         * sysdeps/generic/exit-thread.h: New file.
27503         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
27504         * include/unistd.h (__exit_thread): Remove declaration.
27505         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
27506         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
27507         * csu/libc-start.c: Include <exit-thread.h>.
27508         (LIBC_START_MAIN): Pass no argument to __exit_thread.
27509         * nptl/pthread_create.c: Include <exit-thread.h>.
27510         (start_thread): Call __exit_thread in place of __exit_thread_inline.
27511         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
27512         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
27513         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
27514         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
27515         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
27516         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
27517         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
27518         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
27519         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
27520         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
27521         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
27522         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
27523         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
27524         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
27525         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
27526         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
27528 2014-05-13  Andreas Schwab  <schwab@suse.de>
27530         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
27532 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
27534         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
27535         (__ASSUME_UTIMES): Do not condition on kernel version.
27536         (__ASSUME_PSELECT): Define unconditionally.
27537         (__ASSUME_PPOLL): Likewise.
27538         (__ASSUME_ATFCTS): Likewise.
27539         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
27540         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
27541         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
27542         (__ASSUME_UTIMENSAT): Define unconditionally.
27543         (__ASSUME_PRIVATE_FUTEX): Likewise.
27544         (__ASSUME_FALLOCATE): Likewise.
27545         (__ASSUME_O_CLOEXEC): Likewise.
27546         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
27547         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
27548         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
27549         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
27550         (__ASSUME_IN_NONBLOCK): Likewise.
27551         (__ASSUME_PIPE2): Likewise.
27552         (__ASSUME_EVENTFD2): Likewise.
27553         (__ASSUME_SIGNALFD4): Likewise.
27554         (__ASSUME_DUP3): Likewise.
27555         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
27556         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
27557         (__ASSUME_AT_RANDOM): Likewise.
27558         (__ASSUME_PREADV): Likewise.
27559         (__ASSUME_PWRITEV): Likewise.
27560         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
27561         (__ASSUME_F_GETOWN_EX): Define unconditionally.
27562         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
27563         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27564         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
27565         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27566         (__ASSUME_O_CLOEXEC): Define unconditionally.
27567         (__ASSUME_PSELECT): Do not undefine conditionally.
27568         (__ASSUME_PPOLL): Likewise.
27569         (__ASSUME_ATFCTS): Likewise.
27570         (__ASSUME_SET_ROBUST_LIST): Likewise.
27571         (__ASSUME_UTIMENSAT): Likewise.
27572         (__ASSUME_FDATASYNC): Define unconditionally.
27573         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27574         (__ASSUME_SIGFRAME_V2): Likewise.
27575         )__ASSUME_EVENTFD2): Likewise.
27576         (__ASSUME_SIGNALFD4): Likewise.
27577         (__ASSUME_PSELECT): Do not undefine conditionally.
27578         (__ASSUME_PPOLL): Likewise.
27579         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
27580         (__ASSUME_PSELECT): Define unconditionally.
27581         (__ASSUME_PPOLL): Likewise.
27582         (__ASSUME_O_CLOEXEC): Likewise.
27583         (__ASSUME_SOCK_CLOEXEC): Likewise.
27584         (__ASSUME_IN_NONBLOCK): Likewise.
27585         (__ASSUME_PIPE2): Likewise.
27586         (__ASSUME_EVENTFD2): Likewise.
27587         (__ASSUME_SIGNALFD4): Likewise.
27588         (__ASSUME_DUP3): Likewise.
27589         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
27590         (__ASSUME_O_CLOEXEC): Likewise.
27591         (__ASSUME_SOCK_CLOEXEC): Likewise.
27592         (__ASSUME_IN_NONBLOCK): Likewise.
27593         (__ASSUME_PIPE2): Likewise.
27594         (__ASSUME_EVENTFD2): Likewise.
27595         (__ASSUME_SIGNALFD4): Likewise.
27596         (__ASSUME_DUP3): Likewise.
27597         * sysdeps/unix/sysv/linux/mips/kernel-features.h
27598         (__ASSUME_EVENTFD2): Likewise.
27599         (__ASSUME_SIGNALFD4): Likewise.
27600         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
27602 2014-05-12  Andreas Schwab  <schwab@suse.de>
27604         [BZ #16932]
27605         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
27606         (_nss_nis_gethostbyname4_r): Return error if item length is larger
27607         than maximum RPC packet size.
27608         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
27609         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
27610         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
27611         (_nss_nis_getservbyport_r): Likewise.
27613 2014-05-12  Will Newton  <will.newton@linaro.org>
27615         * malloc/Makefile (tests): Add tst-mallopt.
27616         * malloc/tst-mallopt.c: New file.
27618 2014-05-09  Roland McGrath  <roland@hack.frob.com>
27620         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
27621         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
27623 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27625         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
27626         (tst-tlsmod6.so): Likewise.
27628 2014-05-09  Roland McGrath  <roland@hack.frob.com>
27630         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
27632 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
27634         [BZ #16064]
27635         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
27636         and <dl-procinfo.h>.
27637         (__fegetenv): Save SSE state in envp->__eip if supported.
27638         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
27639         envp->__eip if supported.
27640         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
27641         and <dl-procinfo.h>.
27642         (__fesetenv): Always set __eip, __cs_selector, __opcode,
27643         __data_offset and __data_selector in environment to 0.  Set SSE
27644         state if supported.
27645         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27646         test-fenv-sse.
27647         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
27648         -mfpmath=sse.
27649         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
27651 2014-05-09  Will Newton  <will.newton@linaro.org>
27653         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
27654         and libc_relro_required for ARM.
27655         * sysdeps/arm/preconfigure: Regenerate.
27657 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
27658             Stefan Liebler  <stli@linux.vnet.ibm.com>
27660         * config.make.in (enable-lock-elision): New Makefile variable.
27661         * configure.ac: Likewise.
27662         * configure: Regenerate.
27663         * sysdeps/s390/configure.ac:
27664         Add check for gcc transactions support.
27665         * sysdeps/s390/configure: Regenerate.
27666         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
27667         Build elision files if enabled.
27668         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
27669         Add lock elision support for s390.
27670         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
27671         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
27672         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
27673         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
27674         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
27675         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
27676         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
27677         Likewise.
27678         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
27679         Likewise.
27680         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
27681         Likewise.
27682         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
27683         Likewise.
27684         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
27685         (__lll_timedlock_elision, __lll_lock_elision)
27686         (__lll_unlock_elision, __lll_trylock_elision)
27687         (lll_timedlock_elision, lll_lock_elision)
27688         (lll_unlock_elision, lll_trylock_elision): Add.
27689         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
27690         (pthread_mutex_t): Add lock elision support for s390.
27692 2014-05-14  Wilco  <wdijkstr@arm.com>
27694         * sysdeps/arm/fclrexcpt.c: Cleanup.
27695         * sysdeps/arm/fedisblxcpt.c: Cleanup.
27696         * sysdeps/arm/feenablxcpt.c: Cleanup.
27697         * sysdeps/arm/fegetenv.c: Cleanup.
27698         * sysdeps/arm/fegetexcept.c: Cleanup.
27699         * sysdeps/arm/fegetround.c: Cleanup.
27700         * sysdeps/arm/feholdexcpt.c: Cleanup.
27701         * sysdeps/arm/fesetenv.c: Cleanup.
27702         * sysdeps/arm/fesetround.c: Cleanup.
27703         * sysdeps/arm/feupdateenv.c: Cleanup.
27704         * sysdeps/arm/fgetexcptflg.c: Cleanup.
27705         * sysdeps/arm/fraiseexcpt.c: Cleanup.
27706         * sysdeps/arm/fsetexcptflg.c: Cleanup.
27707         * sysdeps/arm/ftestexcept.c: Cleanup.
27708         * sysdeps/arm/get-rounding-mode.h: Cleanup.
27709         * sysdeps/arm/setfpucw.c: Cleanup.
27711 2014-05-09  Will Newton  <will.newton@linaro.org>
27713         * sysdeps/arm/armv7/strcmp.S: New file.
27714         * NEWS: Mention addition of ARMv7 optimized strcmp.
27716 2014-05-08  Roland McGrath  <roland@hack.frob.com>
27718         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
27719         look for %.ac rather than %.in.
27721         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
27722         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
27723         * sysdeps/mach/hurd/configure: Regenerated.
27724         * sysdeps/unix/sysv/linux/configure: Regenerated.
27726         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
27728 2014-05-07  Steve Ellcey  <sellcey@mips.com>
27730         [BZ# 16922]
27731         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
27732         (LONG_SUB): Ditto.
27733         (PTR_SUB): Ditto.
27735 2014-05-07  Andreas Schwab  <schwab@suse.de>
27737         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
27738         when skipping over non-matching result from nscd.
27740 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
27742         [BZ #16876]
27743         * nptl/sockperf.c (client): Check socket return value.
27745         [BZ #16877]
27746         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
27747         nscd security class.
27749 2014-05-06  Roland McGrath  <roland@hack.frob.com>
27751         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
27752         * sysdeps/arm/unwind.h: ... here.
27754 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
27756         [BZ# 16916]
27757         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
27758         Define.
27760 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27762         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
27763         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
27764         multiarch strncpy for PPC64.
27765         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
27766         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
27767         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
27768         multiarch optimizations.
27769         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27770         (__libc_ifunc_impl_list): Likewise.
27771         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
27772         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
27773         multiarch stpncpy for PPC64.
27774         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
27775         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
27777 2014-05-06  Andreas Schwab  <schwab@suse.de>
27779         [BZ #16912]
27780         * gmon/mcount.c (_MCOUNT_DECL): Use
27781         atomic_compare_and_exchange_bool_acq instead of
27782         catomic_compare_and_exchange_bool_acq.
27784 2014-05-05  Roland McGrath  <roland@hack.frob.com>
27786         * elf/Makefile (others, install-bin): Remove pldd.
27787         (pldd-modules): Variable removed.
27788         ($(objpfx)pldd): Target removed.
27789         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
27790         (others, install-bin): Append pldd here.
27791         ($(objpfx)pldd): New target.
27793         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
27794         to 0, so the first #if test emitted later doesn't see it undefined.
27795         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
27796         * sysdeps/gnu/errlist.c: Regenerated.
27798 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27800         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
27801         [libc_hidden_builtin_def]: Define to empty value.
27802         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
27803         [libc_hidden_builtin_def]: Likewise.
27804         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
27805         [libc_hidden_builtin_def]: Likewise.
27806         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
27807         [libc_hidden_builtin_def]: Likewise.
27808         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
27809         __redirect_memcpy and define ifunc as default hidden symbol.
27810         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
27811         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
27813 2014-05-04  Adam Conrad  <adconrad@0c3.net>
27815         * locale/iso-4217.def: Reintroduce XDR currency.
27817 2014-05-04  Allan McRae  <allan@archlinux.org>
27819         * po/eo.po: Update Esperanto translation from translation project.
27821 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
27823         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
27824         and FEATURE_INDEX_MAX to 1.
27825         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
27827 2014-05-01  Steve Ellcey  <sellcey@mips.com>
27829         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
27830         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
27831         * iconvdata/big5.c (ONE_DIRECTION): Define.
27832         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
27833         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
27834         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
27835         * iconvdata/cp932.c (ONE_DIRECTION): Define.
27836         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
27837         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
27838         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
27839         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
27840         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
27841         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
27842         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
27843         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
27844         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
27845         * iconvdata/gbk.c (ONE_DIRECTION): Define.
27846         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
27847         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
27848         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
27849         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
27850         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
27851         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
27852         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
27853         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
27854         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
27855         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
27856         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
27857         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
27858         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
27859         * iconvdata/iso646.c (ONE_DIRECTION): Define.
27860         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
27861         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
27862         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
27863         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
27864         * iconvdata/johab.c (ONE_DIRECTION): Define.
27865         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
27866         * iconvdata/sjis.c (ONE_DIRECTION): Define.
27867         * iconvdata/t.61.c (ONE_DIRECTION): Define.
27868         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
27869         * iconvdata/tscii.c (ONE_DIRECTION): Define.
27870         * iconvdata/uhc.c (ONE_DIRECTION): Define.
27871         * iconvdata/unicode.c (ONE_DIRECTION): Define.
27872         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
27873         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
27874         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
27876 2014-05-01  Roland McGrath  <roland@hack.frob.com>
27878         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
27879         (_IO_JUMPS_OFFSET): Define to 0.
27881         * nptl/sysdeps/pthread/bits/libc-lock.h
27882         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
27883         (__libc_lock_define_initialized_recursive): Always define using
27884         initializer.  Modern compilers treat uninitialized (implicit zero) and
27885         explicit zero initializers the same (i.e. put the datum in bss).
27887 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27889         * nscd/nscd-client.h: Include <string.h>.
27891 2014-05-01  David S. Miller  <davem@davemloft.net>
27893         [BZ #16885]
27894         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
27895         multiple zero bytes exist at the end of a string.
27896         Reported by Aurelien Jarno <aurelien@aurel32.net>
27898         * string/test-strcmp.c (check): Add explicit test for situations where
27899         there are multiple zero bytes after the first.
27901 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27903         [BZ #16890]
27904         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
27905         when compiling wprintf.
27906         * stdio-common/tstdiomisc.c (t3): New function.
27907         (main): Call it.
27909 2014-05-01  Steve Ellcey  <sellcey@mips.com>
27911         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
27912         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
27913         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
27914         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
27916 2014-05-01  Steve Ellcey  <sellcey@mips.com>
27918         * stdlib/longlong.h: Updated from GCC.
27920 2014-05-01  Will Newton  <will.newton@linaro.org>
27921             Bernard Ogden  <bernie.ogden@linaro.org>
27923         * NEWS: Update fixed bug list.
27925         [BZ #15119]
27926         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
27928 2014-04-30  David S. Miller  <davem@davemloft.net>
27930         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
27931         (libc_feholdexcept_setround_sparc_ctx): New function.
27932         (libc_fesetenv_sparc_ctx): Likewise.
27933         (libc_feupdateenv_sparc_ctx): Likewise.
27934         (libc_feholdsetround_sparc_ctx): Likewise.
27935         (libc_feholdexcept_setround_ctx): Define.
27936         (libc_feholdexcept_setroundf_ctx): Likewise.
27937         (libc_feholdexcept_setroundl_ctx): Likewise.
27938         (libc_fesetenv_ctx): Likewise.
27939         (libc_fesetenvf_ctx): Likewise.
27940         (libc_fesetenvl_ctx): Likewise.
27941         (libc_feupdateenv_ctx): Likewise.
27942         (libc_feupdateenvf_ctx): Likewise.
27943         (libc_feupdateenvl_ctx): Likewise.
27944         (libc_feresetround_ctx): Likewise.
27945         (libc_feresetroundf_ctx): Likewise.
27946         (libc_feresetroundl_ctx): Likewise.
27947         (libc_feholdsetround_ctx): Likewise.
27948         (libc_feholdsetroundf_ctx): Likewise.
27949         (libc_feholdsetroundl_ctx): Likewise.
27951         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
27952         with __USE_GNU instead of XOPEN cpp guards.
27954         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
27955         0.
27957         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
27958         with XOPEN cpp guards.
27960 2014-04-30  Julian Brown  <julian@codesourcery.com>
27962         [BZ #16888]
27963         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
27964         handling.
27966 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
27968         [BZ #9894]
27969         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
27970         Change to 2.6.32.
27971         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
27972         * sysdeps/unix/sysv/linux/configure: Regenerated.
27973         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
27974         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
27975         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
27976         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
27977         * README: Update reference to required Linux kernel version.
27978         * manual/install.texi (Linux): Update reference to required Linux
27979         kernel headers version.
27980         * INSTALL: Regenerated.
27982         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
27983         header inclusion.
27984         [POSIX] (limits.h): Likewise.
27985         [POSIX] (math.h): Likewise.
27986         [POSIX] (sys/wait.h): Likewise.
27987         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
27988         function.
27989         [POSIX] (stddef.h): Do not allow header inclusion.
27991 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27993         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
27995 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
27997         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
27998         Return immediately after lll_futex_wake.
28000 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28002         [BZ #16791]
28003         * nscd/nscd-client.h (datahead_init_common): Initialize entire
28004         structure.
28005         (datahead_init_pos): Call datahead_init_common early.
28006         (datahead_init_neg): Likewise.
28008         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
28009         datahead_init_neg): New functions.
28010         * nscd/aicache.c (addhstaiX): Use them.
28011         * nscd/grpcache.c (cache_addgr): Likewise.
28012         * nscd/hstcache.c (cache_addhst): Likewise.
28013         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28014         * nscd/netgroupcache.c (do_notfound): Likewise.
28015         (addgetnetgrentX): Likewise.
28016         (addinnetgrX): Likewise.
28017         * nscd/pwdcache.c (cache_addpw): Likewise.
28018         * nscd/servicescache.c (cache_addserv): Likewise.
28020 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28021             Atsushi Onoe  <atsushi@onoe.org>
28023         [BZ #14308]
28024         [BZ #12994]
28025         [BZ #13651]
28026         * resolv/res_query.c (__libc_res_nsearch): Return if at least
28027         one response is valid.
28028         * resolv/res_send.c (send_dg): Check for validity of other
28029         response if the current response is a referral.
28031 2014-04-29  Steve Ellcey  <sellcey@mips.com>
28033         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
28035 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
28037         [BZ #16823]
28038         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
28039         Always divide by positive zero when computing -Inf result.
28040         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
28041         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
28043 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28045         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
28046         FPSCR if value do not change.
28047         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28048         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
28049         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28050         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28051         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
28052         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
28053         function.
28055 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
28057         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
28058         * sysdeps/unix/sysv/linux/hppa: Move directory from
28059         ports/systeps/unix/sysv/linux/hppa.
28060         * README: Update listing for hppa-*-linux-gnu.
28062 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
28064         [BZ #16754]
28065         * manual/stdio.texi (Hook functions): Fix types of stream hook
28066         functions.
28067         [BZ #16854]
28068         * socket/sys/socket.h: Fix typo in comment.
28070 2014-04-28  Wilco  <wdijkstr@arm.com>
28072         * sysdeps/arm/fenv_private.h: New file.
28073         * sysdeps/arm/math_private.h: New file.
28074         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
28076 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
28078         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
28079         with __int128_t.
28080         (La_x86_64_retval): Likewise.
28082 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
28084         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
28085         fpsr if value didn't change.
28086         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
28087         to fpcr if value didn't change.
28088         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
28089         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
28090         fpsr or fpcr if value didn't change.
28091         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
28092         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
28093         fpcr if value didn't change.
28094         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
28095         to fpsr if value didn't change.
28097 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28099         * nptl/tst-sem3.c: Use test-skeleton.c
28100         (main): Rename to do_test.  Use return instead of
28101         exit.
28102         * nptl/tst-sem4.c: Use test-skeleton.c
28103         (main): Rename to do_test.
28105 2014-04-22  David S. Miller  <davem@davemloft.net>
28107         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
28108         (struct sigaction): New struct member __glibc_reserved0, change
28109         type of sa_flags to int.
28111 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
28113         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
28114         (COUNT_LEADING_ZEROS_0): Define for AArch64.
28116 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28118         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
28119         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
28121 2014-04-22  Will Newton  <will.newton@linaro.org>
28122             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
28124         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
28125         (__longjmp): Add longjmp and longjmp_target SystemTap
28126         probes.
28127         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
28128         (__sigsetjmp): Add setjmp SystemTap probe.
28130 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
28132         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
28133         match manual order.
28135 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28137         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
28139         * sysdeps/powerpc/fpu/fenv_private.h
28140         (libc_feholdexcept_setroundl_ctx): Define to
28141         libc_feholdexcept_setround_ppc_ctx.
28142         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
28143         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
28144         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
28145         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
28147 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
28149         * sysdeps/aarch64/math-tests.h: New file.
28151 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
28153         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
28154         New.
28155         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28156         Check and set bit_AVX2_Usable.
28157         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
28158         macro.
28159         (bit_AVX2): Likewise.
28160         (index_AVX2_Usable): Likewise.
28161         (CPUID_AVX2): Likewise.
28162         (HAS_AVX2): Likewise.
28164 2014-04-17  Will Newton  <will.newton@linaro.org>
28166         * manual/setjmp.texi (System V contexts): Add note that
28167         calling setcontext on a context created by a call to a
28168         signal handler is undefined.  Update text to note that
28169         setcontext from a signal handler is possible but not
28170         recommended.
28172         [BZ #16629]
28173         * stdlib/tst-setcontext.c: Include signal.h.
28174         (main): Check that the signal stack before and
28175         after swapcontext is the same.
28177         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
28178         Re-implement to restore registers in user code and avoid
28179         rt_sigreturn system call.
28181 2014-04-17  Wilco  <wdijkstr@arm.com>
28183         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
28184         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
28185         * math/test-fenv.c: Skip exception trap tests on targets which only
28186         support non-stop mode.
28188 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
28189             Wilco Dijkstra  <wilco.dijkstra@arm.com>
28191         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
28192         (libc_feholdsetround_aarch64_ctx)
28193         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
28194         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
28195         (libc_feresetround_ctx, libc_feresetroundf_ctx)
28196         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
28197         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
28198         (libc_feresetround_noexl_ctx): Define.
28200 2014-04-16  Richard Henderson  <rth@redhat.com>
28202         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
28204         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
28205         unwind tables.
28207         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
28208         const from the non-libc, non-ldso copy.
28210         * sysdeps/alpha/libm-test-ulps: Regenerate.
28212 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
28213             Wilco Dijkstra  <wilco.dijkstra@arm.com>
28215         * sysdeps/aarch64/fpu/math_private.h: New file.
28217 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
28219         * sysdeps/aarch64/libm-test-ulps: Regenerate.
28221 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
28223         [BZ #16275]
28224         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
28225         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
28226         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
28227         Intel MPX bound registers before _dl_profile_fixup.
28228         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
28229         registers after _dl_profile_fixup.  Save and restore bound
28230         registers bnd0/bnd1 when calling _dl_call_pltexit.
28231         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
28232         (LR_BND_OFFSET): Likewise.
28233         (LRV_BND0_OFFSET): Likewise.
28234         (LRV_BND1_OFFSET): Likewise.
28236 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28238         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
28239         to...
28240         * sysdeps/mach/hurd/i386/tls.h: ... here.
28241         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
28242         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
28243         fields.
28245 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28247         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
28249 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
28251         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28253 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
28255         [BZ #14770]
28256         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
28257         * sysdeps/s390/configure: Regenerate.
28259         [BZ #16824]
28260         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
28261         Set round-to-nearest internally to reduce error accumulation.
28263 2014-04-16  Alan Modra  <amodra@gmail.com>
28265         [BZ #16740]
28266         [BZ #16619]
28267         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
28268         * math/libm-test.inc (frexp_test_data): Add tests.
28269         * NEWS: Update fixed bug list.
28271 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28273         * benchtests/Makefile: Depend on libraries in build directory.
28274         (bench-math): Separate out math tests.
28275         (bench-pthread): Separate out pthread tests.
28276         (bench): Include math and pthread tests.
28278 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
28280         [BZ #16831]
28281         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
28282         _dl_debug_initialize.
28284         * configure.ac: Remove SELinux header check.
28285         * configure: Regenerate.
28286         * nscd/selinux.c (perms): Array of const char* to permission names.
28287         (nscd_request_avc_has_perm): Call security_deny_unknown to find
28288         default policy. Call string_to_security_class and string_to_av_perm to
28289         translate strings. Enforce default policy and call avs_has_perm with
28290         results of translated strings.
28292 2014-04-13  David S. Miller  <davem@davemloft.net>
28294         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28296 2014-04-12  Allan McRae  <allan@archlinux.org>
28298         [BZ #16838]
28299         * manual/string.texi (Collation Functions): Fix qsort argument
28300         order in example.
28301         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28303 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
28305         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
28306         Make the test a no-op if there are no exceptions defined.
28308 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
28310         * elf/Makefile (tests): make tst-dlopen-aout conditional on
28311         enable-hardcoded-path-in-tests
28313 2014-04-11  Will Newton  <will.newton@linaro.org>
28315         * benchtests/Makefile (extra-objs): Add json-lib.o.
28316         (bench-func): Tidy up JSON output.
28317         * benchtests/bench-skeleton.c: Include json-lib.h.
28318         (main): Use JSON library functions to do output of
28319         benchmark results.
28320         * benchtests/bench-timing-type.c (main): Output the
28321         timing type simply, leaving formatting to the user.
28322         * benchtests/json-lib.c: New file.
28323         * benchtests/json-lib.h: Likewise.
28325 2014-04-11  Torvald Riegel  <triegel@redhat.com>
28327         [BZ #15215]
28328         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
28329         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
28330         memory barriers.  Add comments.
28331         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
28332         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
28333         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
28334         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
28335         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
28336         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
28338 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
28340         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
28341         * sysdeps/s390/s390-64/configure.ac: ... this ...
28342         * sysdeps/s390/configure.ac: ... to here.
28343         * sysdeps/s390/s390-32/configure: Delete file.
28344         * sysdeps/s390/s390-64/configure: Delete file.
28345         * sysdeps/s390/configure: Regenerate.
28347 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
28349         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
28351 2014-04-11  Will Newton  <will.newton@linaro.org>
28353         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
28354         to zero if it is not defined elsewhere.  (mtrim): Test
28355         the value of MALLOC_DEBUG with #if rather than #ifdef.
28357 2014-04-10 Torvald Riegel  <triegel@redhat.com>
28359         * benchtests/pthread_once-inputs: New file.
28360         * benchtests/pthread_once-source.c: New file.
28361         * benchtests/README: Update documentation.
28363 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
28364             H.J. Lu  <hongjiu.lu@intel.com>
28366         [BZ #16275]
28367         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
28368         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
28369         * sysdeps/x86_64/configure: Regenerated.
28370         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
28371         macro.
28372         (REGISTER_SAVE_RAX): Likewise.
28373         (REGISTER_SAVE_RCX): Likewise.
28374         (REGISTER_SAVE_RDX): Likewise.
28375         (REGISTER_SAVE_RSI): Likewise.
28376         (REGISTER_SAVE_RDI): Likewise.
28377         (REGISTER_SAVE_R8): Likewise.
28378         (REGISTER_SAVE_R9): Likewise.
28379         (REGISTER_SAVE_BND0): Likewise.
28380         (REGISTER_SAVE_BND1): Likewise.
28381         (REGISTER_SAVE_BND2): Likewise.
28382         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
28383         bound registers when calling _dl_fixup.
28385 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28387         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
28388         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
28389         of its definition.
28390         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
28391         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
28392         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
28393         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
28394         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
28395         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
28396         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
28398 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
28400         [BZ #15514]
28401         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
28402         pathconf(_PC_NAME_MAX).
28404 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28406         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
28407         Remove macro usage.
28408         (__PTHREAD_SPINS): Move definition to ...
28409         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
28410         (__PTHREAD_SPINS): ... here.
28411         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
28412         (__PTHREAD_SPIN): Likewise.
28413         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
28414         (__PTHREAD_SPIN): Likewise.
28415         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
28416         (__PTHREAD_SPIN): Likewise.
28417         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
28418         (__PTHREAD_SPIN): Likewise.
28419         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
28420         (__PTHREAD_SPIN): Likewise.
28421         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
28422         (__PTHREAD_SPIN): Likewise.
28423         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
28424         (__PTHREAD_SPIN): Likewise.
28425         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
28426         (__PTHREAD_SPIN): Likewise.
28427         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
28428         (__PTHREAD_SPIN): Likewise.
28429         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
28430         (__PTHREAD_SPIN): Likewise.
28431         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
28432         (__PTHREAD_SPIN): Likewise.
28433         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
28434         (__PTHREAD_SPIN): Likewise.
28436         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
28437         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
28438         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
28439         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
28440         imply folder.
28441         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
28442         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
28443         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
28444         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
28445         correct imply path.
28446         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
28447         strlen symbol for non multi-arch builds.
28448         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
28449         missing hidden_def and weak_alias.
28451 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
28453         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
28455 2014-04-07  Will Newton  <will.newton@linaro.org>
28457         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
28458         and contents.  [!_LIBC] Remove #ifndef and contents.
28459         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
28460         * string/memccpy.c (__memccpy): Use ANSI prototype.
28461         * string/memfrob.c (memfrob): Likewise.
28462         * string/strcoll.c (STRCOLL): Likewise.
28463         * string/strlen.c (strlen): Likewise.
28464         * string/strtok.c (STRTOK): Likewise.
28465         * string/strcat.c: Remove unused #include of memcopy.h.
28466         (strcat): Use ANSI prototype.
28467         * string/strchr.c: Remove unused #include of memcopy.h.
28468         (strchr): Use ANSI prototype.
28469         * string/strcmp.c: Remove unused #include of memcopy.h.
28470         (strcmp): Use ANSI prototype.
28471         * string/strcpy.c: Remove unused #include of memcopy.h.
28472         (strcpy): Use ANSI prototype.
28474 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28476         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
28477         * config.make.in (config-extra-cppflags): Set it from
28478         libc_extra_cppflags.
28479         * configure.ac (libc_extra_cflags): Make it accumulate over
28480         configure fragments.
28481         (libc_extra_cppflags): New flag.
28482         * configure. Regenerate.
28483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
28484         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
28485         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
28486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
28488         [BZ #16815]
28489         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
28490         result for FE_DOWNWARD rounding mode.
28491         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
28492         Likewise.
28493         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28495 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
28497         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
28498         in function argument name.
28500 2014-04-03  David Svoboda  <svoboda@cert.org>
28502         [BZ #5666]
28503         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
28504         explicitly.
28506 2014-04-03  Roland McGrath  <roland@hack.frob.com>
28508         * elf/dl-unmap-segments.h: New file.
28509         * sysdeps/generic/ldsodefs.h
28510         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
28511         * elf/dl-close.c: Include <dl-unmap-segments.h>.
28512         * elf/dl-fptr.c: Likewise.
28513         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
28514         * sysdeps/aarch64/tlsdesc.c: Likewise.
28515         * sysdeps/arm/tlsdesc.c: Likewise.
28516         * sysdeps/i386/tlsdesc.c: Likewise.
28517         * sysdeps/tile/dl-runtime.c: Likewise.
28518         * sysdeps/x86_64/tlsdesc.c: Likewise.
28519         * elf/dl-load.h: New file.
28520         * elf/dl-load.c: Include it.
28521         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
28522         Macros moved to dl-load.h.
28523         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
28524         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
28525         Use _dl_unmap_segments in place of __munmap.
28526         Break out segment-mapping loop into ...
28527         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
28529 2014-04-03  Will Newton  <will.newton@linaro.org>
28531         * elf/dl-lookup.c (do_lookup_x): Remove comment
28532         referring to nested function and move variable
28533         declarations down to before first use.
28535 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
28537         [BZ #16799]
28538         [BZ #16800]
28539         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
28540         with 0 numerator.
28541         * math/s_catanf.c (__catanf): Likewise.
28542         * math/s_catanh.c (__catanh): Likewise.
28543         * math/s_catanhf.c (__catanhf): Likewise.
28544         * math/s_catanhl.c (__catanhl): Likewise.
28545         * math/s_catanl.c (__catanl): Likewise.
28546         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
28547         by positive zero when computing -Inf result.
28548         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
28549         (catanh_test): Likewise.
28550         * sysdeps/i386/fpu/libm-test-ulps: Update.
28551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28553         [BZ #16789]
28554         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
28555         instead of using underflowing value in computing result.
28556         * math/s_clog10.c (__clog10): Likewise.
28557         * math/s_clog10f.c (__clog10f): Likewise.
28558         * math/s_clog10l.c (__clog10l): Likewise.
28559         * math/s_clogf.c (__clogf): Likewise.
28560         * math/s_clogl.c (__clogl): Likewise.
28561         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
28562         (clog10_test): Likewise.
28563         * sysdeps/i386/fpu/libm-test-ulps: Update.
28564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28566 2014-04-02  Alan Modra  <amodra@gmail.com>
28568         [BZ #16739]
28569         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
28570         output when value is near a power of two.  Use int64_t for lx and
28571         remove casts.  Use decimal rather than hex exponent constants.
28572         Don't use long double multiplication when double will suffice.
28573         * math/libm-test.inc (nextafter_test_data): Add tests.
28574         * NEWS: Add 16739 and 16786 to bug list.
28576         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
28578         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
28580 2014-04-01  Will Newton  <will.newton@linaro.org>
28582         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
28583         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
28585 2014-04-01  Florian Weimer  <fweimer@redhat.com>
28587         [BZ #13347]
28588         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
28589         * nptl/tst-setuid2.c: New file.
28590         * nptl/Makefile (xtests): Add tst-setuid2.
28592 2014-04-01  Alan Modra  <amodra@gmail.com>
28594         [BZ #16786]
28595         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
28597 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
28599         [BZ #6803]
28600         [BZ #6804]
28601         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
28602         set errno as appropriate.
28603         * math/w_scalbf.c (__scalbf): Likewise.
28604         * math/w_scalbl.c (__scalbl): Likewise.
28605         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
28606         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
28607         * math/libm-test.inc (scalb_test_data): Add errno expectations.
28608         Add more NaN tests.
28610         [BZ #16349]
28611         * math/w_atan2.c: Include <errno.h>.
28612         (__atan2): Set errno for result underflowing to zero.
28613         * math/w_atan2f.c: Include <errno.h>.
28614         (__atan2f): Set errno for result underflowing to zero.
28615         * math/w_atan2l.c: Include <errno.h>.
28616         (__atan2l): Set errno for result underflowing to zero.
28617         * math/auto-libm-test-in: Don't allow missing errno for some atan2
28618         tests.
28619         * math/auto-libm-test-out: Regenerated.
28621 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28623         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
28624         Encode instruction correctly in little endian.
28625         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
28626         Likewise.
28627         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
28628         Likewise.
28629         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
28630         Likewise.
28631         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
28632         Likewise.
28634 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
28636         [BZ #9894]
28637         * sysdeps/unix/sysv/linux/kernel-features.h
28638         [__sparc__ && !__arch64__ && !__sparc_v9__]
28639         (__ASSUME_SET_ROBUST_LIST): Do not define.
28640         [__sparc__ && !__arch64__ && !__sparc_v9__]
28641         (__ASSUME_FUTEX_LOCK_PI): Likewise.
28642         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
28643         Likewise.
28644         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28645         (__ASSUME_FUTEX_LOCK_PI): Undefine.
28646         (__ASSUME_REQUEUE_PI): Likewise.
28647         (__ASSUME_SET_ROBUST_LIST): Likewise.
28648         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28649         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
28650         Undefine.
28651         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28652         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
28653         Likewise.
28654         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
28655         Likewise.
28656         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
28657         Likewise.
28658         * sysdeps/unix/sysv/linux/mips/kernel-features.h
28659         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
28660         Undefine.
28661         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
28662         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
28663         Likewise.
28665         [BZ #16648]
28666         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28667         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
28668         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
28670 2014-03-31  Will Newton  <will.newton@linaro.org>
28672         * benchtests/Makefile (bench): Add ffs and ffsll to list
28673         of tests.
28674         * benchtests/ffs-inputs: New file.
28675         * benchtests/ffsll-inputs: Likewise.
28677 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
28679         [BZ #16770]
28680         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
28681         too large before casting to int.
28682         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
28683         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
28684         * math/libm-test.inc (scalb_test_data): Add more tests.
28686 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28688         * benchtests/Makefile (DETAILED_OPT): New make option.
28689         (bench-func): Run benchmark program with -d if DETAILED_OPT is
28690         set.
28691         * benchtests/bench-skeleton.c: Include stdbool.h.
28692         (main): Store and print timings per input.
28693         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
28694         member to each argument value.
28695         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
28696         (_print_arg_data): Initialize per-input timing to 0.
28698         * benchtests/Makefile (timing-type): New binary.
28699         (bench-clean): Also remove bench-timing-type.
28700         (bench): New target for timing-type.
28701         (bench-func): Print output in JSON format.
28702         * benchtests/bench-skeleton.c (main): Print output in JSON
28703         format.
28704         * benchtests/bench-timing-type.c: New file.
28705         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
28706         (TIMING_PRINT_STATS): Remove.
28707         * benchtests/scripts/bench.py (_print_arg_data): Store variant
28708         name separately.
28710         * benchtests/bench-modf.c: Remove.
28711         * benchtests/modf-inputs: New inputs file.
28713 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
28715         [BZ #16362]
28716         * math/s_clog10.c (M_PI_LOG10E): New macro.
28717         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
28718         imaginary parts are 0.
28719         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
28720         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
28721         imaginary parts are 0.
28722         * math/s_clog10l.c (M_PI_LOG10El): New macro.
28723         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
28724         imaginary parts are 0.
28725         * math/libm-test.inc (clog10_test_data): Update expected results
28726         for when real and imaginary parts are 0.
28728 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
28730         * elf/dl-load.c: Finish conversion of __builtin_expect into
28731         __glibc_{un}likely.
28733 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
28735         [BZ #16348]
28736         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
28737         1+x for argument with exponent below -67.
28738         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
28739         Likewise.
28740         * math/auto-libm-test-in: Add more tests of exp.
28741         * math/auto-libm-test-out: Regenerated.
28743 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28745         [BZ #16759]
28746         * inet/getnetgrent_r.c (get_nonempty_val): New function.
28747         (nscd_getnetgrent): Use it.
28749         [BZ #16760]
28750         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
28751         of stpcpy.
28753 2014-03-27  Andi Kleen  <ak@linux.intel.com>
28755         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
28756         (lll_robust_lock, lll_cond_lock, lll_timedlock)
28757         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
28758         (lll_robust_unlock): Remove out of line section. Use cfi
28759         intrinsics.
28760         (LLL_STUB_UNWIND_INFO*): Remove.
28761         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
28762         (lll_robust_lock, lll_cond_lock, lll_timedlock)
28763         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
28764         (lll_robust_unlock): Remove out of line section. Use cfi
28765         intrinsics.
28766         (LLL_STUB_UNWIND_INFO*): Remove.
28768 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28770         [BZ #16758]
28771         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
28772         blank values.
28774 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
28776         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
28778 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
28780         [BZ #16198]
28781         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
28782         fnstenv.
28783         * math/test-fenv-preserve.c: New file.
28784         * math/Makefile (tests): Add test-fenv-preserve.
28786 2014-03-26  Will Newton <will.newton@linaro.org>
28788         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
28790 2014-03-25  Roland McGrath  <roland@hack.frob.com>
28792         * scripts/versionlist.awk: Partition the version sets and emit all
28793         GLIBC_* (sorted) before all others (sorted).
28795 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
28797         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
28798         GLIBC_2.2.5 version.
28800 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28802         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
28803         calls.
28805         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
28806         previous change.
28808         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28810 2014-03-25  Andreas Schwab  <schwab@suse.de>
28812         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
28813         label to be used after in6ailist is initialized.
28815 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28817         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
28818         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
28820 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
28822         [BZ #16357]
28823         [BZ #16599]
28824         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
28825         min_plus_half.
28826         (fp_formats): Update initializers.
28827         (init_fp_formats): Initialize new field.
28828         (output_for_one_input_case): Allow underflow for results up to
28829         min_plus_half.
28830         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
28831         * math/auto-libm-test-in: Don't mark some underflows from asin and
28832         atanh as spurious.
28833         * math/auto-libm-test-out: Regenerated.
28834         * sysdeps/i386/fpu/libm-test-ulps: Update.
28835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28837 2014-03-25  Andreas Schwab  <schwab@suse.de>
28839         * libio/Makefile (tst-ftell-partial-wide-ENV)
28840         (tst-ftell-active-handler-ENV): Define.
28842 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
28844         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
28846 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
28848         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
28850 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
28852         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
28853         * sysdeps/x86_64/fpu/multiarch/e_exp.c
28854         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28856 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
28858         [BZ #16634]
28859         * elf/dl-load.c (open_verify): Add mode parameter.
28860         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
28861         (open_path): Change from boolean 'secure' to complete flag 'mode'
28862         (_dl_map_object): Adjust.
28863         * elf/Makefile (tests): Add tst-dlopen-aout.
28864         * elf/tst-dlopen-aout.c: New test.
28866 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
28868         [BZ #16714]
28869         * sysdeps/unix/sysv/linux/s390/bits/stat.h
28870         (struct stat): Rename member pad0 to __glibc_reserved0.
28872         [BZ #16712]
28873         * sysdeps/s390/s390-32/bits/wordsize.h
28874         (__WORDSIZE32_SIZE_ULONG): New define.
28875         * sysdeps/s390/s390-64/bits/wordsize.h
28876         (__WORDSIZE32_SIZE_ULONG): Likewise.
28877         * sysdeps/generic/stdint.h (SIZE_MAX):
28878         Define as UL if __WORDSIZE32_SIZE_ULONG.
28880         [BZ #16713]
28881         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
28882         (__glibc_reserved0): New variable.
28883         (sa_flags): Change type to int.
28885         * posix/Makefile (before-compile): Use += before-compile instead
28886         of a :=.
28888         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
28889         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
28891 2014-03-20  Andreas Schwab  <schwab@suse.de>
28893         [BZ #16743]
28894         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
28895         non-matching result from nscd.
28897 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28899         * scripts/bench.py: Moved to ...
28900         * benchtests/scripts/bench.py: ... here.
28901         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
28903 2014-03-24  Andreas Schwab  <schwab@suse.de>
28905         [BZ #16002]
28906         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
28907         alloca_account and account alloca use for struct in6ailist.
28909 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
28911         [BZ #16284]
28912         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
28913         rounding mode to recompute results that overflow to infinity or
28914         underflow to zero.
28915         * math/auto-libm-test-in: Don't mark tests as expected to fail for
28916         bug 16284.
28917         * math/auto-libm-test-out: Regenerated.
28918         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
28919         (ccosh_test): Likewise.
28920         (csin_test_data): Use plus_oflow.
28921         (csin_test): Use ALL_RM_TEST.
28922         (csinh_test_data): Use plus_oflow.
28923         (csinh_test): Use ALL_RM_TEST.
28924         * sysdeps/i386/fpu/libm-test-ulps: Update.
28925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28927 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
28929         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
28930         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
28931         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
28933         [BZ #16731]
28934         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
28935         when x - 1 is zero.
28936         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
28937         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
28938         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
28939         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
28940         argument is 1.
28941         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
28942         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
28943         zero.
28944         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
28945         * sysdeps/i386/fpu/libm-test-ulps: Update.
28946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28948 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28950         * scripts/bench.pl: Remove file.
28951         * scripts/bench.py: New benchmark script.
28952         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
28953         * benchtests/README: Mention python dependency.
28954         * scripts/pylintrc: New file.
28955         * scripts/pylint: New file.
28957         * bits/mathdef.h: Use #ifdef instead of #if.
28958         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
28959         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
28960         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
28961         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
28962         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
28963         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
28965 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28966             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28968         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
28969         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
28970         and strpbrk-ppc64 objects.
28971         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28972         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
28973         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
28974         multiarch strpbrk for POWER7.
28975         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
28976         multiarch strpbrk for PPC64.
28977         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
28978         ifunc selector.
28979         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
28980         strpbrk for POWER7.
28982 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
28984         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
28985         (atan_test): Likewise.
28986         (atanh_test_data): Use NO_TEST_INLINE for two tests.
28987         (atanh_test): Use ALL_RM_TEST.
28988         (atan2_test_data): Likewise.
28989         (cabs_test): Likewise.
28990         (cacosh_test): Likewise.
28991         (carg_test): Likewise.
28992         (casin_test): Likewise.
28993         (casinh_test): Likewise.
28994         (cbrt_test): Likewise.
28995         (csqrt_test): Likewise.
28996         (erf_test): Likewise.
28997         (erfc_test): Likewise.
28998         (pow10_test): Likewise.
28999         (exp2_test): Likewise.
29000         (hypot_test): Likewise.
29001         (j0_test): Likewise.
29002         (j1_test): Likewise.
29003         (lgamma_test): Likewise.
29004         (gamma_test): Likewise.
29005         (sincos_test): Likewise.
29006         (tanh_test): Likewise.
29007         (y0_test): Likewise.
29008         (y1_test): Likewise.
29009         * sysdeps/i386/fpu/libm-test-ulps: Update.
29010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29012 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29014         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
29015         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
29016         and strcspn-ppc64 objects.
29017         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29018         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
29019         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
29020         multiarch strcspn for POWER7.
29021         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
29022         multiarch strcspn for PPC64.
29023         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
29024         ifunc selector.
29025         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
29026         strcspn for POWER7.
29028 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
29030         * math/gen-libm-test.pl (generate_testfile): Expect only function
29031         name as argument to AUTO_TESTS_* and pass results for all rounding
29032         modes to parse_args.
29033         (parse_auto_input): Separate inputs of automatic tests from
29034         outputs before storing in %auto_tests.
29035         * math/libm-test.inc (acos_test_data): Update call to
29036         AUTO_TESTS_f_f.
29037         (acos_test): Use ALL_RM_TEST.
29038         (acos_tonearest_test_data): Remove.
29039         (acos_test_tonearest): Likewise.
29040         (acos_towardzero_test_data): Likewise.
29041         (acos_test_towardzero): Likewise.
29042         (acos_downward_test_data): Likewise.
29043         (acos_test_downward): Likewise.
29044         (acos_upward_test_data): Likewise.
29045         (acos_test_upward): Likewise.
29046         (acosh_test_data): Update call to AUTO_TESTS_f_f.
29047         (asin_test_data): Likewise.
29048         (asin_test): Use ALL_RM_TEST.
29049         (asin_tonearest_test_data): Remove.
29050         (asin_test_tonearest): Likewise.
29051         (asin_towardzero_test_data): Likewise.
29052         (asin_test_towardzero): Likewise.
29053         (asin_downward_test_data): Likewise.
29054         (asin_test_downward): Likewise.
29055         (asin_upward_test_data): Likewise.
29056         (asin_test_upward): Likewise.
29057         (asinh_test_data): Update call to AUTO_TESTS_f_f.
29058         (atan_test_data): Likewise.
29059         (atanh_test_data): Likewise.
29060         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
29061         (cabs_test_data): Update call to AUTO_TESTS_c_f.
29062         (carg_test_data): Likewise.
29063         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
29064         (ccos_test_data): Update call to AUTO_TESTS_c_c.
29065         (ccosh_test_data): Likewise.
29066         (cexp_test_data): Likewise.
29067         (clog_test_data): Likewise.
29068         (clog10_test_data): Likewise.
29069         (cos_test_data): Update call to AUTO_TESTS_f_f.
29070         (cos_test): Use ALL_RM_TEST.
29071         (cos_tonearest_test_data): Remove.
29072         (cos_test_tonearest): Likewise.
29073         (cos_towardzero_test_data): Likewise.
29074         (cos_test_towardzero): Likewise.
29075         (cos_downward_test_data): Likewise.
29076         (cos_test_downward): Likewise.
29077         (cos_upward_test_data): Likewise.
29078         (cos_test_upward): Likewise.
29079         (cosh_test_data): Update call to AUTO_TESTS_f_f.
29080         (cosh_test): Use ALL_RM_TEST.
29081         (cosh_tonearest_test_data): Remove.
29082         (cosh_test_tonearest): Likewise.
29083         (cosh_towardzero_test_data): Likewise.
29084         (cosh_test_towardzero): Likewise.
29085         (cosh_downward_test_data): Likewise.
29086         (cosh_test_downward): Likewise.
29087         (cosh_upward_test_data): Likewise.
29088         (cosh_test_upward): Likewise.
29089         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
29090         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
29091         (ctan_test_data): Likewise.
29092         (ctan_test): Use ALL_RM_TEST.
29093         (ctan_tonearest_test_data): Remove.
29094         (ctan_test_tonearest): Likewise.
29095         (ctan_towardzero_test_data): Likewise.
29096         (ctan_test_towardzero): Likewise.
29097         (ctan_downward_test_data): Likewise.
29098         (ctan_test_downward): Likewise.
29099         (ctan_upward_test_data): Likewise.
29100         (ctan_test_upward): Likewise.
29101         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
29102         (ctanh_test): Use ALL_RM_TEST.
29103         (ctanh_tonearest_test_data): Remove.
29104         (ctanh_test_tonearest): Likewise.
29105         (ctanh_towardzero_test_data): Likewise.
29106         (ctanh_test_towardzero): Likewise.
29107         (ctanh_downward_test_data): Likewise.
29108         (ctanh_test_downward): Likewise.
29109         (ctanh_upward_test_data): Likewise.
29110         (ctanh_test_upward): Likewise.
29111         (erf_test_data): Update call to AUTO_TESTS_f_f.
29112         (erfc_test_data): Likewise.
29113         (exp_test_data): Likewise.
29114         (exp_test): Use ALL_RM_TEST.
29115         (exp_tonearest_test_data): Remove.
29116         (exp_test_tonearest): Likewise.
29117         (exp_towardzero_test_data): Likewise.
29118         (exp_test_towardzero): Likewise.
29119         (exp_downward_test_data): Likewise.
29120         (exp_test_downward): Likewise.
29121         (exp_upward_test_data): Likewise.
29122         (exp_test_upward): Likewise.
29123         (exp10_test_data): Update call to AUTO_TESTS_f_f.
29124         (exp10_test): Use ALL_RM_TEST.
29125         (exp10_tonearest_test_data): Remove.
29126         (exp10_test_tonearest): Likewise.
29127         (exp10_towardzero_test_data): Likewise.
29128         (exp10_test_towardzero): Likewise.
29129         (exp10_downward_test_data): Likewise.
29130         (exp10_test_downward): Likewise.
29131         (exp10_upward_test_data): Likewise.
29132         (exp10_test_upward): Likewise.
29133         (exp2_test_data): Update call to AUTO_TESTS_f_f.
29134         (expm1_test_data): Likewise.
29135         (expm1_test): Use ALL_RM_TEST.
29136         (expm1_tonearest_test_data): Remove.
29137         (expm1_test_tonearest): Likewise.
29138         (expm1_towardzero_test_data): Likewise.
29139         (expm1_test_towardzero): Likewise.
29140         (expm1_downward_test_data): Likewise.
29141         (expm1_test_downward): Likewise.
29142         (expm1_upward_test_data): Likewise.
29143         (expm1_test_upward): Likewise.
29144         (fma_test_data): Update call to AUTO_TESTS_fff_f.
29145         (fma_test): Use ALL_RM_TEST.
29146         (fma_towardzero_test_data): Remove.
29147         (fma_test_towardzero): Likewise.
29148         (fma_downward_test_data): Likewise.
29149         (fma_test_downward): Likewise.
29150         (fma_upward_test_data): Likewise.
29151         (fma_test_upward): Likewise.
29152         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
29153         (j0_test_data): Update call to AUTO_TESTS_f_f.
29154         (j1_test_data): Likewise.
29155         (jn_test_data): Update call to AUTO_TESTS_if_f.
29156         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
29157         (log_test_data): Update call to AUTO_TESTS_f_f.
29158         (log10_test_data): Likewise.
29159         (log1p_test_data): Likewise.
29160         (log2_test_data): Likewise.
29161         (pow_test_data): Update call to AUTO_TESTS_ff_f.
29162         (pow_tonearest_test_data): Likewise.
29163         (sin_test_data): Update call to AUTO_TESTS_f_f.
29164         (sin_test): Use ALL_RM_TEST.
29165         (sin_tonearest_test_data): Remove.
29166         (sin_test_tonearest): Likewise.
29167         (sin_towardzero_test_data): Likewise.
29168         (sin_test_towardzero): Likewise.
29169         (sin_downward_test_data): Likewise.
29170         (sin_test_downward): Likewise.
29171         (sin_upward_test_data): Likewise.
29172         (sin_test_upward): Likewise.
29173         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
29174         (sinh_test_data): Update call to AUTO_TESTS_f_f.
29175         (sinh_test): Use ALL_RM_TEST.
29176         (sinh_tonearest_test_data): Remove.
29177         (sinh_test_tonearest): Likewise.
29178         (sinh_towardzero_test_data): Likewise.
29179         (sinh_test_towardzero): Likewise.
29180         (sinh_downward_test_data): Likewise.
29181         (sinh_test_downward): Likewise.
29182         (sinh_upward_test_data): Likewise.
29183         (sinh_test_upward): Likewise.
29184         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
29185         (sqrt_test): Use ALL_RM_TEST.
29186         (sqrt_tonearest_test_data): Remove.
29187         (sqrt_test_tonearest): Likewise.
29188         (sqrt_towardzero_test_data): Likewise.
29189         (sqrt_test_towardzero): Likewise.
29190         (sqrt_downward_test_data): Likewise.
29191         (sqrt_test_downward): Likewise.
29192         (sqrt_upward_test_data): Likewise.
29193         (sqrt_test_upward): Likewise.
29194         (tan_test_data): Update call to AUTO_TESTS_f_f.
29195         (tan_test): Use ALL_RM_TEST.
29196         (tan_tonearest_test_data): Remove.
29197         (tan_test_tonearest): Likewise.
29198         (tan_towardzero_test_data): Likewise.
29199         (tan_test_towardzero): Likewise.
29200         (tan_downward_test_data): Likewise.
29201         (tan_test_downward): Likewise.
29202         (tan_upward_test_data): Likewise.
29203         (tan_test_upward): Likewise.
29204         (tanh_test_data): Update call to AUTO_TESTS_f_f.
29205         (tgamma_test_data): Likewise.
29206         (y0_test_data): Likewise.
29207         (y1_test_data): Likewise.
29208         (yn_test_data): Update call to AUTO_TESTS_if_f.
29209         (main): Do not call removed functions.
29211 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
29213         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
29214         (ldexp_test_data): Remove.
29215         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
29216         scalbn_test_data.
29217         (scalb_test): Use ALL_RM_TEST.
29219 2014-03-19  Andreas Schwab  <schwab@suse.de>
29221         * nscd/nscd.service: Also invalidate netgroup cache on reload.
29223 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
29225         [BZ #16649]
29226         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29227         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
29228         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
29229         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29230         (__ASSUME_PREADV): Undefine.
29231         (__ASSUME_PWRITEV): Likewise.
29233 2014-03-18  Roland McGrath  <roland@hack.frob.com>
29235         * bits/mman-linux.h: Add comment about non-Linux use.
29236         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
29237         bits/mman-linux.h resting place.
29239         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
29240         * bits/mman-linux.h: ... here.
29242 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29244         * conform/conformtest.pl: Add standard definition when calling C
29245         preprocessor on data files.
29246         (checknamespace): Remove unused variable.
29248 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
29250         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
29251         minus_oflow, plus_uflow and minus_uflow in expected results.
29252         * math/libm-test.inc (scalbn_test_data): Add more tests of
29253         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
29254         minus_uflow.
29255         (scalbn_test): Use ALL_RM_TEST.
29256         (scalbln_test_data): Add more tests of negative arguments.  Use
29257         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
29258         (scalbln_test): Use ALL_RM_TEST.
29260 2014-03-18  Roland McGrath  <roland@hack.frob.com>
29262         * scripts/abilist.awk: Ignore symbols marked with .hidden.
29264 2014-03-18  Will Newton  <will.newton@linaro.org>
29266         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
29267         inaccurate comment.
29269 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
29271         * Makerules [!subdir] (check-abi): Exit with error status if a
29272         test failed.
29274 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
29276         * math/libm-test.inc (nearbyint_test_data): Include all tests used
29277         for rint.  Include results for all rounding modes.
29278         (nearbyint_test): Use ALL_RM_TEST.
29279         (rint_test_data): Include all tests used for nearbyint.
29281 2014-03-17  Will Newton  <will.newton@linaro.org>
29283         * nptl/sysdeps/pthread/pthread.h: Revert previous
29284         change.
29286         * sysdeps/generic/ldsodefs.h: Revert previous
29287         change.
29289         * libio/genops.c: Revert previous change.
29290         * libio/libioP.h: Likewise.
29291         * stdio-common/vfprintf.c: Likewise.
29293         * sysdeps/generic/math_private.h: Revert previous
29294         change.
29296         * sysdeps/generic/math_private.h: Check whether
29297         HAVE_RM_CTX is defined with #ifdef rather
29298         than #if.
29300         * argp/argp-fmtstream.h: Check whether
29301         __STRICT_ANSI__ is defined with #ifdef rather
29302         than #if.
29303         * argp/argp.h: Likewise.
29305         * libio/genops.c: Check whether
29306         _IO_JUMPS_OFFSET is defined with #ifdef rather
29307         than #if.
29308         * libio/libioP.h: Likewise.
29309         * stdio-common/vfprintf.c: Likewise.
29311         * sysdeps/generic/ldsodefs.h: Check whether
29312         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
29313         than #if.
29315         * nptl/sysdeps/pthread/pthread.h: Check
29316         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
29317         its value.
29319 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29321         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
29322         setting O_APPEND.
29323         * libio/tst-ftell-active-handler.c (do_append_test): Add a
29324         test case.
29326         [BZ #16680]
29327         * libio/fileops.c (_IO_file_open): Seek to end of file but
29328         don't cache the offset.
29329         (get_file_offset): Remove function.
29330         (do_ftell): Use cached offset when available.
29331         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
29332         don't cache the offset.
29333         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
29334         case.
29335         (do_one_test): Call it.
29336         (do_ftell_test): Fix up expected old offset for a+ mode.
29337         * libio/wfileops.c (do_ftell_wide): Used cached offset when
29338         available.
29340         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
29341         up test status with function return status.
29342         (do_write_test): Likewise.
29343         (do_append_test): Likewise.
29345         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
29346         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
29347         Remove.
29349 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
29351         * math/gen-libm-test.pl (parse_args): Handle results specified for
29352         each rounding mode separately.
29353         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
29354         tests and results from lrint_tonearest_test_data,
29355         lrint_towardzero_test_data, lrint_downward_test_data and
29356         lrint_upward_test_data.
29357         (lrint_test): Use ALL_RM_TEST.
29358         (lrint_tonearest_test_data): Remove.
29359         (lrint_test_tonearest): Likewise.
29360         (lrint_towardzero_test_data): Likewise.
29361         (lrint_test_towardzero): Likewise.
29362         (lrint_downward_test_data): Likewise.
29363         (lrint_test_downward): Likewise.
29364         (lrint_upward_test_data): Likewise.
29365         (lrint_test_upward): Likewise.
29366         (llrint_test_data): Merge in per-rounding-mode tests and results
29367         from llrint_tonearest_test_data, llrint_towardzero_test_data,
29368         llrint_downward_test_data and llrint_upward_test_data.
29369         (llrint_test): Use ALL_RM_TEST.
29370         (llrint_tonearest_test_data): Remove.
29371         (llrint_test_tonearest): Likewise.
29372         (llrint_towardzero_test_data): Likewise.
29373         (llrint_test_towardzero): Likewise.
29374         (llrint_downward_test_data): Likewise.
29375         (llrint_test_downward): Likewise.
29376         (llrint_upward_test_data): Likewise.
29377         (llrint_test_upward): Likewise.
29378         (rint_test_data): Merge in per-rounding-mode tests and results
29379         from rint_tonearest_test_data, rint_towardzero_test_data,
29380         rint_downward_test_data and rint_upward_test_data.  Add
29381         per-rounding-mode results for tests not in those arrays.
29382         (rint_test): Use ALL_RM_TEST.
29383         (rint_tonearest_test_data): Remove.
29384         (rint_test_tonearest): Likewise.
29385         (rint_towardzero_test_data): Likewise.
29386         (rint_test_towardzero): Likewise.
29387         (rint_downward_test_data): Likewise.
29388         (rint_test_downward): Likewise.
29389         (rint_upward_test_data): Likewise.
29390         (rint_test_upward): Likewise.
29391         (main): Don't call removed functions.
29393 2014-03-14  Roland McGrath  <roland@hack.frob.com>
29395         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
29396         "Compiled on ..." crapola.  It is anti-useful.
29398 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
29400         * scripts/evaluate-test.sh: Handle fourth argument to determine
29401         whether test run should stop on failure.
29402         * Makeconfig (stop-on-test-failure): New variable.
29403         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
29404         $(stop-on-test-failure).
29405         * Makefile (tests): Give a summary of results from testing and
29406         exit with failure status if they include an ERROR or FAIL.
29407         (xtests): Likewise.
29408         * manual/install.texi (Configuring and compiling): Mention
29409         stop-on-test-failure=y.
29410         * INSTALL: Regenerated.
29412 2014-03-14  Roland McGrath  <roland@hack.frob.com>
29414         * scripts/versionlist.awk: New file.
29415         * Makerules [$(build-shared) = yes]
29416         (postclean-generated): Add Versions.def, not Versions.def.v and
29417         Versions.def.v.i.
29418         ($(common-objpfx)Versions.def.v.i): Target removed.
29419         ($(common-objpfx)Versions.def): New target.
29420         ($(common-objpfx)Versions.all): Depend on that rather that
29421         $(common-objpfx)Versions.def.v.
29422         * Versions.def: File removed.
29424         * Makeconfig (+gccwarn): Add -Wundef.
29425         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
29426         a dl-sysdep.h breaking its contract.
29427         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
29428         * include/stackinfo.h: New file.
29429         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
29430         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
29431         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
29432         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
29433         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
29434         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
29435         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29436         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29437         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29438         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29439         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29440         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
29441         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29442         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29443         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29445 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29447         [BZ #16707]
29448         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
29449         implementation.
29450         * math/libm-test.inc (round_test_data): Add more tests.
29452         [BZ #16706]
29453         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
29454         implementation.
29455         * math/libm-test.inc (nearbyint_test_data): Add more tests.
29457         [BZ #16701]
29458         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
29459         implementation.
29460         * math/libm-test.inc (ceil_test_data): Add more tests.
29462         * math/libm-test.inc (trunc_test_data): Add more tests related to
29463         BZ#16414.
29465 2014-03-14  Roland McGrath  <roland@hack.frob.com>
29467         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
29468         with #if rather than #ifdef.
29469         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
29471 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
29473         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
29474         first.  Disable AVX-512 GCC support if assembler doesn't support
29475         it.
29476         * sysdeps/x86_64/configure: Regenerated.
29478 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
29480         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
29481         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
29482         (__old_pthread_attr_setstack): Likewise.
29483         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
29484         [!_STACK_GROWS_DOWN]: Likewise.
29486 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
29488         * config.make.in (have-bash2): Delete.
29489         * configure.ac (libc_cv_have_bash2): Delete.
29490         * configure: Regenerate.
29491         * elf/Makefile (common-ldd-rewrite): Rename to ...
29492         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
29493         (sh-ldd-rewrite): Delete.
29494         (bash-ldd-rewrite): Delete.
29495         (have-bash2): Delete checks.
29496         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
29497         ldd-rewrite.
29499         * config.make.in (have-ksh): Delete.
29500         (KSH): Delete.
29501         * configure.ac (libc_cv_have_ksh): Delete.
29502         * configure: Regenerate.
29504         * elf/Makefile: Delete $(have-ksh) check.
29505         ($(objpfx)sotruss): Change KSH to BASH.
29506         * elf/sotruss.ksh: Rename to ...
29507         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
29508         function style to match POSIX.  Drop ksh vim mode setting.
29510         * manual/time.texi (Specifying the Time Zone with TZ): Change
29511         Tuesday to Thursday.
29513         * debug/tst-longjmp_chk2.c: Update header comment.
29514         (stackoverflow_handler): Add comment.  Call assert on pass value.
29516 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
29518         [BZ #16194]
29519         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
29520         (HAVE_AVX512_ASM_SUPPORT): Likewise.
29521         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
29522         (La_x86_64_vector): Add zmm.
29523         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
29524         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
29525         ($(objpfx)tst-audit10): New target.
29526         ($(objpfx)tst-audit10.out): Likewise.
29527         (tst-audit10-ENV): New.
29528         (AVX512-CFLAGS): Likewise.
29529         (CFLAGS-tst-audit10.c): Likewise.
29530         (CFLAGS-tst-auditmod10a.c): Likewise.
29531         (CFLAGS-tst-auditmod10b.c): Likewise.
29532         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
29533         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
29534         * sysdeps/x86_64/configure: Regenerated.
29535         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
29536         AVX-512 zmm register support.
29537         (_dl_x86_64_save_sse): Likewise.
29538         (_dl_x86_64_restore_sse): Likewise.
29539         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
29540         size vector registers.
29541         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
29542         (ZMM_SIZE): Likewise.
29543         * sysdeps/x86_64/tst-audit10.c: New file.
29544         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
29545         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
29547 2014-03-13  Roland McGrath  <roland@hack.frob.com>
29549         * configure.ac (HAVE_EHDR_START): New check.
29550         * configure: Regenerated.
29551         * config.h.in (HAVE_EHDR_START): New #undef.
29552         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
29553         assuming the lowest-addressed segment maps the start of the file.
29555 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
29557         * INSTALL: Regenerated.
29559 2014-03-13  Will Newton  <will.newton@linaro.org>
29561         * manual/setjmp.texi (System V contexts): Improve
29562         clarity and grammar of documentation.
29564 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
29566         [BZ #16381]
29567         * elf/Makefile (tests): Add tst-pie2.
29568         (tests-pie): Add tst-pie2.
29569         * elf/tst-pie2.c: New file.
29570         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
29571         for ET_EXEC.
29572         * elf/rtld.c (map_doit): Load executable as lt_executable.
29573         (dl_main): Likewise.
29575 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
29577         [BZ #16642]
29578         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29579         (__ASSUME_PSELECT): Undefine.
29581 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29583         [BZ #16689]
29584         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
29585         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
29586         static build.
29587         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
29588         selector for static builds.
29590 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29592         [BZ #16695]
29593         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
29594         key in the buffer.
29596 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29598         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
29599         IFUNC selector for static builds.
29601 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
29603         * sysdeps/mips/math_private.h [__mips_hard_float]
29604         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
29605         libc_feresetround_mips_ctx.
29606         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
29607         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
29608         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
29610         [BZ #16677]
29611         * math/s_nextafter.c (__nextafter): Do not return value from
29612         overflowing computation.
29613         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
29614         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
29615         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
29616         Likewise.
29617         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
29618         Likewise.
29619         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
29620         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
29622 2014-03-11  Roland McGrath  <roland@hack.frob.com>
29624         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
29625         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
29626         Move sfi_sp use from the load-multiple (that no longer sets sp) to
29627         the new mov targetting sp.
29629 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29631         [BZ #16683]
29632         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
29633         Define it for static builds as well.
29634         (NO_BZERO_IMPL): Likewise.
29636 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29638         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
29639         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
29640         multiarch strspn for PPC64.
29641         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
29642         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
29643         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29644         (__libc_ifunc_impl_list): Likewise.
29645         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
29646         multiarch optimizations
29647         * string/strspn.c (strspn): Using macro to redefine symbol name.
29649 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29650             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29652         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
29653         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
29654         multiarch strncat for PPC64.
29655         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
29656         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
29657         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29658         (__libc_ifunc_impl_list): Likewise.
29659         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
29660         multiarch optimizations
29662 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29664         [BZ #16639]
29665         * nscd/nscd.service: Make service type forking.
29667 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29669         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
29670         sign in non default rounding modes.
29671         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
29673 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
29675         * math/libm-test.inc (ALL_RM_TEST): New macro.
29676         (ceil_test): Use ALL_RM_TEST.
29677         (cimag_test): Likewise.
29678         (conj_test): Likewise.
29679         (copysign_test): Likewise.
29680         (cproj_test): Likewise.
29681         (creal_test): Likewise.
29682         (fabs_test): Likewise.
29683         (floor_test): Likewise.
29684         (fmax_test): Likewise.
29685         (fmin_test): Likewise.
29686         (fmod_test): Likewise.
29687         (fpclassify_test): Likewise.
29688         (frexp_test): Likewise.
29689         (ilogb_test): Likewise.
29690         (isfinite_test): Likewise.
29691         (finite_test): Likewise.
29692         (isgreater_test): Likewise.
29693         (isgreaterequal_test): Likewise.
29694         (isinf_test): Likewise.
29695         (isless_test): Likewise.
29696         (islessequal_test): Likewise.
29697         (islessgreater_test): Likewise.
29698         (isnan_test): Likewise.
29699         (isnormal_test): Likewise.
29700         (issignaling_test): Likewise.
29701         (isunordered_test): Likewise.
29702         (logb_test): Likewise.
29703         (logb_downward_test_data): Remove.
29704         (logb_test_downward): Likewise.
29705         (lround_test): Use ALL_RM_TEST.
29706         (llround_test): Likewise.
29707         (modf_test): Likewise.
29708         (nexttoward_test): Likewise.
29709         (remainder_test): Likewise.
29710         (drem_test): Likewise.
29711         (remainder_tonearest_test_data): Likewise.
29712         (remainder_test_tonearest): Likewise.
29713         (drem_test_tonearest): Likewise.
29714         (remainder_towardzero_test_data): Likewise.
29715         (remainder_test_towardzero): Likewise.
29716         (drem_test_towardzero): Likewise.
29717         (remainder_downward_test_data): Likewise.
29718         (remainder_test_downward): Likewise.
29719         (drem_test_downward): Likewise.
29720         (remainder_upward_test_data): Likewise.
29721         (remainder_test_upward): Likewise.
29722         (drem_test_upward): Likewise.
29723         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
29724         (round_test): Use ALL_RM_TEST.
29725         (signbit_test): Likewise.
29726         (trunc_test): Likewise.
29727         (significand_test): Likewise.
29728         (main): Don't call removed functions.
29730 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
29732         [BZ #16674]
29733         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
29734         || __USE_XOPEN2K8].
29735         (ILL_ILLOPN): Likewise.
29736         (ILL_ILLADR): Likewise.
29737         (ILL_ILLTRP): Likewise.
29738         (ILL_PRVOPC): Likewise.
29739         (ILL_PRVREG): Likewise.
29740         (ILL_COPROC): Likewise.
29741         (ILL_BADSTK): Likewise.
29742         (FPE_INTDIV): Likewise.
29743         (FPE_INTOVF): Likewise.
29744         (FPE_FLTDIV): Likewise.
29745         (FPE_FLTOVF): Likewise.
29746         (FPE_FLTUND): Likewise.
29747         (FPE_FLTRES): Likewise.
29748         (FPE_FLTINV): Likewise.
29749         (FPE_FLTSUB): Likewise.
29750         (SEGV_MAPERR): Likewise.
29751         (SEGV_ACCERR): Likewise.
29752         (BUS_ADRALN): Likewise.
29753         (BUS_ADRERR): Likewise.
29754         (BUS_OBJERR): Likewise.
29755         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29756         (TRAP_TRACE): Likewise.
29757         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29758         __USE_XOPEN2K8].
29759         (CLD_KILLED): Likewise.
29760         (CLD_DUMPED): Likewise.
29761         (CLD_TRAPPED): Likewise.
29762         (CLD_STOPPED): Likewise.
29763         (CLD_CONTINUED): Likewise.
29764         (POLL_IN): Likewise.
29765         (POLL_OUT): Likewise.
29766         (POLL_MSG): Likewise.
29767         (POLL_ERR): Likewise.
29768         (POLL_PRI): Likewise.
29769         (POLL_HUP): Likewise.
29770         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
29771         Likewise.
29772         (ILL_ILLOPN): Likewise.
29773         (ILL_ILLADR): Likewise.
29774         (ILL_ILLTRP): Likewise.
29775         (ILL_PRVOPC): Likewise.
29776         (ILL_PRVREG): Likewise.
29777         (ILL_COPROC): Likewise.
29778         (ILL_BADSTK): Likewise.
29779         (FPE_INTDIV): Likewise.
29780         (FPE_INTOVF): Likewise.
29781         (FPE_FLTDIV): Likewise.
29782         (FPE_FLTOVF): Likewise.
29783         (FPE_FLTUND): Likewise.
29784         (FPE_FLTRES): Likewise.
29785         (FPE_FLTINV): Likewise.
29786         (FPE_FLTSUB): Likewise.
29787         (SEGV_MAPERR): Likewise.
29788         (SEGV_ACCERR): Likewise.
29789         (BUS_ADRALN): Likewise.
29790         (BUS_ADRERR): Likewise.
29791         (BUS_OBJERR): Likewise.
29792         (BUS_MCEERR_AR): Likewise.
29793         (BUS_MCEERR_AO): Likewise.
29794         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29795         (TRAP_TRACE): Likewise.
29796         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29797         __USE_XOPEN2K8].
29798         (CLD_KILLED): Likewise.
29799         (CLD_DUMPED): Likewise.
29800         (CLD_TRAPPED): Likewise.
29801         (CLD_STOPPED): Likewise.
29802         (CLD_CONTINUED): Likewise.
29803         (POLL_IN): Likewise.
29804         (POLL_OUT): Likewise.
29805         (POLL_MSG): Likewise.
29806         (POLL_ERR): Likewise.
29807         (POLL_PRI): Likewise.
29808         (POLL_HUP): Likewise.
29809         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
29810         (ILL_ILLOPN): Likewise.
29811         (ILL_ILLADR): Likewise.
29812         (ILL_ILLTRP): Likewise.
29813         (ILL_PRVOPC): Likewise.
29814         (ILL_PRVREG): Likewise.
29815         (ILL_COPROC): Likewise.
29816         (ILL_BADSTK): Likewise.
29817         (FPE_INTDIV): Likewise.
29818         (FPE_INTOVF): Likewise.
29819         (FPE_FLTDIV): Likewise.
29820         (FPE_FLTOVF): Likewise.
29821         (FPE_FLTUND): Likewise.
29822         (FPE_FLTRES): Likewise.
29823         (FPE_FLTINV): Likewise.
29824         (FPE_FLTSUB): Likewise.
29825         (SEGV_MAPERR): Likewise.
29826         (SEGV_ACCERR): Likewise.
29827         (BUS_ADRALN): Likewise.
29828         (BUS_ADRERR): Likewise.
29829         (BUS_OBJERR): Likewise.
29830         (BUS_MCEERR_AR): Likewise.
29831         (BUS_MCEERR_AO): Likewise.
29832         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29833         (TRAP_TRACE): Likewise.
29834         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29835         __USE_XOPEN2K8].
29836         (CLD_KILLED): Likewise.
29837         (CLD_DUMPED): Likewise.
29838         (CLD_TRAPPED): Likewise.
29839         (CLD_STOPPED): Likewise.
29840         (CLD_CONTINUED): Likewise.
29841         (POLL_IN): Likewise.
29842         (POLL_OUT): Likewise.
29843         (POLL_MSG): Likewise.
29844         (POLL_ERR): Likewise.
29845         (POLL_PRI): Likewise.
29846         (POLL_HUP): Likewise.
29847         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
29848         Likewise.
29849         (ILL_ILLOPN): Likewise.
29850         (ILL_ILLADR): Likewise.
29851         (ILL_ILLTRP): Likewise.
29852         (ILL_PRVOPC): Likewise.
29853         (ILL_PRVREG): Likewise.
29854         (ILL_COPROC): Likewise.
29855         (ILL_BADSTK): Likewise.
29856         (ILL_BADIADDR): Likewise.
29857         (ILL_BREAK): Likewise.
29858         (FPE_INTDIV): Likewise.
29859         (FPE_INTOVF): Likewise.
29860         (FPE_FLTDIV): Likewise.
29861         (FPE_FLTOVF): Likewise.
29862         (FPE_FLTUND): Likewise.
29863         (FPE_FLTRES): Likewise.
29864         (FPE_FLTINV): Likewise.
29865         (FPE_FLTSUB): Likewise.
29866         (FPE_DECOVF): Likewise.
29867         (FPE_DECDIV): Likewise.
29868         (FPE_DECERR): Likewise.
29869         (FPE_INVASC): Likewise.
29870         (FPE_INVDEC): Likewise.
29871         (SEGV_MAPERR): Likewise.
29872         (SEGV_ACCERR): Likewise.
29873         (SEGV_PSTKOVF): Likewise.
29874         (BUS_ADRALN): Likewise.
29875         (BUS_ADRERR): Likewise.
29876         (BUS_OBJERR): Likewise.
29877         (BUS_MCEERR_AR): Likewise.
29878         (BUS_MCEERR_AO): Likewise.
29879         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29880         (TRAP_TRACE): Likewise.
29881         (TRAP_BRANCH): Likewise.
29882         (TRAP_HWBKPT): Likewise.
29883         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29884         __USE_XOPEN2K8].
29885         (CLD_KILLED): Likewise.
29886         (CLD_DUMPED): Likewise.
29887         (CLD_TRAPPED): Likewise.
29888         (CLD_STOPPED): Likewise.
29889         (CLD_CONTINUED): Likewise.
29890         (POLL_IN): Likewise.
29891         (POLL_OUT): Likewise.
29892         (POLL_MSG): Likewise.
29893         (POLL_ERR): Likewise.
29894         (POLL_PRI): Likewise.
29895         (POLL_HUP): Likewise.
29896         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
29897         (ILL_ILLOPN): Likewise.
29898         (ILL_ILLADR): Likewise.
29899         (ILL_ILLTRP): Likewise.
29900         (ILL_PRVOPC): Likewise.
29901         (ILL_PRVREG): Likewise.
29902         (ILL_COPROC): Likewise.
29903         (ILL_BADSTK): Likewise.
29904         (FPE_INTDIV): Likewise.
29905         (FPE_INTOVF): Likewise.
29906         (FPE_FLTDIV): Likewise.
29907         (FPE_FLTOVF): Likewise.
29908         (FPE_FLTUND): Likewise.
29909         (FPE_FLTRES): Likewise.
29910         (FPE_FLTINV): Likewise.
29911         (FPE_FLTSUB): Likewise.
29912         (SEGV_MAPERR): Likewise.
29913         (SEGV_ACCERR): Likewise.
29914         (BUS_ADRALN): Likewise.
29915         (BUS_ADRERR): Likewise.
29916         (BUS_OBJERR): Likewise.
29917         (BUS_MCEERR_AR): Likewise.
29918         (BUS_MCEERR_AO): Likewise.
29919         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29920         (TRAP_TRACE): Likewise.
29921         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29922         __USE_XOPEN2K8].
29923         (CLD_KILLED): Likewise.
29924         (CLD_DUMPED): Likewise.
29925         (CLD_TRAPPED): Likewise.
29926         (CLD_STOPPED): Likewise.
29927         (CLD_CONTINUED): Likewise.
29928         (POLL_IN): Likewise.
29929         (POLL_OUT): Likewise.
29930         (POLL_MSG): Likewise.
29931         (POLL_ERR): Likewise.
29932         (POLL_PRI): Likewise.
29933         (POLL_HUP): Likewise.
29934         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
29935         (ILL_ILLOPN): Likewise.
29936         (ILL_ILLADR): Likewise.
29937         (ILL_ILLTRP): Likewise.
29938         (ILL_PRVOPC): Likewise.
29939         (ILL_PRVREG): Likewise.
29940         (ILL_COPROC): Likewise.
29941         (ILL_BADSTK): Likewise.
29942         (FPE_INTDIV): Likewise.
29943         (FPE_INTOVF): Likewise.
29944         (FPE_FLTDIV): Likewise.
29945         (FPE_FLTOVF): Likewise.
29946         (FPE_FLTUND): Likewise.
29947         (FPE_FLTRES): Likewise.
29948         (FPE_FLTINV): Likewise.
29949         (FPE_FLTSUB): Likewise.
29950         (SEGV_MAPERR): Likewise.
29951         (SEGV_ACCERR): Likewise.
29952         (BUS_ADRALN): Likewise.
29953         (BUS_ADRERR): Likewise.
29954         (BUS_OBJERR): Likewise.
29955         (BUS_MCEERR_AR): Likewise.
29956         (BUS_MCEERR_AO): Likewise.
29957         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29958         (TRAP_TRACE): Likewise.
29959         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29960         __USE_XOPEN2K8].
29961         (CLD_KILLED): Likewise.
29962         (CLD_DUMPED): Likewise.
29963         (CLD_TRAPPED): Likewise.
29964         (CLD_STOPPED): Likewise.
29965         (CLD_CONTINUED): Likewise.
29966         (POLL_IN): Likewise.
29967         (POLL_OUT): Likewise.
29968         (POLL_MSG): Likewise.
29969         (POLL_ERR): Likewise.
29970         (POLL_PRI): Likewise.
29971         (POLL_HUP): Likewise.
29972         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
29973         (ILL_ILLOPN): Likewise.
29974         (ILL_ILLADR): Likewise.
29975         (ILL_ILLTRP): Likewise.
29976         (ILL_PRVOPC): Likewise.
29977         (ILL_PRVREG): Likewise.
29978         (ILL_COPROC): Likewise.
29979         (ILL_BADSTK): Likewise.
29980         (FPE_INTDIV): Likewise.
29981         (FPE_INTOVF): Likewise.
29982         (FPE_FLTDIV): Likewise.
29983         (FPE_FLTOVF): Likewise.
29984         (FPE_FLTUND): Likewise.
29985         (FPE_FLTRES): Likewise.
29986         (FPE_FLTINV): Likewise.
29987         (FPE_FLTSUB): Likewise.
29988         (SEGV_MAPERR): Likewise.
29989         (SEGV_ACCERR): Likewise.
29990         (BUS_ADRALN): Likewise.
29991         (BUS_ADRERR): Likewise.
29992         (BUS_OBJERR): Likewise.
29993         (BUS_MCEERR_AR): Likewise.
29994         (BUS_MCEERR_AO): Likewise.
29995         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29996         (TRAP_TRACE): Likewise.
29997         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29998         __USE_XOPEN2K8].
29999         (CLD_KILLED): Likewise.
30000         (CLD_DUMPED): Likewise.
30001         (CLD_TRAPPED): Likewise.
30002         (CLD_STOPPED): Likewise.
30003         (CLD_CONTINUED): Likewise.
30004         (POLL_IN): Likewise.
30005         (POLL_OUT): Likewise.
30006         (POLL_MSG): Likewise.
30007         (POLL_ERR): Likewise.
30008         (POLL_PRI): Likewise.
30009         (POLL_HUP): Likewise.
30010         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
30011         (ILL_ILLOPN): Likewise.
30012         (ILL_ILLADR): Likewise.
30013         (ILL_ILLTRP): Likewise.
30014         (ILL_PRVOPC): Likewise.
30015         (ILL_PRVREG): Likewise.
30016         (ILL_COPROC): Likewise.
30017         (ILL_BADSTK): Likewise.
30018         (ILL_DBLFLT): Likewise.
30019         (ILL_HARDWALL): Likewise.
30020         (FPE_INTDIV): Likewise.
30021         (FPE_INTOVF): Likewise.
30022         (FPE_FLTDIV): Likewise.
30023         (FPE_FLTOVF): Likewise.
30024         (FPE_FLTUND): Likewise.
30025         (FPE_FLTRES): Likewise.
30026         (FPE_FLTINV): Likewise.
30027         (FPE_FLTSUB): Likewise.
30028         (SEGV_MAPERR): Likewise.
30029         (SEGV_ACCERR): Likewise.
30030         (BUS_ADRALN): Likewise.
30031         (BUS_ADRERR): Likewise.
30032         (BUS_OBJERR): Likewise.
30033         (BUS_MCEERR_AR): Likewise.
30034         (BUS_MCEERR_AO): Likewise.
30035         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30036         (TRAP_TRACE): Likewise.
30037         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30038         __USE_XOPEN2K8].
30039         (CLD_KILLED): Likewise.
30040         (CLD_DUMPED): Likewise.
30041         (CLD_TRAPPED): Likewise.
30042         (CLD_STOPPED): Likewise.
30043         (CLD_CONTINUED): Likewise.
30044         (POLL_IN): Likewise.
30045         (POLL_OUT): Likewise.
30046         (POLL_MSG): Likewise.
30047         (POLL_ERR): Likewise.
30048         (POLL_PRI): Likewise.
30049         (POLL_HUP): Likewise.
30050         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
30051         (ILL_ILLOPN): Likewise.
30052         (ILL_ILLADR): Likewise.
30053         (ILL_ILLTRP): Likewise.
30054         (ILL_PRVOPC): Likewise.
30055         (ILL_PRVREG): Likewise.
30056         (ILL_COPROC): Likewise.
30057         (ILL_BADSTK): Likewise.
30058         (FPE_INTDIV): Likewise.
30059         (FPE_INTOVF): Likewise.
30060         (FPE_FLTDIV): Likewise.
30061         (FPE_FLTOVF): Likewise.
30062         (FPE_FLTUND): Likewise.
30063         (FPE_FLTRES): Likewise.
30064         (FPE_FLTINV): Likewise.
30065         (FPE_FLTSUB): Likewise.
30066         (SEGV_MAPERR): Likewise.
30067         (SEGV_ACCERR): Likewise.
30068         (BUS_ADRALN): Likewise.
30069         (BUS_ADRERR): Likewise.
30070         (BUS_OBJERR): Likewise.
30071         (BUS_MCEERR_AR): Likewise.
30072         (BUS_MCEERR_AO): Likewise.
30073         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30074         (TRAP_TRACE): Likewise.
30075         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30076         __USE_XOPEN2K8].
30077         (CLD_KILLED): Likewise.
30078         (CLD_DUMPED): Likewise.
30079         (CLD_TRAPPED): Likewise.
30080         (CLD_STOPPED): Likewise.
30081         (CLD_CONTINUED): Likewise.
30082         (POLL_IN): Likewise.
30083         (POLL_OUT): Likewise.
30084         (POLL_MSG): Likewise.
30085         (POLL_ERR): Likewise.
30086         (POLL_PRI): Likewise.
30087         (POLL_HUP): Likewise.
30088         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
30089         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
30091         [BZ #16670]
30092         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
30093         before #include of <time.h>.
30094         [!__USE_XOPEN2K] (__need_timespec): Likewise.
30095         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
30096         (test-xfail-UNIX98/sched.h/conform): Likewise.
30098 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
30100         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
30101         error absence of trapping exception support.
30102         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
30104 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
30106         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
30107         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
30108         * timezone/Makefile (testdata): Move definition above include of
30109         Rules.
30110         (test-zones): New variable.
30111         (tests-special): Add zone files.
30112         (build-testdata): Use $(evaluate-test).
30114         * elf/Makefile (tests-special): Rename tests to end with .out.
30115         ($(objpfx)noload-mem): Likewise.
30116         ($(objpfx)tst-leaks1-mem): Likewise.
30117         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
30118         * iconv/Makefile (xtests-special): Change test-iconvconfig to
30119         $(objpfx)test-iconvconfig.out.
30120         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
30121         set -e inside subshell and redirect output to file.
30122         * iconvdata/Makefile (generated): Rename tests to end with .out.
30123         Correct type.
30124         (tests-special): Rename tests to end with .out.
30125         ($(objpfx)mtrace-tst-loading): Likewise.
30126         * intl/Makefile (generated): Likewise.
30127         (tests-special): Likewise.
30128         ($(objpfx)mtrace-tst-gettext): Likewise.
30129         * misc/Makefile (generated): Likewise.
30130         (tests-special): Likewise.
30131         ($(objpfx)tst-error1-mem): Likewise.
30132         * nptl/Makefile (tests-special): Likewise.
30133         ($(objpfx)tst-stack3-mem): Likewise.
30134         (generated): Likewise.
30135         * posix/Makefile (generated): Likewise.
30136         (tests-special): Likewise.
30137         (xtests-special): Likewise.
30138         ($(objpfx)tst-fnmatch-mem): Likewise.
30139         ($(objpfx)bug-regex2-mem): Likewise.
30140         ($(objpfx)bug-regex14-mem): Likewise.
30141         ($(objpfx)bug-regex21-mem): Likewise.
30142         ($(objpfx)bug-regex31-mem): Likewise.
30143         ($(objpfx)tst-vfork3-mem): Likewise.
30144         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
30145         ($(objpfx)tst-pcre-mem): Likewise.
30146         ($(objpfx)tst-boost-mem): Likewise.
30147         ($(objpfx)bug-ga2-mem): Likewise.
30148         ($(objpfx)bug-glob2-mem): Likewise.
30149         * resolv/Makefile (generate): Likewise.
30150         (tests-special): Likewise.
30151         (xtests-special): Likewise.
30152         (generated): Likewise.
30153         ($(objpfx)mtrace-tst-leaks): Likewise.
30154         ($(objpfx)mtrace-tst-leaks2): Likewise.
30156         * scripts/merge-test-results.sh: New file.
30157         * Makefile (tests-special-notdir): New variable.
30158         (tests): Run merge-test-results.sh.
30159         (xtests): Likewise.
30160         * Rules (tests-special-notdir): New variable.
30161         (xtests-special-notdir): Likewise.
30162         (tests): Run merge-test-results.sh
30163         (xtests): Likewise.
30165         * Makeconfig (test-xfail-name): New variable.
30166         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
30167         compute variable name for expected failures.
30168         * conform/Makefile (conformtest-headers-data): New variable.
30169         (conformtest-standards): Likewise.
30170         (conformtest-headers-ISO): Likewise.
30171         (conformtest-headers-ISO99): Likewise.
30172         (conformtest-headers-ISO11): Likewise.
30173         (conformtest-headers-POSIX): Likewise.
30174         (conformtest-headers-XPG3): Likewise.
30175         (conformtest-headers-XPG4): Likewise.
30176         (conformtest-headers-UNIX98): Likewise.
30177         (conformtest-headers-XOPEN2K): Likewise.
30178         (conformtest-headers-POSIX2008): Likewise.
30179         (conformtest-headers-XOPEN2K8): Likewise.
30180         (conformtest-header-list-base): Likewise.
30181         (conformtest-header-list-tests): Likewise.
30182         (conformtest-header-base): Likewise.
30183         (conformtest-header-tests): Likewise.
30184         (tests-special): Add $(conformtest-header-list-tests).  If
30185         [$(fast-check) && !$(cross-compiling)], add
30186         $(conformtest-header-tests) instead of
30187         $(objpfx)run-conformtest.out.
30188         (generated): Add $(conformtest-header-list-base).  If
30189         [$(fast-check) && !$(cross-compiling)], add
30190         $(conformtest-header-base).  Remove previous setting.
30191         ($(conformtest-header-list-tests)): New target.
30192         (test-xfail-run-conformtest): Remove variable.
30193         ($(objpfx)run-conformtest.out): Remove target.
30194         (test-xfail-ISO11/complex.h/conform): New variable.
30195         (test-xfail-ISO11/stdalign.h/conform): Likewise.
30196         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
30197         (test-xfail-XPG3/varargs.h/conform): Likewise.
30198         (test-xfail-XPG4/varargs.h/conform): Likewise.
30199         (test-xfail-UNIX98/varargs.h/conform): Likewise.
30200         (test-xfail-XPG4/ndbm.h/conform): Likewise.
30201         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
30202         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
30203         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
30204         (test-xfail-XPG3/fcntl.h/conform): Likewise.
30205         (test-xfail-XPG3/ftw.h/conform): Likewise.
30206         (test-xfail-XPG3/grp.h/conform): Likewise.
30207         (test-xfail-XPG3/langinfo.h/conform): Likewise.
30208         (test-xfail-XPG3/limits.h/conform): Likewise.
30209         (test-xfail-XPG3/pwd.h/conform): Likewise.
30210         (test-xfail-XPG3/search.h/conform): Likewise.
30211         (test-xfail-XPG3/signal.h/conform): Likewise.
30212         (test-xfail-XPG3/stdio.h/conform): Likewise.
30213         (test-xfail-XPG3/stdlib.h/conform): Likewise.
30214         (test-xfail-XPG3/string.h/conform): Likewise.
30215         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
30216         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
30217         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
30218         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
30219         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
30220         (test-xfail-XPG3/sys/types.h/conform): Likewise.
30221         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
30222         (test-xfail-XPG3/termios.h/conform): Likewise.
30223         (test-xfail-XPG3/time.h/conform): Likewise.
30224         (test-xfail-XPG3/unistd.h/conform): Likewise.
30225         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
30226         (test-xfail-XPG4/fcntl.h/conform): Likewise.
30227         (test-xfail-XPG4/langinfo.h/conform): Likewise.
30228         (test-xfail-XPG4/netdb.h/conform): Likewise.
30229         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
30230         (test-xfail-XPG4/signal.h/conform): Likewise.
30231         (test-xfail-XPG4/stdio.h/conform): Likewise.
30232         (test-xfail-XPG4/stdlib.h/conform): Likewise.
30233         (test-xfail-XPG4/stropts.h/conform): Likewise.
30234         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
30235         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
30236         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
30237         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
30238         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
30239         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
30240         (test-xfail-XPG4/sys/time.h/conform): Likewise.
30241         (test-xfail-XPG4/sys/types.h/conform): Likewise.
30242         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
30243         (test-xfail-XPG4/termios.h/conform): Likewise.
30244         (test-xfail-XPG4/ucontext.h/conform): Likewise.
30245         (test-xfail-XPG4/unistd.h/conform): Likewise.
30246         (test-xfail-XPG4/utmpx.h/conform): Likewise.
30247         (test-xfail-POSIX/sched.h/conform): Likewise.
30248         (test-xfail-POSIX/signal.h/conform): Likewise.
30249         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
30250         (test-xfail-POSIX/tar.h/conform): Likewise.
30251         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
30252         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
30253         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
30254         (test-xfail-UNIX98/netdb.h/conform): Likewise.
30255         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
30256         (test-xfail-UNIX98/sched.h/conform): Likewise.
30257         (test-xfail-UNIX98/signal.h/conform): Likewise.
30258         (test-xfail-UNIX98/stdio.h/conform): Likewise.
30259         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
30260         (test-xfail-UNIX98/stropts.h/conform): Likewise.
30261         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
30262         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
30263         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
30264         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
30265         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
30266         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
30267         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
30268         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
30269         (test-xfail-UNIX98/unistd.h/conform): Likewise.
30270         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
30271         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
30272         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
30273         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
30274         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
30275         (test-xfail-XOPEN2K/math.h/conform): Likewise.
30276         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
30277         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
30278         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
30279         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
30280         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
30281         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
30282         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
30283         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
30284         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
30285         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
30286         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
30287         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
30288         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
30289         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
30290         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
30291         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
30292         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
30293         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
30294         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
30295         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
30296         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
30297         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
30298         (test-xfail-POSIX2008/signal.h/conform): Likewise.
30299         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
30300         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
30301         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
30302         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
30303         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
30304         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
30305         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
30306         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
30307         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
30308         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
30309         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
30310         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
30311         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
30312         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
30313         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
30314         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
30315         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
30316         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
30317         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
30318         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
30319         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
30320         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
30321         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
30322         (conformtest-cc-flags): Likewise.
30323         ($(conformtest-header-tests): New target.
30324         * conform/check-header-lists.sh: New file.
30325         * conform/run-conformtest.sh: Remove.
30327         * conform/conformtest.pl: Allow ' and \ in values given for
30328         constants.
30329         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
30330         inclusion.
30331         [POSIX] (sys/types.h): Likewise.
30332         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
30333         inclusion.
30334         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
30335         inclusion.
30336         * conform/data/signal.h-data (SIGIO): Remove expectation.
30337         [XPG3] (SIGBUS): Do not expect.
30338         [POSIX || XPG3] (SIGPOLL): Likewise.
30339         [POSIX || XPG3] (SIGPROF): Likewise.
30340         [POSIX || XPG3] (SIGSYS): Likewise.
30341         [XPG3] (SIGTRAP): Likewise.
30342         [POSIX || XPG3] (SIGURG): Likewise.
30343         [POSIX || XPG3] (SIGVTALRM): Likewise.
30344         [POSIX || XPG3] (SIGXCPU): Likewise.
30345         [POSIX || XPG3] (SIGXFSZ): Likewise.
30346         [POSIX] (SA_SIGINFO): Expect.
30347         [XPG3] (siginfo_t): Do not expect type or contents.
30348         [POSIX] (si_pid): Do not expect element.
30349         [POSIX] (si_uid): Likewise.
30350         [POSIX] (si_addr): Likewise.
30351         [POSIX] (si_status): Likewise.
30352         [POSIX] (si_band): Likewise.
30353         [XPG4] (si_value): Likewise.
30354         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
30355         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
30356         [POSIX || XPG3] (ILL_ILLADR): Likewise.
30357         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
30358         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
30359         [POSIX || XPG3] (ILL_PRVREG): Likewise.
30360         [POSIX || XPG3] (ILL_COPROC): Likewise.
30361         [POSIX || XPG3] (ILL_BADSTK): Likewise.
30362         [POSIX || XPG3] (FPE_INTDIV): Likewise.
30363         [POSIX || XPG3] (FPE_INTOVF): Likewise.
30364         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
30365         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
30366         [POSIX || XPG3] (FPE_FLTUND): Likewise.
30367         [POSIX || XPG3] (FPE_FLTRES): Likewise.
30368         [POSIX || XPG3] (FPE_FLTINV): Likewise.
30369         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
30370         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
30371         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
30372         [POSIX || XPG3] (BUS_ADRALN): Likewise.
30373         [POSIX || XPG3] (BUS_ADRERR): Likewise.
30374         [POSIX || XPG3] (BUS_OBJERR): Likewise.
30375         [POSIX || XPG3] (CLD_EXITED): Likewise.
30376         [POSIX || XPG3] (CLD_KILLED): Likewise.
30377         [POSIX || XPG3] (CLD_DUMPED): Likewise.
30378         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
30379         [POSIX || XPG3] (CLD_STOPPED): Likewise.
30380         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
30381         [POSIX || XPG3] (POLL_IN): Likewise.
30382         [POSIX || XPG3] (POLL_OUT): Likewise.
30383         [POSIX || XPG3] (POLL_MSG): Likewise.
30384         [POSIX || XPG3] (POLL_ERR): Likewise.
30385         [POSIX || XPG3] (POLL_PRI): Likewise.
30386         [POSIX || XPG3] (POLL_HUP): Likewise.
30387         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
30388         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
30389         (SIG*): Do not allow.
30390         [XPG3] (si_*): Likewise.
30391         [XPG3] (SI_*): Likewise.
30392         [XPG3 || XPG4] (sigev_*): Likewise.
30393         [XPG3 || XPG4] (SIGEV_*): Likewise.
30394         [XPG3 || XPG4] (sival_*): Likewise.
30395         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
30396         [POSIX || XPG3] (BUS_*): Likewise.
30397         [POSIX || XPG3] (CLD_*): Likewise.
30398         [POSIX || XPG3] (FPE_*): Likewise.
30399         [POSIX || XPG3] (ILL_*): Likewise.
30400         [POSIX || XPG3] (POLL_*): Likewise.
30401         [POSIX || XPG3] (SEGV_*): Likewise.
30402         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
30403         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
30404         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
30405         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
30406         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
30407         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
30408         Specify type and value.
30409         (TVERSLEN): Likewise.
30410         (REGTYPE): Likewise.
30411         (AREGTYPE): Likewise.
30412         (LNKTYPE): Likewise.
30413         (SYMTYPE): Likewise.
30414         (CHRTYPE): Likewise.
30415         (BLKTYPE): Likewise.
30416         (DIRTYPE): Likewise.
30417         (FIFOTYPE): Likewise.
30418         (CONTTYPE): Likewise.
30419         (TSUID): Likewise.
30420         (TSGID): Likewise.
30421         (TSVTX): Likewise.
30422         (TUREAD): Likewise.
30423         (TUWRITE): Likewise.
30424         (TUEXEC): Likewise.
30425         (TGREAD): Likewise.
30426         (TGWRITE): Likewise.
30427         (TGEXEC): Likewise.
30428         (TOREAD): Likewise.
30429         (TOWRITE): Likewise.
30430         (TOEXEC): Likewise.
30431         [POSIX] (TSVTX): Expect constant.
30433 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
30435         * Makefile (tests): Change dependencies to ....
30436         (tests-special): ... additions to this variable.
30437         (tests): Depend on $(tests-special).
30438         * Makerules (check-abi-list): New variable.
30439         (check-abi): Depend on $(check-abi-list).
30440         [$(subdir) = elf] (tests-special): Add
30441         $(objpfx)check-abi-libc.out.
30442         [$(build-shared) = yes && subdir] (tests-special): Add
30443         $(check-abi-list).
30444         [$(build-shared) = yes && subdir] (tests): Do not depend on
30445         check-abi.
30446         * Rules (tests): Depend on $(tests-special).
30447         (xtests): Depend on $(xtests-special).
30448         * catgets/Makefile (tests): Change dependencies to ....
30449         (tests-special): ... additions to this variable.
30450         * conform/Makefile (tests): Change dependencies to ....
30451         (tests-special): ... additions to this variable.
30452         * elf/Makefile (tests): Change dependencies to ....
30453         (tests-special): ... additions to this variable.
30454         * grp/Makefile (tests): Change dependencies to ....
30455         (tests-special): ... additions to this variable.
30456         * iconv/Makefile (xtests): Change dependencies to ....
30457         (xtests-special): ... additions to this variable.
30458         * iconvdata/Makefile (tests): Change dependencies to ....
30459         (tests-special): ... additions to this variable.
30460         * intl/Makefile (tests): Change dependencies to ....
30461         (tests-special): ... additions to this variable.  Also add
30462         $(objpfx)tst-gettext.out.
30463         * io/Makefile (tests): Change dependencies to ....
30464         (tests-special): ... additions to this variable.
30465         * libio/Makefile (tests): Change dependencies to ....
30466         (tests-special): ... additions to this variable.
30467         * malloc/Makefile (tests): Change dependencies to ....
30468         (tests-special): ... additions to this variable.
30469         * misc/Makefile (tests): Change dependencies to ....
30470         (tests-special): ... additions to this variable.
30471         * nptl/Makefile (tests): Change dependencies to ....
30472         (tests-special): ... additions to this variable.
30473         * nptl_db/Makefile (tests): Change dependencies to ....
30474         (tests-special): ... additions to this variable.
30475         * posix/Makefile (tests): Change dependencies to ....
30476         (tests-special): ... additions to this variable.
30477         (xtests): Change dependencies to ....
30478         (xtests-special): ... additions to this variable.
30479         * resolv/Makefile (tests): Change dependencies to ....
30480         (tests-special): ... additions to this variable.
30481         (xtests): Change dependencies to ....
30482         (xtests-special): ... additions to this variable.
30483         * stdio-common/Makefile (tests): Change dependencies to ....
30484         (tests-special): ... additions to this variable.
30485         (do-tst-unbputc): Remove target.
30486         (do-tst-printf): Likewise.
30487         * stdlib/Makefile (tests): Change dependencies to ....
30488         (tests-special): ... additions to this variable.
30489         * string/Makefile (tests): Change dependencies to ....
30490         (tests-special): ... additions to this variable.
30491         * sysdeps/x86/Makefile (tests): Change dependencies to ....
30492         (tests-special): ... additions to this variable.
30494         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
30495         whole file.
30496         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
30497         whole file.
30498         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
30499         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
30501         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
30502         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
30503         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
30504         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
30505         * conform/data/libgen.h-data [XPG3]: Likewise.
30506         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
30507         * conform/data/ndbm.h-data [XPG3]: Likewise.
30508         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
30509         * conform/data/netdb.h-data [XPG3]: Likewise.
30510         * conform/data/netinet/in.h-data [XPG3]: Likewise.
30511         * conform/data/poll.h-data [XPG3]: Likewise.
30512         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
30513         * conform/data/strings.h-data [XPG3]: Likewise.
30514         * conform/data/stropts.h-data [XPG3]: Likewise.
30515         * conform/data/sys/mman.h-data [XPG3]: Likewise.
30516         * conform/data/sys/resource.h-data [XPG3]: Likewise.
30517         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
30518         Likewise.
30519         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
30520         * conform/data/sys/time.h-data [XPG3]: Likewise.
30521         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
30522         * conform/data/sys/uio.h-data [XPG3]: Likewise.
30523         * conform/data/sys/un.h-data [XPG3]: Likewise.
30524         * conform/data/syslog.h-data [XPG3]: Likewise.
30525         * conform/data/ucontext.h-data [XPG3]: Likewise.
30526         * conform/data/utmpx.h-data [XPG3]: Likewise.
30527         * conform/data/varargs.h-data [UNIX98]: Enable file.
30529         * manual/Makefile (INSTALL_INFO): Remove variable setting.
30531         * math/libm-test.inc (struct test_f_f_data): Move expected results
30532         into structure for each rounding mode.
30533         (struct test_ff_f_data): Likewise.
30534         (struct test_ff_f_data_nexttoward): Likewise.
30535         (struct test_fi_f_data): Likewise.
30536         (struct test_fl_f_data): Likewise.
30537         (struct test_if_f_data): Likewise.
30538         (struct test_fff_f_data): Likewise.
30539         (struct test_c_f_data): Likewise.
30540         (struct test_f_f1_data): Likewise.
30541         (struct test_fF_f1_data): Likewise.
30542         (struct test_ffI_f1_data): Likewise.
30543         (struct test_c_c_data): Likewise.
30544         (struct test_cc_c_data): Likewise.
30545         (struct test_f_i_data): Likewise.
30546         (struct test_ff_i_data): Likewise.
30547         (struct test_f_l_data): Likewise.
30548         (struct test_f_L_data): Likewise.
30549         (struct test_fFF_11_data): Likewise.
30550         (RM_): New macro.
30551         (RM_FE_DOWNWARD): Likewise.
30552         (RM_FE_TONEAREST): Likewise.
30553         (RM_FE_TOWARDZERO): Likewise.
30554         (RM_FE_UPWARD): Likewise.
30555         (RUN_TEST_LOOP_f_f): Update references to expected results.
30556         (RUN_TEST_LOOP_2_f): Likewise.
30557         (RUN_TEST_LOOP_fff_f): Likewise.
30558         (RUN_TEST_LOOP_c_f): Likewise.
30559         (RUN_TEST_LOOP_f_f1): Likewise.
30560         (RUN_TEST_LOOP_fF_f1): Likewise.
30561         (RUN_TEST_LOOP_fI_f1): Likewise.
30562         (RUN_TEST_LOOP_ffI_f1): Likewise.
30563         (RUN_TEST_LOOP_c_c): Likewise.
30564         (RUN_TEST_LOOP_cc_c): Likewise.
30565         (RUN_TEST_LOOP_f_i): Likewise.
30566         (RUN_TEST_LOOP_f_i_tg): Likewise.
30567         (RUN_TEST_LOOP_ff_i_tg): Likewise.
30568         (RUN_TEST_LOOP_f_b): Likewise.
30569         (RUN_TEST_LOOP_f_b_tg): Likewise.
30570         (RUN_TEST_LOOP_f_l): Likewise.
30571         (RUN_TEST_LOOP_f_L): Likewise.
30572         (RUN_TEST_LOOP_fFF_11): Likewise.
30573         * math/gen-libm-test.pl (parse_args): Output four copies of
30574         expected results for each test.
30576         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30577         (__ASSUME_UTIMES): Remove.
30578         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30579         (__ASSUME_UTIMES): Likewise.
30581         * math/gen-auto-libm-tests.c: Update comment on output format.
30582         (output_for_one_input_case): Generate before-rounding and
30583         after-rounding information as conditions on output flags not
30584         floating-point format.
30585         * math/auto-libm-test-out: Regenerated.
30586         * math/gen-libm-test.pl (cond_value): New function.
30587         (or_cond_value): Use cond_value.
30588         (generate_testfile): Handle conditional exceptions.
30590 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
30592         * math/libm-test.inc (max_valid_error): New variable.
30593         (init_max_error): Take new argument specifying whether function
30594         results are exactly determined.  Set max_valid_error and bound
30595         other variables for errors based on this argument.
30596         (set_max_error): Do not record results above max_valid_error.
30597         (check_float_internal): Only accept errors of up to 0.5ulps if
30598         also at most max_valid_error.
30599         (START): Take new argument EXACT and pass it to init_max_error.
30600         (acos_test): Update call to START.
30601         (acos_test_tonearest): Likewise.
30602         (acos_test_towardzero): Likewise.
30603         (acos_test_downward): Likewise.
30604         (acos_test_upward): Likewise.
30605         (acosh_test): Likewise.
30606         (asin_test): Likewise.
30607         (asin_test_tonearest): Likewise.
30608         (asin_test_towardzero): Likewise.
30609         (asin_test_downward): Likewise.
30610         (asin_test_upward): Likewise.
30611         (asinh_test): Likewise.
30612         (atan_test): Likewise.
30613         (atanh_test): Likewise.
30614         (atan2_test): Likewise.
30615         (cabs_test): Likewise.
30616         (cacos_test): Likewise.
30617         (cacosh_test): Likewise.
30618         (carg_test): Likewise.
30619         (casin_test): Likewise.
30620         (casinh_test): Likewise.
30621         (catan_test): Likewise.
30622         (catanh_test): Likewise.
30623         (cbrt_test): Likewise.
30624         (ccos_test): Likewise.
30625         (ccosh_test): Likewise.
30626         (ceil_test): Likewise.
30627         (cexp_test): Likewise.
30628         (cimag_test): Likewise.
30629         (clog_test): Likewise.
30630         (clog10_test): Likewise.
30631         (conj_test): Likewise.
30632         (copysign_test): Likewise.
30633         (cos_test): Likewise.
30634         (cos_test_tonearest): Likewise.
30635         (cos_test_towardzero): Likewise.
30636         (cos_test_downward): Likewise.
30637         (cos_test_upward): Likewise.
30638         (cosh_test): Likewise.
30639         (cosh_test_tonearest): Likewise.
30640         (cosh_test_towardzero): Likewise.
30641         (cosh_test_downward): Likewise.
30642         (cosh_test_upward): Likewise.
30643         (cpow_test): Likewise.
30644         (cproj_test): Likewise.
30645         (creal_test): Likewise.
30646         (csin_test): Likewise.
30647         (csinh_test): Likewise.
30648         (csqrt_test): Likewise.
30649         (ctan_test): Likewise.
30650         (ctan_test_tonearest): Likewise.
30651         (ctan_test_towardzero): Likewise.
30652         (ctan_test_downward): Likewise.
30653         (ctan_test_upward): Likewise.
30654         (ctanh_test): Likewise.
30655         (ctanh_test_tonearest): Likewise.
30656         (ctanh_test_towardzero): Likewise.
30657         (ctanh_test_downward): Likewise.
30658         (ctanh_test_upward): Likewise.
30659         (erf_test): Likewise.
30660         (erfc_test): Likewise.
30661         (exp_test): Likewise.
30662         (exp_test_tonearest): Likewise.
30663         (exp_test_towardzero): Likewise.
30664         (exp_test_downward): Likewise.
30665         (exp_test_upward): Likewise.
30666         (exp10_test): Likewise.
30667         (exp10_test_tonearest): Likewise.
30668         (exp10_test_towardzero): Likewise.
30669         (exp10_test_downward): Likewise.
30670         (exp10_test_upward): Likewise.
30671         (pow10_test): Likewise.
30672         (exp2_test): Likewise.
30673         (expm1_test): Likewise.
30674         (expm1_test_tonearest): Likewise.
30675         (expm1_test_towardzero): Likewise.
30676         (expm1_test_downward): Likewise.
30677         (expm1_test_upward): Likewise.
30678         (fabs_test): Likewise.
30679         (fdim_test): Likewise.
30680         (floor_test): Likewise.
30681         (fma_test): Likewise.
30682         (fma_test_towardzero): Likewise.
30683         (fma_test_downward): Likewise.
30684         (fma_test_upward): Likewise.
30685         (fmax_test): Likewise.
30686         (fmin_test): Likewise.
30687         (fmod_test): Likewise.
30688         (fpclassify_test): Likewise.
30689         (frexp_test): Likewise.
30690         (hypot_test): Likewise.
30691         (ilogb_test): Likewise.
30692         (isfinite_test): Likewise.
30693         (finite_test): Likewise.
30694         (isgreater_test): Likewise.
30695         (isgreaterequal_test): Likewise.
30696         (isinf_test): Likewise.
30697         (isless_test): Likewise.
30698         (islessequal_test): Likewise.
30699         (islessgreater_test): Likewise.
30700         (isnan_test): Likewise.
30701         (isnormal_test): Likewise.
30702         (issignaling_test): Likewise.
30703         (isunordered_test): Likewise.
30704         (j0_test): Likewise.
30705         (j1_test): Likewise.
30706         (jn_test): Likewise.
30707         (ldexp_test): Likewise.
30708         (lgamma_test): Likewise.
30709         (gamma_test): Likewise.
30710         (lrint_test): Likewise.
30711         (lrint_test_tonearest): Likewise.
30712         (lrint_test_towardzero): Likewise.
30713         (lrint_test_downward): Likewise.
30714         (lrint_test_upward): Likewise.
30715         (llrint_test): Likewise.
30716         (llrint_test_tonearest): Likewise.
30717         (llrint_test_towardzero): Likewise.
30718         (llrint_test_downward): Likewise.
30719         (llrint_test_upward): Likewise.
30720         (log_test): Likewise.
30721         (log10_test): Likewise.
30722         (log1p_test): Likewise.
30723         (log2_test): Likewise.
30724         (logb_test): Likewise.
30725         (logb_test_downward): Likewise.
30726         (lround_test): Likewise.
30727         (llround_test): Likewise.
30728         (modf_test): Likewise.
30729         (nearbyint_test): Likewise.
30730         (nextafter_test): Likewise.
30731         (nexttoward_test): Likewise.
30732         (pow_test): Likewise.
30733         (pow_test_tonearest): Likewise.
30734         (pow_test_towardzero): Likewise.
30735         (pow_test_downward): Likewise.
30736         (pow_test_upward): Likewise.
30737         (remainder_test): Likewise.
30738         (drem_test): Likewise.
30739         (remainder_test_tonearest): Likewise.
30740         (drem_test_tonearest): Likewise.
30741         (remainder_test_towardzero): Likewise.
30742         (drem_test_towardzero): Likewise.
30743         (remainder_test_downward): Likewise.
30744         (drem_test_downward): Likewise.
30745         (remainder_test_upward): Likewise.
30746         (drem_test_upward): Likewise.
30747         (remquo_test): Likewise.
30748         (rint_test): Likewise.
30749         (rint_test_tonearest): Likewise.
30750         (rint_test_towardzero): Likewise.
30751         (rint_test_downward): Likewise.
30752         (rint_test_upward): Likewise.
30753         (round_test): Likewise.
30754         (scalb_test): Likewise.
30755         (scalbn_test): Likewise.
30756         (scalbln_test): Likewise.
30757         (signbit_test): Likewise.
30758         (sin_test): Likewise.
30759         (sin_test_tonearest): Likewise.
30760         (sin_test_towardzero): Likewise.
30761         (sin_test_downward): Likewise.
30762         (sin_test_upward): Likewise.
30763         (sincos_test): Likewise.
30764         (sinh_test): Likewise.
30765         (sinh_test_tonearest): Likewise.
30766         (sinh_test_towardzero): Likewise.
30767         (sinh_test_downward): Likewise.
30768         (sinh_test_upward): Likewise.
30769         (sqrt_test): Likewise.
30770         (sqrt_test_tonearest): Likewise.
30771         (sqrt_test_towardzero): Likewise.
30772         (sqrt_test_downward): Likewise.
30773         (sqrt_test_upward): Likewise.
30774         (tan_test): Likewise.
30775         (tan_test_tonearest): Likewise.
30776         (tan_test_towardzero): Likewise.
30777         (tan_test_downward): Likewise.
30778         (tan_test_upward): Likewise.
30779         (tanh_test): Likewise.
30780         (tgamma_test): Likewise.
30781         (trunc_test): Likewise.
30782         (y0_test): Likewise.
30783         (y1_test): Likewise.
30784         (yn_test): Likewise.
30785         (significand_test): Likewise.
30787         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
30788         individual tests in comment.
30789         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
30790         (prev_max_error): New variable.
30791         (prev_real_max_error): Likewise.
30792         (prev_imag_max_error): Likewise.
30793         (compare_ulp_data): Don't refer to test names in comment.
30794         (find_test_ulps): Remove function.
30795         (find_function_ulps): Likewise.
30796         (find_complex_function_ulps): Likewise.
30797         (init_max_error): Take function name as argument.  Look up ulps
30798         for that function.
30799         (print_ulps): Remove function.
30800         (print_max_error): Use prev_max_error instead of calling
30801         find_function_ulps.
30802         (print_complex_max_error): Use prev_real_max_error and
30803         prev_imag_max_error instead of calling find_complex_function_ulps.
30804         (check_float_internal): Take max_ulp parameter instead of calling
30805         find_test_ulps.  Don't call print_ulps.
30806         (check_float): Update call to check_float_internal.
30807         (check_complex): Update calls to check_float_internal.
30808         (START): Pass argument to init_max_error.
30809         * math/gen-libm-test.pl (%results): Don't include "kind"
30810         information.
30811         (parse_ulps): Don't handle ulps of individual tests.
30812         (print_ulps_file): Likewise.
30813         (output_ulps): Likewise.
30814         * math/README.libm-test: Update.
30815         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
30816         individual tests.
30817         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
30818         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
30819         * sysdeps/arm/libm-test-ulps: Likewise.
30820         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
30821         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
30822         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
30823         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
30824         * sysdeps/microblaze/libm-test-ulps: Likewise.
30825         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30826         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30827         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30828         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
30829         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30830         * sysdeps/sh/libm-test-ulps: Likewise.
30831         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30832         * sysdeps/tile/libm-test-ulps: Likewise.
30833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30835 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
30837         * math/libm-test.inc (print_complex_max_error): Check separately
30838         whether real and imaginary errors are within allowed range and
30839         pass 0 to print_complex_function_ulps instead of value within
30840         allowed range.
30842 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30844         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
30845         formatting.
30846         (get_handles_fopen): Likewise.
30847         (do_write_test): Likewise.
30849         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
30851         * libio/fileops.c (do_ftell): Use cached offset when
30852         available.
30853         * libio/iofwide.c (do_ftell_wide): Likewise.
30854         * libio/iofdopen.c (_IO_new_fdopen): Don't use
30855         _IO_file_attach.
30856         * libio/wfileops.c (_IO_fwide): Don't cache offset.
30858         [BZ #16532]
30859         * libio/libioP.h (get_file_offset): New function.
30860         * libio/fileops.c (get_file_offset): Likewise.
30861         (do_ftell): Likewise.
30862         (_IO_new_file_seekoff): Split out ftell logic.
30863         * libio/wfileops.c (do_ftell_wide): Likewise.
30864         (_IO_wfile_seekoff): Split out ftell logic.
30865         * libio/tst-ftell-active-handler.c: New test case.
30866         * libio/Makefile (tests): Add it.
30868 2014-03-03  Roland McGrath  <roland@hack.frob.com>
30870         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
30871         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
30873 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
30875         [BZ #16639]
30876         * nscd/connections.c (nscd_init): Call do_exit.
30877         (start_threads): Call do_exit and notify_parent.
30878         (begin_drop_privileges): Call do_exit.
30879         (finish_drop_privileges): Likewise.
30880         * nscd/selinux.c (preserve_capabilities): Likewise.
30881         (install_real_capabilities): Likewise.
30882         (nscd_selinux_enabled): Likewise.
30883         (avc_create_thread): Likewise.
30884         (avc_alloc_lock): Likewise.
30885         (nscd_avc_init): Likewise.
30886         * nscd/nscd.c (parent_fd): New static variable.
30887         (main): Create a pipe between parent and child processes.
30888         Skip closing parent_fd.
30889         (monitor_child): New function.
30890         (do_exit): Likewise.
30891         (notify_parent): Likewise.
30892         * nscd/nscd.h (notify_parent): Likewise.
30893         (do_exit): Likewise.
30895 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
30897         * malloc/malloc.c (__libc_calloc): Revert last change.
30899 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30901         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30903 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30905         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
30906         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
30907         implementation.
30908         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30909         (__libc_ifunc_impl_list): Likewise.
30910         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
30911         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
30912         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
30913         * string/strrchr.c: Define STRRCHR.
30915 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
30917         * benchtest/bench-strtok.c (simple_strtok): Delete.
30918         (strtok_string): Use as benchmark.
30919         * string/strtok (STRTOK): New macro.
30921 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
30923         * manual/threads.texi: Add header and standard comments to all
30924         functions.
30926         * elf/dl-lookup.c (check_match): New function.
30927         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
30928         (do_lookup_x): Remove nested function check_match. Use non-nested
30929         function check_match.
30931 2014-02-28  Roland McGrath  <roland@hack.frob.com>
30933         * csu/Makefile (generated, before-compile): Use += rather than =.
30934         * catgets/Makefile (generated, generated-dirs): Likewise.
30935         * debug/Makefile (generated): Likewise.
30936         * dlfcn/Makefile (generated): Likewise.
30937         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
30938         * iconvdata/Makefile (before-compile, generated): Likewise.
30939         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
30940         * libio/Makefile (generated): Likewise.
30941         * malloc/Makefile (generated): Likewise.
30942         * manual/Makefile (generated, generated-dirs): Likewise.
30943         * misc/Makefile (generated): Likewise.
30944         * posix/Makefile (generated): Likewise.
30945         * resolv/Makefile (generated): Likewise.
30946         * sunrpc/Makefile (generated, generated-dirs): Likewise.
30947         * timezone/Makefile (generated, generated-dirs): Likewise.
30949         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
30951 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30953         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
30954         power8 implementation.
30955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
30956         file: POWER8 llround ifunc implementation.
30957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
30958         (__lllround): Add POWER8 implementation.
30959         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
30960         POWER8 llround implementation.
30962         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
30963         power8 implementation.
30964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
30965         file: POWER8 llrint ifunc implementation.
30966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
30967         Add POWER8 implementation.
30968         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
30969         POWER8 llrint implementation.
30971         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
30972         power8 implementation.
30973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
30974         file: POWER8 finite ifunc implementation.
30975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
30976         Add POWER8 implementation.
30977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
30978         Likewise.
30979         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
30980         POWER8 finite implementation.
30981         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
30983         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
30984         power8 implementation.
30985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
30986         file: POWER8 isinf ifunc implementation.
30987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
30988         POWER8 implementation.
30989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
30990         Likewise.
30991         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
30992         isinf implementation.
30993         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
30995         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
30996         (INIT_ARCH): Add hwcap2 initialization.
30997         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
30998         power8 implementation.
30999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
31000         file: POWER8 isnan ifunc implementation.
31001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
31002         POWER8 implementation.
31003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
31004         Likewise.
31005         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
31006         isnan implementation.
31007         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
31009 2014-02-27  Joey Ye  <joey.ye@arm.com>
31011         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
31012         (_FP_NANFRAC_Q): Set to zero.
31014 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31016         [BZ #16623]
31017         * math/auto-libm-test-in: New test inputs.
31018         * math/auto-libm-test-out: Regenerate.
31019         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
31020         and DA.
31021         (__cos): Likewise.
31022         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
31024 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
31026         * scripts/evaluate-test.sh: Take new argument indicating whether
31027         failure is expected.
31028         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
31029         indicating whether failure is expected.
31030         * conform/Makefile (test-xfail-run-conformtest): New variable.
31031         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
31032         level.
31033         * posix/Makefile (test-xfail-annexc): New variable.
31034         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
31036 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
31038         * argp/Makefile: Include Makeconfig immediately after defining
31039         subdir.
31040         * assert/Makefile: Likewise.
31041         * benchtests/Makefile: Likewise.
31042         * catgets/Makefile: Likewise.
31043         * conform/Makefile: Likewise.
31044         * crypt/Makefile: Likewise.
31045         * csu/Makefile: Likewise.
31046         (all): Remove target.
31047         * ctype/Makefile: Include Makeconfig immediately after defining
31048         subdir.
31049         * debug/Makefile: Likewise.
31050         * dirent/Makefile: Likewise.
31051         * dlfcn/Makefile: Likewise.
31052         * gmon/Makefile: Likewise.
31053         * gnulib/Makefile: Likewise.
31054         * grp/Makefile: Likewise.
31055         * gshadow/Makefile: Likewise.
31056         * hesiod/Makefile: Likewise.
31057         * hurd/Makefile: Likewise.
31058         (all): Remove target.
31059         * iconvdata/Makefile: Include Makeconfig immediately after
31060         defining subdir.
31061         * inet/Makefile: Likewise.
31062         * intl/Makefile: Likewise.
31063         * io/Makefile: Likewise.
31064         * libio/Makefile: Likewise.
31065         (all): Remove target.
31066         * locale/Makefile: Include Makeconfig immediately after defining
31067         subdir.
31068         * login/Makefile: Likewise.
31069         * mach/Makefile: Likewise.
31070         (all): Remove target.
31071         * malloc/Makefile: Include Makeconfig immediately after defining
31072         subdir.
31073         (all): Remove target.
31074         * manual/Makefile: Include Makeconfig immediately after defining
31075         subdir.
31076         * math/Makefile: Likewise.
31077         * misc/Makefile: Likewise.
31078         * nis/Makefile: Likewise.
31079         * nss/Makefile: Likewise.
31080         * po/Makefile: Likewise.
31081         (all): Remove target.
31082         * posix/Makefile: Include Makeconfig immediately after defining
31083         subdir.
31084         * pwd/Makefile: Likewise.
31085         * resolv/Makefile: Likewise.
31086         * resource/Makefile: Likewise.
31087         * rt/Makefile: Likewise.
31088         * setjmp/Makefile: Likewise.
31089         * shadow/Makefile: Likewise.
31090         * signal/Makefile: Likewise.
31091         * socket/Makefile: Likewise.
31092         * soft-fp/Makefile: Likewise.
31093         * stdio-common/Makefile: Likewise.
31094         * stdlib/Makefile: Likewise.
31095         * streams/Makefile: Likewise.
31096         * string/Makefile: Likewise.
31097         * sunrpc/Makefile: Likewise.
31098         (all): Remove target.
31099         * sysvipc/Makefile: Include Makeconfig immediately after defining
31100         subdir.
31101         * termios/Makefile: Likewise.
31102         * time/Makefile: Likewise.
31103         * timezone/Makefile: Likewise.
31104         (all): Remove target.
31105         * wcsmbs/Makefile: Include Makeconfig immediately after defining
31106         subdir.
31107         * wctype/Makefile: Likewise.
31109 2014-02-26  Steve Ellcey  <sellcey@mips.com>
31111         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
31112         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
31113         (libc_feholdexcept_setround_mips): Ditto.
31114         (libc_feholdsetround): New.
31115         (libc_feholdsetroundf): New.
31116         (libc_feholdsetroundl): New.
31117         (libc_feupdateenv_test_mips): New.
31118         (libc_feupdateenv_test): New.
31119         (libc_feupdateenv_testf): New.
31120         (libc_feupdateenv_testl): New.
31121         (libc_feresetround): New.
31122         (libc_feresetroundf): New.
31123         (libc_feresetroundl): New.
31124         (libc_fetestexcept_mips): New.
31125         (libc_fetestexcept): New.
31126         (libc_fetestexceptf): New.
31127         (libc_fetestexceptl): New.
31128         (HAVE_RM_CTX): New.
31129         (libc_feholdexcept_setround_mips_ctx): New.
31130         (libc_feholdexcept_setround_ctx): New.
31131         (libc_feholdexcept_setroundf_ctx): New.
31132         (libc_feholdexcept_setroundl_ctx): New.
31133         (libc_fesetenv_mips_ctx): New.
31134         (libc_fesetenv_ctx): New.
31135         (libc_fesetenv_ctxf): New.
31136         (libc_fesetenv_ctxl): New.
31137         (libc_feupdateenv_mips_ctx): New.
31138         (libc_feupdateenv_ctx): New.
31139         (libc_feupdateenvf_ctx): New.
31140         (libc_feupdateenvl_ctx): New.
31141         (libc_feholdsetround_mips_ctx): New.
31142         (libc_feholdsetround_ctx): New.
31143         (libc_feholdsetroundf_ctx): New.
31144         (libc_feholdsetroundl_ctx): New.
31145         (libc_feresetround_mips_ctx): New.
31146         (libc_feresetround_ctx): New.
31147         (libc_feresetroundf_ctx): New.
31148         (libc_feresetroundl_ctx): New.
31150 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
31152         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
31154         * manual/ipc.texi: New file.
31155         * manual/Makefile (chapters): Add ipc.
31156         * manual/job.texi: Add "Inter-Process Communication" to next.
31157         * manual/process.texi: Add "Inter-Process Communication" to prev.
31159 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31161         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31163 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
31165         * malloc/malloc.c (__libc_calloc): Simplify implementation.
31167         * manual/arith.texi: Fix spaces after sentences.
31168         * manual/charset.texi: Likewise.
31169         * manual/errno.texi: Likewise.
31170         * manual/install.texi: Likewise.
31171         * manual/llio.texi: Likewise.
31172         * manual/locale.texi: Likewise.
31173         * manual/maint.texi: Likewise.
31174         * manual/math.texi: Likewise.
31175         * manual/memory.texi: Likewise.
31176         * manual/message.texi: Likewise.
31177         * manual/probes.texi: Likewise.
31178         * manual/resource.texi: Likewise.
31179         * manual/signal.texi: Likewise.
31180         * manual/socket.texi: Likewise.
31181         * manual/stdio.texi: Likewise.
31182         * manual/string.texi: Likewise.
31183         * manual/time.texi: Likewise.
31184         * manual/users.texi: Likewise.
31186 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
31188         [BZ #16632]
31189         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
31190         _DEFAULT_SOURCE is defined.
31192 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
31193             Carlos O'Donell  <carlos@redhat.com>
31195         [BZ #16613]
31196         * elf/dl-tls.c (_dl_count_modids): New function.
31197         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
31198         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
31199         audit library and increment generation counter.
31200         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
31201         * elf/tst-audit9.c: New file.
31202         * elf/tst-auditmod9a.c: New file.
31203         * elf/tst-auditmod9b.c: New file.
31204         * elf/Makefile: Add rules to build and run tst-audit9.
31206 2014-02-25  Florian Weimer  <fweimer@redhat.com>
31208         [BZ #15347]
31209         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
31211 2014-02-25  Will Newton  <will.newton@linaro.org>
31213         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
31214         (__longjmp): Restore sp and lr before restoring callee
31215         saved registers.  Add longjmp and longjmp_target
31216         SystemTap probe point.
31217         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
31218         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
31219         Define to zero to match jmpbuf layout.
31220         * sysdeps/arm/setjmp.S: Include stap-probe.h.
31221         (__sigsetjmp): Save sp and lr before saving callee
31222         saved registers.  Add setjmp SystemTap probe point.
31224 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
31226         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31228 2014-02-24  Andreas Schwab  <schwab@suse.de>
31230         [BZ #15804]
31231         * elf/pldd.c (wait_for_ptrace_stop): New function.
31232         (main): Call it after attaching.
31234 2014-02-22  Roland McGrath  <roland@hack.frob.com>
31236         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
31237         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
31238         Versions files is now verboten.
31239         * hurd/Versions (libc: GLIBC_2.0):
31240         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
31241         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
31242         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
31243         * mach/Versions: Likewise.
31245         * csu/Versions: Remove unused %include.
31246         * resolv/Versions: Likewise.
31248 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
31250         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
31251         ($(objpfx)check-local-headers.out): Likewise.
31252         ($(objpfx)begin-end-check.out): Likewise.
31253         * Makerules (check-abi-%.out): Likewise.
31254         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
31255         ($(objpfx)test2.cat): Likewise.
31256         ($(objpfx)de/libc.cat): Likewise.
31257         ($(objpfx)test-gencat.out): Likewise.
31258         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
31259         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
31260         ($(objpfx)noload-mem): Likewise.
31261         ($(objpfx)tst-pathopt.out): Likewise.
31262         ($(objpfx)tst-rtld-load-self.out): Likewise.
31263         ($(objpfx)tst-array1-cmp.out): Likewise.
31264         ($(objpfx)tst-array1-static-cmp.out): Likewise.
31265         ($(objpfx)tst-array2-cmp.out): Likewise.
31266         ($(objpfx)tst-array3-cmp.out): Likewise.
31267         ($(objpfx)tst-array4-cmp.out): Likewise.
31268         ($(objpfx)tst-array5-cmp.out): Likewise.
31269         ($(objpfx)tst-array5-static-cmp.out): Likewise.
31270         ($(objpfx)check-textrel.out): Likewise.
31271         ($(objpfx)check-execstack.out): Likewise.
31272         ($(objpfx)check-localplt.out): Likewise.
31273         ($(objpfx)order2-cmp.out): Likewise.
31274         ($(objpfx)tst-leaks1-mem): Likewise.
31275         ($(objpfx)tst-leaks1-static-mem): Likewise.
31276         ($(objpfx)tst-initorder-cmp.out): Likewise.
31277         ($(objpfx)tst-initorder2-cmp.out): Likewise.
31278         ($(objpfx)tst-unused-dep.out): Likewise.
31279         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
31280         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
31281         * iconv/Makefile (test-iconvconfig): Likewise.
31282         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
31283         ($(objpfx)iconv-test.out): Likewise.
31284         ($(objpfx)tst-tables.out): Likewise.
31285         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
31286         ($(objpfx)tst-gettext.out): Likewise.
31287         ($(objpfx)tst-translit.out): Likewise.
31288         ($(objpfx)tst-gettext2.out): Likewise.
31289         ($(objpfx)tst-gettext4.out): Likewise.
31290         ($(objpfx)tst-gettext6.out): Likewise.
31291         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
31292         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
31293         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
31294         ($(objpfx)tst-fopenloc-mem.out): Likewise.
31295         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
31296         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
31297         * posix/Makefile ($(objpfx)globtest.out): Likewise.
31298         ($(objpfx)wordexp-tst.out): Likewise.
31299         ($(objpfx)annexc.out): Likewise.
31300         ($(objpfx)tst-fnmatch-mem): Likewise.
31301         ($(objpfx)bug-regex2-mem): Likewise.
31302         ($(objpfx)bug-regex14-mem): Likewise.
31303         ($(objpfx)bug-regex21-mem): Likewise.
31304         ($(objpfx)bug-regex31-mem): Likewise.
31305         ($(objpfx)tst-vfork3-mem): Likewise.
31306         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
31307         ($(objpfx)tst-pcre-mem): Likewise.
31308         ($(objpfx)tst-boost-mem): Likewise.
31309         ($(objpfx)tst-getconf.out): Likewise.
31310         ($(objpfx)bug-ga2-mem): Likewise.
31311         ($(objpfx)bug-glob2-mem): Likewise.
31312         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
31313         ($(objpfx)mtrace-tst-leaks2): Likewise.
31314         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
31315         ($(objpfx)tst-printf.out): Likewise.
31316         ($(objpfx)tst-setvbuf1.out): Likewise.
31317         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
31318         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
31319         ($(objpfx)tst-fmtmsg.out): Likewise.
31320         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
31321         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
31323         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
31324         * bits/sigaction.h [__USE_MISC]: Likewise.
31325         * bits/waitstatus.h: Update #endif comments.
31326         * ctype/ctype.h: Likewise.
31327         * dirent/dirent.h: Likewise.
31328         [__USE_MISC]: Remove redundant conditionals.
31329         * grp/grp.h: Update #endif comments.
31330         [__USE_GNU]: Remove redundant conditionals.
31331         [__USE_MISC]: Likewise.
31332         * inet/netinet/in.h [__USE_GNU]: Likewise.
31333         * io/sys/stat.h [__USE_MISC]: Likewise.
31334         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
31335         * libio/bits/stdio.h: Update #endif comments.
31336         [__USE_MISC]: Remove redundant conditionals.
31337         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
31338         * libio/stdio.h: Update #endif comments.
31339         [__USE_MISC]: Remove redundant conditionals.
31340         * math/bits/math-finite.h [__USE_MISC]: Likewise.
31341         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
31342         * math/math.h: Update #else and #endif comments.
31343         [__USE_MISC]: Remove redundant conditionals.
31344         * misc/sys/uio.h: Update #endif comments.
31345         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
31346         * posix/glob.h [__USE_MISC]: Likewise.
31347         * posix/sys/types.h: Update #endif comments.
31348         [__USE_MISC]: Remove redundant conditionals.
31349         * posix/sys/wait.h: Update #endif comments.
31350         [__USE_MISC]: Remove redundant conditionals.
31351         * posix/unistd.h: Update #endif comments.
31352         [__USE_MISC]: Remove redundant conditionals.
31353         * pwd/pwd.h [__USE_GNU]: Likewise.
31354         [__USE_MISC]: Likewise.
31355         * resolv/netdb.h [__USE_GNU]: Likewise.
31356         * signal/signal.h: Update #endif comments.
31357         [__USE_MISC]: Remove redundant conditionals.
31358         * stdlib/stdlib.h: Update #else and #endif comments.
31359         [__USE_MISC]: Remove redundant conditionals.
31360         [__USE_GNU]: Likewise.
31361         * string/bits/string2.h [__USE_MISC]: Likewise.
31362         * string/string.h: Update #endif comments.
31363         [__USE_MISC]: Remove redundant conditionals.
31364         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
31365         Likewise.
31366         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
31367         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
31368         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
31369         Likewise.
31370         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
31371         Likewise.
31372         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
31373         comments.
31374         [__USE_MISC]: Remove redundant conditionals.
31375         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
31376         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
31377         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
31378         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
31379         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
31380         Likewise.
31381         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
31382         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
31383         Likewise.
31384         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
31385         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
31386         Likewise.
31387         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
31388         Likewise.
31389         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
31390         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
31391         Likewise.
31392         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
31393         Likewise.
31394         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
31395         * sysdeps/x86/bits/string.h: Update #endif comments.
31396         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
31397         conditionals.
31398         * time/sys/time.h: Update #endif comments.
31399         * time/time.h: Likewise.
31400         [__USE_MISC]: Remove redundant conditionals.
31402 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
31404         [BZ #16600]
31405         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
31407 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
31409         * Versions.def (librt): Add GLIBC_2.17.
31411 2014-02-21  Adam Conrad  <adconrad@0c3.net>
31413         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
31414         synonym for _SYS_AUXV_H to allow direct inclusion.
31415         * sysdeps/sparc/bits/hwcap.h: Likewise.
31416         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
31417         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
31418         * sysdeps/sparc/sysdep.h: Likewise.
31420 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31422         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
31424 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31426         * benchtests/bench-strrchr.c: Print length instead of position.
31428 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
31430         [BZ #16611]
31431         * sysdeps/unix/sysv/linux/kernel-features.h
31432         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
31433         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
31434         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
31435         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
31436         Likewise.
31437         [__i386__ || __powerpc__ || __sh__ || __sparc__]
31438         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31439         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
31440         (__ASSUME_SENDMMSG): Define instead of using previous
31441         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
31442         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31443         (__ASSUME_SENDMMSG_SYSCALL): Define.
31444         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31445         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
31446         Likewise.
31447         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31448         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
31449         Likewise.
31450         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31451         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
31452         Likewise.
31453         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
31454         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
31455         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
31456         [__ASSUME_SENDMMSG]: Change conditionals to
31457         [__ASSUME_SENDMMSG_SOCKETCALL].
31458         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31459         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
31460         Define.
31461         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31462         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
31463         Likewise.
31464         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
31465         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
31466         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
31467         [!__ASSUME_SENDMMSG]: Change conditional to
31468         [!__ASSUME_SENDMMSG_SOCKETCALL].
31469         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31470         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
31471         Define.
31473         [BZ #16610]
31474         * sysdeps/unix/sysv/linux/kernel-features.h
31475         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
31476         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
31477         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
31478         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
31479         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31480         [__i386__ || __sparc__]
31481         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31482         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
31483         (__ASSUME_RECVMMSG): Define instead of using previous
31484         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
31485         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31486         (__ASSUME_RECVMMSG_SYSCALL): Define.
31487         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31488         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31489         Likewise.
31490         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31491         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31492         Likewise.
31493         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31494         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31495         Likewise.
31496         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
31497         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
31498         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
31499         [__ASSUME_RECVMMSG]: Change condition to
31500         [__ASSUME_RECVMMSG_SOCKETCALL].
31501         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31502         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31503         Define.
31504         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31505         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31506         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31507         Likewise.
31508         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
31509         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
31510         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
31511         [!__ASSUME_RECVMMSG]: Change condition to
31512         [!__ASSUME_RECVMMSG_SOCKETCALL].
31513         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31514         (__ASSUME_RECVMMSG_SYSCALL): Define.
31516         [BZ #16609]
31517         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
31518         __powerpc__ || __s390__ || __sh__ || __sparc__]
31519         (__ASSUME_SOCKETCALL): Define.
31520         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
31521         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
31522         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
31523         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
31524         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
31525         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
31526         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
31527         (__ASSUME_ACCEPT4): Define instead of using previous
31528         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
31529         __powerpc__ || __sparc__ || __s390__)] condition.
31530         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31531         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
31532         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
31533         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
31534         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
31535         [!__ASSUME_ACCEPT4]: Change condition to
31536         [!__ASSUME_ACCEPT4_SOCKETCALL].
31537         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31538         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
31539         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
31540         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31541         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
31542         __ASSUME_ACCEPT4_SYSCALL.
31543         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
31544         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
31545         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31546         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
31547         __ASSUME_ACCEPT4_SYSCALL.
31548         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
31549         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
31550         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
31551         [__ASSUME_ACCEPT4]: Change condition to
31552         [__ASSUME_ACCEPT4_SOCKETCALL].
31553         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31554         (__ASSUME_SOCKETCALL): Define.
31555         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
31556         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31557         (__ASSUME_SOCKETCALL): Define.
31558         (__ASSUME_ACCEPT4): Remove.
31559         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
31560         Define.
31561         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31562         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
31563         Likewise.
31564         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31565         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
31567         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
31568         macro.
31569         (HWCAP_ARM_LPAE): Likewise.
31570         (HWCAP_ARM_EVTSTRM): Likewise.
31571         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
31572         Add vpfd32, lpae and evtstrm.
31573         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
31574         Increase to 22.
31576 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
31578         * math/auto-libm-test-in: Add tests of clog10.
31579         * math/auto-libm-test-out: Regenerated.
31580         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
31581         * sysdeps/i386/fpu/libm-test-ulps: Update.
31582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31584 2014-02-18  Andreas Schwab  <schwab@suse.de>
31586         [BZ #16574]
31587         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
31588         Store non-zero if the second buffer was newly allocated.
31589         (send_dg): Likewise.
31590         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
31591         to send_vc and send_dg.
31592         (res_nsend): Pass NULL for ansp2_malloced.
31593         * resolv/res_query.c (__libc_res_nquery): Add parameter
31594         answerp2_malloced and pass it down to __libc_res_nsend.
31595         (res_nquery): Pass additional NULL to __libc_res_nquery.
31596         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
31597         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
31598         second answer buffer if answerp2_malloced was set.
31599         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
31600         (__libc_res_nquerydomain): Add parameter
31601         answerp2_malloced and pass it down to __libc_res_nquery.
31602         (res_nquerydomain): Pass additional NULL to
31603         __libc_res_nquerydomain.
31604         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
31605         additional NULL to __libc_res_nsend and __libc_res_nquery.
31606         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
31607         additional NULL to __libc_res_nsearch.
31608         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
31609         parameter of __libc_res_nsearch to check for separately allocated
31610         second buffer.
31611         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
31612         __libc_res_nquery.
31613         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
31614         additional NULL to __libc_res_nquery.
31615         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
31616         __libc_res_nsearch.
31617         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
31618         * include/resolv.h: Update prototypes of __libc_res_nquery,
31619         __libc_res_nsearch, __libc_res_nsend.
31621 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
31623         * math/auto-libm-test-in: Add tests of fma.
31624         * math/auto-libm-test-out: Regenerated.
31625         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
31626         (fma_towardzero_test_data): Likewise.
31627         (fma_downward_test_data): Likewise.
31628         (fma_upward_test_data): Likewise.
31629         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
31630         mpc_mode.
31631         (rounding_modes): Add values for new field.
31632         (func_calc_method): Add value mpfr_fff_f.
31633         (func_calc_desc): Add mpfr_fff_f union field.
31634         (test_function): Add field exact_args.
31635         (FUNC): Add macro argument EXACT_ARGS.
31636         (FUNC_mpfr_f_f): Update call to FUNC.
31637         (FUNC_mpfr_f_f): Likewise.
31638         (FUNC_mpfr_ff_f): Likewise.
31639         (FUNC_mpfr_if_f): Likewise.
31640         (FUNC_mpc_c_f): Likewise.
31641         (FUNC_mpc_c_c): Likewise.
31642         (test_functions): Add fma.  Update calls to FUNC.
31643         (handle_input_arg): Add argument exact_args.
31644         (add_test): Update call to handle_input_arg.
31645         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
31646         (output_for_one_input_case): Update call to calc_generic_results.
31647         Recalculate exact zero results in each rounding mode.
31649         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
31650         non-negative before setting low bit.
31651         * math/auto-libm-test-in: Mark one asin test possibly having
31652         spurious underflow.
31653         * math/auto-libm-test-out: Regenerated.
31654         * sysdeps/i386/fpu/libm-test-ulps: Update.
31655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31657 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
31659         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
31660         * sysdeps/unix/sysv/linux/microblaze: Move directory from
31661         ports/sysdeps/unix/sysv/linux/microblaze.
31662         * README: Add missing listing for microblaze*-*-linux-gnu.
31664 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
31666         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
31667         duplicate code
31669 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
31671         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
31672         * sysdeps/unix/sysv/linux/ia64: Move directory from
31673         ports/sysdeps/unix/sysv/linux/ia64.
31674         * README: Update listing for ia64-*-linux-gnu.
31676 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
31677             Joseph Myers  <joseph@codesourcery.com>
31679         * Makeconfig (test-name): New variable.
31680         (evaluate-test): Likewise.
31681         * Makerules (do-test-clean): Remove .test-result files.
31682         (common-mostlyclean): Likewise.
31683         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
31684         * scripts/evaluate-test.sh: New file.
31686 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
31688         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
31689         separate $(objpfx)tst-fopenloc-cmp.out and
31690         $(objpfx)tst-fopenloc-mem.out targets.
31691         (tests): Update dependencies.
31692         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
31693         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
31694         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
31695         (tst-rxspencer-no-utf8-ARGS): New variable.
31696         (tst-rxspencer-no-utf8-ENV): Likewise.
31697         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
31698         instead of $(objpfx)tst-rxspencer-mem.
31699         ($(objpfx)tst-rxspencer-mem): Change target to
31700         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
31701         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
31702         * posix/tst-rxspencer-no-utf8.c: New file.
31704         * elf/Makefile ($(objpfx)order.out): Remove rule.
31705         [$(run-built-tests) = yes] (tests): Depend on
31706         $(objpfx)order-cmp.out.
31707         ($(objpfx)order-cmp.out): New rule.
31708         [$(run-built-tests) = yes] (tests): Depend on
31709         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
31710         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
31711         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
31712         $(objpfx)tst-array5-static-cmp.out.
31713         ($(objpfx)tst-array1.out): Remove rule.
31714         ($(objpfx)tst-array1-cmp.out): New rule.
31715         ($(objpfx)tst-array1-static.out): Remove rule.
31716         ($(objpfx)tst-array1-static-cmp.out): New rule.
31717         ($(objpfx)tst-array2.out): Remove rule.
31718         ($(objpfx)tst-array2-cmp.out): New rule.
31719         ($(objpfx)tst-array3.out): Remove rule.
31720         ($(objpfx)tst-array3-cmp.out): New rule.
31721         ($(objpfx)tst-array4.out): Remove rule.
31722         ($(objpfx)tst-array4-cmp.out): New rule.
31723         ($(objpfx)tst-array5.out): Remove rule.
31724         ($(objpfx)tst-array5-cmp.out): New rule.
31725         ($(objpfx)tst-array5-static.out): Remove rule.
31726         ($(objpfx)tst-array5-static-cmp.out): New rule.
31727         [$(run-built-tests) = yes] (tests): Depend on
31728         $(objpfx)order2-cmp.out.
31729         ($(objpfx)order2.out): Remove rule.
31730         ($(objpfx)order2-cmp.out): New rule.
31731         ($(objpfx)tst-initorder.out): Remove rule.
31732         [$(run-built-tests) = yes] (tests): Depend on
31733         $(objpfx)tst-initorder-cmp.out.
31734         ($(objpfx)tst-initorder-cmp.out): New rule.
31735         ($(objpfx)tst-initorder2.out): Remove rule.
31736         [$(run-built-tests) = yes] (tests): Depend on
31737         $(objpfx)tst-initorder2-cmp.out.
31738         ($(objpfx)tst-initorder2-cmp.out): New rule.
31739         [$(run-built-tests) = yes] (tests): Depend on
31740         $(objpfx)tst-unused-dep-cmp.out.
31741         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
31742         ($(objpfx)tst-unused-dep-cmp.out): New rule.
31743         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
31744         on $(objpfx)tst-setvbuf1-cmp.out.
31745         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
31746         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
31747         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
31748         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
31749         ($(objpfx)tst-svc.out): Remove rule.
31750         ($(objpfx)tst-svc-cmp.out): New rule.
31752 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
31754         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
31755         * ctype/ctype.h [__USE_MISC]: Likewise.
31756         * dirent/dirent.h [__USE_MISC]: Likewise.
31757         * grp/grp.h [__USE_MISC]: Likewise.
31758         * io/fcntl.h [__USE_MISC]: Likewise.
31759         * io/sys/stat.h [__USE_MISC]: Likewise.
31760         * libio/stdio.h [__USE_MISC]: Likewise.
31761         * posix/unistd.h [__USE_MISC]: Likewise.
31762         * pwd/pwd.h [__USE_MISC]: Likewise.
31763         * stdlib.h [__USE_MISC]: Likewise.
31764         * string/bits/string2.h [__USE_MISC]: Likewise.
31765         * string/string.h [__USE_MISC]: Likewise.
31766         * time/time.h [__USE_MISC]: Likewise.
31768 2014-02-13  Andreas Schwab  <schwab@suse.de>
31770         [BZ #16574]
31771         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
31772         second answer buffer if it was separately allocated.
31774 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
31776         * sysdeps/mips/math-tests.h: Include <features.h>.
31777         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
31778         (ROUNDING_TESTS_long_double): Do not define.
31779         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
31780         (EXCEPTION_TESTS_long_double): Likewise.
31781         * sysdeps/mips/mips64/libm-test-ulps: Update.
31783         * include/features.h (__USE_BSD): Remove macro definitions.
31784         (__USE_SVID): Likewise.
31785         (_BSD_SOURCE): Likewise.
31786         (_SVID_SOURCE): Likewise.
31787         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
31788         from definition of _DEFAULT_SOURCE.
31789         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
31790         [_DEFAULT_SOURCE].
31791         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
31792         * bits/mman.h [__USE_BSD]: Likewise.
31793         * bits/termios.h [__USE_BSD]: Likewise.
31794         * bits/waitstatus.h [__USE_BSD]: Likewise.
31795         * ctype/ctype.h [__USE_SVID]: Likewise.
31796         * dirent/dirent.h [__USE_BSD]: Likewise.
31797         * grp/grp.h [__USE_SVID]: Likewise.
31798         [__USE_BSD]: Likewise.
31799         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
31800         * io/fcntl.h [__USE_BSD]: Likewise.
31801         * io/ftw.h [__USE_BSD]: Likewise.
31802         * io/sys/stat.h [__USE_BSD]: Likewise.
31803         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
31804         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
31805         * libio/stdio.h [__USE_SVID]: Likewise.
31806         [__USE_BSD]: Likewise.
31807         * math/math.h [__USE_SVID]: Likewise.
31808         [__USE_BSD]: Likewise.
31809         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
31810         * misc/bits/syslog.h [__USE_BSD]: Likewise.
31811         * misc/search.h [__USE_SVID]: Likewise.
31812         * misc/sys/mman.h [__USE_BSD]: Likewise.
31813         * misc/sys/syslog.h [__USE_BSD]: Likewise.
31814         * misc/sys/uio.h [__USE_BSD]: Likewise.
31815         * posix/bits/unistd.h [__USE_BSD]: Likewise.
31816         * posix/glob.h [__USE_BSD]: Likewise.
31817         * posix/regex.h [__USE_BSD]: Likewise.
31818         * posix/sys/types.h [__USE_BSD]: Likewise.
31819         [__USE_SVID]: Likewise.
31820         * posix/sys/utsname.h [__USE_SVID]: Likewise.
31821         * posix/sys/wait.h [__USE_BSD]: Likewise.
31822         [__USE_SVID]: Likewise.
31823         * posix/unistd.h [__USE_BSD]: Likewise.
31824         [__USE_SVID]: Likewise.
31825         * pwd/pwd.h [__USE_SVID]: Likewise.
31826         * resolv/netdb.h [__USE_BSD]: Likewise.
31827         * setjmp/setjmp.h [__USE_BSD]: Likewise.
31828         * signal/signal.h [__USE_BSD]: Likewise.
31829         [__USE_SVID]: Likewise.
31830         * socket/sys/socket.h [__USE_BSD]: Likewise.
31831         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
31832         * stdlib/stdlib.h [__USE_BSD]: Likewise.
31833         [__USE_SVID]: Likewise.
31834         * string/bits/string2.h [__USE_BSD]: Likewise.
31835         [__USE_SVID]: Likewise.
31836         * string/bits/string3.h [__USE_BSD]: Likewise.
31837         * string/endian.h [__USE_BSD]: Likewise.
31838         * string/string.h [__USE_SVID]: Likewise.
31839         [__USE_BSD]: Likewise.
31840         * string/strings.h [__USE_BSD]: Likewise.
31841         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
31842         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
31843         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
31844         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
31845         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
31846         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
31847         Likewise.
31848         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
31849         Likewise.
31850         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
31851         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
31852         Likewise.
31853         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
31854         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
31855         Likewise.
31856         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
31857         Likewise.
31858         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
31859         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
31860         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
31861         Likewise.
31862         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
31863         Likewise.
31864         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
31865         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
31866         * termios/termios.h [__USE_BSD]: Likewise.
31867         * time/sys/time.h [__USE_BSD]: Likewise.
31868         * time/time.h [__USE_BSD]: Likewise.
31869         [__USE_SVID]: Likewise.
31871         * Makefile (subdir_targets): Remove subdir_lint.out.
31873         * stdio-common/Makefile (do-tst-unbputc): Remove target.
31874         (do-tst-printf): Likewise.
31875         (tests): Depend directly on $(objpfx)tst-unbputc.out and
31876         $(objpfx)tst-printf.out.
31878         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
31880         * Makerules (check-abi-%): Change target to
31881         $(objpfx)check-abi-%.out.
31882         (check-abi target): Update dependencies.
31883         (check-abi-pattern variable): Redirect output of diff to $@.
31884         (check-abi variable): Likewise.
31885         * elf/Makefile (check-abi): Update dependencies.
31887         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
31888         unused.
31889         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
31890         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
31891         subnormal range.
31892         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
31893         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
31894         value has largest subnormal exponent.
31895         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
31896         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
31897         * sysdeps/aarch64/soft-fp/sfp-machine.h
31898         (_FP_TININESS_AFTER_ROUNDING): New macro.
31899         * sysdeps/alpha/soft-fp/sfp-machine.h
31900         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31901         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
31902         Likewise.
31903         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
31904         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31905         * sysdeps/mips/soft-fp/sfp-machine.h
31906         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31907         * sysdeps/powerpc/soft-fp/sfp-machine.h
31908         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31909         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
31910         Likewise.
31911         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31912         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31913         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31914         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31915         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
31916         Likewise.
31918 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
31920         [BZ #16545]
31921         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
31922         model 1.
31924 2014-02-12  Richard Henderson  <rth@redhat.com>
31926         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
31927         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
31928         * sysdeps/unix/sysv/linux/alpha: Move directory from
31929         ports/sysdeps/unix/sysv/linux/alpha.
31930         * README: Update listing for alpha-*-linux-gnu.
31932 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
31934         * include/features.h: Update comment documenting feature test
31935         macros.
31936         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
31937         _DEFAULT_SOURCE.
31938         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
31939         (_SVID_SOURCE): Likewise.
31940         (_DEFAULT_SOURCE): Update description of default features.
31941         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
31942         with _GNU_SOURCE.
31943         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
31944         (S_ISVTX): Likewise.
31945         * manual/math.texi (Mathematical Constants): Likewise.
31946         * manual/signal.texi (Interrupted Primitives): Likewise.
31947         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
31948         * math/test-matherr.c (_SVID_SOURCE): Do not define.
31949         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
31950         Don't refer to _SVID_SOURCE in warning text.
31952         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31954         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
31955         already defined.
31956         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
31957         * sysdeps/mips/dl-lookup.c: Remove.
31958         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
31960 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31962         [BZ #16447]
31963         * math/auto-libm-test-in: Add testcase for expl.
31964         * math/auto-libm-test-out: Regenerate.
31965         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
31966         calculation of unsafe.
31967         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
31969 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31971         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
31972         * sysdeps/unix/sysv/linux/aarch64: Move directory from
31973         ports/sysdeps/unix/sysv/linux/aarch64.
31974         * README: Update listing for aarch64*-*-linux-gnu.
31976 2014-02-11  Will Newton  <will.newton@linaro.org>
31978         * manual/probes.texi (Mathematical Function Probes): Use
31979         "triggered" instead of "hit".
31981         * manual/probes.texi (Internal Probes): Add documentation
31982         of setjmp, longjmp and longjmp_target probes.
31984         * include/stap-probe.h: Add comment about probe argument
31985         format.
31987         * malloc/mtrace.c (attribute_hidden): Remove unused macro
31988         definition.  (tr_where, tr_freehook, tr_mallochook,
31989         tr_reallochook, tr_memalignhook): Use ANSI protoype.
31991 2014-02-11  David S. Miller  <davem@davemloft.net>
31993         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
31994         processing int_tests.
31996 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
31998         * sysdeps/mips: Move directory from ports/sysdeps/mips.
31999         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
32000         * sysdeps/unix/sysv/linux/mips: Move directory from
32001         ports/sysdeps/unix/sysv/linux/mips.
32002         * README: Update listing for mips-*-linux-gnu and
32003         mips64-*-linux-gnu.
32005 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
32007         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
32008         * sysdeps/unix/sysv/linux/m68k: Move directory from
32009         ports/sysdeps/unix/sysv/linux/m68k.
32010         * README: Update listing for m68k-*-linux-gnu.
32012 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
32014         * sysdeps/tile: Move directory from ports/sysdeps/tile.
32015         * sysdeps/unix/sysv/linux/generic: Move directory from
32016         ports/sysdeps/unix/sysv/linux/generic.
32017         * sysdeps/unix/sysv/linux/tile: Move directory from
32018         ports/sysdeps/unix/sysv/linux/tile.
32019         * README: Update listing for tile*-*-linux-gnu.
32021 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
32023         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
32024         __builtin_expect.
32025         * benchtests/bench-memmem.c (simple_memmem): Likewise.
32026         * catgets/open_catalog.c (__open_catalog): Likewise.
32027         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
32028         * debug/confstr_chk.c: Likewise.
32029         * debug/fread_chk.c (__fread_chk): Likewise.
32030         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
32031         * debug/getgroups_chk.c: Likewise.
32032         * debug/mbsnrtowcs_chk.c: Likewise.
32033         * debug/mbsrtowcs_chk.c: Likewise.
32034         * debug/mbstowcs_chk.c: Likewise.
32035         * debug/memcpy_chk.c: Likewise.
32036         * debug/memmove_chk.c: Likewise.
32037         * debug/mempcpy_chk.c: Likewise.
32038         * debug/memset_chk.c: Likewise.
32039         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
32040         * debug/strcat_chk.c (__strcat_chk): Likewise.
32041         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
32042         * debug/strncat_chk.c (__strncat_chk): Likewise.
32043         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
32044         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
32045         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
32046         * debug/wcpncpy_chk.c: Likewise.
32047         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
32048         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
32049         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
32050         * debug/wcsncpy_chk.c: Likewise.
32051         * debug/wcsnrtombs_chk.c: Likewise.
32052         * debug/wcsrtombs_chk.c: Likewise.
32053         * debug/wcstombs_chk.c: Likewise.
32054         * debug/wmemcpy_chk.c: Likewise.
32055         * debug/wmemmove_chk.c: Likewise.
32056         * debug/wmempcpy_chk.c: Likewise.
32057         * debug/wmemset_chk.c: Likewise.
32058         * dirent/scandirat.c (SCANDIRAT): Likewise.
32059         * dlfcn/dladdr1.c (dladdr1): Likewise.
32060         * dlfcn/dladdr.c (dladdr): Likewise.
32061         * dlfcn/dlclose.c (dlclose_doit): Likewise.
32062         * dlfcn/dlerror.c (__dlerror): Likewise.
32063         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
32064         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
32065         * dlfcn/dlopen.c (dlopen_doit): Likewise.
32066         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
32067         * dlfcn/dlsym.c (dlsym_doit): Likewise.
32068         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
32069         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
32070         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
32071         Likewise.
32072         * elf/dl-conflict.c: Likewise.
32073         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
32074         * elf/dl-dst.h: Likewise.
32075         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
32076         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
32077         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
32078         * elf/dl-init.c (call_init, _dl_init): Likewise.
32079         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
32080         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
32081         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
32082         Likewise.
32083         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
32084         Likewise.
32085         * elf/dl-minimal.c (__libc_memalign): Likewise.
32086         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
32087         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
32088         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
32089         * elf/dl-sym.c (do_sym): Likewise.
32090         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
32091         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
32092         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
32093         * elf/dl-writev.h (_dl_writev): Likewise.
32094         * elf/ldconfig.c (search_dir): Likewise.
32095         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
32096         (dl_main): Likewise.
32097         * elf/setup-vdso.h (setup_vdso): Likewise.
32098         * grp/compat-initgroups.c (compat_call): Likewise.
32099         * grp/fgetgrent.c (fgetgrent): Likewise.
32100         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
32101         * grp/putgrent.c (putgrent): Likewise.
32102         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
32103         Likewise.
32104         * hurd/hurdinit.c: Likewise.
32105         * iconvdata/8bit-gap.c (struct): Likewise.
32106         * iconvdata/ansi_x3.110.c : Likewise.
32107         * iconvdata/big5.c : Likewise.
32108         * iconvdata/big5hkscs.c : Likewise.
32109         * iconvdata/cp1255.c: Likewise.
32110         * iconvdata/cp1258.c : Likewise.
32111         * iconvdata/cp932.c : Likewise.
32112         * iconvdata/euc-cn.c: Likewise.
32113         * iconvdata/euc-jisx0213.c : Likewise.
32114         * iconvdata/euc-jp.c: Likewise.
32115         * iconvdata/euc-jp-ms.c : Likewise.
32116         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
32117         * iconvdata/gb18030.c : Likewise.
32118         * iconvdata/gbbig5.c (const): Likewise.
32119         * iconvdata/gbgbk.c: Likewise.
32120         * iconvdata/gbk.c : Likewise.
32121         * iconvdata/ibm1364.c : Likewise.
32122         * iconvdata/ibm930.c : Likewise.
32123         * iconvdata/ibm932.c: Likewise.
32124         * iconvdata/ibm933.c : Likewise.
32125         * iconvdata/ibm935.c : Likewise.
32126         * iconvdata/ibm937.c : Likewise.
32127         * iconvdata/ibm939.c : Likewise.
32128         * iconvdata/ibm943.c: Likewise.
32129         * iconvdata/iso_11548-1.c: Likewise.
32130         * iconvdata/iso-2022-cn.c : Likewise.
32131         * iconvdata/iso-2022-cn-ext.c : Likewise.
32132         * iconvdata/iso-2022-jp-3.c: Likewise.
32133         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
32134         * iconvdata/iso-2022-kr.c : Likewise.
32135         * iconvdata/iso646.c (gconv_end): Likewise.
32136         * iconvdata/iso_6937-2.c : Likewise.
32137         * iconvdata/iso_6937.c : Likewise.
32138         * iconvdata/iso8859-1.c: Likewise.
32139         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
32140         * iconvdata/shift_jisx0213.c : Likewise.
32141         * iconvdata/sjis.c : Likewise.
32142         * iconvdata/t.61.c : Likewise.
32143         * iconvdata/tcvn5712-1.c : Likewise.
32144         * iconvdata/tscii.c: Likewise.
32145         * iconvdata/uhc.c : Likewise.
32146         * iconvdata/unicode.c (gconv_end): Likewise.
32147         * iconvdata/utf-16.c (gconv_end): Likewise.
32148         * iconvdata/utf-32.c (gconv_end): Likewise.
32149         * iconvdata/utf-7.c (base64): Likewise.
32150         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
32151         * iconv/gconv_close.c (__gconv_close): Likewise.
32152         * iconv/gconv_open.c (__gconv_open): Likewise.
32153         * iconv/gconv_simple.c (internal_ucs4_loop_single)
32154         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
32155         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
32156         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
32157         (ucs4le_internal_loop_single): Likewise.
32158         * iconv/iconv.c (iconv): Likewise.
32159         * iconv/iconv_close.c: Likewise.
32160         * iconv/loop.c (SINGLE): Likewise.
32161         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
32162         * include/atomic.h: Likewise.
32163         * inet/inet6_option.c (option_alloc): Likewise.
32164         * intl/bindtextdom.c (set_binding_values): Likewise.
32165         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
32166         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
32167         * intl/localealias.c (read_alias_file): Likewise.
32168         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
32169         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
32170         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
32171         * libio/fmemopen.c (fmemopen): Likewise.
32172         * libio/iofgets.c (_IO_fgets): Likewise.
32173         * libio/iofgets_u.c (fgets_unlocked): Likewise.
32174         * libio/iofgetws.c (fgetws): Likewise.
32175         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
32176         * libio/iogetdelim.c (_IO_getdelim): Likewise.
32177         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
32178         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
32179         * locale/findlocale.c (_nl_find_locale): Likewise.
32180         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32181         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
32182         Likewise.
32183         * locale/setlocale.c (setlocale): Likewise.
32184         * login/programs/pt_chown.c (main): Likewise.
32185         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
32186         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
32187         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
32188         (mmap, mmap64, mremap, munmap): Likewise.
32189         * math/e_exp2l.c: Likewise.
32190         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
32191         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
32192         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
32193         * math/s_catan.c (__catan): Likewise.
32194         * math/s_catanf.c (__catanf): Likewise.
32195         * math/s_catanh.c (__catanh): Likewise.
32196         * math/s_catanhf.c (__catanhf): Likewise.
32197         * math/s_catanhl.c (__catanhl): Likewise.
32198         * math/s_catanl.c (__catanl): Likewise.
32199         * math/s_ccosh.c (__ccosh): Likewise.
32200         * math/s_ccoshf.c (__ccoshf): Likewise.
32201         * math/s_ccoshl.c (__ccoshl): Likewise.
32202         * math/s_cexp.c (__cexp): Likewise.
32203         * math/s_cexpf.c (__cexpf): Likewise.
32204         * math/s_cexpl.c (__cexpl): Likewise.
32205         * math/s_clog10.c (__clog10): Likewise.
32206         * math/s_clog10f.c (__clog10f): Likewise.
32207         * math/s_clog10l.c (__clog10l): Likewise.
32208         * math/s_clog.c (__clog): Likewise.
32209         * math/s_clogf.c (__clogf): Likewise.
32210         * math/s_clogl.c (__clogl): Likewise.
32211         * math/s_csin.c (__csin): Likewise.
32212         * math/s_csinf.c (__csinf): Likewise.
32213         * math/s_csinh.c (__csinh): Likewise.
32214         * math/s_csinhf.c (__csinhf): Likewise.
32215         * math/s_csinhl.c (__csinhl): Likewise.
32216         * math/s_csinl.c (__csinl): Likewise.
32217         * math/s_csqrt.c (__csqrt): Likewise.
32218         * math/s_csqrtf.c (__csqrtf): Likewise.
32219         * math/s_csqrtl.c (__csqrtl): Likewise.
32220         * math/s_ctan.c (__ctan): Likewise.
32221         * math/s_ctanf.c (__ctanf): Likewise.
32222         * math/s_ctanh.c (__ctanh): Likewise.
32223         * math/s_ctanhf.c (__ctanhf): Likewise.
32224         * math/s_ctanhl.c (__ctanhl): Likewise.
32225         * math/s_ctanl.c (__ctanl): Likewise.
32226         * math/w_pow.c: Likewise.
32227         * math/w_powf.c: Likewise.
32228         * math/w_powl.c: Likewise.
32229         * math/w_scalb.c (sysv_scalb): Likewise.
32230         * math/w_scalbf.c (sysv_scalbf): Likewise.
32231         * math/w_scalbl.c (sysv_scalbl): Likewise.
32232         * misc/error.c (error_tail): Likewise.
32233         * misc/pselect.c (__pselect): Likewise.
32234         * nis/nis_callback.c (__nis_create_callback): Likewise.
32235         * nis/nis_call.c (__nisfind_server): Likewise.
32236         * nis/nis_creategroup.c (nis_creategroup): Likewise.
32237         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
32238         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
32239         * nis/nis_getservlist.c (nis_getservlist): Likewise.
32240         * nis/nis_lookup.c (nis_lookup): Likewise.
32241         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
32242         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
32243         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
32244         * nis/nis_xdr.c (xdr_endpoint): Likewise.
32245         * nis/nss_compat/compat-grp.c (getgrent_next_file)
32246         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
32247         * nis/nss_compat/compat-initgroups.c (add_group)
32248         (internal_getgrent_r): Likewise.
32249         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
32250         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
32251         * nis/nss_compat/compat-spwd.c (getspent_next_file)
32252         (internal_getspnam_r): Likewise.
32253         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
32254         (_nss_nis_getaliasbyname_r): Likewise.
32255         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
32256         (_nss_nis_getntohost_r): Likewise.
32257         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
32258         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
32259         (_nss_nis_getgrgid_r): Likewise.
32260         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
32261         (internal_nis_gethostent_r, internal_gethostbyname2_r)
32262         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
32263         (_nss_nis_gethostbyname4_r): Likewise.
32264         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
32265         (initgroups_netid): Likewise.
32266         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
32267         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
32268         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
32269         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
32270         (_nss_nis_getprotobynumber_r): Likewise.
32271         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
32272         (_nss_nis_getsecretkey): Likewise.
32273         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
32274         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
32275         (_nss_nis_getpwuid_r): Likewise.
32276         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
32277         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
32278         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
32279         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
32280         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
32281         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
32282         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
32283         Likewise.
32284         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
32285         (_nss_nisplus_getntohost_r): Likewise.
32286         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
32287         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
32288         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
32289         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
32290         Likewise.
32291         * nis/nss_nisplus/nisplus-initgroups.c
32292         (_nss_nisplus_initgroups_dyn): Likewise.
32293         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
32294         (_nss_nisplus_getnetbyaddr_r): Likewise.
32295         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
32296         (_nss_nisplus_getprotobynumber_r): Likewise.
32297         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
32298         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
32299         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
32300         Likewise.
32301         * nis/nss_nisplus/nisplus-service.c
32302         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
32303         (_nss_nisplus_getservbyport_r): Likewise.
32304         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
32305         (_nss_nisplus_getspnam_r): Likewise.
32306         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
32307         Likewise.
32308         * nscd/aicache.c (addhstaiX): Likewise.
32309         * nscd/cache.c (cache_search, prune_cache): Likewise.
32310         * nscd/connections.c (register_traced_file, send_ro_fd)
32311         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
32312         (main_loop_epoll): Likewise.
32313         * nscd/grpcache.c (addgrbyX): Likewise.
32314         * nscd/hstcache.c (addhstbyX): Likewise.
32315         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32316         * nscd/mem.c (gc, mempool_alloc): Likewise.
32317         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
32318         (addinnetgrX): Likewise.
32319         * nscd/nscd-client.h (__nscd_acquire_maplock)
32320         (__nscd_drop_map_ref): Likewise.
32321         * nscd/nscd_getai.c (__nscd_getai): Likewise.
32322         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32323         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
32324         Likewise.
32325         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32326         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32327         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
32328         (__nscd_get_map_ref): Likewise.
32329         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
32330         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
32331         Likewise.
32332         * nscd/pwdcache.c (addpwbyX): Likewise.
32333         * nscd/selinux.c (preserve_capabilities): Likewise.
32334         * nscd/servicescache.c (addservbyX): Likewise.
32335         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
32336         * posix/fnmatch.c (fnmatch): Likewise.
32337         * posix/getopt.c (_getopt_internal_r): Likewise.
32338         * posix/glob.c (glob, glob_in_dir): Likewise.
32339         * posix/wordexp.c (exec_comm_child): Likewise.
32340         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
32341         (getanswer_r, gaih_getanswer_slice): Likewise.
32342         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
32343         * resolv/res_init.c: Likewise.
32344         * resolv/res_mkquery.c (res_nmkquery): Likewise.
32345         * resolv/res_query.c (__libc_res_nquery): Likewise.
32346         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
32347         Likewise.
32348         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
32349         * stdio-common/perror.c (perror): Likewise.
32350         * stdio-common/printf_fp.c (___printf_fp): Likewise.
32351         * stdio-common/tmpnam.c (tmpnam): Likewise.
32352         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
32353         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
32354         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
32355         Likewise.
32356         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
32357         * stdlib/putenv.c (putenv): Likewise.
32358         * stdlib/setenv.c (__add_to_environ): Likewise.
32359         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
32360         * stdlib/strtol_l.c (INTERNAL): Likewise.
32361         * string/memmem.c (memmem): Likewise.
32362         * string/strerror.c (strerror): Likewise.
32363         * string/strnlen.c (__strnlen): Likewise.
32364         * string/test-memmem.c (simple_memmem): Likewise.
32365         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
32366         * sunrpc/pm_getport.c (__get_socket): Likewise.
32367         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
32368         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
32369         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
32370         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
32371         Likewise.
32372         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
32373         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
32374         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
32375         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
32376         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
32377         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
32378         Likewise.
32379         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
32380         Likewise.
32381         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32382         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32383         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32384         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
32385         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
32386         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
32387         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
32388         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
32389         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
32390         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
32391         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
32392         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
32393         Likewise.
32394         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
32395         Likewise.
32396         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
32397         Likewise.
32398         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
32399         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32400         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
32401         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
32402         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
32403         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
32404         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32405         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
32406         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
32407         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
32408         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
32409         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32410         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
32411         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
32412         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32413         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
32414         Likewise.
32415         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
32416         Likewise.
32417         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
32418         Likewise.
32419         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
32420         Likewise.
32421         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32422         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32423         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
32424         Likewise.
32425         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
32426         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
32427         * sysdeps/posix/opendir.c (__opendirat): Likewise.
32428         * sysdeps/posix/sleep.c: Likewise.
32429         * sysdeps/posix/tempname.c: Likewise.
32430         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
32431         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32432         Likewise.
32433         * sysdeps/powerpc/powerpc32/dl-machine.h
32434         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
32435         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
32436         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32437         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
32438         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
32439         Likewise.
32440         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
32441         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
32442         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
32443         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
32444         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
32445         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
32446         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
32447         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
32448         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32449         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
32450         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
32451         (elf_machine_lazy_rel): Likewise.
32452         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32453         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
32454         (elf_machine_lazy_rel): Likewise.
32455         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
32456         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
32457         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
32458         * sysdeps/unix/grantpt.c (grantpt): Likewise.
32459         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
32460         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
32461         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
32462         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32463         Likewise.
32464         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
32465         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
32466         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
32467         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
32468         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32469         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32470         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
32471         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
32472         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
32473         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32474         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
32475         Likewise.
32476         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
32477         (__posix_fallocate64_l64): Likewise.
32478         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
32479         (posix_fallocate): Likewise.
32480         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
32481         Likewise.
32482         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32483         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
32484         (getifaddrs_internal): Likewise.
32485         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
32486         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
32487         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
32488         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
32489         * sysdeps/unix/sysv/linux/posix_fallocate64.c
32490         (__posix_fallocate64_l64): Likewise.
32491         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
32492         Likewise.
32493         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
32494         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
32495         (__get_clockfreq): Likewise.
32496         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
32497         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
32498         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
32499         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32500         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32501         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
32502         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
32503         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
32504         Likewise.
32505         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
32506         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
32507         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
32508         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
32509         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32510         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
32511         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
32512         Likewise.
32513         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32514         (posix_fallocate): Likewise.
32515         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32516         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
32517         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
32518         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
32519         (elf_machine_rela, elf_machine_rela_relative)
32520         (elf_machine_lazy_rel): Likewise.
32521         * time/asctime.c (asctime_internal): Likewise.
32522         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
32523         * time/tzset.c (__tzset_parse_tz): Likewise.
32524         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
32525         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
32526         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
32527         * wcsmbs/wcsmbsload.h: Likewise.
32529         [BZ #15894]
32530         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
32532         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
32533         (arena_get2): Remove THREAD_STATS conditionals.
32534         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
32535         (__malloc_stats, int): Likewise.
32537 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
32539         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
32540         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
32542         * manual/setjmp.texi: Fix typos/grammar errors.
32544         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
32545         Only return early when n is <= 0.  Delete unused return statement.
32547         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
32548         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
32549         * debug/tst-longjmp_chk3.c: New file.
32551         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
32552         (test_main): Replace code with set_fortify_handler call.
32553         * debug/test-strcpy_chk.c: Likewise.
32554         * debug/tst-chk1.c: Likewise.
32555         * debug/tst-longjmp_chk.c: Likewise.
32556         * test-skeleton.c: Include fcntl.h & paths.h
32557         (set_fortify_handler): Define.
32559         * debug/tst-longjmp_chk.c: Add header comment and include
32560         ../test-skeleton.c.
32561         (do_test): Mark static.
32562         (TEST_FUNCTION): Define.
32564         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
32565         (IP_PMTUDISC_INTERFACE): Likewise.
32566         (IP_MULTICAST_IF): Likewise.
32567         (IP_MULTICAST_TTL): Likewise.
32568         (IP_MULTICAST_LOOP): Likewise.
32569         (IP_ADD_MEMBERSHIP): Likewise.
32570         (IP_DROP_MEMBERSHIP): Likewise.
32571         (IP_UNBLOCK_SOURCE): Likewise.
32572         (IP_BLOCK_SOURCE): Likewise.
32573         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
32574         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
32575         (IP_MSFILTER): Likewise.
32576         (MCAST_JOIN_GROUP): Likewise.
32577         (MCAST_BLOCK_SOURCE): Likewise.
32578         (MCAST_UNBLOCK_SOURCE): Likewise.
32579         (MCAST_LEAVE_GROUP): Likewise.
32580         (MCAST_JOIN_SOURCE_GROUP): Likewise.
32581         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
32582         (MCAST_MSFILTER): Likewise.
32583         (IP_MULTICAST_ALL): Likewise.
32584         (IP_UNICAST_IF): Likewise.
32586         * timezone/Makefile: Delete $(have-ksh) check.
32587         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
32588         * timezone/tzselect.ksh: Add +x mode bits.
32590         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
32591         (ANON_INODE_FS_MAGIC): Likewise.
32592         (BDEVFS_MAGIC): Likewise.
32593         (BINFMTFS_MAGIC): Likewise.
32594         (BTRFS_TEST_MAGIC): Likewise.
32595         (CRAMFS_MAGIC_WEND): Likewise.
32596         (DEBUGFS_MAGIC): Likewise.
32597         (ECRYPTFS_SUPER_MAGIC): Likewise.
32598         (EXT3_SUPER_MAGIC): Likewise.
32599         (EXT4_SUPER_MAGIC): Likewise.
32600         (FUTEXFS_SUPER_MAGIC): Likewise.
32601         (HOSTFS_SUPER_MAGIC): Likewise.
32602         (HUGETLBFS_MAGIC): Likewise.
32603         (MINIX3_SUPER_MAGIC): Likewise.
32604         (MTD_INODE_FS_MAGIC): Likewise.
32605         (NILFS_SUPER_MAGIC): Likewise.
32606         (OPENPROM_SUPER_MAGIC): Likewise.
32607         (PIPEFS_MAGIC): Likewise.
32608         (PSTOREFS_MAGIC): Likewise.
32609         (QNX6_SUPER_MAGIC): Likewise.
32610         (RAMFS_MAGIC): Likewise.
32611         (REISERFS_SUPER_MAGIC_STRING): Likewise.
32612         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
32613         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
32614         (SECURITYFS_MAGIC): Likewise.
32615         (SELINUX_MAGIC): Likewise.
32616         (SMACK_MAGIC): Likewise.
32617         (SOCKFS_MAGIC): Likewise.
32618         (SQUASHFS_MAGIC): Likewise.
32619         (STACK_END_MAGIC): Likewise.
32620         (TMPFS_MAGIC): Likewise.
32621         (USBDEVICE_SUPER_MAGIC): Likewise.
32622         (V9FS_MAGIC): Likewise.
32623         (XENFS_SUPER_MAGIC): Likewise.
32624         (CRAMFS_MAGIC): Fix typo in comment.
32625         (EXT2_SUPER_MAGIC): Update comment.
32626         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
32628 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
32630         * sysdeps/arm: Move directory from ports/sysdeps/arm.
32631         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
32632         * sysdeps/unix/sysv/linux/arm: Move directory from
32633         ports/sysdeps/unix/sysv/linux/arm.
32634         * README: Update listing for arm-*-linux-gnueabi.
32636         * README: Remove mention of am33.
32638 2014-02-07  Roland McGrath  <roland@hack.frob.com>
32640         * bits/sigset.h (__sigemptyset): Use a statement expression rather
32641         than the comma operator, to avoid "rhs of comma has no effect"
32642         compiler warnings.
32643         (__sigfillset, __sigandset, __sigorset): Likewise.
32644         * include/signal.h (__sigemptyset): Likewise.
32645         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
32647 2014-02-07  Allan McRae  <allan@archlinux.org>
32649         * version.h (RELEASE): Set to "development".
32650         (VERSION): Set to "2.19.90"
32651         * NEWS: Add 2.20 section.
32653 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
32655         [BZ #16529]
32656         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
32658 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32660         * manual/contrib.texi: Update entry for Carlos O'Donell,
32661         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
32663 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
32665         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
32667         * sysdeps/unix/sysv/linux/kernel-features.h
32668         [__LINUX_KERNEL_VERSION >= 0x020621]
32669         (__ASSUME_PROC_PID_TASK_COMM): Define.
32671 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32673         [BZ #16398]
32674         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
32675         conversion when destination buffer does not have enough space.
32676         * libio/tst-ftell-partial-wide.c: New test case.
32677         * libio/Makefile (tests): Add tst-ftell-partial-wide.
32679         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
32680         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
32681         Leonard and Allan McRae.
32683 2014-02-04  David S. Miller  <davem@davemloft.net>
32685         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
32686         32-bit.
32688 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
32691         New file
32692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
32693         New file
32694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
32695         New file.
32696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
32697         New file.
32698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
32699         New file.
32700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
32701         New file.
32702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
32703         New file.
32704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
32705         New file.
32706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
32707         New file.
32708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
32709         New file.
32710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
32711         New file.
32712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
32713         New file.
32714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
32715         New file.
32717 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32719         * nptl/shlib-versions: Change powerpc*le start to 2.17.
32720         * shlib-versions: Likewise.
32722 2014-02-04  Roland McGrath  <roland@hack.frob.com>
32723             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32725         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
32726         (abilist-pattern): New variable, set to %-le.abilist.
32728         * Makerules (abilist-pattern): New variable.
32729         (vpath): Use $(abilist-pattern) in place of %.abilist.
32730         (check-abi-% pattern rule): Likewise.
32731         (check-abi, update-abi): Likewise.
32733 2014-02-04  Eric Wong  <normalperson@yhbt.net>
32735         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32737 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
32739         * manual/startup.texi: Add next, previous, and top entries for
32740         the `Program Arguments' and `Environment Variables' nodes.
32742 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
32744         * manual/macros.texi: Add comments before MTASC-safety macros.
32746         * manual/users.texi: Document MTASC-safety properties.
32748         * manual/threads.texi (pthread_key_create, pthread_key_delete)
32749         (pthread_getspecific, pthread_setspecific): Format with
32750         @deftypefun, and add @safety note.
32751         * manual/signal.texi: Move comments that analyze the above
32752         functions to their home place.
32754 2014-02-03  Allan McRae  <allan@archlinux.org>
32756         * po/sl.po: Update Slovenian translation from translation project.
32758 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
32760         * manual/time.texi (timegm): Add missing blank after @c.
32761         Reported by Joseph Myers <joseph@codesourcery.com>.
32763 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
32765         * manual/check-safety.sh: New.
32766         * manual/Makefile ($(objpfx)stamp-summary): Run it.
32768         * manual/terminal.texi: Document MTASC-safety properties.
32770         * manual/filesys.texi: Document MTASC-safety properties.
32772         * manual/errno.texi: Document MTASC-safety properties.
32774         * manual/intro.texi: Document safety identifiers and
32775         conditionals.
32777         * manual/string.texi (wcstok): Fix prototype.
32778         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
32780         * manual/time.texi: Document MTASC-safety properties.
32782         * manual/string.texi: Document MTASC-safety properties.
32784         * manual/threads.texi: Document MTASC-safety properties.
32786         * manual/stdio.texi: Document MTASC-safety properties.
32788         * manual/syslog.texi: Document MTASC-safety properties.
32790         * manual/sysinfo.texi: Document MTASC-safety properties.
32792         * manual/startup.texi: Document MTASC-safety properties.
32794         * manual/socket.texi: Document MTASC-safety properties.
32796         * manual/signal.texi: Document MTASC-safety properties.
32798 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
32800         * manual/setjmp.texi: Document MTASC-safety properties.
32802         * manual/search.texi: Document MTASC-safety properties.
32804         * manual/resource.texi: Document MTASC-safety properties.
32806         * manual/process.texi: Document MTASC-safety properties.
32808         * manual/platform.texi: Document MTASC-safety properties.
32810         * manual/pipe.texi: Document MTASC-safety properties.
32812         * manual/pattern.texi: Document MTASC-safety properties.
32814         * manual/message.texi: Document MTASC-safety properties.
32816         [BZ #12751]
32817         * manual/memory.texi: Document MTASC-safety properties.
32819         * manual/math.texi: Document MTASC-safety properties.
32821         * manual/locale.texi: Document MTASC-safety properties.
32823         * manual/llio.texi: Document MTASC-safety properties.
32825         * manual/libdl.texi: New.
32827         * manual/lang.texi: Document MTASC-safety properties.
32829         * manual/job.texi: Document MTASC-safety properties.
32831         * manual/getopt.texi: Document MTASC-safety properties.
32833         * manual/ctype.texi: Document MTASC-safety properties.
32835 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
32837         [BZ #16046]
32838         * csu/libc-tls.c (static_map): Remove variable.
32839         (__libc_setup_tls): Use main executable's link map for TLS data.
32840         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
32841         casing for LM_ID_BASE and GL(dl_nns).
32842         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
32843         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
32844         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
32845         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
32846         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
32847         member.
32848         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
32849         l_phnum members.
32851 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
32853         * manual/debug.texi: Document MTASC-safety properties.
32855 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
32857         [BZ #16510]
32858         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
32859         of __x86_64__ when disabling x87 inline functions.
32861 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
32863         * manual/charset.texi: Document MTASC-safety properties.
32865         * manual/crypt.texi: Document MTASC-safety properties.
32867         * manual/conf.texi: Document MTASC-safety properties.
32869         * manual/arith.texi: Document MTASC-safety properties.
32871         * manual/argp.texi: Document MTASC-safety properties.
32873         * manual/macros.texi: Introduce macros to document multi
32874         thread, asynchronous signal and asynchronous cancellation
32875         safety properties.
32876         * manual/intro.texi: Introduce the properties themselves.
32878 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32880         * sysdeps/sh/sh4/Makefile: New file.
32882 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
32884         * math/gen-libm-test.pl ($srcdir): New variable.
32885         ($auto_input): Use it.
32887 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32889         [BZ #16506]
32890         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
32891         access beyond array bounds when parsing netgroups file.
32893         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
32894         the old buffer before realloc.
32896 2014-01-27  Allan McRae  <allan@archlinux.org>
32898         * po/fr.po: Update French translation from translation project.
32900 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32902         * sysdeps/sh/libm-test-ulps: Regenerate.
32904 2014-01-24  David S. Miller  <davem@davemloft.net>
32906         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
32908 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32910         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
32911         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
32913 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32915         [BZ #16474]
32916         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
32917         string pointers after reallocation.
32919 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32921         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
32922         __SH4A__ instead of __SH_FPU_ANY__.
32924 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32926         * sysdeps/sh/fpu_control.h: New file.
32927         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
32928         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
32929         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
32930         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
32931         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
32932         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
32933         * sysdeps/sh/sys/ucontext.h: Remove.
32934         * sysdeps/sh/sys: Remove directory.
32936 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32938         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
32939         s390/sys/ucontext.h.
32940         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
32941         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
32943 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
32945         [BZ #15605]
32946         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
32948 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32950         [BZ#16431]
32951         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
32952         Adjust the vDSO correctly for internal calls.
32953         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
32955 2014-01-20  Allan McRae  <allan@archlinux.org>
32957         * po/ca.po: Update Catalan translation from translation project.
32959 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
32961         * sysdeps/s390/sotruss-lib.c: New file.
32963 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32965         [BZ#16430]
32966         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
32967         (__GI___gettimeofday): Alias for a different internal symbol to avoid
32968         local calls issues by not having a PLT stub required for IFUNC calls.
32969         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
32971 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
32973         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
32974         * math/test-fpucw-static.c: Likewise.
32976 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32978         [BZ #16453]
32979         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
32981 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32983         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
32984         implementation for powerpc.
32986 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
32988         [BZ #14782]
32989         * sysdeps/posix/system.c (__libc_system): Do not enable
32990         asynchronous cancellation.
32992 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32994         [BZ #16427]
32995         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
32996         handling only for numbers special also in the IEEE case.
32998 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33000         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33002 2014-01-11  Allan McRae  <allan@archlinux.org>
33004         * po/bg.po: Update Bulgarian translation from translation project.
33006         * po/de.po: Update German translation from translation project.
33008 2014-01-10  Roland McGrath  <roland@hack.frob.com>
33010         * sysdeps/generic/gcc-compat.h: New file.
33012 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33014         * benchtests/asin-inputs: Correct slow inputs.
33015         * benchtests/acos-inputs: Likewise.
33017 2014-01-10  Allan McRae  <allan@archlinux.org>
33019         * po:sv.po: Update Swedish translation from translation project.
33021         * po/vi.po: Update Vietnamese translation from translation project.
33023         * po/eo.po: Update Esperanto translation from translation project.
33025         * po/cs.po: Update Czech translation from translation project.
33027         * po/nl.po: Update Dutch translation from translation project.
33029         * po/pl.po: Update Polish translation from translation project.
33031         * po/ru.po: Update Russian translation from translation project.
33033         * po/uk.po: Update Ukrainian translation from translation project.
33035 2014-01-08  Brooks Moses  <bmoses@google.com>
33037         * elf/dl-load.c: Fix comment typo.
33039 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
33041         * po/header.pot: Rename to...
33042         * po/pot.header: ... this.
33043         * po/Makefile: Use pot.header.
33045 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
33046             Maxim Kuvyrkov  <maxim@kugelworks.com>
33048         [BZ #16394]
33049         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
33050         SRC and DEST against LEN.
33052 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33054         [BZ #16414]
33055         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
33056         implementation.
33057         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
33059 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33061         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33063 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
33065         [BZ #16408]
33066         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
33067         for large positive arguments.
33069 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
33071         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33073         * math/auto-libm-test-in: Mark various tests with
33074         xfail-rounding:ldbl-128ibm.
33075         * math/auto-libm-test-out: Regenerated.
33077         [BZ #16407]
33078         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
33079         Increase overflow threshold.
33081 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
33083         [BZ #14286]
33084         * stdio-common/vfprintf.c: Check for integer overflow.
33086 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33088         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
33089         the first argument and return value of __tls_get_addr_internal.
33091 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33093         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
33094         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
33096 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33098         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
33099         * sysdeps/s390/rtld-global-offsets.sym: New file.
33100         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
33101         GLIBC_2.19 symbol.
33102         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
33103         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
33104         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
33105         ... this.
33106         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
33107         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
33108         ... this.
33109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
33110         Regenerate.
33111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
33112         Regenerate.
33113         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
33114         halfs of GPRs for high_gprs contexts.
33115         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
33116         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
33117         field.
33118         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
33119         uc_flags field.
33120         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
33121         64 bit versions:
33122         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
33123         for high GPRs (uc_high_gprs) and for future extensions
33124         (__reserved).
33125         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
33126         for future extensions (__reserved).
33127         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
33128         64 bit versions:
33129         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
33130         SC_HIGHGPRS offset definition.
33131         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
33132         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
33134         * Versions.def: Add GLIBC_2.19 for libpthread.
33135         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
33136         siglongjmp for libpthread with GLIBC_2.19 symver.
33137         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
33138         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
33139         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
33140         * sysdeps/s390/__longjmp.c: New file.
33141         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
33142         * sysdeps/s390/longjmp.c: New file.
33143         * sysdeps/s390/setjmp.S: New file.
33144         * sysdeps/s390/sigjmp.S: New file.
33145         * sysdeps/s390/v1-longjmp.c: New file.
33146         * sysdeps/s390/v1-setjmp.h: New file.
33147         * sysdeps/s390/v1-sigjmp.c: New file.
33148         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
33149         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
33150         GLIBC_2.19 version.
33151         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
33152         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
33153         versioned symbols for ____longjmp_chk.
33154         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
33155         Likewise.
33156         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
33157         Regenerate.
33158         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33159         Regenerate.
33160         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
33161         Regenerate.
33162         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33163         Regenerate.
33164         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
33165         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
33166         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
33167         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
33168         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
33169         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
33170         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
33171         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
33172         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
33173         * sysdeps/s390/rtld-__longjmp.c: New file.
33174         * sysdeps/s390/rtld-setjmp.S: New file.
33176 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
33178         [BZ #16400]
33179         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33180         Return -__logl (x) for small positive arguments without evaluating
33181         a polynomial.
33183 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
33185         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
33186         Rename to ...
33187         (__ptrace_peeksiginfo_args): ... this.
33188         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33189         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33190         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33192 2014-01-06  Allan McRae  <allan@archlinux.org>
33194         * inet/netinet/in.h: Fix typo in comment.
33196 2014-01-05  Andreas Jaeger  <aj@suse.de>
33198         * sysdeps/i386/fpu/libm-test-ulps: Update.
33200 2014-01-05  Allan McRae  <allan@archlinux.org>
33202         * po/libc.pot: Regenerated.
33204         * malloc/memusagestat.c: Fix gettext call formatting.
33206 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
33208         * nscd/nscd.c: Improve usage() output.
33210 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
33212         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
33213         * sysdeps/unix/sysv/linux/configure: Regenerated.
33214         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
33215         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
33217 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
33219         [BZ #16390]
33220         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
33221         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
33223 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33225         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
33226         extra tokens at end of #undef directive.
33227         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
33228         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
33229         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
33231 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
33233         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33235         * math/auto-libm-test-in: Mark various tests with
33236         xfail-rounding:ldbl-128ibm.
33237         * math/auto-libm-test-out: Regenerated.
33239 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
33241         [BZ #16386]
33242         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
33243         numbers with subnormal high part when calculating exponent.
33245         [BZ #16385]
33246         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
33247         fabs.
33249         [BZ #16384]
33250         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
33251         M_LN2l.
33252         (__ieee754_acoshl): Use __log1pl not __log1p.
33254 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
33256         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
33257         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
33258         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
33259         (grow_heap, heap_trim, _int_new_arena, get_free_list)
33260         (reused_arena, arena_get2): Convert to GNU style.
33261         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
33262         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
33263         (memalign_check, __malloc_set_state): Likewise.
33264         * malloc/mallocbug.c (main): Likewise.
33265         * malloc/malloc.c (__malloc_assert, malloc_init_state)
33266         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
33267         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
33268         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
33269         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
33270         (__posix_memalign, malloc_info): Likewise.
33271         * malloc/malloc.h: Likewise.
33272         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
33273         (mallochook, memalignhook, reallochook, mabort): Likewise.
33274         * malloc/mcheck.h: Likewise.
33275         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
33276         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
33277         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
33278         * malloc/morecore.c (__default_morecore): Likewise.
33279         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
33280         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
33281         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
33282         (print_and_abort): Likewise.
33283         * malloc/obstack.h: Likewise.
33284         * malloc/set-freeres.c (__libc_freeres): Likewise.
33285         * malloc/tst-mallocstate.c (main): Likewise.
33286         * malloc/tst-mtrace.c (main): Likewise.
33287         * malloc/tst-realloc.c (do_test): Likewise.
33289 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33291         [BZ #16366]
33292         * nscd/netgroupcache.c (do_notfound): New function.
33293         (addgetnetgrentX): Use it.
33295         [BZ # 16365]
33296         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
33297         NSS_STATUS_NOTFOUND.
33299 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
33301         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
33302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33304 2014-01-01  Allan McRae  <allan@archlinux.org>
33306         * scripts/update-copyrights: Update configure input file suffix.
33308         * NEWS: Update copyright year.
33309         * catgets/gencat.c: Likewise.
33310         * csu/version.c: Likewise.
33311         * debug/catchsegv.sh: Likewise.
33312         * debug/pcprofiledump.c: Likewise.
33313         * debug/xtrace.sh: Likewise.
33314         * elf/ldconfig.c: Likewise.
33315         * elf/ldd.bash.in: Likewise.
33316         * elf/pldd.c: Likewise.
33317         * elf/sotruss.ksh: Likewise.
33318         * elf/sprof.c: Likewise.
33319         * iconv/iconv_prog.c: Likewise.
33320         * iconv/iconvconfig.c: Likewise.
33321         * locale/programs/locale.c: Likewise.
33322         * locale/programs/localedef.c: Likewise.
33323         * login/programs/pt_chown.c: Likewise.
33324         * malloc/memusage.sh: Likewise.
33325         * malloc/memusagestat.c: Likewise.
33326         * malloc/mtrace.pl: Likewise.
33327         * manual/libc.texinfo: Likewise.
33328         * nscd/nscd.c: Likewise.
33329         * nss/getent.c: Likewise.
33330         * nss/makedb.c: Likewise.
33331         * posix/getconf.c: Likewise.
33332         * scripts/test-installation.pl: Likewise.
33334         * All files with FSF copyright notices: Update copyright dates
33335         using scripts/update-copyrights.
33336         * intl/plural.c: Regenerated.
33337         * locale/programs/charmap-kw.h: Likewise.
33338         * locale/programs/locfile-kw.h: Likewise.
33340 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
33342         * sysdeps/unix/sysv/linux/configure: Regenerated.
33343         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
33344         the linux/fanotify.h header.
33345         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
33346         HAVE_LINUX_FANOTIFY_H is defined.
33348 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33350         * benchtests/cos-inputs: New inputs.
33351         * benchtests/sin-inputs: Likewise.
33353         * benchtests/atan-inputs: New inputs. Fix name of multiple
33354         precision fallback inputs.
33356         * benchtests/atanh-inputs: New inputs.
33357         * benchtests/tanh-inputs: Likewise.
33359         * benchtests/acosh-inputs: New inputs.
33360         * benchtests/asinh-inputs: Likewise.
33362         * benchtests/cosh-inputs: New inputs.
33363         * benchtests/sinh-inputs: Likewise.
33365         * benchtests/acos-inputs: Add more inputs.
33366         * benchtests/asin-inputs: Likewise.
33368 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
33370         [BZ #16375]
33371         * manual/arith.texi: Fix spelling.
33372         * manual/charset.texi: Likewise.
33373         * manual/errno.texi: Likewise.
33374         * manual/filesys.texi: Likewise.
33375         * manual/lang.texi: Likewise.
33376         * manual/llio.texi: Likewise.
33377         * manual/locale.texi: Likewise.
33378         * manual/message.texi: Likewise.
33379         * manual/resource.texi: Likewise.
33380         * manual/search.texi: Likewise.
33381         * manual/setjmp.texi: Likewise.
33382         * manual/stdio.texi: Likewise.
33383         * manual/string.texi: Likewise.
33384         * manual/sysinfo.texi: Likewise.
33385         * manual/time.texi: Likewise.
33387 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
33389         * po/sl.po: New file.
33391 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
33393         * .gitignore: Add core/.gdbinit/.gdb_history.
33395 2013-12-27  Allan McRae  <allan@archlinux.org>
33397         [BZ #16369]
33398         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
33399         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
33401 2013-12-24  Brooks Moses  <bmoses@google.com>
33403         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
33404         all compilers that claim C++98 compliance, not just GCC.
33405         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
33406         Likewise.
33408 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
33410         * NEWS: Restore accidentally deleted bug-fix entries.
33412 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
33413             Ondřej Bílka  <neleai@seznam.cz>
33415         [BZ #15073]
33416         * malloc/malloc.c (_int_free): Perform sanity check only if we
33417         have_lock.
33419 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
33421         [BZ #12986]
33422         * manual/stdio.texi (String Input Conversions): Clarify that character
33423         classes are not supported.
33425 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33427         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33429 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
33431         [BZ #16337]
33432         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33433         Calculate results for small negative arguments directly rather
33434         than using reflection formula with special underflow handling.
33436         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
33437         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
33438         sysdeps/unix/bsd/bsd4.4/syscalls.list.
33439         (fchflags): Likewise.
33440         (revoke): Likewise.
33441         (setlogin): Likewise.
33442         (sigaltstack): Likewise.
33443         (wait4): Likewise.
33444         (sigblock): Remove.
33445         (sigsetmask): Likewise.
33446         (wait3): Likewise.
33447         (waitpid): Likewise.
33448         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
33449         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
33450         file.
33451         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
33452         * sysdeps/unix/bsd/Makefile: ... here.
33453         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
33454         * sysdeps/unix/bsd/Versions: ... here.
33455         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
33456         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
33457         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
33458         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
33459         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
33460         * sysdeps/unix/bsd/sigblock.c: ... here.
33461         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
33462         * sysdeps/unix/bsd/sigsetmask.c: ... here.
33463         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
33464         * sysdeps/unix/bsd/sigvec.c: ... here.
33465         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
33466         * sysdeps/unix/bsd/tcdrain.c: ... here.
33467         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
33468         * sysdeps/unix/bsd/tcgetattr.c: ... here.
33469         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
33470         * sysdeps/unix/bsd/tcsetattr.c: ... here.
33471         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
33472         * sysdeps/unix/bsd/wait.c: ... here.
33473         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
33474         * sysdeps/unix/bsd/wait3.c: ... here.
33475         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
33476         * sysdeps/unix/bsd/waitpid.c: ... here.
33478 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
33480         [BZ #16356]
33481         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
33482         round-to-nearest for [!USE_AS_EXPM1L].
33483         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
33484         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
33485         more tests of exp and exp10.  Expect some exp10 tests to miss
33486         exceptions or fail in directed rounding modes.
33487         * math/auto-libm-test-out: Regenerated.
33488         * math/libm-test.inc (exp10_tonearest_test_data): New array.
33489         (exp10_test_tonearest): New function.
33490         (exp10_towardzero_test_data): New array.
33491         (exp10_test_towardzero): New function.
33492         (exp10_downward_test_data): New array.
33493         (exp10_test_downward): New function.
33494         (exp10_upward_test_data): New array.
33495         (exp10_test_upward): New function.
33496         (main): Call the new functions.
33497         * sysdeps/i386/fpu/libm-test-ulps: Update.
33498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33500 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
33502         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
33503         asinh, atan, atan2, atanh, cbrt, cos and cosh.
33504         * math/auto-libm-test-out: Regenerated.
33505         * math/libm-test.inc (acosh_test_data): Add more tests.
33506         (atanh_test_data): Likewise.
33507         (ceil_test_data): Likewise.
33508         (copysign_test_data): Likewise.
33509         * sysdeps/i386/fpu/libm-test-ulps: Update.
33510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33512         * timezone/checktab.awk: Update from tzcode 2013i.
33513         * timezone/private.h: Likewise.
33514         * timezone/scheck.c: Likewise.
33515         * timezone/tzfile.h: Likewise.
33516         * timezone/tzselect.ksh: Likewise.
33517         * timezone/zdump.c: Likewise.
33518         * timezone/zic.c: Likewise.
33520         * math/auto-libm-test-in: Add tests of cpow.
33521         * math/auto-libm-test-out: Regenerated.
33522         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
33523         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33524         mpc_cc_c.
33525         (func_calc_desc): Add mpc_cc_c union field.
33526         (test_functions): Add cpow.
33527         (special_fill_2pi): New function.
33528         (special_real_inputs): Add 2pi.
33529         (calc_generic_results): Handle mpc_cc_c.
33530         * sysdeps/i386/fpu/libm-test-ulps: Update.
33531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33533         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
33534         csqrt, ctan and ctanh.
33535         * math/auto-libm-test-out: Regenerated.
33536         * math/libm-test.inc (TEST_COND_x86_64): New macro.
33537         (TEST_COND_x86): Likewise.
33538         (ccos_test_data): Use AUTO_TESTS_c_c.
33539         (ccosh_test_data): Likewise.
33540         (cexp_test_data): Likewise.
33541         (clog_test_data): Likewise.
33542         (csqrt_test_data): Likewise.
33543         (ctan_test_data): Likewise.
33544         (ctan_tonearest_test_data): Likewise.
33545         (ctan_towardzero_test_data): Likewise.
33546         (ctan_downward_test_data): Likewise.
33547         (ctan_upward_test_data): Likewise.
33548         (ctanh_test_data): Likewise.
33549         (ctanh_tonearest_test_data): Likewise.
33550         (ctanh_towardzero_test_data): Likewise.
33551         (ctanh_downward_test_data): Likewise.
33552         (ctanh_upward_test_data): Likewise.
33553         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33554         mpc_c_c.
33555         (func_calc_desc): Add mpc_c_c union field.
33556         (FUNC_mpc_c_c): New macro.
33557         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
33558         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
33559         ctanh.
33560         (special_fill_min_subnorm_p120): New function.
33561         (special_real_inputs): Add min_subnorm_p120.
33562         (calc_generic_results): Handle mpc_c_c.
33563         * sysdeps/i386/fpu/libm-test-ulps: Update.
33564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33566 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
33568         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
33569         (do_sin_slow): New functions.
33570         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
33571         (cslow2, csloww1, csloww2): Use the new functions.
33573         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
33574         Use M to change sign of result instead of X.  Assume X is
33575         positive.
33576         (csloww1): Likewise.
33577         (__sin): Adjust.
33578         (__cos): Adjust.
33580         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
33581         arguments A and DA.
33582         (__sin): Adjust.
33583         (__cos): Likewise.
33585         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
33586         (__cos): Likewise.
33587         (sloww1): Don't adjust sign of DX.
33588         (csloww1): Likewise.
33589         (sloww2): Use X directly and don't adjust sign of DX.
33590         (csloww2): Likewise.
33592 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
33594         * math/auto-libm-test-in: Add tests of cabs and carg.
33595         * math/auto-libm-test-out: Regenerated.
33596         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
33597         (carg_test_data): Likewise.
33598         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33599         mpc_c_f.
33600         (func_calc_desc): Add mpc_c_f union field.
33601         (test_functions): Add cabs and carg.
33602         (calc_generic_results): Handle mpc_c_f.
33604         * sysdeps/powerpc/powerpc32/libgcc-compat.S
33605         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
33606         as a macro and a compat symbol.
33607         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
33608         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
33609         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
33610         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
33611         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
33612         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
33613         not use .hidden.
33614         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
33615         Likewise.
33616         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
33617         Likewise.
33618         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
33619         Likewise.
33620         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
33621         Likewise.
33622         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
33623         Likewise.
33624         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
33625         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
33626         from GLIBC_2.3.2.
33628 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33630         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33632 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
33634         * manual/texinfo.tex: Update to version 2013-11-26.10 with
33635         trailing whitespace removed.
33636         * scripts/config.guess: Update to version 2013-11-29.
33637         * scripts/config.sub: Update to version 2013-10-01.
33639         * math/auto-libm-test-in: Add tests of sincos.
33640         * math/auto-libm-test-out: Regenerated.
33641         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
33642         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33643         mpfr_f_11.
33644         (func_calc_desc): Add mpfr_f_11 union field.
33645         (test_functions): Add sincos.
33646         (calc_generic_results): Handle mpfr_f_11.
33647         * sysdeps/i386/fpu/libm-test-ulps: Update.
33648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33650 2013-12-19  Andreas Schwab  <schwab@suse.de>
33652         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
33653         CALL_MCOUNT.
33654         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33655         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
33656         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
33658 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
33660         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
33661         * sysdeps/i386/fpu/libm-test-ulps: Update.
33662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33664         [BZ #16293]
33665         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
33666         round-to-nearest mode when using frndint.
33667         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
33668         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33669         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
33670         Likewise.
33671         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
33672         sinh test to fail.
33673         * math/auto-libm-test-out: Regenerated.
33674         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
33675         (TEST_COND_x86): Likewise.
33676         (expm1_tonearest_test_data): New array.
33677         (expm1_test_tonearest): New function.
33678         (expm1_towardzero_test_data): New array.
33679         (expm1_test_towardzero): New function.
33680         (expm1_downward_test_data): New array.
33681         (expm1_test_downward): New function.
33682         (expm1_upward_test_data): New array.
33683         (expm1_test_upward): New function.
33684         (main): Run the new test functions.
33685         * sysdeps/i386/fpu/libm-test-ulps: Update.
33686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33688         * include/features.h: Update comment documenting feature test
33689         macros.  Mention _DEFAULT_SOURCE in comment.
33690         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
33691         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
33692         _BSD_SOURCE and _SVID_SOURCE.
33693         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
33694         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
33695         !_SVID_SOURCE]: Likewise.
33696         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
33697         (__USE_POSIX_IMPLICITLY): Define.
33698         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
33699         (_POSIX_SOURCE): Undefine and redefine.
33700         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
33701         (_POSIX_C_SOURCE): Likewise.
33702         * manual/creature.texi (_DEFAULT_SOURCE): Document.
33703         (Feature Test Macros): Update documentation of default features.
33705 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33707         * benchtests/Makefile: Add bench-strtok.
33708         * benchtests/bench-strtok.c: New file: strtok benchtest.
33710 2013-12-19  Allan McRae  <allan@archlinux.org>
33712         * manual/install.texi: Suppress menu for plain text output.
33713         * INSTALL: Regenerated.
33715 2013-12-18  Brooks Moses  <bmoses@google.com>
33717         [BZ #15846]
33718         * misc/getauxval.c: Include errno.h.
33719         (__getauxval): Set errno to ENOENT if the requested type is not
33720         found.
33721         * misc/sys/auxv.h (getauxval): Document that it may set errno;
33722         don't declare with __attribute_const__.
33723         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
33724         * manual/startup.texi: Document that getauxval sets errno.
33726 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
33728         * math/auto-libm-test-in: Add tests of jn and yn.
33729         * math/auto-libm-test-out: Regenerated.
33730         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
33731         (yn_test_data): Likewise.
33732         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33733         mpfr_if_f.
33734         (func_calc_desc): Add mpfr_if_f union field.
33735         (FUNC_mpfr_if_f): New macro.
33736         (test_functions): Add jn and yn.
33737         (calc_generic_results): Assert type of second input for
33738         mpfr_ff_f.  Handle mpfr_if_f.
33739         (output_for_one_input_case): Disable all checking for arguments
33740         fitting floating-point types in case of an integer argument.
33741         * sysdeps/i386/fpu/libm-test-ulps: Update.
33742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
33745         Don't expect fegetround reference in libm.so.
33747 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33749         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
33750         $(config-cflags-nofma).
33752 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
33754         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
33755         * math/auto-libm-test-out: Regenerated.
33757         [BZ #16338]
33758         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
33759         to determine exponent and adjust argument to have exponent of -1.
33760         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
33761         log2.
33762         * math/auto-libm-test-out: Regenerated.
33763         * sysdeps/i386/fpu/libm-test-ulps: Update.
33764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33766 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
33768         * manual/probes.texi: Remove cases when per-thread arenas are
33769         disabled.
33771 2013-12-18  Andreas Schwab  <schwab@suse.de>
33773         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
33774         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
33775         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
33776         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
33777         * sysdeps/i386/i686/multiarch/Makefile: Update.
33778         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
33780 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
33782         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
33783         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
33785 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
33787         [BZ #15968]
33788         Support TZ transition times < 00:00:00.
33789         This is needed for version-3 tz-format files; it supports time
33790         stamps past 2037 for America/Godthab (the only entry in the tz
33791         database for which this change is relevant).
33792         * manual/time.texi (TZ Variable): Document transition times
33793         from -167:59:59 through -00:00:01.
33794         * time/tzset.c (tz_rule): Time of day is now signed.
33795         (__tzset_parse_tz): Parse negative time of day.
33797         Document TZ transition times >= 25:00:00.
33798         * manual/time.texi (TZ Variable): Document transition times from
33799         25:00:00 through 167:59:59.  These are already supported, and this
33800         support will help with version-3 tz-format files.
33802         * manual/time.texi (TZ Variable): Modernize North America example
33803         to reflect current (i.e., 2007-and-later) daylight saving rules.
33805         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
33807 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
33809         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
33810         * sysdeps/unix/bsd/bits/stat.h: Likewise.
33811         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
33812         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33813         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
33814         * sysdeps/unix/bsd/bsdstat.h: Likewise.
33815         * sysdeps/unix/bsd/clock.c: Likewise.
33816         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
33817         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
33818         * sysdeps/unix/bsd/init-posix.c: Likewise.
33819         * sysdeps/unix/bsd/poll.c: Likewise.
33820         * sysdeps/unix/bsd/ptsname.c: Likewise.
33821         * sysdeps/unix/bsd/seekdir.c: Likewise.
33822         * sysdeps/unix/bsd/setegid.c: Likewise.
33823         * sysdeps/unix/bsd/seteuid.c: Likewise.
33824         * sysdeps/unix/bsd/setgid.c: Likewise.
33825         * sysdeps/unix/bsd/setrgid.c: Likewise.
33826         * sysdeps/unix/bsd/setruid.c: Likewise.
33827         * sysdeps/unix/bsd/setsid.c: Likewise.
33828         * sysdeps/unix/bsd/setuid.c: Likewise.
33829         * sysdeps/unix/bsd/sigaction.c: Likewise.
33830         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
33831         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
33832         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
33833         * sysdeps/unix/bsd/telldir.c: Likewise.
33834         * sysdeps/unix/bsd/times.c: Likewise.
33835         * sysdeps/unix/bsd/usleep.c: Likewise.
33837         * misc/Makefile (install-lib): Remove libbsd-compat.a.
33838         ($(objpfx)libbsd-compat.a): Remove rule.
33840         * include/features.h (__FAVOR_BSD): Do not define.
33841         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
33842         features conflicting with POSIX.
33843         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
33844         (_BSD_SOURCE): Remove description of not being a subset of other
33845         feature test macros.
33846         * manual/job.texi (getpgrp): Do not document BSD version.
33847         (getpgid): Do not document by reference to BSD getpgrp.
33848         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
33849         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
33850         * signal/signal.h [__FAVOR_BSD]: Likewise.
33851         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
33852         instead of making contents conditional on [__FAVOR_BSD].
33853         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
33855 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33857         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33859 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
33861         [BZ #16314]
33862         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
33863         values below 2**-450, not 2**-500.
33864         * math/auto-libm-test-in: Don't allow spurious underflow from
33865         hypot.
33866         * math/auto-libm-test-out: Regenerated.
33868         [BZ #16316]
33869         [BZ #16330]
33870         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
33871         values of ha and hb and sort them after adjusting subnormal
33872         arguments.
33873         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
33874         Likewise.
33875         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
33876         values of ea and eb and sort them after adjusting subnormal
33877         arguments.
33878         * math/auto-libm-test-in: Do not expect some hypot tests of
33879         subnormals to fail.  Add more hypot tests.
33880         * math/auto-libm-test-out: Regenerated.
33882 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33884         [BZ #13304]
33885         * sysdeps/sh/s_fma.c: New file.
33886         * sysdeps/sh/s_fmaf.c: New file.
33887         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
33888         version.
33889         * sysdeps/sh/Implies: Add sh/soft-fp.
33891 2013-12-16  Roland McGrath  <roland@hack.frob.com>
33893         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
33894         level of indirection to members `objname', `errstring', `malloced'.
33895         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
33896         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
33897         it as the __longjmp argument (just pass 1 instead).
33898         (_dl_catch_error): Initialize C with argument pointers and address of
33899         volatile local ERRCODE rather than copying values out of C at return.
33901 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
33903         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
33904         * math/auto-libm-test-out: Regenerated.
33905         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
33906         (hypot_test_data): Likewise.
33907         (pow_test_data): Likewise.
33908         (pow_tonearest_test_data): Likewise.
33909         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33910         mpfr_ff_f.
33911         (func_calc_desc): Add mpfr_ff_f union field.
33912         (FUNC_mpfr_ff_f): New macro.
33913         (test_functions): Add atan2, hypot and pow.
33914         (special_fill_min): New function.
33915         (special_fill_minus_min): Likewise.
33916         (special_fill_min_subnorm): Likewise.
33917         (special_fill_minus_min_subnorm): Likewise.
33918         (special_real_inputs): Add min, -min, min_subnorm and
33919         -min_subnorm.
33920         (calc_generic_results): Handle mpfr_ff_f.
33921         * sysdeps/i386/fpu/libm-test-ulps: Update.
33922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33924 2013-12-16  Will Newton  <will.newton@linaro.org>
33926         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
33927         (Aligned Memory Blocks): Add documentation for aligned_alloc
33928         and suggest it as an alternative to posix_memalign.
33929         (Hooks for Malloc): Document __memalign_hook is also called
33930         for aligned_alloc.  (Summary of Malloc): Add summary for
33931         aligned alloc.  Document __memalign_hook is also called
33932         for aligned_alloc.
33934 2013-12-16  Will Newton  <will.newton@linaro.org>
33936         * manual/memory.texi (Malloc Examples): Clarify default
33937         alignment documentation.  Suggest posix_memalign rather
33938         than memalign or valloc.
33939         (Aligned Memory Blocks): Remove suggestion to use memalign
33940         or valloc.  Remove obsolete comment about BSD.
33941         Document memalign errno values and mark the function obsolete.
33942         Document posix_memalign returned error codes.  Mark valloc
33943         as obsolete.  (Hooks for Malloc): __memalign_hook is also
33944         called for posix_memalign and valloc.
33945         (Summary of Malloc): Add posix_memalign to function summary.
33946         __memalign_hook is also called for posix_memalign and valloc.
33948 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33950         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
33951         TAYLOR_SIN.
33952         (__sin): Adjust.
33953         (__cos): Likewise.
33954         (sloww): Use mynumber union.  Expand ternary operator into
33955         if-else statements.
33956         (cslow): use mynumber union.
33958 2013-12-16  Allan McRae  <allan@archlinux.org>
33960         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
33961         * configure: Regenerated.
33963         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
33965         [BZ #14120]
33966         * configure.ac: Added --enable-maintainer-mode. Check for
33967         autoconf when enabled.
33968         * configure: Regenerated.
33970         * nscd/nscd.service: New file.
33971         * nscd/nscd.tmpfiles: New file.
33973 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
33975         [BZ #12100]
33976         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
33977         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
33978         * sysdeps/x86_64/multiarch/strstr.c: ... here.
33979         (strstr): Add __strstr_sse2_unaligned ifunc.
33980         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
33981         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
33982         (strcasestr): Remove __strcasestr_sse42 ifunc.
33983         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
33984         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
33985         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
33987 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33989         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
33990         * sysdeps/sh/bits/fenv.h: ... here.
33991         * sysdeps/sh/sh4/fpu/bits: Remove directory.
33993 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33995         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
33997         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
33998         hypotf multiarch implementations.
33999         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
34000         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
34001         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
34002         multiarch hypot for PPC64.
34003         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
34004         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
34005         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
34006         multiarch hypotf for PPC64.
34008         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
34009         modff multiarch implementations.
34010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
34011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
34012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
34013         multiarch modf for PPC64.
34014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
34015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
34016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
34017         multiarch modff for PPC64.
34019         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
34020         and logl multiarch implementations.
34021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
34022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
34023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
34024         multiarch logb for PPC64.
34025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
34026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
34027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
34028         multiarch logb for PPC64.
34029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
34030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
34031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
34032         multiarch logb for PPC64.
34034         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
34035         isinff multiarch implementation.
34036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
34037         file.
34038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
34039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
34040         multiarch isinf for PPC64.
34041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
34042         file.
34043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
34044         multiarch isinff for PPC64.
34046         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
34047         finitef multiarch implementation.
34048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
34049         file.
34050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
34051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
34052         multiarch finite for PPC64.
34053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
34054         file.
34055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
34056         multiarch finitef for PPC64.
34058         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
34059         lrint multiarch implementation.
34060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
34061         file.
34062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
34063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
34064         multiarch llrint for PPC64.
34065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
34066         multiarch lrint for PPC64.
34068         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
34069         copysignf multiarch implementation.
34070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
34071         file.
34072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
34073         file.
34074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
34075         multiarch copysign for PPC64.
34076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
34077         multiarch copysignf for PPC64.
34079         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
34080         multiarch implementation.
34081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
34082         file.
34083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
34084         file.
34085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
34086         file.
34087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
34088         file.
34089         multiarch llround for PPC64.
34090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
34091         multiarch trunc for PPC64.
34092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
34093         multiarch truncf for PPC64.
34095         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
34096         multiarch implementation.
34097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
34098         file.
34099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
34100         file.
34101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
34102         file.
34103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
34104         file.
34105         multiarch llround for PPC64.
34106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
34107         multiarch round for PPC64.
34108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
34109         multiarch roundf for PPC64.
34111         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
34112         multiarch implementation.
34113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
34114         file.
34115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
34116         file.
34117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
34118         file.
34119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
34120         file.
34121         multiarch llround for PPC64.
34122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
34123         multiarch floor for PPC64.
34124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
34125         multiarch floorf for PPC64.
34127         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
34128         multiarch implementation.
34129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
34130         file.
34131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
34132         file.
34133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
34134         file.
34135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
34136         file.
34137         multiarch llround for PPC64.
34138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
34139         multiarch ceil for PPC64.
34140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
34141         multiarch ceilf for PPC64.
34143         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
34144         multiarch implementation.
34145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
34146         file.
34147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
34148         file.
34149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
34150         file.
34151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
34152         multiarch llround for PPC64.
34153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
34154         multiarch lround for PPC64.
34156         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
34157         multiarch implementation.
34158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
34159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
34160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
34161         file.
34162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
34163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
34164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
34165         multiarch isnan for PPC64.
34166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
34167         multiarch isnanf for PPC64.
34169         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
34170         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
34171         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
34172         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
34173         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
34174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
34176         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
34177         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34178         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34179         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34181         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
34182         multiarch implementations.
34183         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34184         (__libc_ifunc_impl_list): Likewise.
34185         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
34186         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
34187         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
34188         multiarch stpcpy for PPC64.
34190         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
34191         multiarch implementations.
34192         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34193         (__libc_ifunc_impl_list): Likewise.
34194         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
34195         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
34196         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
34197         multiarch strcpy for PPC64.
34199         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
34200         redefine function name.
34201         (_wordcopy_fwd_dest_aligned): Likewise.
34202         (_wordcopy_bwd_aligned): Likewise.
34203         (_wordcopy_bwd_dest_aligned): Likewise.
34204         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
34205         multiarch implementations.
34206         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34207         (__libc_ifunc_impl_list): Likewise.
34208         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
34209         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
34210         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
34211         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
34212         multiarch wcscpy for PPC64.
34214         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
34215         multiarch implementations.
34216         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34217         (__libc_ifunc_impl_list): Likewise.
34218         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
34219         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
34220         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
34221         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
34222         multiarch wcscpy for PPC64.
34224         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
34225         multiarch implementations.
34226         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34227         (__libc_ifunc_impl_list): Likewise.
34228         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
34229         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
34230         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
34231         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
34232         multiarch wcsrchr for PPC64.
34234         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
34235         multiarch implementations.
34236         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34237         (__libc_ifunc_impl_list): Likewise.
34238         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
34239         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
34240         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
34241         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
34242         multiarch wcschr for PPC64.
34244         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
34245         multiarch implementations.
34246         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34247         (__libc_ifunc_impl_list): Likewise.
34248         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
34249         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
34250         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
34251         multiarch strchrnul for PPC64.
34253         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
34254         implementations.
34255         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34256         (__libc_ifunc_impl_list): Likewise.
34257         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
34258         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
34259         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
34260         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
34261         strchr for PPC64.
34263         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
34264         implementations.
34265         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34266         (__libc_ifunc_impl_list): Likewise.
34267         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
34268         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
34269         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
34270         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
34271         strncmp for PPC64.
34273         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
34274         multiarch implementations.
34275         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34276         (__libc_ifunc_impl_list): Likewise.
34277         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
34278         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
34279         strncasecmp for PPC64.
34280         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
34281         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
34282         multiarch strncasecmp_l for PPC64.
34284         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
34285         multiarch implementations.
34286         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34287         (__libc_ifunc_impl_list): Likewise.
34288         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
34289         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
34290         multiarch strcasecmp for PPC64.
34291         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
34292         file.
34293         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
34294         multiarch strcasecmp_l for PPC64.
34296         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
34297         implementations.
34298         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34299         (__libc_ifunc_impl_list): Likewise.
34300         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
34301         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
34302         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
34303         strnlen for PPC64.
34305         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
34306         implementations.
34307         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34308         (__libc_ifunc_impl_list): Likewise.
34309         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
34310         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
34311         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
34312         strlen for PPC64.
34314         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
34315         implementations.
34316         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34317         (__libc_ifunc_impl_list): Likewise.
34318         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
34319         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
34320         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
34321         rawmemrchr for PPC64.
34323         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
34324         implementation.
34325         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34326         (__libc_ifunc_impl_list): Likewise.
34327         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
34328         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
34329         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
34330         memrchr for PPC64.
34332         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
34333         implementation.
34334         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34335         (__libc_ifunc_impl_list): Likewise.
34336         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
34337         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
34338         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
34339         memchr for PPC64.
34341         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
34342         implementation.
34343         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34344         (__libc_ifunc_impl_list): Likewise.
34345         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
34346         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
34347         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
34348         mempcpy for PPC64.
34350         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
34351         avoid cretion of __bzero symbol.
34352         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
34353         Likewise.
34354         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
34355         Likewise.
34356         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
34357         Likewise.
34358         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
34359         multiarch implementations.
34360         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34361         (__libc_ifunc_impl_list): Likewise.
34362         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
34363         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
34364         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
34365         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
34366         bzero for PPC32.
34367         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
34368         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
34369         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
34370         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
34371         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
34372         memset for PPC64.
34373         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
34375         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
34376         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
34377         implementations.
34378         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34379         (__libc_ifunc_impl_list): Likewise.
34380         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
34381         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
34382         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
34383         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
34384         memcmp for PPC64.
34386         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
34387         multiarch for POWER/PPC64.
34388         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
34389         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
34390         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
34391         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
34392         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
34393         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
34394         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
34395         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
34396         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
34397         memcpy for PPC64.
34399         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
34400         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
34401         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
34402         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
34403         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
34404         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
34405         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
34406         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
34407         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
34408         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
34409         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
34410         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
34411         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
34412         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
34413         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
34414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
34415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
34416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
34417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
34418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
34419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
34420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
34422 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34424         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
34426 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34428         * benchtests/Makefile (bench): Add exp2 and log2.
34429         (LDLIBS-bench-exp2): Add -lm.
34430         (LDLIBS-bench-log2): Likewise.
34431         * benchtests/exp2-inputs: New inputs file.
34432         * benchtests/log2-inputs: New inputs file.
34433         * benchtests/log-inputs: Add new inputs.
34434         * benchtests/tan-inputs: Likewise.
34436 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34438         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
34439         definition...
34440         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
34441         (csloww2): ... from here.
34443         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
34444         instead of structures.
34445         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
34446         (POLYNOMIAL): Likewise.
34447         (TAYLOR_SLOW): Likewise.
34448         (__sin): Likewise.
34449         (__cos): Likewise.
34450         (slow1): Likewise.
34451         (slow2): Likewise.
34452         (sloww): Likewise.
34453         (sloww1); Likewise.
34454         (sloww2): Likewise.
34455         (bsloww1): Likewise.
34456         (bsloww2): Likewise.
34457         (cslow2): Likewise.
34458         (csloww): Likewise.
34459         (csloww1): Likewise.
34460         (csloww2): Likewise.
34462 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
34464         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
34465         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
34466         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
34467         * malloc/hooks.c (realloc_check): Likewise.
34469         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
34470         * malloc/arena.c: Remove PER_THREAD conditional.
34471         [!PER_THREAD]: Remove code.
34472         (ptmalloc_unlock_all2): Likewise.
34473         (ptmalloc_init): Likewise.
34474         (_int_new_arena): Likewise.
34475         (arena_get2): Likewise.
34476         * malloc/hooks.c (__malloc_get_state): Likewise.
34477         (__malloc_set_state): Likewise.
34478         * malloc/malloc.c: Likewise.
34479         (struct malloc_state): Likewise.
34480         (struct malloc_par): Likewise.
34481         (__libc_realloc): Likewise.
34482         (__libc_mallopt): Likewise.
34484 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34486         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
34488 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
34490         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
34491         macro to a function.  Check for zero perturb_byte.
34492         (_int_malloc, _int_free): Remove zero perturb_byte checks.
34494         * malloc/malloc.c: (force_reg): Remove.
34495         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
34496         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
34497         force_reg by atomic_forced_read.
34498         * malloc/arena.c (ptmalloc_init): Likewise.
34499         * malloc/hooks.c (top_check): Likewise.
34501 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34505 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
34507         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34509 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
34511         * math/auto-libm-test-in: Add tests of lgamma.
34512         * math/auto-libm-test-out: Regenerated.
34513         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
34514         (M_LOG_2_SQRT_PIl): Likewise.
34515         (lgamma_test_data): Use AUTO_TESTS_f_f1.
34516         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34517         mpfr_f_f1.
34518         (func_calc_desc): Add mpfr_f_f1 union field.
34519         (ARGS1): New macro.
34520         (ARGS2): Likewise.
34521         (ARGS3): Likewise.
34522         (ARGS4): Likewise.
34523         (RET1): Likewise.
34524         (RET2): Likewise.
34525         (CALC): Likewise.
34526         (FUNC): Likewise.
34527         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
34528         (test_functions): Add lgamma.
34529         (calc_generic_results): Handle mpfr_f_f1.
34530         * sysdeps/i386/fpu/libm-test-ulps: Update.
34531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34533 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34535         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
34536         __mpn_add_n for PowerPC64/POWER7.
34537         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
34538         __mpn_sub_n for PowerPC64/POWER7.
34540         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
34541         __mpn_addmul_1 for PowerPC64.
34542         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
34543         __mpn_submul_1 for PowerPC64.
34544         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
34545         for PowerPC64.
34546         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
34547         for PowerPC64.
34549 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
34551         [BZ #15089]
34552         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
34554 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34556         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
34558         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
34559         add multiarch folders.
34560         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
34561         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
34562         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
34563         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
34564         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
34565         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
34566         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
34567         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
34568         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
34569         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
34570         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
34571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
34572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
34573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
34574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
34575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
34576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
34578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
34579         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
34580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
34581         New file.
34582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
34583         New file.
34584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
34585         multiarch __ieee754_hypot for PowerPC32.
34586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
34587         New file.
34588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
34589         New file.
34590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
34591         multiarch __ieee754_hypotf for PowerPC32.
34593         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
34594         long_double_symbol only if __logbl is defined.
34595         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
34596         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
34597         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
34598         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
34599         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
34600         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
34601         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
34602         path for implementation.
34603         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
34604         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
34605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
34606         logb, and logbl multiarch implementations for PowerPC32.
34607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
34608         file.
34609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
34610         file.
34611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
34612         multiarch logb for PowerPC32.
34613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
34614         file.
34615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
34616         file.
34617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
34618         multiarch logbf for PowerPC32.
34619         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
34620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
34621         file.
34622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
34623         multiarch logbl implementation for PowerPC32.
34625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
34626         and modff multiarch implementations.
34627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
34628         New file.
34629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
34630         New file.
34631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
34632         multiarch modf for PowerPC32.
34633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
34634         New file.
34635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
34636         New file.
34637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
34638         multiarch modff for PowerPC32.
34640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
34641         and lrintf multiarch implementations.
34642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
34643         New file.
34644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
34645         New file.
34646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
34647         multiarch lrint for PowerPC32.
34648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
34649         file: multiarch lrintf for PowerPC32.
34651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
34652         and lroundf multiarch implementations.
34653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
34654         New file.
34655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
34656         New file.
34657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
34658         New file.
34659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
34660         multiarch lround for PowerPC32.
34661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
34662         file: multiarch lroundf for PowerPC32.
34664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
34665         copysign and copysignf multiarch implementations.
34666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
34667         New file.
34668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
34669         New file.
34670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
34671         file: multiarch copysign for PowerPC32.
34672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
34673         file: multiarch copysignf for PowerPC32.
34675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
34676         and truncf multiarch implementations.
34677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
34678         New file.
34679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
34680         file.
34681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
34682         multiarch trunc for PowerPC32.
34683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
34684         New file.
34685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
34686         New file.
34687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
34688         multiarch truncf for PowerPC32.
34690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
34691         and roundf multiarch implementations.
34692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
34693         New file.
34694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
34695         file.
34696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
34697         multiarch round for PowerPC32.
34698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
34699         New file.
34700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
34701         New file.
34702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
34703         multiarch roundf for PowerPC32.
34705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
34706         and floorf multiarch implementations.
34707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
34708         New file.
34709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
34710         file.
34711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
34712         multiarch floor for PowerPC32.
34713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
34714         New file.
34715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
34716         New file.
34717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
34718         multiarch floorf for PowerPC32.
34720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
34721         and ceilf multiarch implementations.
34722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
34723         New file.
34724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
34725         file.
34726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
34727         multiarch ceil for PowerPC32.
34728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
34729         New file.
34730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
34731         file.
34732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
34733         multiarch ceilf for PowerPC32.
34735         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
34736         is defined.
34737         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
34738         FINITEF is defined.
34739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
34740         and finitef multiarch implementations.
34741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
34742         New file.
34743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
34744         file.
34745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
34746         multiarch finite for PowerPC32.
34747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
34748         New file.
34749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
34750         file: multiarch finitef for PowerPC32.
34752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
34753         and isinff multiarch implementations.
34754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
34755         file.
34756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
34757         file.
34758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
34759         multiarch isinf for PowerPC32.
34760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
34761         New file.
34762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
34763         multiarch isinff for PowerPC32.
34765         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
34766         alias when __isnan is defined.
34767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
34768         and isnanf multiarch implementations.
34769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
34770         file.
34771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
34772         file.
34773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
34774         file.
34775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
34776         file.
34777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
34778         multiarch isnan for PowerPC32.
34779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
34780         New file.
34781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
34782         New file.
34783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
34784         multiarch isnanf for PowerPC32.
34786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
34787         and sqrtf multiarch implementations.
34788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
34789         file.
34790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
34791         file.
34792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
34793         multiarch sqrt for PowerPC32.
34794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
34795         file.
34796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
34797         file.
34798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
34799         multiarch sqrtf for PowerPC32.
34801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
34802         and llroundf multiarch implementations.
34803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
34804         New file.
34805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
34806         New file.
34807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
34808         New file.
34809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
34810         file: multiarch llround for PowerPC32.
34811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
34812         file: multiarch llroundf for PowerPC32.
34814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
34815         multiarch PowerPC32 fpu implementations.
34816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
34817         New file.
34818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
34819         New file.
34820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
34821         multiarch llrint for PowerPC32.
34822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
34823         New file.
34824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
34825         New file.
34826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
34827         file.
34829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
34831         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
34832         file.
34833         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
34834         file.
34835         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
34836         file.
34837         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
34838         multiarch wordcopy for PPC32.
34839         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
34840         wordcopy objects.
34841         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34842         (__libc_ifunc_impl_list): Likewise.
34843         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
34844         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
34845         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
34846         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
34847         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
34848         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
34850         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
34851         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
34852         file.
34853         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
34854         file.
34855         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
34856         file.
34857         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
34858         multiarch wcscpy for PPC32.
34859         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
34860         multiarch objects.
34861         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34862         (__libc_ifunc_impl_list): Likewise.
34863         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
34864         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
34865         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
34866         sysdeps/powerpc/power6/wcscpy.c.
34868         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
34869         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
34870         file.
34871         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
34872         file.
34873         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
34874         file.
34875         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
34876         multiarch wcsrchr for PPC32.
34877         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
34878         multiarch objects.
34879         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34880         (__libc_ifunc_impl_list): Likewise.
34881         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
34882         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
34883         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
34884         sysdeps/powerpc/power6/wcsrchr.c.
34886         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
34887         file.
34888         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
34889         file.
34890         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
34891         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
34892         multiarch wcschr for PPc32.
34893         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
34894         multiarch objects.
34895         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34896         (__libc_ifunc_impl_list): Likewise.
34897         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
34898         * sysdeps/powerpc/power6/wcschr.c: ... to here.
34899         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
34900         sysdeps/powerpc/power6/wcschr.c.
34902         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
34903         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
34904         file.
34905         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
34906         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
34907         file: multiarch strchr for PPC32.
34908         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
34909         multiarch objects.
34910         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34911         (__libc_ifunc_impl_list): Likewise.
34913         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
34914         name.
34915         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
34916         file.
34917         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
34918         file.
34919         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
34920         multiarch strchrnul for PPC32.
34921         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
34922         multiarch objects.
34923         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34924         (__libc_ifunc_impl_list): Likewise.
34926         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
34927         file.
34928         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
34929         multiarch strncasecmp for PPC32.
34930         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
34931         file.
34932         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
34933         multiarch strncasecmp_l for PPC32.
34934         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
34935         strncasecmp multiarch objects.
34936         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34937         (__libc_ifunc_impl_list): Likewise.
34939         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
34940         file.
34941         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
34942         multiarch strncasecmp for PPC32.
34943         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
34944         New file.
34945         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
34946         multiarch strcasecmp_l for PPC32.
34947         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
34948         multiarch objects.
34949         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34950         (__libc_ifunc_impl_list): Likewise.
34952         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
34953         file.
34954         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
34955         file.
34956         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
34957         multiarch strncmp for PPC32.
34958         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
34959         multiarch objects.
34960         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34961         (__libc_ifunc_impl_list): Likewise.
34963         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
34964         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
34965         file.
34966         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
34967         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
34968         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
34969         multiarch objects.
34970         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34971         (__libc_ifunc_impl_list): Likewise.
34973         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
34974         file.
34975         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
34976         file.
34977         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
34978         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
34979         multiarch objects.
34980         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34981         (__libc_ifunc_impl_list): Likewise.
34983         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
34984         file.
34985         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
34986         file.
34987         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
34988         multiarch rawmemchr for PPC32.
34989         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
34990         multiarch objects.
34991         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34992         (__libc_ifunc_impl_list): Likewise.
34994         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
34995         file.
34996         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
34997         file.
34998         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
34999         file: memrchr multiarch for PPC32.
35000         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
35001         multiarch objects.
35002         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35003         (__libc_ifunc_impl_list): Likewise.
35005         * string/memchr.c (__memchr): Using macro to redefine symbol name.
35006         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
35007         file.
35008         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
35009         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
35010         multiarch memchr for PPC32.
35011         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
35012         multiarch objects.
35013         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35014         (__libc_ifunc_impl_list): Likewise.
35016         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
35017         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
35018         file.
35019         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
35020         file.
35021         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
35022         file: multiarch mempcpy for PPC32.
35023         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
35024         multiarch objects.
35025         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35026         (__libc_ifunc_impl_list): Likewise.
35028         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
35029         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
35030         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
35031         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
35032         multiarch bzero for PPC32.
35033         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
35034         file.
35035         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
35036         file.
35037         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
35038         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
35039         file: multiarch memset for PPC32.
35040         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
35041         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
35042         memset multiarch objects.
35043         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35044         (__libc_ifunc_impl_list): Likewise.
35046         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
35047         file.
35048         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
35049         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
35050         memcmp for PPC32.
35051         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
35052         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
35053         multiarch objects.
35054         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35055         (__libc_ifunc_impl_list): Likewise.
35057         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
35058         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
35059         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
35060         file.
35061         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
35062         file.
35063         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
35064         file.
35065         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
35066         multiarch memcpy for PPC32.
35067         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
35068         multiarch objects.
35069         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35070         (__libc_ifunc_impl_list): Likewise.
35072         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
35073         support multiarch for POWER/PPC32.
35074         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
35075         Likewise.
35076         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
35077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
35078         Implies file to make multiarch folder appers before the fpu and
35079         default folder for power4 configuration.
35081 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
35083         * scripts/bench.pl: Append volatile keyword to type.
35085 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35087         * sysdeps/sh/sotruss-lib.c: New file.
35088         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
35090 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35092         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35094 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
35096         [BZ #6810]
35097         * math/w_tgamma.c: Include <errno.h>.
35098         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
35099         * math/w_tgammaf.c: Include <errno.h>.
35100         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
35101         * math/w_tgammal.c: Include <errno.h>.
35102         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
35103         * math/auto-libm-test-in: Do not allow missing errno on tgamma
35104         underflow.  Add more tgamma tests.
35105         * math/auto-libm-test-out: Regenerated.
35106         * sysdeps/i386/fpu/libm-test-ulps: Update.
35107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35109         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
35110         sin, sinh, tan, tanh, tgamma, y0 and y1.
35111         * math/auto-libm-test-out: Regenerated.
35112         * math/libm-test.inc (TEST_COND_x86_64): New macro.
35113         (TEST_COND_x86): Likewise.
35114         (M_E2l): Remove macro.
35115         (M_E3l): Likewise.
35116         (M_2_SQRT_PIl): Likewise.
35117         (M_SQRT_PIl): Likewise.
35118         (M_1_DIV_El): Likewise.
35119         (log_test_data): Use AUTO_TESTS_f_f.
35120         (log10_test_data): Likewise.
35121         (log1p_test_data): Likewise.
35122         (log2_test_data): Likewise.
35123         (sin_test_data): Likewise.
35124         (sin_tonearest_test_data): Likewise.
35125         (sin_towardzero_test_data): Likewise.
35126         (sin_downward_test_data): Likewise.
35127         (sin_upward_test_data): Likewise.
35128         (sinh_test_data): Likewise.
35129         (sinh_tonearest_test_data): Likewise.
35130         (sinh_towardzero_test_data): Likewise.
35131         (sinh_downward_test_data): Likewise.
35132         (sinh_upward_test_data): Likewise.
35133         (tan_test_data): Likewise.
35134         (tan_tonearest_test_data): Likewise.
35135         (tan_towardzero_test_data): Likewise.
35136         (tan_downward_test_data): Likewise.
35137         (tan_upward_test_data): Likewise.
35138         (tanh_test_data): Likewise.
35139         (tgamma_test_data): Likewise.
35140         (y0_test_data): Likewise.
35141         (y1_test_data): Likewise.
35142         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
35143         (special_real_inputs): Add pi/4.
35144         * sysdeps/i386/fpu/libm-test-ulps: Update.
35145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35147 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35149         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
35150         "longjmp_target" static probes.
35151         (__longjmp): Rename to __longjmp_symbol.
35152         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
35153         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
35154         on which longjmp to generate.
35155         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
35156         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
35157         probe.
35158         (__sigsetjmp): Rename to __sigsetjmp_symbol.
35159         (__sigjmp_save): Rename to __sigjmp_save_symbol.
35160         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
35161         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
35162         and __sigjmp_save_symbol based on which sigsetjmp to generated.
35163         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
35164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
35165         __longjmp_symbol based on which __longjmp to generate.
35166         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
35167         probe.
35168         (setjmp): Rename to setjmp_symbol.
35169         (__sigsetjmp): Rename to __sigsetjmp_symbol.
35170         (_setjmp): Rename to _setjmp_symbol.
35171         (__sigsetjmp): Rename to __sigsetjmp_symbol.
35172         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
35173         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
35174         which setjmp to generate.
35175         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
35176         "longjmp_target" static probes.
35178 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35180         * benchtests/README: Add note about output arguments.
35181         * benchtests/bench-sincos.c: Remove file.
35182         * benchtests/sincos-inputs: New file.
35183         * scripts/bench.pl: Identify output arguments and define
35184         static variables for them.
35186         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
35188         [BZ #15941]
35189         * Makefile (INSTALL): Add install-plain.texi as the primary
35190         dependency.
35191         * manual/install-plain.texi: New file.
35192         * manual/install.texi: Include node directive only for
35193         non-plaintext output.
35195 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
35197         * stdlib/longlong.h: Update from GCC.
35199         [BZ #6807]
35200         [BZ #15901]
35201         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
35202         * math/w_j0f.c (y0f): Likewise.
35203         * math/w_j0l.c (__y0l): Likewise.
35204         * math/w_j1.c (y1): Likewise.
35205         * math/w_j1f.c (y1f): Likewise.
35206         * math/w_j1l.c (__y1l): Likewise
35207         * math/w_jn.c (yn): Likewise.
35208         * math/w_jnf.c (ynf): Likewise.
35209         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
35210         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
35211         value for Bessel function domain errors outside _SVID_ mode.
35212         Adjust sign of return value for yn (negative integer, 0).
35213         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
35214         by zero in return for negative x and set sign appropriately for
35215         negative n.
35216         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
35217         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35218         * math/libm-test.inc (y0_test_data): Add more tests and adjust
35219         expectations in error cases.
35220         (y1_test_data): Likewise.
35221         (yn_test_data): Likewise.
35222         * sysdeps/i386/fpu/libm-test-ulps: Update.
35223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35225 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35227         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
35228         "64" to "64-v1".  Add "64-v2".
35229         (abi-64-options): Rename to ...
35230         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
35231         (abi-64-condition): Rename to ...
35232         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
35233         (abi-64-ld-soname): Rename to ...
35234         (abi-64-v1-ld-soname): ... this.
35235         (abi-64-v2-options): Define.
35236         (abi-64-v2-condition): Likewise.
35237         (abi-64-v2-ld-soname): Likewise.
35238         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
35239         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
35240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
35241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
35242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
35244 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35245             Alan Modra  <amodra@gmail.com>
35247         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
35248         New versions for use with the ELFv2 ABI.
35249         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
35250         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
35251         declaration.
35252         (struct La_ppc64v2_retval): Likewise.
35253         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
35254         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
35255         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
35256         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
35257         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
35258         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35259         Do not save or restore CR.
35260         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
35261         (_dl_profile_resolve): Do no save or restore CR.  Support extended
35262         return values for ELFv2 ABI.  Fix location of FPR return registers.
35263         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
35264         updated values for _CALL_ELF == 2.
35265         (La_regs, La_retval, int_retval): Likewise.
35267 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35269         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
35270         (FRAME_MIN_SIZE_PARM): Likewise.
35271         (FRAME_BACKCHAIN): Likewise.
35272         (FRAME_CR_SAVE): Likewise.
35273         (FRAME_LR_SAVE): Likewise.
35274         (FRAME_TOC_SAVE): Likewise.
35275         (FRAME_PARM_SAVE): Likewise.
35276         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
35277         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
35278         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
35279         (call_mcount_parm_offset): New macro.
35280         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
35281         (PROF): Use symbolic stack frame offsets.
35282         (TAIL_CALL_SYSCALL_ERROR): Likewise.
35283         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
35284         Redefine in terms of FRAME_MIN_SIZE.
35285         (_dl_runtime_resolve): Use symbolic stack frame offsets.
35286         (_dl_profile_resolve): Likewise.  Update comment.
35287         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
35288         symbols stack frame offsets.
35289         (__sigsetjmp): Likewise.
35290         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
35291         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
35292         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
35293         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
35295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
35296         (FRAME_BACKCHAIN): Remove.
35297         (FRAME_CR_SAVE): Likewise.
35298         (FRAME_LR_SAVE): Likewise.
35299         (FRAME_COMPILER_DW): Likewise.
35300         (FRAME_LINKER_DW): Likewise.
35301         (FRAME_TOC_SAVE): Likewise.
35302         (FRAME_PARM_SAVE): Likewise.
35303         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
35304         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
35305         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
35306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
35307         (CHECK_SP): Use symbolic stack frame offsets.
35308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
35309         zone" instead of caller's parameter save area for temp storage.
35310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35311         Likewise.  Also, use symbolic stack frame offsets.
35312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
35313         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
35314         our own stack frame instead of the caller's.
35315         (__socket): Use symbolic stack frame offsets.
35317 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35318             Alan Modra  <amodra@gmail.com>
35320         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
35321         Define.
35322         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
35323         (PPC64_LOCAL_ENTRY_OFFSET): Define.
35324         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
35325         New function.
35326         (elf_machine_fixup_plt): Call it.
35327         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
35328         reloc arguments.
35329         (elf_machine_rela): Update call to elf_machine_plt_conflict.
35330         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
35331         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
35332         r2 before calling target.
35334 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35335             Alan Modra  <amodra@gmail.com>
35337         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
35338         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
35339         versions of macros to support ELFv2 ABI.
35340         (LOCALENTRY): New macro.
35341         (ENTRY, EALIGN): Use it.
35342         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
35343         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
35344         fall through into ENTRY entry point.
35345         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
35346         Only define if _CALL_ELF != 2.
35348         (elf_machine_matches_host): Verify ABI version matches.
35349         (RTLD_START): Use LOCALENTRY.
35350         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
35351         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
35352         (PLT_ENTRY_WORDS): New macro.
35353         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
35354         (elf_machine_runtime_setup): Support ELFv2 ABI.
35355         (elf_machine_fixup_plt): Likewise.
35356         (elf_machine_plt_conflict): Likewise.
35357         (resolve_ifunc): Likewise.
35358         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
35359         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
35360         Likewise.
35361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
35362         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
35363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35364         (makecontext): Support ELFv2 ABI.
35365         * elf/elf.h (EF_PPC64_ABI): Define.
35367 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35369         * sysdeps/powerpc/powerpc64/sysdep.h
35370         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
35371         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
35372         (ENTRY) [ASSEMBLER]: ... but instead here ...
35373         (EALIGN) [ASSEMBLER]: ... and here.
35374         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
35375         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
35376         (ENTRY_2) [!ASSEMBLER]: Use it.
35377         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
35378         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
35379         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
35380         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
35381         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
35382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
35383         Use PPC64_LOAD_FUNCPTR.
35385         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
35387 2013-12-04  Alan Modra  <amodra@gmail.com>
35389         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
35390         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
35391         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
35392         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
35394         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
35395         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
35396         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
35397         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
35398         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
35399         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
35401 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35404         (__makecontext): Fix incorrect CFI when backtracing out of
35405         context created via makecontext.
35406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
35407         (__setcontext): Fix incorrect CFI during switch to new context.
35408         (__novec_setcontext): Likewise.
35410 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
35412         [BZ #4772]
35413         * time/strptime_l.c (__strptime_internal): Allow modifiers
35414         in strptime.
35415         * time/tst-strptime.c (day_tests): Add testcase.
35417 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35419         * scripts/bench.pl: Skip over blank lines.
35421 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
35423         [BZ #926]
35424         * manual/time.texi (Calendar Time): Clarify what timezone functions
35425         use.
35427 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35429         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35431 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
35433         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
35434         implementation.
35435         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
35436         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
35437         * debug/memset_chk.c (__memset_chk): Likewise.
35438         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
35439         * debug/strncpy_chk.c: Likewise.
35441 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
35443         [BZ #15268]
35444         [BZ #15425]
35445         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
35446         (__ieee754_exp): For possibly underflowing results, check size of
35447         result and force underflow exception if required.
35448         * math/auto-libm-test-in: Add more tests of exp.
35449         * math/auto-libm-test-out: Regenerated.
35450         * sysdeps/i386/fpu/libm-test-ulps: Update.
35451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35453         [BZ #16283]
35454         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
35455         * math/w_exp2f.c (__exp2f): Likewise.
35456         * math/w_exp2l.c (__exp2l): Likewise.
35457         * math/auto-libm-test-in: Do not allow missing errno on exp2
35458         underflow.
35459         * math/auto-libm-test-out: Regenerated.
35461 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
35463         [BZ #16274]
35464         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
35465         handle filename validation.
35466         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
35467         (do_open): Delete.
35469 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
35471         [BZ #6786]
35472         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
35473         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
35474         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
35475         <float.h>.
35476         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
35477         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
35478         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
35479         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
35480         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
35481         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
35482         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
35483         * math/auto-libm-test-in: Don't allow missing errno from erfc.
35484         Add more erfc tests.
35485         * math/auto-libm-test-out: Regenerated.
35486         * sysdeps/i386/fpu/libm-test-ulps: Update.
35487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35489         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
35490         exp2, expm1, j0 and j1.
35491         * math/auto-libm-test-out: Regenerated.
35492         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
35493         (erfc_test_data): Likewise.
35494         (exp_test_data): Likewise.
35495         (exp_tonearest_test_data): Likewise.
35496         (exp_towardzero_test_data): Likewise.
35497         (exp_downward_test_data): Likewise.
35498         (exp_upward_test_data): Likewise.
35499         (exp10_test_data): Likewise.
35500         (exp2_test_data): Likewise.
35501         (expm1_test_data): Likewise.
35502         (j0_test_data): Likewise.
35503         (j1_test_data): Likewise.
35504         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
35505         (input_flag_type): Add flag_xfail_rounding.
35506         (input_flags): Add xfail-rounding.
35507         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
35508         (output_for_one_input_case): Handle flag_xfail_rounding.
35509         * sysdeps/i386/fpu/libm-test-ulps: Update.
35510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35512 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
35514         [BZ #16289]
35515         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
35516         division by 0.
35518 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35520         [BZ #16195]
35521         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
35522         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
35523         (STAP_PROBE0): New macro.
35524         (STAP_PROBE1): Likewise.
35525         (STAP_PROBE2): Likewise.
35526         (STAP_PROBE3): Likewise.
35527         (STAP_PROBE4): Likewise.
35529 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
35531         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
35533 2013-12-02  Steve Ellcey  <sellcey@mips.com>
35535         * benchtests/Makefile (bench): Add sqrt.
35536         (LDLIBS-bench-sqrt): New.
35537         * benchtests/sqrt-input: New.
35539 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
35541         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
35542         (GAIH_EAI): Likewise.
35543         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
35544         (gaih_inet): Likewise.
35545         (getaddrinfo): Don't use GAIH_EAI.
35547         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
35548         (struct gaih): Remove definition.
35550 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35552         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
35553         Use HERRNOP directly.
35555 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35557         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35559 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
35561         * math/gen-auto-libm-tests.c (test_functions): Add more
35562         single-argument functions.
35563         (special_fill_pi_2): New function.
35564         (special_fill_minus_pi_2): Likewise.
35565         (special_fill_pi_6): Likewise.
35566         (special_fill_minus_pi_6): Likewise.
35567         (special_fill_pi_3): Likewise.
35568         (special_fill_2pi_3): Likewise.
35569         (special_fill_e): Likewise.
35570         (special_fill_1_e): Likewise.
35571         (special_fill_e_minus_1): Likewise.
35572         (special_real_inputs): Add more special inputs.
35573         (output_for_one_input_case): Do not require ERANGE on underflow to
35574         zero if round-to-nearest result does not underflow to zero, unless
35575         exact results required.
35576         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
35577         atan, atanh, cbrt, cos and cosh.
35578         * math/auto-libm-test-out: Regenerated.
35579         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
35580         (acos_tonearest_test_data): Likewise.
35581         (acos_towardzero_test_data): Likewise.
35582         (acos_downward_test_data): Likewise.
35583         (acos_upward_test_data): Likewise.
35584         (acosh_test_data): Likewise.
35585         (asin_test_data): Likewise.
35586         (asin_tonearest_test_data): Likewise.
35587         (asin_towardzero_test_data): Likewise.
35588         (asin_upward_test_data): Likewise.
35589         (asinh_test_data): Likewise.
35590         (atan_test_data): Likewise.
35591         (atanh_test_data): Likewise.
35592         (cbrt_test_data): Likewise.
35593         (cos_test_data): Likewise.
35594         (cos_tonearest_test_data): Likewise.
35595         (cos_towardzero_test_data): Likewise.
35596         (cos_downward_test_data): Likewise.
35597         (cos_upward_test_data): Likewise.
35598         (cosh_test_data): Likewise.
35599         (cosh_tonearest_test_data): Likewise.
35600         (cosh_towardzero_test_data): Likewise.
35601         (cosh_downward_test_data): Likewise.
35602         (cosh_upward_test_data): Likewise.
35603         * sysdeps/i386/fpu/libm-test-ulps: Update.
35604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35606 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
35608         [BZ #6787]
35609         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
35610         * math/w_exp10f.c (__exp10f): Likewise.
35611         * math/w_exp10l.c (__exp10l): Likewise.
35612         * math/libm-test.inc (exp10_test_data): Add more tests and expect
35613         errno settings in existing tests.
35615         [BZ #14032]
35616         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
35617         precision control set to double precision.
35618         * sysdeps/i386/fpu/w_sqrt.c: New file.
35619         * math/auto-libm-test-in: Add more tests.
35620         * math/auto-libm-test-out: Update.
35622         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
35623         (sqrt_test_tonearest): New function.
35624         (sqrt_towardzero_test_data): New variable.
35625         (sqrt_test_towardzero): New function.
35626         (sqrt_downward_test_data): New variable.
35627         (sqrt_test_downward): New function.
35628         (sqrt_upward_test_data): New variable.
35629         (sqrt_test_upward): New function.
35630         (main): Call the new functions.
35632         * math/gen-auto-libm-tests.c: New file.
35633         * math/auto-libm-test-in: Likewise.
35634         * math/auto-libm-test-out: New generated file.
35635         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
35636         variables.
35637         (%beautify): Add generated representations of zero.
35638         (top level): Set $auto_input and call parse_auto_input.
35639         (beautify): Remove trailing "f" from hex float constants.
35640         (parse_args): Handle XFAIL_TEST.
35641         (convert_condition): New function.
35642         (or_value): Likewise.
35643         (or_cond_value): Likewise.
35644         (generate_testfile): Handle AUTO_TESTS_* lines.
35645         (parse_auto_input): New function.
35646         * math/libm-test.inc (XFAIL_TEST): New macro.
35647         (ERRNO_UNCHANGED): Update value.
35648         (ERRNO_EDOM): Likewise.
35649         (ERRNO_ERANGE): Likewise.
35650         (IGNORE_RESULT): Likewise.
35651         (TEST_COND_flt_32): New macro.
35652         (TEST_COND_dbl_64): Likewise.
35653         (TEST_COND_ldbl_96_intel): Likewise.
35654         (TEST_COND_ldbl_96_m68k): Likewise.
35655         (TEST_COND_ldbl_128): Likewise.
35656         (TEST_COND_ldbl_128ibm): Likewise.
35657         (TEST_COND_long32): Likewise.
35658         (TEST_COND_long64): Likewise.
35659         (TEST_COND_before_rounding): Likewise.
35660         (TEST_COND_after_rounding): Likewise.
35661         (enable_test): Handle XFAIL_TEST flag.
35662         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
35663         with finite results.
35664         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
35665         auto-libm-test-out.
35667 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35668             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35670         [BZ #16214]
35671         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
35672         __tls_get_addr_internal instead of __tls_get_offset in order to
35673         avoid GOT pointer dependency.  Make rtld export
35674         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
35675         __tls_get_addr since we are a __tls_get_offset platform.
35676         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
35677         GOT pointer being set up before.
35678         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
35680 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
35682         * manual/math.texi (Errors in Math Functions): Document accuracy
35683         goals.
35685         [BZ #15004]
35686         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
35687         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
35688         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35689         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35690         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35691         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35692         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35693         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35694         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35695         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35696         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35697         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35698         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35699         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35700         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35701         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35703         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
35704         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
35705         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
35706         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
35707         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
35708         Likewise.
35709         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
35710         Likewise.
35711         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
35712         Likewise.
35713         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
35714         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
35715         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
35716         atomic-feupdateenv and flt-rounds.
35717         * sysdeps/powerpc/nofpu/Versions (libc): Add
35718         __atomic_feholdexcept, __atomic_feclearexcept,
35719         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
35720         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
35721         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
35722         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
35723         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
35724         here.
35725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
35726         Update.
35728         * manual/arith.texi (FP Exceptions): Document that exceptions may
35729         not be raised when matherr is used.
35730         (Math Error Reporting): Document overflow in directed rounding
35731         modes.  Document that errno may not be set when finite values are
35732         returned on overflow.  Document intent to set errno on underflow
35733         only for underflow to zero.
35735         [BZ #16271]
35736         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
35737         round-to-nearest then adjust result for other rounding modes.
35738         * include/fenv.h (fegetround): Use libm_hidden_proto.
35739         * math/fegetround.c (fegetround): Use libm_hidden_def.
35740         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
35741         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
35742         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
35743         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
35744         Likewise.
35745         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
35746         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35747         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
35748         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
35750 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35752         [BZ #16077]
35753         * nss/Versions (libnss_files): Add
35754         _nss_files_gethostbyname3_r.
35755         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
35756         New function.
35757         (HOST_DB_LOOKUP): Remove macro.
35758         (_nss_files_gethostbyname_r): Implement function without the
35759         HOST_DB_LOOKUP macro.
35760         (_nss_files_gethostbyname2_r): Likewise.
35762 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
35764         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
35766 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
35768         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
35769         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
35770         warning.
35772 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35774         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
35775         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
35776         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
35777         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
35778         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
35779         __fe_nomask_env_priv and attribute_hidden.
35780         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
35781         (libc_feupdateenv_test_ppc): Likewise.
35782         (libc_feresetround_ppc): Likewise.
35783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35784         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
35785         compat_symbol macro.
35786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35787         (__fe_nomask_env): Likewise.
35788         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
35790 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35792         * string/Makefile: Remove ifunc tests.
35793         * string/test-string.h: Define TEST_IFUNC.
35794         * string/test-bcopy-ifunc.c: Remove.
35795         * string/test-bzero-ifunc.c: Likewise.
35796         * string/test-memccpy-ifunc.c: Likewise.
35797         * string/test-memchr-ifunc.c: Likewise.
35798         * string/test-memcmp-ifunc.c: Likewise.
35799         * string/test-memcpy-ifunc.c: Likewise.
35800         * string/test-memmem-ifunc.c: Likewise.
35801         * string/test-memmove-ifunc.c: Likewise.
35802         * string/test-mempcpy-ifunc.c: Likewise.
35803         * string/test-memrchr-ifunc.c: Likewise.
35804         * string/test-memset-ifunc.c: Likewise.
35805         * string/test-rawmemchr-ifunc.c: Likewise.
35806         * string/test-stpcpy-ifunc.c: Likewise.
35807         * string/test-stpncpy-ifunc.c: Likewise.
35808         * string/test-strcasecmp-ifunc.c: Likewise.
35809         * string/test-strcasestr-ifunc.c: Likewise.
35810         * string/test-strcat-ifunc.c: Likewise.
35811         * string/test-strchr-ifunc.c: Likewise.
35812         * string/test-strchrnul-ifunc.c: Likewise.
35813         * string/test-strcmp-ifunc.c: Likewise.
35814         * string/test-strcpy-ifunc.c: Likewise.
35815         * string/test-strcspn-ifunc.c: Likewise.
35816         * string/test-strlen-ifunc.c: Likewise.
35817         * string/test-strncasecmp-ifunc.c: Likewise.
35818         * string/test-strncat-ifunc.c: Likewise.
35819         * string/test-strncmp-ifunc.c: Likewise.
35820         * string/test-strncpy-ifunc.c: Likewise.
35821         * string/test-strnlen-ifunc.c: Likewise.
35822         * string/test-strpbrk-ifunc.c: Likewise.
35823         * string/test-strrchr-ifunc.c: Likewise.
35824         * string/test-strspn-ifunc.c: Likewise.
35825         * string/test-strstr-ifunc.c: Likewise.
35827 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35829         * benchtests/Makefile: Remove ifunc tests.
35830         * benchtests/bench-string.h: Define TEST_IFUNC.
35831         * benchtests/bench-bcopy-ifunc.c: Remove.
35832         * benchtests/bench-bzero-ifunc.c: Likewise.
35833         * benchtests/bench-memccpy-ifunc.c: Likewise.
35834         * benchtests/bench-memchr-ifunc.c: Likewise.
35835         * benchtests/bench-memcmp-ifunc.c: Likewise.
35836         * benchtests/bench-memcpy-ifunc.c: Likewise.
35837         * benchtests/bench-memmem-ifunc.c: Likewise.
35838         * benchtests/bench-memmove-ifunc.c: Likewise.
35839         * benchtests/bench-mempcpy-ifunc.c: Likewise.
35840         * benchtests/bench-memrchr-ifunc.c: Likewise.
35841         * benchtests/bench-memset-ifunc.c: Likewise.
35842         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
35843         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
35844         * benchtests/bench-stpcpy-ifunc.c: Likewise.
35845         * benchtests/bench-stpncpy-ifunc.c: Likewise.
35846         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
35847         * benchtests/bench-strcasestr-ifunc.c: Likewise.
35848         * benchtests/bench-strcat-ifunc.c: Likewise.
35849         * benchtests/bench-strchr-ifunc.c: Likewise.
35850         * benchtests/bench-strchrnul-ifunc.c: Likewise.
35851         * benchtests/bench-strcmp-ifunc.c: Likewise.
35852         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
35853         * benchtests/bench-strcpy-ifunc.c: Likewise.
35854         * benchtests/bench-strcspn-ifunc.c: Likewise.
35855         * benchtests/bench-strlen-ifunc.c: Likewise.
35856         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
35857         * benchtests/bench-strncat-ifunc.c: Likewise.
35858         * benchtests/bench-strncmp-ifunc.c: Likewise.
35859         * benchtests/bench-strncpy-ifunc.c: Likewise.
35860         * benchtests/bench-strnlen-ifunc.c: Likewise.
35861         * benchtests/bench-strpbrk-ifunc.c: Likewise.
35862         * benchtests/bench-strrchr-ifunc.c: Likewise.
35863         * benchtests/bench-strsep-ifunc.c: Likewise.
35864         * benchtests/bench-strspn-ifunc.c: Likewise.
35865         * benchtests/bench-strstr-ifunc.c: Likewise.
35867 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35869         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
35871 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35873         * resolv/netdb.h: Use __glibc_reserved instead __unused.
35874         * rt/aio.h: Likewise.
35875         * sysdeps/gnu/bits/utmp.h: Likewise.
35876         * sysdeps/gnu/bits/utmpx.h: Likewise.
35877         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
35878         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
35879         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
35880         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
35881         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
35882         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
35883         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
35884         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
35885         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
35886         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
35887         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
35888         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
35889         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
35890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
35891         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
35892         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
35893         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
35894         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
35895         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
35896         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
35897         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
35898         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
35899         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
35900         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35901         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
35902         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35903         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
35904         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
35905         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
35906         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
35907         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
35908         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
35909         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
35910         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
35911         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
35912         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
35913         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
35914         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
35915         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
35916         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
35917         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
35918         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
35920 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
35922         [BZ #16245]
35923         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
35924         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
35926 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
35928         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
35929         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
35930         Likewise.
35932 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35934         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
35935         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
35936         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
35937         (__fesetround): Remove define.
35938         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
35939         rounding and exceptions handling.
35940         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
35941         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
35942         (__fe_nomask_env): Likewise.
35943         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
35944         __fegetround instead of fegetround.
35945         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
35946         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
35948 2013-11-21  Roland McGrath  <roland@hack.frob.com>
35950         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
35951         it's there.
35953         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
35955 2013-11-21  Meador Inge  <meadori@codesourcery.com>
35957         [BZ #11157]
35958         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
35959         (encrypt_r): Likewise.
35960         * malloc/obstack.h (obstack_free): Likewise.
35961         * posix/unistd.h (encrypt): Likewise.
35963 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
35965         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
35966         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
35967         DL_CALL_DT_FINI() that call the functions directly.
35968         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
35969         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
35970         * elf/dl-fini.c: Likewise.
35972 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
35974         * malloc/hooks.c (memalign_check): Add alignment rounding.
35975         * malloc/malloc.c (_mid_memalign): New function.
35976         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
35977         Implement by calling _mid_memalign.
35978         * manual/probes.texi (Memory Allocation Probes): Remove
35979         memory_valloc_retry and memory_pvalloc_retry.
35981 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35983         * locale/programs/locarchive.c (open_archive): Add const
35984         qualifier to ARCHIVEFNAME and copy default fname to
35985         DEFAULT_FNAME.
35987         [BZ #15601]
35988         * libio/tst-widetext.input: Rename Oriya to Odia.
35989         * locale/iso-639.def: Likewise.
35991         * manual/probes.texi (Mathematical Function Probes): Add
35992         documentation for sin, cos, asin and acos probes.
35993         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
35994         (__sin32): Add slowasin probe.
35995         (__cos32): Add slowacos probe.
35996         (__mpsin): Add slowsin probe.
35997         (__mpcos): Add slowcos probe.
35999 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
36001         [BZ #15483]
36002         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
36003         thread-local __sim_exceptions_thread and global
36004         __sim_exceptions_global.
36005         (__sim_disabled_exceptions): Change to thread-local
36006         __sim_disabled_exceptions_thread and global
36007         __sim_disabled_exceptions_global.
36008         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
36009         and global __sim_round_mode_global.
36010         (__simulate_exceptions): Use thread-local floating-point state and
36011         set global state from it as needed.
36012         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
36013         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
36014         __sim_round_mode_thread.
36015         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
36016         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
36017         and global __sim_exceptions_global.
36018         (__sim_disabled_exceptions): Change to thread-local
36019         __sim_disabled_exceptions_thread and global
36020         __sim_disabled_exceptions_global.
36021         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
36022         and global __sim_round_mode_global.
36023         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
36024         (SIM_SET_GLOBAL): Likewise.
36025         * sysdeps/powerpc/soft-fp/sfp-machine.h
36026         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
36027         __sim_round_mode_thread.
36028         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
36029         __sim_disabled_exceptions_thread.
36030         (__sim_exceptions): Change to __sim_exceptions_thread.
36031         (__sim_disabled_exceptions): Change to
36032         __sim_disabled_exceptions_thread.
36033         (__sim_round_mode): Change to __sim_round_mode_thread.
36034         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
36035         thread-local floating-point state and set global state from it as
36036         needed.
36037         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
36038         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
36039         (__sim_disabled_exceptions): Remove extern declaration.
36040         (feenableexcept): Use thread-local floating-point state and set
36041         global state from it as needed.
36042         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
36043         extern declaration.
36044         (__sim_disabled_exceptions): Likewise.
36045         (__sim_round_mode): Likewise.
36046         (__fegetenv): Use thread-local floating-point state.
36047         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
36048         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
36049         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
36050         floating-point state and set global state from it as needed.
36051         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
36052         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
36053         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
36054         Likewise.
36055         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
36056         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
36057         Likewise.
36058         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
36059         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
36060         Use __sim_round_mode_thread.
36061         * math/test-fenv-tls.c: New file.
36062         * math/Makefile (tests): Add test-fenv-tls.
36063         ($(objpfx)test-fenv-tls): Depend on
36064         $(common-objpfx)nptl/libpthread.so.
36066 2013-11-19  Andreas Schwab  <schwab@suse.de>
36068         * locale/programs/locale.c (show_info): Decode wordarray elements.
36069         * locale/categories.def (LC_MONETARY): Add element for
36070         _NL_MONETARY_CRNCYSTR.
36071         * locale/C-monetary.c (conversion_rate): New variable.
36072         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
36073         element.
36075 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
36077         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
36078         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
36080 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
36082         * elf/Makefile (tst-auxv): New test.
36083         * elf/tst-auxv.c: New
36084         * elf/rtld.c (dl_main): Adjust AT_EXECFN
36086 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
36088         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
36089         (hidden_proto): Caller changed.
36090         (hidden_tls_proto): New macro.
36091         (libc_hidden_tls_proto): Likewise.
36092         (rtld_hidden_tls_proto): Likewise.
36093         (libm_hidden_tls_proto): Likewise.
36094         (libresolv_hidden_tls_proto): Likewise.
36095         (librt_hidden_tls_proto): Likewise.
36096         (libdl_hidden_tls_proto): Likewise.
36097         (libnss_files_hidden_tls_proto): Likewise.
36098         (libnsl_hidden_tls_proto): Likewise.
36099         (libnss_nisplus_hidden_tls_proto): Likewise.
36100         (libutil_hidden_tls_proto): Likewise.
36102 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
36104         [BZ #10253]
36105         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
36106         (decompose_rpath): Defer expansion to fillin_rpath.
36107         (_dl_init_paths): Pass linkmap to fillin_rpath.
36109 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36111         * benchtests/Makefile: Add strsep.
36112         * benchtests/bench-strsep.c: New file: strsep benchtest.
36113         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
36115 2013-11-18  Andreas Schwab  <schwab@suse.de>
36117         * locale/programs/locale.c (show_info) [case byte]: Check for
36118         '\377' instead of '\177'.
36119         * locale/C-monetary.c (not_available): Always use "\377".
36120         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
36121         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
36122         detect unavailable sign_posn locale elements.
36123         * locale/localeconv.c (__localeconv): For grouping and
36124         mon_grouping handle "\177" and "\377" like no grouping.
36125         (INT_ELEM): New macro.  Use it to set all numeric members.
36126         * locale/programs/ld-monetary.c (monetary_read)
36127         <tok_mon_grouping>: Normalize single -1 to the empty string.
36128         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
36129         Likewise.
36131 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
36133         [BZ #16055]
36134         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
36135         when we match (nil).
36136         * stdio-common/tst-sscanf.c (struct test): Add testcase.
36138 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
36140         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
36141         (NO_TEST_INLINE): Update value.
36142         (ERRNO_UNCHANGED): Likewise.
36143         (ERRNO_EDOM): Likewise.
36144         (ERRNO_ERANGE): Likewise.
36145         (IGNORE_RESULT): Likewise.
36146         (check_float_internal): Check signs of NaN results if
36147         TEST_NAN_SIGN used.
36148         (check_complex): Pass TEST_NAN_SIGN flag through to second
36149         check_float_internal call.
36150         (copysign_test_data): Add tests with quiet NaNs as second
36151         argument.  Use TEST_NAN_SIGN.
36152         (fabs_test_data): Add test of negative quiet NaN argument.  Use
36153         TEST_NAN_SIGN.
36154         (signbit_test_data): Add tests of quiet NaN argument.
36155         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
36157         * math/gen-libm-test.pl (show_exceptions): Take extra argument
36158         $ignore_result.
36159         (parse_args): Handle function results specified as IGNORE.
36160         * math/libm-test.inc (IGNORE_RESULT): New macro.
36161         (check_float_internal): Do not check numerical result if flag
36162         IGNORE_RESULT set.
36163         (check_complex): Pass through IGNORE_RESULT to second
36164         check_float_internal call.
36165         (check_int): Do not check numerical result if flag IGNORE_RESULT
36166         set.
36167         (check_long): Likewise.
36168         (check_bool): Likewise.
36169         (check_longlong): Likewise.
36170         (lrint_test_data): Add tests of infinite and NaN arguments.
36171         (lrint_tonearest_test_data): Likewise.
36172         (lrint_towardzero_test_data): Likewise.
36173         (lrint_downward_test_data): Likewise.
36174         (lrint_upward_test_data): Likewise.
36175         (llrint_test_data): Likewise.
36176         (llrint_tonearest_test_data): Likewise.
36177         (llrint_towardzero_test_data): Likewise.
36178         (llrint_downward_test_data): Likewise.
36179         (llrint_upward_test_data): Likewise.
36180         (lround_test_data): Likewise.
36181         (llround_test_data): Likewise.
36183         * math/libm-test.inc (NO_TEST_INLINE): New macro.
36184         (ERRNO_UNCHANGED): Update value.
36185         (ERRNO_EDOM): Likewise.
36186         (ERRNO_ERANGE): Likewise.
36187         (NO_TEST_INLINE_FLOAT): New macro.
36188         (NO_TEST_INLINE_DOUBLE): Likewise.
36189         (enable_test): New function.
36190         (RUN_TEST_f_f): Check enable_test before running test.
36191         (RUN_TEST_2_f): Likewise.
36192         (RUN_TEST_fff_f): Likewise.
36193         (RUN_TEST_c_f): Likewise.
36194         (RUN_TEST_f_f1): Likewise.
36195         (RUN_TEST_fF_f1): Likewise.
36196         (RUN_TEST_fI_f1): Likewise.
36197         (RUN_TEST_ffI_f1): Likewise.
36198         (RUN_TEST_c_c): Likewise.
36199         (RUN_TEST_cc_c): Likewise.
36200         (RUN_TEST_f_i): Likewise.
36201         (RUN_TEST_f_i_tg): Likewise.
36202         (RUN_TEST_ff_i_tg): Likewise.
36203         (RUN_TEST_f_b): Likewise.
36204         (RUN_TEST_f_b_tg): Likewise.
36205         (RUN_TEST_f_l): Likewise.
36206         (RUN_TEST_f_L): Likewise.
36207         (RUN_TEST_fFF_11): Likewise.
36208         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
36209         conditionals.
36210         (cosh_test_data): Likewise.
36211         (exp_test_data): Likewise.
36212         (expm1_test_data): Likewise.
36213         (hypot_test_data): Likewise.
36214         (pow_test_data): Likewise.
36215         (sinh_test_data): Likewise.
36216         (tanh_test_data): Likewise.
36217         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
36218         flags argument.
36220         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
36221         tests with quiet NaN input and output.
36222         (acosh_test_data): Likewise.
36223         (asin_test_data): Likewise.
36224         (asinh_test_data): Likewise.
36225         (atan_test_data): Likewise.
36226         (atanh_test_data): Likewise.
36227         (atan2_test_data): Likewise.
36228         (cbrt_test_data): Likewise.
36229         (cos_test_data): Likewise.
36230         (cosh_test_data): Likewise.
36231         (erf_test_data): Likewise.
36232         (erfc_test_data): Likewise.
36233         (exp_test_data): Likewise.
36234         (exp10_test_data): Likewise.
36235         (exp2_test_data): Likewise.
36236         (expm1_test_data): Likewise.
36237         (hypot_test_data): Likewise.
36238         (j0_test_data): Likewise.
36239         (j1_test_data): Likewise.
36240         (jn_test_data): Likewise.
36241         (lgamma_test_data): Likewise.
36242         (log_test_data): Likewise.
36243         (log10_test_data): Likewise.
36244         (log1p_test_data): Likewise.
36245         (log2_test_data): Likewise.
36246         (pow_test_data): Likewise.
36247         (scalb_test_data): Likewise.
36248         (sin_test_data): Likewise.
36249         (sincos_test_data): Likewise.
36250         (sinh_test_data): Likewise.
36251         (tan_test_data): Likewise.
36252         (tanh_test_data): Likewise.
36253         (tgamma_test_data): Likewise.
36254         (y0_test_data): Likewise.
36255         (y1_test_data): Likewise.
36256         (yn_test_data): Likewise.
36258         [BZ #16167]
36259         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
36260         argument being NaN and avoid computations with second argument in
36261         that case.
36262         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36263         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
36264         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36266 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
36268         * locale/iso-639.def: Add Chitwani Tharu (the).
36270 2013-11-14  Andreas Schwab  <schwab@suse.de>
36272         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
36273         word instead of empty string.
36275 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36278         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
36279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36280         (__fe_nomask_env): Likewise.
36282 2013-11-13  Steve Ellcey  <sellcey@mips.com>
36284         * benchtests/bench-timing.h: Include time.h.
36286 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
36288         [BZ #15997]
36289         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
36290         to 3.4.0 for x32.
36291         * sysdeps/unix/sysv/linux/configure: Regenerated.
36293 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
36295         [BZ #16151]
36296         * stdlib/strtod_l.c (round_and_return): Do not consider
36297         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
36298         exponent one less than half the least subnormal exponent.
36299         * stdlib/test-strtod-round-data: Add more tests.
36300         * stdlib/tst-strtod-round.c (tests): Regenerated.
36302 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36304         [BZ #14143]
36305         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
36306         (__fe_mask_env): Likewise.
36307         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
36308         libm_hidden_proto and add function prototype.
36309         (__fe_mask_env): Add function prototype.
36310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36311         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
36312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36313         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
36314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36315         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
36317 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36319         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
36320         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
36322 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36324         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
36325         of htab_find_slot().
36327 2013-11-11  David S. Miller  <davem@davemloft.net>
36329         [BZ #16150]
36330         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
36331         symbol in the non-vis3 case in static builds.
36332         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
36333         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
36334         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
36335         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
36337 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
36339         [BZ #387]
36340         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
36341         it is empty.
36343 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36345         * benchtests/Makefile: Add bench-strtod.
36346         * benchtests/bench-strtod.c: New file: strtod benchtest
36348 2013-11-11  Andreas Schwab  <schwab@suse.de>
36350         [BZ #16153]
36351         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
36352         terminating NUL in key length.
36354 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36356         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
36357         Add artificial ODP entry for vDSO symbol for PPC64.
36358         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
36359         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
36361 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
36363         [BZ #15374]
36364         * nss/getent.c (services_keys): Recognize services starting with digit.
36366 2013-11-06  David S. Miller  <davem@davemloft.net>
36368         [BZ #15985]
36369         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
36370         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
36372 2013-11-06  Will Newton  <will.newton@linaro.org>
36374         * manual/memory.texi (Malloc Examples): Remove register
36375         keyword from examples.
36377 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
36379         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
36381 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
36383         [BZ #6981]
36384         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
36385         depending on [__GCC_IEC_559 > 0].
36386         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
36387         depending on [__GCC_IEC_559_COMPLEX > 0].
36389 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
36391         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
36392         to iso-639.def.
36394 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
36396         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
36398 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
36400         [BZ #16112]
36401         * malloc/malloc (malloc_info): Do not handle first bin as
36402         special case.
36404 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
36406         * locale/iso-639.def: Add Central Nahuatl (nhn).
36408 2013-11-01  Bruno Haible  <bruno@clisp.org>
36410         [BZ #7003]
36411         * manual/math.texi (BSD Random): Specify range upper bound as
36412         in POSIX.
36414 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
36416         * locale/iso-639.def: Add Meadow Mari (mhr).
36418 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
36420         [BZ #14752], [BZ #15763]
36421         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
36422         Validate name.
36423         * rt/tst_shm.c: Add test for escaping directory.
36425 2013-10-31  Andreas Schwab  <schwab@suse.de>
36427         [BZ #15917]
36428         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
36429         followed by 'x' as part of digit sequence.
36430         * stdio-common/tst-sscanf.c (double_tests2): New tests.
36432 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
36434         [BZ #16037]
36435         * configure.ac: allow GNU Make 4.0 and greater.
36436         * configure: Regenerated.
36438 2013-10-30  Will Newton  <will.newton@linaro.org>
36440         [BZ #16038]
36441         * malloc/hooks.c (memalign_check): Limit alignment to the
36442         maximum representable power of two.
36443         * malloc/malloc.c (__libc_memalign): Likewise.
36444         * malloc/tst-memalign.c (do_test): Add test for very
36445         large alignment values.
36446         * malloc/tst-posix_memalign.c (do_test): Likewise.
36448 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
36450         [BZ #11087]
36451         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
36452         (munmap_chunk): Likewise.
36453         (mremap_chunk): Likewise.
36455 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
36457         [BZ #15799]
36458         * stdlib/div.c (div): Remove obsolete code.
36459         * stdlib/ldiv.c (ldiv): Likewise.
36460         * stdlib/lldiv.c (lldiv): Likewise.
36462 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36464         [BZ #16071]
36465         * nss/nss_files/files-XXX.c (get_contents_ret): New
36466         enumerator.
36467         (get_contents): New function.
36468         (internal_getent): Use it.  Expand size of LINEBUFLEN.
36470 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
36472         * configure.in: Moved to ...
36473         * configure.ac: ... here. Change reference to configure.in
36474         to configure.ac.
36475         * sysdeps/arm/preconfigure.ac: ... here.
36476         configure.in to configure.ac.
36477         * sysdeps/gnu/configure.in: Moved to ...
36478         * sysdeps/gnu/configure.ac: ... here.
36479         * sysdeps/i386/configure.in: Moved to ...
36480         * sysdeps/i386/configure.ac: ... here.
36481         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
36482         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
36483         * sysdeps/mach/configure.in: Moved to ...
36484         * sysdeps/mach/configure.ac: ... here.
36485         * sysdeps/mach/hurd/configure.in: Moved to ...
36486         * sysdeps/mach/hurd/configure.ac: ... here.
36487         * sysdeps/powerpc/configure.in: Moved to ...
36488         * sysdeps/powerpc/configure.ac: ... here.
36489         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
36490         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
36491         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
36492         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
36493         * sysdeps/s390/s390-32/configure.in: Moved to ...
36494         * sysdeps/s390/s390-32/configure.ac: ... here.
36495         * sysdeps/s390/s390-64/configure.in: Moved to ...
36496         * sysdeps/s390/s390-64/configure.ac: ... here.
36497         * sysdeps/sh/configure.in: Moved to ...
36498         * sysdeps/sh/configure.ac: ... here.
36499         * sysdeps/sparc/configure.in: Moved to ...
36500         * sysdeps/sparc/configure.ac: ... here.
36501         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
36502         * sysdeps/unix/sysv/linux/configure.ac: ... here.
36503         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
36504         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
36505         * sysdeps/x86_64/configure.in: Moved to ...
36506         * sysdeps/x86_64/configure.ac: ... here.
36507         * sysdeps/x86_64/preconfigure.in: Moved to ...
36508         * sysdeps/x86_64/preconfigure.ac: ... here.
36509         * aclocal.m4: Change reference to configure.in to configure.ac.
36510         * config.h.in: Likewise.
36511         * manual/install.texi: Likewise.
36512         * manual/maint.texi: Likewise.
36513         * Makefile: Likewise.
36514         * malloc/Makefile: Likewise.
36515         * nscd/Makefile: Likewise.
36516         * Makeconfig: Change reference to configure.in and
36517         preconfigure.in to configure.ac and preconfigure.ac
36518         respectively.
36519         * INSTALL: Regenerated.
36520         * configure: Likewise.
36521         * sysdeps/gnu/configure: Likewise.
36522         * sysdeps/i386/configure: Likewise.
36523         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
36524         * sysdeps/mach/configure: Likewise.
36525         * sysdeps/mach/hurd/configure: Likewise.
36526         * sysdeps/powerpc/configure: Likewise.
36527         * sysdeps/powerpc/powerpc32/configure: Likewise.
36528         * sysdeps/powerpc/powerpc64/configure: Likewise.
36529         * sysdeps/s390/s390-32/configure: Likewise.
36530         * sysdeps/s390/s390-64/configure: Likewise.
36531         * sysdeps/sh/configure: Likewise.
36532         * sysdeps/sparc/configure: Likewise.
36533         * sysdeps/unix/sysv/linux/configure: Likewise.
36534         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
36535         * sysdeps/x86_64/configure: Likewise.
36536         * sysdeps/x86_64/preconfigure: Likewise.
36538 2013-10-29  Andreas Schwab  <schwab@suse.de>
36540         * stdio-common/Makefile (tst-swscanf-ENV): Define.
36542 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36544         * benchtests/pow-inputs: Add new inputs.
36546         * benchtests/exp-inputs: Add new inputs.
36548         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
36549         conditional check for return value.
36550         (__cos32): Likewise.
36552 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36554         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
36555         to provide a boost for large inputs with word alignment.
36556         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
36557         implementation based on optimized PPC64 strcpy.
36558         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
36559         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
36560         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
36561         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
36563 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
36565         [BZ #2801]
36566         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
36568 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
36570         [BZ #14876]
36571         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
36572         * time/tst-strptime.c (day_tests): Add testcase.
36574 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
36576         [BZ #14029]
36577         * manual/pattern.texi: Acknowledge that fnmatch can fail.
36579 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
36581         [BZ #16074]
36582         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
36583         MAP_FAILED on error.
36585 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36587         [BZ #16072]
36588         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
36589         heap for large requests.
36591 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
36593         [BZ #9954]
36594         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
36595         result if the result has no associated interface.
36596         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
36597         interface for all 127.X.Y.Z addresses.
36599 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
36601         * locale/iso-639.def: Add Ligurian (lij)
36603 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
36605         [BZ #15825]
36606         * sunrpc/rpc_main.c: Document rpcgen -5.
36608 2013-10-19  Michael Stahl  <mstahl@redhat.com>
36610         * elf/rtld.c (do_preload): Print the reason why preloading failed.
36612 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
36614         [BZ #10278]
36615         * posix/glob.c: Match only directories when trailing slash is present.
36616         * posix/tst-gnuglob.c (my_opendir): Do not open files.
36617         (main): Add testcase.
36619 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
36621         [BZ #15670]
36622         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
36624 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
36626         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
36627         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
36628         AUTH_DES and cindex for FIPS 140-2.
36629         (DES Encryption): Add cindex FIPS 46-3.
36631         * locale/locarchive.h (struct locarhandle): Add fname.
36632         * locale/programs/localedef.c (main): Pass ARGV[remaining]
36633         if an optional argument was specified to --list-archive,
36634         otherwise NULL.
36635         * locale/programs/locarchive.c (show_archive_content): Take new
36636         argument fname and pass it via ah.fname to open_archive.
36637         * locale/programs/localedef.h: Update decl.
36638         (open_archive): If AH->fname is non-null, open that file
36639         rather than the default file name, and don't ignore ENOENT.
36640         (create_archive): Set AH.fname to NULL.
36641         (delete_locales_from_archive): Likewise.
36642         (add_locales_to_archive): Likewise.
36643         * locale/programs/locfile.c (write_all_categories): Likewise.
36645 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
36646             Aldy Hernandez  <aldyh@redhat.com>
36648         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
36649         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
36650         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
36651         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
36652         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
36653         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
36654         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
36655         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
36656         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
36657         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
36658         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
36659         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
36660         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
36661         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
36662         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
36663         Likewise.
36664         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
36665         Likewise.
36666         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
36667         Likewise.
36668         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
36669         Likewise.
36670         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
36671         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
36672         Likewise.
36673         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
36674         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
36675         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
36676         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
36677         Likewise.
36678         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
36679         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
36680         * sysdeps/powerpc/preconfigure: Likewise.
36681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
36682         Likewise.
36683         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
36684         Replace contents of file by #include of <fenv_libc.h>.
36685         * sysdeps/powerpc/soft-fp/sfp-machine.h
36686         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
36687         and <sys/prctl.h>.
36688         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
36689         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
36690         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
36691         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
36692         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
36693         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
36694         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
36695         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
36696         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
36697         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
36698         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
36699         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
36700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
36701         Allow copysignl PLT reference to be missing.
36703 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
36704             Joseph Myers  <joseph@codesourcery.com
36706         [BZ #15948]
36707         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
36708         single character.
36709         (add_to_tablewc): Assert sequence of wide characters is nonempty.
36711 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36713         * elf/tst-tls-dlinfo.c: Don't include tls.h.
36714         * elf/tst-tls1.c: Likewise.
36715         * elf/tst-tls10.h: Likewise.
36716         * elf/tst-tls14.c: Likewise.
36717         * elf/tst-tls2.c: Likewise.
36718         * elf/tst-tls3.c: Likewise.
36719         * elf/tst-tls4.c: Likewise.
36720         * elf/tst-tls5.c: Likewise.
36721         * elf/tst-tls6.c: Likewise.
36722         * elf/tst-tls7.c: Likewise.
36723         * elf/tst-tls8.c: Likewise.
36724         * elf/tst-tls9.c: Likewise.
36725         * elf/tst-tlsmod1.c: Likewise.
36726         * elf/tst-tlsmod13.c: Likewise.
36727         * elf/tst-tlsmod13a.c: Likewise.
36728         * elf/tst-tlsmod14a.c: Likewise.
36729         * elf/tst-tlsmod16a.c: Likewise.
36730         * elf/tst-tlsmod16b.c: Likewise.
36731         * elf/tst-tlsmod2.c: Likewise.
36732         * elf/tst-tlsmod3.c: Likewise.
36733         * elf/tst-tlsmod4.c: Likewise.
36734         * elf/tst-tlsmod5.c: Likewise.
36735         * elf/tst-tlsmod6.c: Likewise.
36737 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
36739         [BZ #12486]
36740         * malloc/malloc.c: remove checks for statistics.
36742 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
36744         [BZ #15277]
36745         * inet/inet_net.c (inet_network): Detect additional invalid strings.
36746         * inet/tst-network.c: Add testcase.
36748 2013-10-17  Andreas Schwab  <schwab@suse.de>
36750         [BZ #15218]
36751         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
36752         to determine canonical name.
36754 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
36756         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
36757         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
36758         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36759         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36760         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36761         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36762         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36763         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36764         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
36765         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36766         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36767         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36768         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36769         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36770         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36771         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36772         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36773         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36774         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36775         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36776         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36777         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36778         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36779         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
36780         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
36781         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36782         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36783         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
36784         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36785         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
36786         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36787         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36788         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36789         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36790         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36791         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36792         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36793         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36794         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36795         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36796         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36797         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36798         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36799         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36800         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36801         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36802         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36803         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36804         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36805         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36806         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36807         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36808         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36809         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36810         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36811         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36812         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36813         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36815 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
36817         [BZ #16041]
36818         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
36819         make result into a quiet NaN.
36821 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
36823         * soft-fp/adddf3.c: Fix horizontal whitespace.
36824         * soft-fp/addsf3.c: Likewise.
36825         * soft-fp/addtf3.c: Likewise.
36826         * soft-fp/divdf3.c: Likewise.
36827         * soft-fp/divsf3.c: Likewise.
36828         * soft-fp/divtf3.c: Likewise.
36829         * soft-fp/double.h: Likewise.
36830         * soft-fp/eqdf2.c: Likewise.
36831         * soft-fp/eqsf2.c: Likewise.
36832         * soft-fp/eqtf2.c: Likewise.
36833         * soft-fp/extenddftf2.c: Likewise.
36834         * soft-fp/extended.h: Likewise.
36835         * soft-fp/extendsfdf2.c: Likewise.
36836         * soft-fp/extendsftf2.c: Likewise.
36837         * soft-fp/extendxftf2.c: Likewise.
36838         * soft-fp/fixdfdi.c: Likewise.
36839         * soft-fp/fixdfsi.c: Likewise.
36840         * soft-fp/fixdfti.c: Likewise.
36841         * soft-fp/fixsfdi.c: Likewise.
36842         * soft-fp/fixsfsi.c: Likewise.
36843         * soft-fp/fixsfti.c: Likewise.
36844         * soft-fp/fixtfdi.c: Likewise.
36845         * soft-fp/fixtfsi.c: Likewise.
36846         * soft-fp/fixtfti.c: Likewise.
36847         * soft-fp/fixunsdfdi.c: Likewise.
36848         * soft-fp/fixunsdfsi.c: Likewise.
36849         * soft-fp/fixunsdfti.c: Likewise.
36850         * soft-fp/fixunssfdi.c: Likewise.
36851         * soft-fp/fixunssfsi.c: Likewise.
36852         * soft-fp/fixunssfti.c: Likewise.
36853         * soft-fp/fixunstfdi.c: Likewise.
36854         * soft-fp/fixunstfsi.c: Likewise.
36855         * soft-fp/fixunstfti.c: Likewise.
36856         * soft-fp/floatdidf.c: Likewise.
36857         * soft-fp/floatdisf.c: Likewise.
36858         * soft-fp/floatditf.c: Likewise.
36859         * soft-fp/floatsidf.c: Likewise.
36860         * soft-fp/floatsisf.c: Likewise.
36861         * soft-fp/floatsitf.c: Likewise.
36862         * soft-fp/floattidf.c: Likewise.
36863         * soft-fp/floattisf.c: Likewise.
36864         * soft-fp/floattitf.c: Likewise.
36865         * soft-fp/floatundidf.c: Likewise.
36866         * soft-fp/floatundisf.c: Likewise.
36867         * soft-fp/floatunditf.c: Likewise.
36868         * soft-fp/floatunsidf.c: Likewise.
36869         * soft-fp/floatunsisf.c: Likewise.
36870         * soft-fp/floatunsitf.c: Likewise.
36871         * soft-fp/floatuntidf.c: Likewise.
36872         * soft-fp/floatuntisf.c: Likewise.
36873         * soft-fp/floatuntitf.c: Likewise.
36874         * soft-fp/fmadf4.c: Likewise.
36875         * soft-fp/fmasf4.c: Likewise.
36876         * soft-fp/fmatf4.c: Likewise.
36877         * soft-fp/gedf2.c: Likewise.
36878         * soft-fp/gesf2.c: Likewise.
36879         * soft-fp/getf2.c: Likewise.
36880         * soft-fp/ledf2.c: Likewise.
36881         * soft-fp/lesf2.c: Likewise.
36882         * soft-fp/letf2.c: Likewise.
36883         * soft-fp/muldf3.c: Likewise.
36884         * soft-fp/mulsf3.c: Likewise.
36885         * soft-fp/multf3.c: Likewise.
36886         * soft-fp/negdf2.c: Likewise.
36887         * soft-fp/negsf2.c: Likewise.
36888         * soft-fp/negtf2.c: Likewise.
36889         * soft-fp/op-1.h: Likewise.
36890         * soft-fp/op-2.h: Likewise.
36891         * soft-fp/op-4.h: Likewise.
36892         * soft-fp/op-8.h: Likewise.
36893         * soft-fp/op-common.h: Likewise.
36894         * soft-fp/quad.h: Likewise.
36895         * soft-fp/single.h: Likewise.
36896         * soft-fp/soft-fp.h: Likewise.
36897         * soft-fp/sqrtdf2.c: Likewise.
36898         * soft-fp/sqrtsf2.c: Likewise.
36899         * soft-fp/sqrttf2.c: Likewise.
36900         * soft-fp/subdf3.c: Likewise.
36901         * soft-fp/subsf3.c: Likewise.
36902         * soft-fp/subtf3.c: Likewise.
36903         * soft-fp/truncdfsf2.c: Likewise.
36904         * soft-fp/trunctfdf2.c: Likewise.
36905         * soft-fp/trunctfsf2.c: Likewise.
36906         * soft-fp/trunctfxf2.c: Likewise.
36907         * soft-fp/unorddf2.c: Likewise.
36908         * soft-fp/unordsf2.c: Likewise.
36909         * soft-fp/unordtf2.c: Likewise.
36911 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
36913         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
36914         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
36916 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
36918         * elf/dl-libc.c: Clear initfini list after freeing.
36920 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
36922         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
36923         * soft-fp/addsf3.c: Likewise.
36924         * soft-fp/addtf3.c: Likewise.
36925         * soft-fp/divdf3.c: Likewise.
36926         * soft-fp/divsf3.c: Likewise.
36927         * soft-fp/divtf3.c: Likewise.
36928         * soft-fp/double.h: Likewise.
36929         * soft-fp/eqdf2.c: Likewise.
36930         * soft-fp/eqsf2.c: Likewise.
36931         * soft-fp/eqtf2.c: Likewise.
36932         * soft-fp/extenddftf2.c: Likewise.
36933         * soft-fp/extended.h: Likewise.
36934         * soft-fp/extendsfdf2.c: Likewise.
36935         * soft-fp/extendsftf2.c: Likewise.
36936         * soft-fp/extendxftf2.c: Likewise.
36937         * soft-fp/fixdfdi.c: Likewise.
36938         * soft-fp/fixdfsi.c: Likewise.
36939         * soft-fp/fixdfti.c: Likewise.
36940         * soft-fp/fixsfdi.c: Likewise.
36941         * soft-fp/fixsfsi.c: Likewise.
36942         * soft-fp/fixsfti.c: Likewise.
36943         * soft-fp/fixtfdi.c: Likewise.
36944         * soft-fp/fixtfsi.c: Likewise.
36945         * soft-fp/fixtfti.c: Likewise.
36946         * soft-fp/fixunsdfdi.c: Likewise.
36947         * soft-fp/fixunsdfsi.c: Likewise.
36948         * soft-fp/fixunsdfti.c: Likewise.
36949         * soft-fp/fixunssfdi.c: Likewise.
36950         * soft-fp/fixunssfsi.c: Likewise.
36951         * soft-fp/fixunssfti.c: Likewise.
36952         * soft-fp/fixunstfdi.c: Likewise.
36953         * soft-fp/fixunstfsi.c: Likewise.
36954         * soft-fp/fixunstfti.c: Likewise.
36955         * soft-fp/floatdidf.c: Likewise.
36956         * soft-fp/floatdisf.c: Likewise.
36957         * soft-fp/floatditf.c: Likewise.
36958         * soft-fp/floatsidf.c: Likewise.
36959         * soft-fp/floatsisf.c: Likewise.
36960         * soft-fp/floatsitf.c: Likewise.
36961         * soft-fp/floattidf.c: Likewise.
36962         * soft-fp/floattisf.c: Likewise.
36963         * soft-fp/floattitf.c: Likewise.
36964         * soft-fp/floatundidf.c: Likewise.
36965         * soft-fp/floatundisf.c: Likewise.
36966         * soft-fp/floatunsidf.c: Likewise.
36967         * soft-fp/floatunsisf.c: Likewise.
36968         * soft-fp/floatuntidf.c: Likewise.
36969         * soft-fp/floatuntisf.c: Likewise.
36970         * soft-fp/floatuntitf.c: Likewise.
36971         * soft-fp/fmadf4.c: Likewise.
36972         * soft-fp/fmasf4.c: Likewise.
36973         * soft-fp/fmatf4.c: Likewise.
36974         * soft-fp/gedf2.c: Likewise.
36975         * soft-fp/gesf2.c: Likewise.
36976         * soft-fp/getf2.c: Likewise.
36977         * soft-fp/ledf2.c: Likewise.
36978         * soft-fp/lesf2.c: Likewise.
36979         * soft-fp/letf2.c: Likewise.
36980         * soft-fp/muldf3.c: Likewise.
36981         * soft-fp/mulsf3.c: Likewise.
36982         * soft-fp/multf3.c: Likewise.
36983         * soft-fp/negdf2.c: Likewise.
36984         * soft-fp/negsf2.c: Likewise.
36985         * soft-fp/negtf2.c: Likewise.
36986         * soft-fp/op-1.h: Likewise.
36987         * soft-fp/op-2.h: Likewise.
36988         * soft-fp/op-4.h: Likewise.
36989         * soft-fp/op-8.h: Likewise.
36990         * soft-fp/op-common.h: Likewise.
36991         * soft-fp/quad.h: Likewise.
36992         * soft-fp/single.h: Likewise.
36993         * soft-fp/soft-fp.h: Likewise.
36994         * soft-fp/sqrtdf2.c: Likewise.
36995         * soft-fp/sqrtsf2.c: Likewise.
36996         * soft-fp/sqrttf2.c: Likewise.
36997         * soft-fp/subdf3.c: Likewise.
36998         * soft-fp/subsf3.c: Likewise.
36999         * soft-fp/subtf3.c: Likewise.
37000         * soft-fp/truncdfsf2.c: Likewise.
37001         * soft-fp/trunctfdf2.c: Likewise.
37002         * soft-fp/trunctfsf2.c: Likewise.
37003         * soft-fp/trunctfxf2.c: Likewise.
37004         * soft-fp/unorddf2.c: Likewise.
37005         * soft-fp/unordsf2.c: Likewise.
37006         * soft-fp/unordtf2.c: Likewise.
37008 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
37010         [BZ #15672]
37011         * misc/error.c (error_tail): Fix possible buffer overflow.
37013 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
37015         [BZ #13028]
37016         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
37017         address.
37019 2013-10-14  P. J. McDermott  <pj@pehjota.net>
37021         [BZ #832]
37022         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
37023         testing pipefail option.
37025 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
37027         * soft-fp/double.h: Indent preprocessor directives inside #if.
37028         * soft-fp/extended.h: Likewise.
37029         * soft-fp/op-2.h: Likewise.
37030         * soft-fp/op-4.h: Likewise.
37031         * soft-fp/op-common.h: Likewise.
37032         * soft-fp/quad.h: Likewise.
37033         * soft-fp/single.h: Likewise.
37034         * soft-fp/soft-fp.h: Likewise.
37036 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
37038         * iconv/iconv_prog.c: Fix typos.
37039         * stdio-common/psiginfo-data.h: Likewise.
37041 2013-10-12   Reuben Thomas <rrt@sc3d.org>
37043         [BZ #15764]
37044         * locale/setlocale.c: Fix typo.
37046 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
37048         [BZ #16036]
37049         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
37050         signaling NaN arguments.
37051         * soft-fp/unordsf2.c (__unordsf2): Likewise.
37052         * soft-fp/unordtf2.c (__unordtf2): Likewise.
37054         [BZ #14910]
37055         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
37056         unordered operands.
37057         * soft-fp/gesf2.c (__gesf2): Likewise.
37058         * soft-fp/getf2.c (__getf2): Likewise.
37059         * soft-fp/ledf2.c (__ledf2): Likewise.
37060         * soft-fp/lesf2.c (__lesf2): Likewise.
37061         * soft-fp/letf2.c (__letf2): Likewise.
37063         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
37064         * soft-fp/eqsf2.c (__eqsf2): Likewise.
37065         * soft-fp/eqtf2.c (__eqtf2): Likewise.
37066         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
37067         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
37068         * soft-fp/fixdfti.c (__fixdfti): Likewise.
37069         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
37070         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
37071         * soft-fp/fixsfti.c (__fixsfti): Likewise.
37072         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
37073         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
37074         * soft-fp/fixtfti.c (__fixtfti): Likewise.
37075         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
37076         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
37077         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
37078         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
37079         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
37080         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
37081         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
37082         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
37083         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
37084         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
37085         * soft-fp/floatdisf.c (__floatdisf): Likewise.
37086         * soft-fp/floatsisf.c (__floatsisf): Likewise.
37087         * soft-fp/floattidf.c (__floattidf): Likewise.
37088         * soft-fp/floattisf.c (__floattisf): Likewise.
37089         * soft-fp/floattitf.c (__floattitf): Likewise.
37090         * soft-fp/floatundidf.c (__floatundidf): Likewise.
37091         * soft-fp/floatundisf.c (__floatundisf): Likewise.
37092         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
37093         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
37094         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
37095         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
37096         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
37097         * soft-fp/gesf2.c (__gesf2): Likewise.
37098         * soft-fp/getf2.c (__getf2): Likewise.
37099         * soft-fp/ledf2.c (__ledf2): Likewise.
37100         * soft-fp/lesf2.c (__lesf2): Likewise.
37101         * soft-fp/letf2.c (__letf2): Likewise.
37103         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
37104         Undefine and redefine.
37105         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
37106         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
37107         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
37108         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
37109         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37110         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
37111         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37112         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
37113         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37114         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
37115         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37116         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
37117         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37118         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
37119         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37121         [BZ #16032]
37122         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
37123         without decrementing exponent if mantissa >= that for the
37124         denominator, not >.
37125         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
37126         denominator, not >.  Decrement exponent in < case instead of
37127         incrementing in >= case.
37128         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
37129         without decrementing exponent if mantissa >= that for the
37130         denominator, not >.
37132         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
37133         computing saturated result for unsigned overflow.
37135 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37136             Jeff Law  <law@redhat.com>
37138         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
37139         (atan2Mp): Add systemtap probe marker.
37140         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
37141         (__ieee754_log): Add systemtap probe marker.
37142         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
37143         (atanMp): Add systemtap probe marker.
37144         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
37145         (tanMp): Add systemtap probe marker.
37146         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
37147         (__slowexp): Add systemtap probe marker.
37148         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
37149         (__slowpow): Add systemtap probe marker.
37150         * manual/probes.texi: Document probes.
37152 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
37154         [BZ #15362]
37155         * libio/fileops.c (_IO_new_file_write): Return count of bytes
37156         written.
37157         (_IO_new_file_xsputn): Don't return EOF if nothing has been
37158         written.
37159         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
37160         written to buffer but not flushed.
37161         * libio/iofwrite_u.c:  Likewise.
37162         * libio/iopadn.c:  Return bytes returned even if EOF was
37163         encountered.
37164         * libio/iowpadn.c:  Likewise.
37165         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
37166         if _IO_padn does not write the whole buffer.
37167         [!COMPILE_WPRINTF] (PAD): Likewise.
37169 2013-10-10  David S. Miller  <davem@davemloft.net>
37171         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
37172         directory block.
37174 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
37176         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
37177         instead of FSF address.
37178         * soft-fp/fixdfti.c: Likewise.
37179         * soft-fp/fixsfti.c: Likewise.
37180         * soft-fp/fixtfti.c: Likewise.
37181         * soft-fp/fixunsdfti.c: Likewise.
37182         * soft-fp/fixunssfti.c: Likewise.
37183         * soft-fp/fixunstfti.c: Likewise.
37184         * soft-fp/floattidf.c: Likewise.
37185         * soft-fp/floattisf.c: Likewise.
37186         * soft-fp/floattitf.c: Likewise.
37187         * soft-fp/floatuntidf.c: Likewise.
37188         * soft-fp/floatuntisf.c: Likewise.
37189         * soft-fp/floatuntitf.c: Likewise.
37190         * soft-fp/trunctfxf2.c: Likewise.
37192         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
37193         * soft-fp/fixdfti.c: Likewise.
37194         * soft-fp/fixsfti.c: Likewise.
37195         * soft-fp/fixtfti.c: Likewise.
37196         * soft-fp/fixunsdfti.c: Likewise.
37197         * soft-fp/fixunssfti.c: Likewise.
37198         * soft-fp/fixunstfti.c: Likewise.
37199         * soft-fp/floattidf.c: Likewise.
37200         * soft-fp/floattisf.c: Likewise.
37201         * soft-fp/floattitf.c: Likewise.
37202         * soft-fp/floatuntidf.c: Likewise.
37203         * soft-fp/floatuntisf.c: Likewise.
37204         * soft-fp/floatuntitf.c: Likewise.
37205         * soft-fp/trunctfxf2.c: Likewise.
37207 2013-10-10  David S. Miller  <davem@davemloft.net>
37209         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37211 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
37213         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
37214         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
37215         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
37216         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
37217         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
37218         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
37219         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
37221         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
37222         for NaNs before doing comparisons on argument.
37223         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
37224         Likewise.
37226 2013-10-10  Will Newton  <will.newton@linaro.org>
37228         * malloc/hooks.c (memalign_check): Ensure the value of bytes
37229         passed to _int_memalign does not overflow.
37231 2013-10-10  Torvald Riegel  <triegel@redhat.com>
37233         * scripts/bench.pl: Add include-sources directive.
37234         * benchtests/README: Update documentation.
37236 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
37238         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
37239         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
37240         instead of FP_INIT_ROUNDMODE.
37241         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
37242         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
37244         [BZ #16034]
37245         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
37246         copy class of input value.
37247         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
37248         not handle exceptions.
37249         * soft-fp/negsf2.c (__negsf2): Likewise.
37250         * soft-fp/negtf2.c (__negtf2): Likewise.
37251         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
37253 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
37255         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
37256         semicolon.  From Linux kernel.
37258 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
37260         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
37262 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
37264         [BZ #156]
37265         * manual/socket.texi: Added statement about buffer
37266         for gethostbyname2_r.
37268 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
37270         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
37271         Use .p2align directive instead, throughout.
37272         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37273         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
37274         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
37275         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37276         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37277         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
37278         * sysdeps/x86_64/strchr.S: Likewise.
37279         * sysdeps/x86_64/strrchr.S: Likewise.
37281 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37283         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
37285         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
37287         * sysdeps/generic/math_private.h (__mpsin1): Remove
37288         declaration.
37289         (__mpcos1): Likewise.
37290         (__mpsin): New argument __range_reduce.
37291         (__mpcos): Likewise.
37292         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37293         (slow): Use __mpsin and __mpcos.
37294         (slow1): Likewise.
37295         (slow2): Likewise.
37296         (sloww): Likewise.
37297         (sloww1): Likewise.
37298         (sloww2): Likewise.
37299         (bsloww): Likewise.
37300         (bsloww1): Likewise.
37301         (bsloww2): Likewise.
37302         (cslow2): Likewise.
37303         (csloww): Likewise.
37304         (csloww1): Likewise.
37305         (csloww2): Likewise.
37306         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
37307         range_reduce.  Merge in __mpsin1.
37308         (__mpcos): Likewise.
37309         (__mpsin1): Remove.
37310         (__mpcos1): Likewise.
37312 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
37314         * locale/loadlocale.c (_nl_intern_locale_data): Use
37315         LOCFILE_ALIGNED_P.
37316         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
37317         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
37318         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
37319         obstack data is appropriately aligned.
37320         (obstack_int32_grow_fast): Likewise.
37321         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
37322         * locale/programs/locfile.c (add_locale_uint32): Likewise.
37323         (add_locale_uint32_array): Likewise.
37325 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37327         * benchtests/Makefile: Remove ARGLIST and RET variables.
37328         ($(objpfx)bench-%.c): Pass only function name to the script.
37329         * benchtests/README: Update documentation.
37330         * benchtests/acos-inputs: Add new directives.
37331         * benchtests/acosh-inputs: Likewise.
37332         * benchtests/asin-inputs: Likewise.
37333         * benchtests/asinh-inputs: Likewise.
37334         * benchtests/atan-inputs: Likewise.
37335         * benchtests/atanh-inputs: Likewise.
37336         * benchtests/cos-inputs: Likewise.
37337         * benchtests/cosh-inputs: Likewise.
37338         * benchtests/exp-inputs: Likewise.
37339         * benchtests/log-inputs: Likewise.
37340         * benchtests/pow-inputs: Likewise.
37341         * benchtests/rint-inputs: Likewise.
37342         * benchtests/sin-inputs: Likewise.
37343         * benchtests/sinh-inputs: Likewise.
37344         * benchtests/tan-inputs: Likewise.
37345         * benchtests/tanh-inputs: Likewise.
37346         * scripts/bench.pl: Add support for new directives.
37348 2013-10-07  Alan Modra  <amodra@gmail.com>
37350         * README: Fix careless merge.
37352 2013-10-05  Alan Modra  <amodra@gmail.com>
37354         * NEWS: Mention powerpc64le support and bugs fixed.
37355         * README: Both big-endian and little-endian powerpc64 supported.
37357 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37359         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
37360         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
37361         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
37362         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
37364 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
37366         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
37367         match prototype.
37369 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
37371         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
37372         Move -mhard-float appending from
37373         ports/sysdeps/powerpc/powerpc32/Makefile.
37374         [$(with-fp) = yes] (ASFLAGS): Likewise.
37375         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
37376         * sysdeps/powerpc/nofpu: Move directory from
37377         ports/sysdeps/powerpc/nofpu.
37378         * sysdeps/powerpc/soft-fp: Move directory from
37379         ports/sysdeps/powerpc/soft-fp.
37380         * sysdeps/powerpc/powerpc32/405: Move directory from
37381         ports/sysdeps/powerpc/powerpc32/405.
37382         * sysdeps/powerpc/powerpc32/440: Move directory from
37383         ports/sysdeps/powerpc/powerpc32/440.
37384         * sysdeps/powerpc/powerpc32/464: Move directory from
37385         ports/sysdeps/powerpc/powerpc32/464.
37386         * sysdeps/powerpc/powerpc32/476: Move directory from
37387         ports/sysdeps/powerpc/powerpc32/476.
37388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
37389         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
37390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
37391         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
37392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
37393         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
37394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
37395         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
37396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
37397         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
37398         * README: Update for powerpc-*-linux-gnu software floating point
37399         support in libc.
37401         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
37402         case to powerpc/powerpc32*.
37403         * sysdeps/unix/sysv/linux/configure: Regenerated.
37405         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
37406         (_FPU_MASK_OM): Define as 0x04.
37407         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
37408         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
37409         0x00c10080.
37410         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
37411         0x0000003c.
37412         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
37414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
37415         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
37416         getcontext_e500.
37417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
37418         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
37419         setcontext_e500.
37420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
37421         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
37422         and setcontext_e500.
37424 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
37426         * locale/iso-3166.def: Update iso-1366.def and related occurrences
37428 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37430         * manual/threads.texi (Default Thread Attributes): Fix typo.
37432 2013-10-04  Will Newton  <will.newton@linaro.org>
37434         * malloc/Makefile: Add tst-memalign.
37435         * malloc/tst-memalign.c: New file.
37437         * malloc/tst-posix_memalign.c: Add comments.
37438         (do_test): Add comments and call free on all potentially
37439         allocated pointers. Add space after cast.
37441         * malloc/tst-pvalloc.c: Add comments.
37442         (do_test): Add comments and call free on all potentially
37443         allocated pointers. Remove duplicate check for NULL pointer.
37444         Add space after cast.
37446         * malloc/tst-valloc.c: Add comments.
37447         (do_test): Add comments and call free on all potentially
37448         allocated pointers. Remove duplicate check for NULL pointer.
37449         Add space after cast.
37451 2013-10-04  Alan Modra  <amodra@gmail.com>
37453         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
37454         Use stdint types in rather than __attribute__((mode())).
37455         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37457 2013-10-04  Alan Modra  <amodra@gmail.com>
37459         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
37460         Correct handling of unaligned relocs for little-endian.
37461         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37463 2013-10-04  Alan Modra  <amodra@gmail.com>
37465         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
37466         * configure: Regenerate.
37467         * nptl/shlib-versions: Powerpc*le starts at 2.18.
37468         * shlib-versions: Likewise.
37470 2013-10-04  Alan Modra  <amodra@gmail.com>
37472         * string/tester.c (test_memrchr): Increment reported test cycle.
37474 2013-10-04  Alan Modra  <amodra@gmail.com>
37476         * string/test-memcpy.c (do_one_test): When reporting errors, print
37477         string address and don't overrun end of string.
37479 2013-10-04  Alan Modra  <amodra@gmail.com>
37481         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
37482         insrdi.  Make better use of reg selection to speed exit slightly.
37483         Schedule entry path a little better.  Remove useless "are we done"
37484         checks on entry to main loop.  Handle wrapping around zero address.
37485         Correct main loop count.  Handle single left-over word from main
37486         loop inline rather than by using loop_small.  Remove extra word
37487         case in loop_small caused by wrong loop count.  Add little-endian
37488         support.
37489         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
37490         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
37491         cache hint.
37492         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
37493         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
37494         support.  Avoid rlwimi.
37495         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
37497 2013-10-04  Alan Modra  <amodra@gmail.com>
37499         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
37500         insrdi.  Formatting.
37501         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
37502         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
37503         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
37504         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
37505         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
37506         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
37508 2013-10-04  Alan Modra  <amodra@gmail.com>
37510         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
37511         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37512         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
37513         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
37514         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
37515         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
37516         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37517         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
37518         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
37519         use of regs.  Use power7 mtocrf.  Tidy function tails.
37521 2013-10-04  Alan Modra  <amodra@gmail.com>
37523         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
37524         Formatting.  Consistently use rXXX register defines or rN defines.
37525         Use early exit labels that avoid restoring unused non-volatile regs.
37526         Make cr field use more consistent with rWORDn compares.  Rename
37527         regs used as shift registers for unaligned loop, using rN defines
37528         for short lifetime/multiple use regs.
37529         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
37530         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
37531         addi 1,1,64 to pop stack frame.  Simplify return value code.
37532         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37534 2013-10-04  Alan Modra  <amodra@gmail.com>
37536         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
37537         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
37538         rather than rlwimi.
37539         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
37540         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
37541         little-endian support.  Correct typos.
37542         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
37543         rather than rlwimi.
37544         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
37545         in loop and entry code to keep "and." results.
37546         (strchr): Add little-endian support.  Comment.  Move cntlzd
37547         earlier in tail.
37548         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
37550 2013-10-04  Alan Modra  <amodra@gmail.com>
37552         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
37553         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
37554         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
37555         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
37557 2013-10-04  Alan Modra  <amodra@gmail.com>
37559         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
37560         (rTMP): Define as r11.
37561         (strcmp): Add little-endian support.  Optimise tail.
37562         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
37563         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
37564         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
37565         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37566         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
37567         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37568         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37570 2013-10-04  Alan Modra  <amodra@gmail.com>
37572         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
37573         little-endian support.  Remove unnecessary "are we done" tests.
37574         Handle "s" wrapping around zero and extremely large "size".
37575         Correct main loop count.  Handle single left-over word from main
37576         loop inline rather than by using small_loop.  Correct comments.
37577         Delete "zero" tail, use "end_max" instead.
37578         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
37580 2013-10-04  Alan Modra  <amodra@gmail.com>
37582         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
37583         support.  Don't branch over align.
37584         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
37585         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
37586         support.  Rearrange tmp reg use to suit.  Comment.
37587         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
37589 2013-10-04  Alan Modra  <amodra@gmail.com>
37591         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
37593 2013-10-04  Alan Modra  <amodra@gmail.com>
37595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
37596         conditional form of branch and link when obtaining pc.
37597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
37599 2013-10-04  Alan Modra  <amodra@gmail.com>
37601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
37602         HIWORD/LOWORD.
37603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
37604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
37606 2013-10-04  Alan Modra  <amodra@gmail.com>
37608         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
37609         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
37610         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
37611         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
37612         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
37613         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
37614         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
37615         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37616         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
37617         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
37619 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
37620             Alistair Popple <alistair@ozlabs.au.ibm.com>
37621             Alan Modra <amodra@gmail.com>
37623         [BZ #15723]
37624         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
37625         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
37626         _dl_hwcap access for little-endian.
37627         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
37628         destroy vmx regs when saving unaligned.
37629         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
37630         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
37631         destroy vmx regs when saving unaligned.
37633 2013-10-04  Alan Modra  <amodra@gmail.com>
37635         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
37636         Don't use a union to pack hi/low value.
37638 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
37640         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
37641         for little-endian.
37642         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
37643         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
37644         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
37645         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
37646         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
37648 2013-10-04  Alan Modra  <amodra@gmail.com>
37650         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
37651         constants to usual value for .cst8 section, and remove redundant
37652         high address load.
37653         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
37654         constant for 0x1p52.  Load little-endian words of double from
37655         correct stack offsets.
37657 2013-10-04  Alan Modra  <amodra@gmail.com>
37659         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
37660         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
37661         words of double from correct stack offsets.
37662         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
37663         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
37664         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
37665         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
37666         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
37667         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
37668         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
37669         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
37670         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
37671         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
37672         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
37673         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
37674         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37675         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37676         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37677         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
37678         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
37680 2013-10-04  Alan Modra  <amodra@gmail.com>
37682         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
37683         64-bit int/double union.
37684         (_FPU_SETCW): Likewise.
37685         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
37686         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
37688 2013-10-04  Alan Modra  <amodra@gmail.com>
37690         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
37691         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
37693 2013-10-04  Alan Modra  <amodra@gmail.com>
37695         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
37696         use vector int constants.
37697         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
37699 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
37701         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
37702         array with long long.
37703         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
37704         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
37705         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
37706         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
37707         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
37708         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
37709         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
37710         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
37711         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
37712         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
37713         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
37714         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
37715         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
37717 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
37719         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
37720         (__signbit): Likewise.  Correct for little-endian.
37721         (__signbitl): Call __signbit.
37722         (lrint): Correct for little-endian.
37723         (lrintf): Call lrint.
37725 2013-10-04  Alan Modra  <amodra@gmail.com>
37727         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
37728         union 32-bit int array member with 64-bit int array.
37729         (t515, tm256): Double rather than long double.
37730         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
37732 2013-10-04  Alan Modra  <amodra@gmail.com>
37734         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
37735         Delete.
37736         (IEEE854_LONG_DOUBLE_BIAS): Delete.
37737         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
37738         version of math_ldbl.h.
37740 2013-10-04  Alan Modra  <amodra@gmail.com>
37742         [BZ #15734], [BZ #15735]
37743         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
37744         all uses of ieee875 long double macros and unions.  Simplify test
37745         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
37746         ldbl_extract_mantissa value for ix,iy exponents.  Properly
37747         normalize after ldbl_extract_mantissa, and don't add hidden bit
37748         already handled.  Don't treat low word of ieee854 mantissa like
37749         low word of IBM long double and mask off bit when testing for
37750         zero.
37751         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
37752         all uses of ieee875 long double macros and unions.  Simplify tests
37753         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
37754         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
37755         two1022, instead use their values.  Recognise that tests for large
37756         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
37757         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
37758         Rewrite all uses of ieee875 long double macros and unions.  Simplify
37759         test for 0.0L and nan.  Correct negation.
37760         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
37761         ieee875 long double macros and unions.  Correct output for large
37762         magnitude x.  Correct absolute value calculation.
37763         (__erfcl): Likewise.
37764         * math/libm-test.inc: Add tests for errors discovered in IBM long
37765         double versions of fmodl, remainderl, erfl and erfcl.
37767 2013-10-04  Alan Modra  <amodra@gmail.com>
37769         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
37770         all uses of ieee854 long double macros and unions.  Simplify tests
37771         for long doubles that are fully specified by the high double.
37772         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
37773         Likewise.
37774         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
37775         Remove dead code too.
37776         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
37777         (__ieee754_ynl): Likewise.
37778         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
37779         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
37780         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
37781         Remove dead code too.
37782         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
37783         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
37784         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
37785         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
37786         Simplify.
37787         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
37788         Simplify.
37789         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
37790         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
37791         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
37792         Comment on variable precision.
37793         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
37794         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37795         Likewise.
37796         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
37797         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37798         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37799         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
37800         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
37802 2013-10-04  Alan Modra  <amodra@gmail.com>
37804         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
37805         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
37806         all uses of ieee854 long double macros and unions.
37807         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
37808         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37809         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
37810         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
37811         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
37812         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37813         Likewise.
37814         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
37815         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37816         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
37817         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37818         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
37819         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
37820         Simplify sign and nan test too.
37821         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
37822         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
37823         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
37824         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
37825         Likewise.
37826         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
37827         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
37828         Likewise.
37829         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37830         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
37831         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
37832         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
37833         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
37834         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
37836 2013-10-04  Alan Modra  <amodra@gmail.com>
37838         * stdio-common/printf_size.c (__printf_size): Don't use
37839         union ieee854_long_double in fpnum union.
37840         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
37841         signbit macro to retrieve sign from long double.
37842         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
37843         retrieve sign from long double.
37844         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
37845         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
37846         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
37847         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37848         * math/test-misc.c (main): Don't use union ieee854_long_double.
37850 2013-10-04  Alan Modra  <amodra@gmail.com>
37852         [BZ #15680]
37853         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
37854         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
37855         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
37856         calculation.  Remove unnecessary test for denormal exponent.
37857         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
37858         Correct handling of denormals.  Avoid undefined shift behaviour.
37859         Correct normalisation of low mantissa when low double is denormal.
37860         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
37861         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
37862         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
37863         Correct normalisation of low mantissa.  Test for overflow of high
37864         mantissa and normalise.
37865         (ldbl_nearbyint): Use more readable constant for two52.
37866         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
37867         (__mpn_construct_long_double): Fix test for overflow of high
37868         mantissa and correct normalisation.  Avoid undefined shift.
37870 2013-10-04  Alan Modra  <amodra@gmail.com>
37872         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
37873         (union ibm_extended_long_double): Define as an array of ieee754_double.
37874         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
37875         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
37876         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
37877         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37878         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37879         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
37880         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
37881         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
37882         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37883         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
37884         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37886 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
37888         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
37889         page size instead of calling getpagesize.
37891         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
37892         (LOCFILE_ALIGN_MASK): Likewise.
37893         (LOCFILE_ALIGN_UP): Likewise.
37894         (LOCFILE_ALIGNED_P): Likewise.
37895         * locale/programs/ld-collate.c (collate_output): Use the new
37896         macros instead of __alignof__ (int32_t).
37897         * locale/weight.h (findidx): Likewise.
37899 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
37901         [BZ #431]
37902         * manual/string.texi: Fix strncat and wcsncat.
37904 2013-10-03  Brooks Moses  <bmoses@google.com>
37906         [BZ #15915]
37907         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
37908         * Makerules: ...here, and adjust associated comments.
37910 2013-10-02  Will Newton  <will.newton@linaro.org>
37912         * malloc/Makefile: Add tst-pvalloc.
37913         * malloc/tst-pvalloc.c: New file.
37915 2013-10-02  Will Newton  <will.newton@linaro.org>
37917         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
37918         improve test coverage.
37920 2013-10-02  Will Newton  <will.newton@linaro.org>
37922         * malloc/Makefile: Add tst-posix_memalign.
37923         * malloc/tst-posix_memalign.c: New file.
37925 2013-10-01  Eric Blake  <eblake@redhat.com>
37927         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
37928         Use __THROWNL rather than __THROW on static functions.
37930 2013-09-30  Petr Machata  <pmachata@redhat.com>
37932         * elf/elf.h (R_AARCH64_ABS16): New macro.
37933         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
37934         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
37935         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
37936         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
37937         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
37938         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
37939         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
37940         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
37941         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
37942         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
37943         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
37944         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
37945         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
37946         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
37947         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
37948         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
37949         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
37950         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
37951         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
37952         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
37953         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
37954         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
37955         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
37956         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
37957         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
37958         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
37959         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
37960         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
37961         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
37962         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
37963         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
37964         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
37965         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
37966         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
37967         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
37968         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
37969         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
37970         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
37971         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
37972         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
37973         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
37974         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
37975         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
37976         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
37977         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
37978         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
37979         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
37980         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
37981         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
37982         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
37983         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
37984         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
37985         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
37986         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
37987         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
37988         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
37989         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
37990         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
37991         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
37992         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
37993         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
37994         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
37995         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
37996         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
37997         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
37998         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
37999         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
38000         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
38001         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
38002         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
38003         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
38004         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
38005         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
38006         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
38007         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
38008         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
38009         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
38010         (R_AARCH64_TLSDESC_LDR): Likewise.
38011         (R_AARCH64_TLSDESC_ADD): Likewise.
38012         (R_AARCH64_TLSDESC_CALL): Likewise.
38014 2013-09-30  Andreas Schwab  <schwab@suse.de>
38016         [BZ #15048]
38017         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
38018         the nss database lookup.
38019         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38020         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38022 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
38024         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
38026 2013-09-28  P. J. McDermott  <pj@pehjota.net>
38028         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
38029         ${Bash-specific parameter/pattern/string} parameter expansion.
38030         * sysdeps/unix/make-syscalls.sh: Likewise.
38032 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38034         * sysdeps/sh/stackguard-macros.h: New file.
38036 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
38038         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
38039         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
38040         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
38041         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
38042         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38043         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
38045 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38047         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
38048         Fix thread ID register.
38050 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
38052         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
38053         [POSIX || UNIX98]: Require rather than permitting all symbols from
38054         <time.h>.
38055         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
38056         element of struct sched_param.
38057         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
38058         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
38059         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
38060         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
38061         constant.
38063 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
38065         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
38066         argument calculation.
38068 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
38070         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
38071         Expect macro.
38072         [POSIX] (pthread_attr_t): Do not require type.
38073         [POSIX] (pthread_cond_t): Likewise.
38074         [POSIX] (pthread_condattr_t): Likewise.
38075         [POSIX] (pthread_key_t): Likewise.
38076         [POSIX] (pthread_mutex_t): Likewise.
38077         [POSIX] (pthread_mutexattr_t): Likewise.
38078         [POSIX] (pthread_once_t): Likewise.
38079         [POSIX] (pthread_t): Likewise.
38080         [POSIX-based standards] (pthread_atfork): Expect function.
38082 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
38083             Richard Sandiford  <richard@codesourcery.com>
38085         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
38086         (swap_endianness_p): New extern variable.
38087         (set_big_endian): New inline function.
38088         (maybe_swap_uint32): Likewise.
38089         (maybe_swap_uint32_array): Likewise.
38090         (maybe_swap_uint32_obstack): Likewise.
38091         * locale/programs/locfile.c: Include <stdbool.h>.
38092         (swap_endianness_p): New variable.
38093         (add_locale_uint32): Call maybe_swap_uint32.
38094         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
38095         (write_locale_data): Call maybe_swap_uint32_array.
38096         * locale/programs/ld-collate.c (obstack_int32_grow): Call
38097         maybe_swap_uint32.
38098         (obstack_int32_grow_fast): Likewise.
38099         (output_weightwc): Call maybe_swap_uint32_obstack.
38100         (collate_output): Likewise.
38101         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
38102         (OPT_LITTLE_ENDIAN): Likewise.
38103         (options): Add --little-endian and --big-endian options.
38104         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
38105         * locale/programs/locarchive.c: Include "locfile.h".
38106         (GET): New macro.
38107         (SET): Likewise.
38108         (INC): Likewise.
38109         (create_archive): Use the new macros to access fields of
38110         structures directly mapped from or written to locale archives.
38111         (oldlocrecentcmp): Likewise.
38112         (enlarge_archive): Likewise.
38113         (insert_name): Likewise.
38114         (add_alias): Likewise.
38115         (add_locale): Likewise.
38116         (delete_locales_from_archive): Likewise.
38117         (show_archive_content): Likewise.
38118         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
38119         locale data.
38121 2013-09-24  Roland McGrath  <roland@hack.frob.com>
38123         * manual/freemanuals.texi: Updated from (newly) canonical copy at
38124         http://www.gnu.org/doc/freemanuals.texi.
38125         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
38127 2013-09-24  Will Newton  <will.newton@linaro.org>
38129         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
38130         macro.
38132 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
38134         * locale/hashval.h (compute_hashval): Interpret bytes of key as
38135         unsigned char.
38137 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
38139         * manual/threads.texi (POSIX Threads): Fix a typo.
38141 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
38143         [BZ #14547]
38144         * string/tst-strcoll-overflow.c: New test case.
38145         * string/Makefile (xtests): Add tst-strcoll-overflow.
38146         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
38147         cache if string sizes may cause integer overflow.
38149         [BZ #14547]
38150         * string/strcoll_l.c (coll_seq): New members rule, idx,
38151         save_idx and back_us.
38152         (get_next_seq_nocache): New function.
38153         (do_compare_nocache): New function.
38154         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
38155         when malloc fails.
38157 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
38159         [BZ #15754]
38160         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
38161         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
38162         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
38164         [BZ #15754]
38165         * elf/Makefile (tests): Add tst-ptrguard1.
38166         (tests-static): Add tst-ptrguard1-static.
38167         (tst-ptrguard1-ARGS): Define.
38168         (tst-ptrguard1-static-ARGS): Define.
38169         * elf/tst-ptrguard1.c: New file.
38170         * elf/tst-ptrguard1-static.c: New file.
38171         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
38172         * sysdeps/i386/stackguard-macros.h: Likewise.
38173         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38174         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38175         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38176         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38177         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38178         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38180 2013-09-23  Hector Marco  <hecmargi@upv.es>
38181             Ismael Ripoll  <iripoll@disca.upv.es>
38182             Carlos O'Donell  <carlos@redhat.com>
38184         [BZ #15754]
38185         * sysdeps/generic/stackguard-macros.h: Define
38186         __pointer_chk_guard_local and POINTER_CHK_GUARD.
38187         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
38188         Define __pointer_chk_guard_local.
38189         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
38190         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
38192 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
38194         [BZ #15859]
38195         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
38197 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
38199         * include/string.h (__ffs): Declare as hidden.
38200         * string/ffs.c (__ffs): Define as hidden.
38201         * sysdeps/i386/ffs.c (__ffs): Likewise.
38202         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
38203         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
38204         * sysdeps/s390/ffs.c (__ffs): Likewise.
38205         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
38207 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
38209         * NEWS: Mention malloc probes.
38211         * malloc/arena.c (new_heap): New memory_heap_new probe.
38212         (grow_heap): New memory_heap_more probe.
38213         (shrink_heap): New memory_heap_less probe.
38214         (heap_trim): New memory_heap_free probe.
38215         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
38216         (systrim): New memory_sbrk_less probe.
38217         * manual/probes.texi: Document them.
38219         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
38220         * manual/probes.texi: Document it.
38222         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
38223         (__libc_realloc): Add memory_realloc_retry probe.
38224         (__libc_memalign): Add memory_memalign_retry probe.
38225         (__libc_valloc): Add memory_valloc_retry probe.
38226         (__libc_pvalloc): Add memory_pvalloc_retry probe.
38227         (__libc_calloc): Add memory_calloc_retry probe.
38228         * manual/probes.texi: Document them.
38230         * malloc/arena.c (get_free_list): Add probe
38231         memory_arena_reuse_free_list.
38232         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
38233         and memory_arena_reuse.
38234         (arena_get2) [!PER_THREAD]: Likewise.
38235         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
38236         memory_arena_reuse_realloc.
38237         * manual/probes.texi: Document them.
38239         * malloc/malloc.c (__libc_free): Add
38240         memory_mallopt_free_dyn_thresholds probe.
38241         (__libc_mallopt): Add multiple memory_mallopt probes.
38242         * manual/probes.texi: Document them.
38244         * malloc/malloc.c: Include stap-probe.h.
38245         (__libc_mallopt): Add memory_mallopt probe.
38246         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
38247         * manual/probes.texi: New.
38248         * manual/Makefile (chapters): Add probes.
38249         * manual/threads.texi: Set next node.
38251 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
38253         [BZ #15963, #13985]
38254         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
38255         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
38256         Add `Chinese' to `nan' entry name.
38258 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38260         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
38261         (POLYNOMIAL): Likewise.
38262         (TAYLOR_SINCOS): Likewise.
38263         (TAYLOR_SLOW): Likewise.
38264         (__sin): Use TAYLOR_SINCOS.
38265         (__cos): Likewise.
38266         (slow): Use TAYLOR_SLOW.
38267         (sloww): Likewise.
38268         (bsloww): Likewise.
38269         (csloww): Likewise.
38271 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38273         * stdlib/strtod_l.c: Fix buffer overrun.
38275 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38277         * benchtests/Makefile (bench): Add sincos.
38278         * benchtests/bench-sincos.c: New file.
38280         * math/libm-test.inc (cos_test_data): New test inputs.
38281         (sin_test_data): Likewise.
38283         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
38284         macro.
38285         (__sin): Use it.
38286         (__cos): Likewise.
38287         (slow1): Likewise.
38288         (slow2): Likewise.
38289         (sloww1): Likewise.
38290         (sloww2): Likewise.
38291         (bsloww1): Likewise.
38292         (bsloww2): Likewise.
38293         (cslow2): Likewise.
38294         (csloww1): Likewise.
38295         (csloww2): Likewise.
38297         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
38298         function.
38299         (__sin): Use it.
38300         (__cos): Likewise.
38302         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
38303         gotos.
38304         (__cos): Likewise.
38306 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
38308         * config.h.in (HAVE_MIPS_NAN2008): New macro.
38309         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
38310         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
38311         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
38312         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
38313         * elf/cache.c (print_entry): Handle the new cache flags.
38315 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
38316             Aldy Hernandez  <aldyh@redhat.com>
38318         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
38319         Change condition to [_SOFT_FLOAT].
38320         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
38321         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
38322         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
38323         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
38324         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
38325         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
38326         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
38327         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
38328         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
38329         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
38330         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
38331         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
38332         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
38333         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
38334         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
38335         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
38336         declaration.
38338 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
38340         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
38341         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
38342         (__longjmp): Use LOAD_GP to load saved GPRs.
38343         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
38344         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
38345         (__sigsetjmp): Use SAVE_GP to save GPRs.
38347         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
38348         Do not append -msoft-float.
38349         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
38351 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38353         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
38355 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
38357         [BZ #15966]
38358         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
38359         (_FPU_GETCW): Use initial "__" on variable and field names but not
38360         on macro parameter name.
38361         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
38362         parentheses around reference to macro parameter.
38364 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
38366         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
38367         prototype.
38368         (ctype_startup): Use uint32_t in cast and sizeof for
38369         ctype->charnames.
38371 2013-09-11  Jia Liu  <proljc@gmail.com>
38373         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
38374         __daddr_t_defined.
38375         [__FreeBSD__]: Likewise.
38377 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
38379         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
38380         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
38381         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
38382         (strchr): Remove __strchr_sse42 ifunc selection.
38383         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
38384         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
38386 2013-09-11  Will Newton  <will.newton@linaro.org>
38388         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
38389         parameter to RES. Remove hardcoded 1000 value.
38390         * benchtests/bench-skeleton.c (main): Pass RES parameter
38391         to TIMING_INIT and multiply result by 1000.
38393 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38395         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38397 2013-09-11  Andreas Schwab  <schwab@suse.de>
38399         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
38400         if not defined.
38401         (O_TMPFILE) [__USE_GNU]: Define.
38402         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
38403         Define.
38405 2013-09-11  Will Newton  <will.newton@linaro.org>
38407         [BZ #15857]
38408         * malloc/malloc.c (__libc_memalign): Check the value of bytes
38409         does not overflow.
38411 2013-09-11  Will Newton  <will.newton@linaro.org>
38413         [BZ #15856]
38414         * malloc/malloc.c (__libc_valloc): Check the value of bytes
38415         does not overflow.
38417 2013-09-11  Will Newton  <will.newton@linaro.org>
38419         [BZ #15855]
38420         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
38421         does not overflow.
38423 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
38425         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
38426         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38427         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38428         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38429         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38431 2013-09-10  Allan McRae  <allan@archlinux.org>
38433         [BZ #15748]
38434         * manual/arith.texi (Parsing of Floats): Clarify
38435         cross-reference.
38437         [BZ #15849]
38438         * manual/install.texi (Running make install): Mention
38439         --enable-pt-chown.
38440         * INSTALL: Regenerated.
38442 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
38444         * csu/init-first.c (_init): Remove the !SHARED condition around
38445         FPU control word initialization.
38446         * elf/dl-support.c (_dl_fpu_control): New variable.
38447         (_dl_aux_init) <AT_FPUCW>: Initialize it.
38448         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
38449         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
38450         * math/test-fpucw-static.c: New file.
38451         * math/test-fpucw-ieee.c: New file.
38452         * math/test-fpucw-ieee-static.c: New file.
38453         * math/Makefile (tests): Add `test-fpucw-ieee' and
38454         `$(tests-static)'.
38455         (tests-static): New variable.
38456         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
38457         dependency to...
38458         [($(build-shared),yes)]
38459         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
38460         ... this.
38461         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
38462         New dependency.
38464 2013-09-09  Allan McRae  <allan@archlinux.org>
38466         [BZ #15939]
38467         * manual/string.texi (Collation Functions): Fix typo in
38468         strcoll example.
38469         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
38471         [BZ #15893]
38472         * stdlib/isomac.c (get_null_defines): Fix memory leak.
38474         [BZ #15892]
38475         * libio/memstream.c (open_memstream): Fix memory leak.
38476         * libio/wmemstream.c (open_wmemstream): Likewise.
38478         [BZ #15895]
38479         * nscd/netgroupcache.c: Fix nesting of ifdefs.
38481 2013-09-09  Will Newton  <will.newton@linaro.org>
38483         * malloc/Makefile: Add tst-realloc to tests.
38484         * malloc/tst-realloc.c: New file.
38486 2013-09-09  Allan McRae  <allan@archlinux.org>
38488         [BZ #15844]
38489         * COPYING: Update from GNU website to fix FSF address.
38490         * COPYING.LIB: Likewise.
38492 2013-09-06  David S. Miller  <davem@davemloft.net>
38494         * po/zh_TW.po: Update Chinese (traditional) translation from
38495         translation project.
38497 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
38498             Joseph Myers  <joseph@codesourcery.com>
38500         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
38501         "localeinfo.h".
38502         (obstack_chunk_alloc): New macro.
38503         (obstack_chunk_free): Likewise.
38504         (record_offset): New function.
38505         (init_locale_data): Likewise.
38506         (align_locale_data): Likewise.
38507         (add_locale_empty): Likewise.
38508         (add_locale_raw_data): Likewise.
38509         (add_locale_raw_obstack): Likewise.
38510         (add_locale_string): Likewise.
38511         (add_locale_wstring): Likewise.
38512         (add_locale_uint32): Likewise.
38513         (add_locale_uint32_array): Likewise.
38514         (add_locale_char): Likewise.
38515         (start_locale_structure): Likewise.
38516         (end_locale_structure): Likewise.
38517         (start_locale_prelude): Likewise.
38518         (end_locale_prelude): Likewise.
38519         (write_locale_data): Take locale_file structure rather than an
38520         iovec.
38521         * locale/programs/locfile.h: Include "obstack.h".
38522         (struct locale_file): Change to store locale file contents instead
38523         of header.
38524         (init_locale_data): New prototype.
38525         (align_locale_data): Likewise.
38526         (add_locale_empty): Likewise.
38527         (add_locale_raw_data): Likewise.
38528         (add_locale_raw_obstack): Likewise.
38529         (add_locale_string): Likewise.
38530         (add_locale_wstring): Likewise.
38531         (add_locale_uint32): Likewise.
38532         (add_locale_uint32_array): Likewise.
38533         (add_locale_char): Likewise.
38534         (start_locale_structure): Likewise.
38535         (end_locale_structure): Likewise.
38536         (start_locale_prelude): Likewise.
38537         (end_locale_prelude): Likewise.
38538         (write_locale_data): Update prototype.
38539         * locale/programs/3level.h (struct TABLE): Remove result field.
38540         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
38541         Use new locale_file interface.
38542         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
38543         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
38544         * locale/programs/ld-address.c (address_output): Use new
38545         locale_file interface.
38546         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
38547         NO_ADD_LOCALE.
38548         (collate_finish): Don't call collseq_table_finalize.
38549         (collate_output): Use new locale_file interface.
38550         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
38551         in file.
38552         (NO_FINALIZE): Change to NO_ADD_LOCALE.
38553         (TABLE): Move defines earlier in file.
38554         (ELEMENT): Likewise.
38555         (DEFAULT): Likewise.
38556         (wctrans_table_add): Move macro and inline function earlier in
38557         file.
38558         (struct wctype_table): Move type earlier in file.
38559         (add_locale_wctype_table): New static prototype.
38560         (struct locale_ctype_t): Use logical types instead of struct iovec
38561         pointers for members.
38562         (ctype_output): Use new locale_file interface.
38563         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
38564         new locale_file interface.
38565         (allocate_arrays): Update for use of new locale_file interface.
38566         * locale/programs/ld-identification.c (identification_output): Use
38567         new locale_file interface.
38568         * locale/programs/ld-measurement.c (measurement_output): Likewise.
38569         * locale/programs/ld-messages.c (messages_output): Likewise.
38570         * locale/programs/ld-monetary.c (monetary_output): Likewise.
38571         * locale/programs/ld-name.c (name_output): Likewise.
38572         * locale/programs/ld-numeric.c (numeric_output): Likewise.
38573         * locale/programs/ld-paper.c (paper_output): Likewise.
38574         * locale/programs/ld-telephone.c (telephone_output): Likewise.
38575         * locale/programs/ld-time.c (time_output): Likewise.
38577 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38579         * benchtests/Makefile: Add memrchr benchmark.
38580         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
38581         benchmark as memrchr.
38582         * benchtests/bench-memrchr-ifunc.c: New file.
38583         * benchtests/bench-memrchr.c: New file.
38585 2013-09-06   Will Newton  <will.newton@linaro.org>
38587         * benchtests/Makefile (string-bench): Add memcpy.
38589 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
38590             Cong Wang  <amwang@redhat.com>
38592         [BZ #15850]
38593         * sysdeps/unix/sysv/linux/bits/in.h
38594         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
38595         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
38596         before __USE_KERNEL_IPV6_DEFS uses.
38597         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
38598         IPPROTO_BEETPH.
38599         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
38600         sockaddr_in6, or ipv6_mreq.
38602 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38604         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
38605         memory access for final bytes in some large inputs.
38606         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
38608 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38610         * string/test-memrchr.c: New file.
38611         * string/test-memrchr-ifunc.c: New file.
38612         * string/Makefile: Add new memrchr testcase.
38614 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
38616         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
38617         fanotify_init returns EPERM.
38619 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
38621         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
38622         errors.
38623         (top level): Treat second token from macro or constant entries for
38624         allowed headers as allowed.
38625         * include/complex.h: Condition internal declarations on
38626         [!_ISOMAC].
38627         * include/fenv.h: Condition include of <stdbool.h> and internal
38628         declarations on [!_ISOMAC].
38630 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
38632         [BZ #15923]
38633         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
38635 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
38637         * configure.in (--enable-versioning): Remove configure option.
38638         (libc_cv_asm_symver_directive): Remove configure test.
38639         (libc_cv_ld_version_script_option): Likewise.
38640         (VERSIONING): Remove variable and AC_SUBST.
38641         (DO_VERSIONING): Remove AC_DEFINE.
38642         * configure: Regenerated.
38643         * config.h.in (DO_VERSIONING): Remove macro.
38644         * Makerules [$(versioning) = yes]: Change conditionals to
38645         [$(build-shared) = yes].
38646         * config.make.in (versioning): Remove variable.
38647         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
38648         [$(build-shared) = yes].
38649         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
38650         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
38651         * elf/Makefile [$(versioning) = yes]: Change conditionals to
38652         [$(build-shared) = yes].
38653         * extra-lib.mk [$(versioning) = yes]: Likewise.
38654         * hurd/Makefile [$(versioning) = yes]: Likewise.
38655         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
38656         [SHARED].
38657         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
38658         [SHARED].
38659         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
38660         [SHARED && !NO_HIDDEN].
38661         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
38662         [SHARED].
38663         [SHARED && DO_VERSIONING]: Likewise..
38664         * libio/Makefile [$(versioning) = yes]: Change conditionals to
38665         [$(build-shared) = yes].
38666         * manual/install.texi (--disable-versioning): Remove
38667         documentation.
38668         * INSTALL: Regenerated.
38669         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
38670         to [SHARED].
38671         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
38672         [$(build-shared) = yes].
38673         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
38674         * sysdeps/i386/i686/multiarch/strstr-c.c
38675         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
38676         [SHARED && !NO_HIDDEN].
38677         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
38678         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
38679         * sysdeps/powerpc/powerpc32/dl-machine.c
38680         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
38681         * sysdeps/powerpc/powerpc32/sysdep.h
38682         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
38683         to [SHARED && PIC && !NO_HIDDEN].
38684         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
38685         conditional to [SHARED].
38687 2013-09-04   Will Newton  <will.newton@linaro.org>
38689         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
38690         * benchtests/bench-string.h: Include bench-timing.h instead
38691         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
38692         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
38693         call to HP_TIMING_DIFF_INIT.
38694         * benchtests/bench-memccpy.c: Use bench-timing.h macros
38695         instead of hp-timing.h macros.
38696         * benchtests/bench-memchr.c: Likewise.
38697         * benchtests/bench-memcmp.c: Likewise.
38698         * benchtests/bench-memcpy.c: Likewise.
38699         * benchtests/bench-memmem.c: Likewise.
38700         * benchtests/bench-memmove.c: Likewise.
38701         * benchtests/bench-memset.c: Likewise.
38702         * benchtests/bench-rawmemchr.c: Likewise.
38703         * benchtests/bench-strcasecmp.c: Likewise.
38704         * benchtests/bench-strcasestr.c: Likewise.
38705         * benchtests/bench-strcat.c: Likewise.
38706         * benchtests/bench-strchr.c: Likewise.
38707         * benchtests/bench-strcmp.c: Likewise.
38708         * benchtests/bench-strcpy.c: Likewise.
38709         * benchtests/bench-strcpy_chk.c: Likewise.
38710         * benchtests/bench-strlen.c: Likewise.
38711         * benchtests/bench-strncasecmp.c: Likewise.
38712         * benchtests/bench-strncat.c: Likewise.
38713         * benchtests/bench-strncmp.c: Likewise.
38714         * benchtests/bench-strncpy.c: Likewise.
38715         * benchtests/bench-strnlen.c: Likewise.
38716         * benchtests/bench-strpbrk.c: Likewise.
38717         * benchtests/bench-strrchr.c: Likewise.
38718         * benchtests/bench-strspn.c: Likewise.
38719         * benchtests/bench-strstr.c: Likewise.
38721 2013-09-04  Will Newton  <will.newton@linaro.org>
38723         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
38725 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
38727         [BZ #15427]
38728         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
38729         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
38730         * math/libm-test.inc (lgamma_test_data): Add more tests.
38731         * sysdeps/i386/fpu/libm-test-ulps: Update.
38732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38734 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
38736         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
38737         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38738         Add ifunc.
38739         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
38740         Add strcmp-sse2-unaligned
38741         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
38743 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
38745         * Versions.def (libc): Add GLIBC_2.19.
38747 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
38749         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
38750         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
38752 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
38754         [BZ #14155]
38755         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
38756         intermediate calculations in recurrence.
38757         (__ieee754_ynf): Likewise.
38758         * math/libm-test.inc (jn_test_data): Do not allow spurious
38759         underflow exception.  Add more tests.
38760         (yn_test_data): Add more tests.
38761         * sysdeps/i386/fpu/libm-test-ulps: Update.
38762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38764 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
38766         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
38768 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
38770         * csu/init-first.c: Fix then/than typos.
38771         * locale/programs/ld-collate.c: Likewise.
38772         * locale/programs/linereader.h: Likewise.
38773         * manual/charset.texi: Likewise.
38774         * manual/filesys.texi: Likewise.
38775         * manual/stdio.texi: Likewise.
38776         * manual/string.texi: Likewise.
38777         * stdlib/fmtmsg.c: Likewise.
38778         * sysdeps/i386/stpncpy.S: Likewise.
38779         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38780         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
38781         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38782         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
38784 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
38786         * elf/dl-open.c: Fix typos.
38787         * iconvdata/gbbig5.c: Likewise.
38788         * iconvdata/iso-2022-jp.c: Likewise.
38789         * iconv/gconv_int.h: Likewise.
38790         * iconv/loop.c: Likewise.
38791         * nis/rpcsvc/nis.h: Likewise.
38792         * resolv/ns_name.c: Likewise.
38793         * stdio-common/vfscanf.c: Likewise.
38794         * streams/stropts.h: Likewise.
38795         * sunrpc/rpc_thread.c: Likewise.
38796         * sysdeps/i386/strpbrk.S: Likewise.
38797         * sysdeps/ieee754/k_standard.c: Likewise.
38798         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38799         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38800         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
38801         * sysdeps/mach/hurd/profil.c: Likewise.
38802         * sysdeps/s390/dl-procinfo.h: Likewise.
38803         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
38804         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
38805         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
38806         * sysdeps/x86_64/dl-trampoline.S: Likewise.
38807         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38809 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
38811         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
38812         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
38814 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
38816         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
38817         aix specific files.
38818         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
38819         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
38820         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
38821         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
38822         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
38823         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
38824         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
38825         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
38827 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
38828             Roland McGrath  <roland@hack.frob.com>
38830         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
38831         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
38833 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38835         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
38836         __executable_start symbol instead of _start.
38838 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
38840         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
38841         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
38842         Move macros to...
38843         * sysdeps/gnu/ldsodefs.h: ... this new file.
38845         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
38846         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
38847         instead of ELFOSABI_LINUX.
38849         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
38850         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
38851         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
38852         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
38853         Likewise.
38854         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
38855         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
38856         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
38857         Likewise.
38858         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
38859         (ibm_extended_long_double): Add ieee_nan member.
38860         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
38861         (do_test): New function.
38863         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
38864         TEST_TRUNC.
38865         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
38866         functions, renamed from truncdfsf_test, trunctfsf_test,
38867         trunctfdf_test.
38868         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
38869         functions.
38870         (do_test): Run all these.
38872 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
38874         * argp/argp-help.c: Fix typos.
38875         * argp/argp-parse.c: Likewise.
38876         * debug/backtracesyms.c: Likewise.
38877         * elf/elf.h: Likewise.
38878         * malloc/malloc.c: Likewise.
38879         * nis/nis_print.c: Likewise.
38880         * resolv/res_comp.c: Likewise.
38881         * stdlib/stdlib.h: Likewise.
38882         * sunrpc/clnt_tcp.c: Likewise.
38883         * sunrpc/clnt_udp.c: Likewise.
38884         * sunrpc/clnt_unix.c: Likewise.
38885         * sysdeps/unix/bsd/ptsname.c: Likewise.
38886         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
38887         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
38888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
38889         Likewise.
38890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
38891         Likewise.
38892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
38893         Likewise.
38894         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38896 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38898         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
38899         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38901 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
38903         [BZ #15897]
38904         * dlfcn/Makefile (tests): Add bug-dl-leaf.
38905         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
38906         ($(objpfx)bug-dl-leaf): New rule.
38907         ($(objpfx)bug-dl-leaf.so): Likewise.
38908         ($(objpfx)bug-dl-leaf.out): Likewise.
38909         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
38910         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
38911         * dlfcn/bug-dl-leaf.c: New test.
38912         * dlfcn/bug-dl-leaf-lib.c: Likewise.
38913         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
38914         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
38915         (dlclose): Likewise.
38916         (dlmopen): Likewise.
38918 2013-08-27  Roland McGrath  <roland@hack.frob.com>
38920         * include/netdb.h [!_ISOMAC]:
38921         Don't include <tls.h>.
38922         (h_errno, __libc_h_errno): Move declaration and macros out of
38923         [_LIBC_REENTRANT].
38925         * include/resolv.h [_RESOLV_H_]:
38926         Don't include <tls.h>.
38927         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
38928         * resolv/res_libc.c: Don't include <tls.h>.
38929         (_res): Use __attribute__ ((nocommon)) in place of
38930         __attribute__ ((section (".bss"))).
38932         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
38933         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
38935         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
38937         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
38938         only under [SIOCGIFCONF && SIOCGIFNETMASK].
38940         * resolv/res_mkquery.c: Include <sys/time.h>.
38942         * inet/ifreq.c: Moved to ...
38943         * sysdeps/unix/ifreq.c: ... here.
38944         * inet/ifreq.c: New file, true stub version.
38946         * socket/sa_len.c: New file.
38947         * socket/Makefile (aux): Add it.
38948         * sysdeps/unix/sysv/linux/Makefile
38949         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
38950         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
38951         and #include <socket/sa_len.c>.
38952         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
38953         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
38955         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
38956         * bits/socket.h: ... here.
38958         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
38959         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
38960         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
38962 2013-08-27  Andreas Schwab  <schwab@suse.de>
38964         [BZ #15736]
38965         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
38966         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
38967         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
38968         * string/test-strcasecmp.c (test_main): Run tests in several
38969         locales.
38970         * string/test-strncasecmp.c (test_main): Likewise.
38972         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
38973         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
38974         to __strcasecmp_nonascii and __strncasecmp_nonascii.
38975         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
38976         (__strncasecmp_ssse3) [PIC]: Likewise.
38978 2013-08-26  Roland McGrath  <roland@hack.frob.com>
38980         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
38982         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
38983         instead of explicitly declaring xdecrypt.
38984         * nis/nss_nis/nis-publickey.c: Likewise.
38986 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38988         [BZ #15890]
38989         * nscd/aicache.c: Include res_hconf.h.
38990         (addhstaiX): Initialize res_hconf.
38992 2013-08-26  Andreas Schwab  <schwab@suse.de>
38994         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
38995         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
38997 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38999         * nscd/aicache.c (addhstaiX): Fix indentation.
39001 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
39003         * configure.ac: Quote $build_pt_chown test.
39004         * configure: Regenerated.
39006 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
39008         [BZ #15532]
39009         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
39010         * math/s_cexpf.c (__cexpf): Likewise.
39011         * math/s_cexpl.c (__cexpl): Likewise.
39012         * math/libm-test.inc (cexp_test_data): Correct expected return
39013         value for NaN + i0.  Add another test.
39015 2013-08-22  David S. Miller  <davem@davemloft.net>
39017         * po/ca.po: Update Catalan translation from translation project.
39018         * po/uk.po: Add Ukrainian translations from translation project.
39020 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
39022         [BZ #15797]
39023         * math/s_fdim.c (__fdim): Check for infinite arguments if result
39024         is infinite, not alongside NaN test.
39025         * math/s_fdimf.c (__fdimf): Likewise.
39026         * math/s_fdiml.c (__fdiml): Likewise.
39027         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
39028         errno is unchanged.
39030 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
39032         * argp/argp-help.c: Fix typos.
39033         * crypt/speeds.c: Likewise.
39034         * csu/check_fds.c: Likewise.
39035         * elf/dl-load.c: Likewise.
39036         * elf/dl-open.c: Likewise.
39037         * elf/reldep3.c: Likewise.
39038         * elf/reldep.c: Likewise.
39039         * elf/sprof.c: Likewise.
39040         * iconv/iconv_charmap.c: Likewise.
39041         * iconv/skeleton.c: Likewise.
39042         * iconv/strtab.c: Likewise.
39043         * io/lockf64.c: Likewise.
39044         * libio/libioP.h: Likewise.
39045         * resolv/gai_notify.c: Likewise.
39046         * resolv/ns_name.c: Likewise.
39047         * resolv/ns_samedomain.c: Likewise.
39048         * resolv/res_send.c: Likewise.
39049         * stdlib/random.c: Likewise.
39050         * sunrpc/rpc/xdr.h: Likewise.
39051         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
39052         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39053         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39054         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39055         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39056         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39057         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39058         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39059         * sysdeps/mach/hurd/check_fds.c: Likewise.
39060         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
39061         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39062         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39063         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
39064         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39065         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
39066         * sysdeps/pthread/aio_notify.c: Likewise.
39067         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
39068         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
39069         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
39070         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39071         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
39073 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39075         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
39076         version if bit_Slow_SSE4_2 is set.
39077         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39078         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39080 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39082         [BZ #15867]
39083         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
39084         trampoline stack frame information.
39085         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
39086         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
39087         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
39088         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
39089         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
39090         * sysdeps/unix/sysv/linux/powerpc/init-first.c
39091         (_libc_vdso_platform_setup): Initialize the signal trampolines.
39092         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
39093         sa_flags value.
39094         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
39095         interrupting a syscall and set with option SA_SIGINFO.
39097 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
39099         [BZ #15531]
39100         * math/s_cproj.c (__cproj): Only return an infinity if one part of
39101         argument is infinite.
39102         * math/s_cprojf.c (__cprojf): Likewise.
39103         * math/s_cprojl.c (__cprojl): Likewise.
39104         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
39105         * math/libm-test.inc (cproj_test_data): Add more tests.
39107         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
39109         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
39110         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
39111         size.  Use __ffs to determine corresponding shift.
39113 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
39114             Roland McGrath  <roland@hack.frob.com>
39116         * Makefile (INSTALL): Remove trailing blank lines from output of
39117         makeinfo.
39119 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39121         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
39122         Align 32 bit compat elf_greg to 8 bytes.
39124 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
39126         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
39128 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39130         * string/strcoll_l.c (coll_seq): New structure.
39131         (get_next_seq_cached): New function.
39132         (get_next_seq): New function.
39133         (do_compare): New function.
39134         (STRCOLL): Use GNU style definition.  Simplify implementation
39135         by using get_next_seq, get_next_seq_cached and do_compare.
39137 2013-08-16  Florian Weimer  <fweimer@redhat.com>
39139         [BZ #14699]
39140         CVE-2013-4237
39141         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
39142         member.
39143         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
39144         member.
39145         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
39146         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
39147         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
39148         conditional.
39149         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
39150         GETDENTS_64BIT_ALIGNED.
39151         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39152         * manual/filesys.texi (Reading/Closing Directory): Document
39153         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
39154         strongly.
39155         * manual/conf.texi (Limits for Files): Add portability note to
39156         NAME_MAX, PATH_MAX.
39157         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
39159 2013-08-13  Andreas Schwab  <schwab@suse.de>
39161         [BZ #15749]
39162         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
39163         of fabs.
39164         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
39165         LDBL_MAX_EXP >= 16384]: Add tests for it.
39167 2013-08-12  David S. Miller  <davem@davemloft.net>
39169         * version.h (RELEASE): Set to "development".
39170         (VERSION): Set to "2.18.90".
39171         * NEWS: Add 2.19 section.
39173 2013-08-03  David S. Miller  <davem@davemloft.net>
39175         * po/ko.po: Update Korean translation from translation project.
39177 2013-08-01  David S. Miller  <davem@davemloft.net>
39179         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
39180         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
39181         Bilka.
39183 2013-07-30  David S. Miller  <davem@davemloft.net>
39185         * po/fr.po: Update French translation from translation project.
39187 2013-07-28  David S. Miller  <davem@davemloft.net>
39189         * po/cs.po: Update Czech translation from translation project.
39191         * po/sv.po: Update Swedish translation from translation project.
39193 2013-07-27  David S. Miller  <davem@davemloft.net>
39195         * po/eo.po: Update Esperanto translation from translation project.
39197         * po/vi.po: Update Vietnamese translation from translation project.
39199         * po/de.po: Update German translation from translation project.
39201 2013-07-26  David S. Miller  <davem@davemloft.net>
39203         * po/bg.po: Update Bulgarian translation from translation project.
39205         * po/nl.po: Update Dutch translation from translation project.
39206         * po/pl.po: Update Polish translation from translation project.
39207         * po/ru.po: Update Russian translation from translation project.
39209 2013-07-24  David S. Miller  <davem@davemloft.net>
39211         * po/libc.pot: Update.
39213 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39215         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
39216         variable page size.
39217         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
39218         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
39219         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
39221 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39223         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
39225 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39226             Andreas Schwab  <schwab@suse.de>
39227             Roland McGrath  <roland@hack.frob.com>
39228             Joseph Myers  <joseph@codesourcery.com>
39229             Carlos O'Donell  <carlos@redhat.com>
39231         [BZ #15755]
39232         * config.h.in: Define HAVE_PT_CHOWN.
39233         * config.make.in (build-pt-chown): New variable.
39234         * configure.in (--enable-pt_chown): New configure option.
39235         * configure: Regenerate.
39236         * login/Makefile: Include Makeconfig.  Build pt_chown only if
39237         build-pt-chown is enabled.
39238         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
39239         pt_chown to fix pty ownership.
39240         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
39241         CLOSE_ALL_FDS.
39242         * manual/install.texi (Configuring and compiling): Mention
39243         --enable-pt_chown. Add @findex for grantpt.
39244         * INSTALL: Regenerate.
39246 2013-07-20  David S. Miller  <davem@davemloft.net>
39248         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
39249         difference between 32-bit and 64-bit.
39251 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
39253         [BZ #15711]
39254         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
39255         Avoid system header dependency with -ffreestanding.
39256         ($(objpfx)bits/syscall%d): Likewise.
39258 2013-07-13  David S. Miller  <davem@davemloft.net>
39260         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
39261         underflows from atanl/atan2l due to bug 15319.
39262         (casinh_test_data): Likewise.
39264 2013-07-07  David S. Miller  <davem@davemloft.net>
39266         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
39268 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
39270         * sysdeps/i386/fpu/libm-test-ulps: Update.
39271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39273 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39275         * configure.in (--enable-lock-elision): Fix message text.
39276         * INSTALL: Regenerate.
39277         * configure: Regenerate.
39279 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39281         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39283 2013-07-03  Andreas Jaeger  <aj@suse.de>
39285         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
39286         define.
39287         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
39288         (ptrace_peeksiginfo_args): Add.
39289         (__ptrace_peeksiginfo_flags): Add.
39290         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39291         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39292         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39294 2013-07-03  Allan McRae  <allan@archlinux.org>
39296         * sysdeps/i386/fpu/libm-test-ulps: Update.
39298 2013-07-02  David S. Miller  <davem@davemloft.net>
39300         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39302 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
39304         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39306 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
39308         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
39309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39311 2013-07-02  Andi Kleen <ak@linux.intel.com>
39313         * config.h.in (ENABLE_LOCK_ELISION): Add.
39314         * configure.in (--enable-lock-elision): Add option.
39315         * manual/install.texi: Document --enable lock elision.
39316         * configure: Regenerate
39317         * INSTALL: Regenerate.
39319 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
39321         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
39322         SSE4.2 strcasecmp for libc.a.
39323         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
39325 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
39327         [BZ #13304]
39328         * soft-fp/op-common.h (_FP_FMA): New macro.
39329         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
39330         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
39331         (_FP_MUL_MEAT_1_imm): ... here.
39332         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
39333         (_FP_MUL_MEAT_1_wide): ... here.
39334         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
39335         (_FP_MUL_MEAT_1_hard): ... here.
39336         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
39337         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
39338         (_FP_MUL_MEAT_2_wide): ... here.
39339         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
39340         (_FP_MUL_MEAT_2_wide_3mul): ... here.
39341         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
39342         (_FP_MUL_MEAT_2_gmp): ... here.
39343         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
39344         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
39345         (_FP_MUL_MEAT_4_wide): ... here.
39346         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
39347         (_FP_MUL_MEAT_4_gmp): ... here.
39348         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
39349         (_FP_WFRACBITS_DW_S): Likewise.
39350         (_FP_WFRACXBITS_DW_S): Likewise.
39351         (_FP_HIGHBIT_DW_S): Likewise.
39352         (FP_FMA_S): Likewise.
39353         (_FP_FRAC_HIGH_DW_S): Likewise.
39354         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
39355         (_FP_WFRACBITS_DW_D): Likewise.
39356         (_FP_WFRACXBITS_DW_D): Likewise.
39357         (_FP_HIGHBIT_DW_D): Likewise.
39358         (FP_FMA_D): Likewise.
39359         (_FP_FRAC_HIGH_DW_D): Likewise.
39360         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
39361         (_FP_WFRACBITS_DW_E): Likewise.
39362         (_FP_WFRACXBITS_DW_E): Likewise.
39363         (_FP_HIGHBIT_DW_E): Likewise.
39364         (FP_FMA_E): Likewise.
39365         (_FP_FRAC_HIGH_DW_E): Likewise.
39366         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
39367         (_FP_WFRACBITS_DW_Q): Likewise.
39368         (_FP_WFRACXBITS_DW_Q): Likewise.
39369         (_FP_HIGHBIT_DW_Q): Likewise.
39370         (FP_FMA_Q): Likewise.
39371         (_FP_FRAC_HIGH_DW_Q): Likewise.
39372         * soft-fp/fmasf4.c: New file.
39373         * soft-fp/fmadf4.c: Likewise.
39374         * soft-fp/fmatf4.c: Likewise.
39376 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39378         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39379         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
39380         Silvermont.
39381         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
39382         macro.
39383         (index_Slow_SSE4_2): Likewise.
39384         (index_Prefer_PMINUB_for_stringop): Likewise.
39385         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
39386         bit_Slow_SSE4_2 is set.
39387         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
39388         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39390 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39392         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
39393         rtld_global._dl_hwcap2.
39394         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
39395         POWER8.
39396         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
39397         POWER8 feature descriptions defined in _dl_hwcap2.
39398         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
39399         string handling for POWER8 feature bits.
39400         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
39401         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
39402         _dl_powerpc_cap_flags.
39403         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
39404         * sysdeps/powerpc/rtld-global-offsets.sym
39405         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
39406         _dl_hwcap2 in the rtld_global_ro structure.
39408 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39410         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
39411         hardware capabilities in support of AT_HWCAP2.
39412         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
39413         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
39414         GLRO(dl_hwcap2).
39415         (_dl_show_auxv): Add support for calling _dl_procinfo to display
39416         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
39417         explicitly the unknown a_type display mechanism is used.
39418         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
39419         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
39420         struct member.
39421         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
39422         to macro prototype for AT_HWCAP2 support.
39423         * sysdeps/i386/dl-procinfo.h: Likewise.
39424         * sysdeps/s390/dl-procinfo.h: Likewise.
39425         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
39426         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
39427         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
39428         return -1 for unknown a_type display fallback.
39429         * sysdeps/sparc/dl-procinfo.h: Likewise.
39430         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
39431         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
39433 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
39435         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
39436         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
39438 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
39440         [BZ #12492]
39441         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
39442         mprotect making __stack_prot writable.
39444 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
39445             Joseph Myers  <joseph@codesourcery.com>
39447         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
39448         as being properly aligned.
39450 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
39452         * dlfcn/modstatic5.c: New file.
39453         * dlfcn/tststatic5.c: New file.
39454         * dlfcn/Makefile (tests): Add tststatic5.
39455         (tests-static): Likewise.
39456         (modules-names): Add modstatic5.
39457         (tststatic5-ENV): New variable.
39458         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
39460         [BZ #15022]
39461         * elf/dl-support.c (_dl_main_map): New variable.
39462         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
39463         (_dl_nns, _dl_load_adds): Set to 1.
39464         (_dl_initial_searchlist): Refer to _dl_main_map.
39465         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
39466         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
39467         call to _dl_get_origin.
39468         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
39469         around call_map.
39470         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
39471         * dlfcn/modstatic3.c: New file.
39472         * dlfcn/tststatic3.c: New file.
39473         * dlfcn/tststatic4.c: New file.
39474         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
39475         (tests-static): Likewise.
39476         (modules-names): Add modstatic3.
39477         (tststatic3-ENV, tststatic4-ENV): New variables.
39478         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
39479         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
39481 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
39483         * configure.in (CC): Require GCC version 4.4 or later.
39484         * configure: Regenerated.
39485         * manual/install.texi (Tools for Compilation): Update GCC version
39486         requirement.
39487         * INSTALL: Regenerated.
39489 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39491         [BZ #15674]
39492         * string/test-memcmp.c (check2): New.
39493         (main): Call check2.
39495         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
39497 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
39499         [BZ #15022]
39500         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
39501         over to...
39502         (dl_open_worker) [!SHARED]: ... here.
39504 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39506         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
39508 2013-06-25  Richard Henderson  <rth@redhat.com>
39510         * locale/programs/locarchive.c: Include <libc-internal.h>
39512 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
39514         * manual/texinfo.tex: Update to version 2013-06-21.17, with
39515         trailing whitespace removed.
39517 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
39519         [BZ #10283]
39520         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
39521         * locale/programs/locarchive.c: Include libc-mmap.h.
39522         (prepare_address_space): Take two new outputs (the mmap base and len).
39523         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
39524         values.
39525         (create_archive): Declare new mmap base and len values for
39526         prepare_address_space, and store the result in ah.
39527         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
39528         (enlarge_archive): If ah->mmap_base is not NULL, use that and
39529         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
39530         Declare new mmap base and len values for
39531         prepare_address_space, and store the result in new_ah.
39532         (open_archive): Declare new mmap base and len values for
39533         prepare_address_space, and store the result in ah.
39534         (close_archive): If ah->mmap_base is not NULL, use that and
39535         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
39536         * sysdeps/generic/libc-mmap.h: New file.
39538 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
39540         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
39541         (ALIGN_UP): Likewise.
39542         (PTR_ALIGN_DOWN): Likewise.
39543         (PTR_ALIGN_UP): Likewise.
39545 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39547         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
39548         entry mapped to PPC_PLATFORM_POWER8.
39549         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
39550         POWER8.
39551         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
39552         (_dl_string_platform): Add case for exporting platform position for
39553         POWER8.
39554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
39555         search path to sysdeps/powerpc/powerpc32/power8 directory.
39556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
39557         search path to sysdeps/powerpc/powerpc64/power8 directory.
39558         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
39559         power7 directories.
39560         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
39561         power7 directories.
39563 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39565         * INSTALL: Regenerate.
39567         * nscd/connections.c (nscd_init): Fix comment.
39569 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
39571         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
39573         [BZ #15667]
39574         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
39575         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
39577 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
39579         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
39580         DL_DST_REQ_STATIC.
39581         (DL_DST_REQ_STATIC): Remove macro.
39583 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
39585         [BZ #7006]
39586         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
39587         with a shift of 0 bits.
39589 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
39591         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
39592         $(tststatic-ENV).
39594 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39596         [BZ #15655]
39597         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
39599 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39601         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
39602         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
39603         accepts -fno-tree-loop-distribute-patterns.
39604         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
39605         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
39606         recursive call.
39607         * string/memset.c (memset): Likewise.
39608         * string/test-memmove.c (simple_memmove): Disable loop transformation
39609         to library calls.
39610         * string/test-memset.c (simple_memset): Likewise.
39611         * benchtests/bench-memmove.c (simple_memmove): Likewise.
39612         * benchtests/bench-memset.c (simple_memset): Likewise.
39613         * configure: Regenerated.
39615 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
39617         * math/test-misc.c (main): Ignore fesetround failure when failures
39618         of subsequent rounding tests would be ignored.
39620         [BZ #15654]
39621         * math/fedisblxcpt.c (fedisableexcept): Return 0.
39622         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
39623         * math/fegetenv.c (__fegetenv): Return 0.
39624         * math/fegetexcept.c (fegetexcept): Return 0.
39625         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
39626         FE_TONEAREST.
39627         * math/feholdexcpt.c (feholdexcept): Return 0.
39628         * math/fesetenv.c (__fesetenv): Return 0.
39629         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
39630         argument FE_TONEAREST.
39631         * math/feupdateenv.c (__feupdateenv): Return 0.
39632         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
39634 2013-06-18  Roland McGrath  <roland@hack.frob.com>
39636         * elf/rtld-Rules (rtld-compile-command.S): New variable.
39637         (rtld-compile-command.s, rtld-compile-command.c): New variables.
39638         ($(objpfx)rtld-%.os rules): Use them.
39640 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39642         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
39643         fields.
39645 2013-06-17  Roland McGrath  <roland@hack.frob.com>
39647         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
39648         length of target pattern, then descending length of dependency pattern.
39649         * configure.in (AWK): Require gawk 3.1.2 or newer.
39650         * manual/install.texi (Tools for Compilation): Say that we do.
39651         * configure: Regenerated.
39653         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
39654         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
39655         * scripts/sysd-rules.awk: ... this new script.
39656         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
39657         than a glob-style pattern.
39659 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
39661         * math/test-misc.c (main): Do not treat incorrectly rounded
39662         conversions as failure unless ROUNDING_TESTS passes.
39664 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
39666         [BZ #15631]
39667         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
39668         restore exception state around main square root computation, then
39669         check for inexactness explicitly.
39671         * math/libm-test.inc (fma_test_data): Add another test.
39673 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39675         * manual/threads.texi (Non-POSIX Extensions): New document
39676         node.  Document pthread_getattr_default_np and
39677         pthread_setattr_default_np.
39679         * Versions.def (libpthread): Add GLIBC_2.18.
39680         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
39681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39682         Likewise.
39683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39684         Likewise.
39685         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39686         Likewise.
39687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39688         Likewise.
39689         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
39690         Likewise.
39691         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39692         Likewise.
39693         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39694         Likewise.
39695         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39696         Likewise.
39697         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39698         Likewise.
39700 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39702         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39703         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
39705 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39706             H.J. Lu  <hjl.tools@gmail.com>
39708         [BZ #15627]
39709         * sysdeps/x86_64/rtld-memset.c: Remove file.
39710         * sysdeps/x86_64/rtld-memset.S: New file.
39712 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
39714         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
39715         (test_in_one_mode): Take arguments for whether the rounding mode
39716         is supported for each floating-point type.
39717         (do_test): Pass new arguments to test_in_one_mode using
39718         ROUNDING_TESTS.
39720 2013-06-13  Roland McGrath  <roland@hack.frob.com>
39722         * posix/tst-waitid.c (do_test): Distinguish different instances of
39723         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
39724         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
39725         before entering the kernel for waitpid.
39727 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39729         * NEWS: Fix note on clock function precision.  Text by Roland
39730         McGrath.
39732 2013-06-13  Roland McGrath  <roland@hack.frob.com>
39734         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
39735         it into place only when and if the sanity check passes.
39737 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
39739         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
39740         output for whether conversion result is exact.  Take argument
39741         indicating whether type is IBM long double.
39742         (round_for_all): Change need_exact field to ibm_ld.
39743         * stdlib/tst-strtod-round.c (struct exactness): New type.
39744         (struct test): Change bool ld_ok field to struct exactness exact.
39745         (TEST): Update all definitions for change to field.
39746         (tests): Regenerate array contents.
39747         (test_in_one_mode): Take pointer to new field instead of old ld_ok
39748         field value.  Check for IBM long double here.
39749         (do_test): Update calls to test_in_one_mode.
39751 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39753         [BZ #12515]
39754         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
39755         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
39757 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39759         [BZ #15605]
39760         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
39761         generated by the compiler on loop optimizations.
39762         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
39763         general definitions.
39765 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
39767         * math/bug-nextafter.c: Include <math-tests.h>.
39768         (main): Only test for exceptions if EXCEPTION_TESTS is true for
39769         the relevant type.
39770         * math/bug-nexttoward.c: Include <math-tests.h>.
39771         (main): Only test for exceptions if EXCEPTION_TESTS is true for
39772         the relevant type.
39773         * math/test-misc.c: Include <math-tests.h>.
39774         (main): Only test for exceptions if EXCEPTION_TESTS is true for
39775         the relevant type.
39777 2013-06-12  Andreas Jaeger  <aj@suse.de>
39779         * po/ia.po: Update Interlingua translation from translation
39780         project.
39782 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39784         * include/fenv.h: Include stdbool.h.
39785         (struct rm_ctx): New structure.
39786         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
39787         Define macro.
39788         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
39789         (SET_RESTORE_ROUNDF): Likewise.
39790         (SET_RESTORE_ROUNDL): Likewise.
39791         (SET_RESTORE_ROUND_NOEX): Likewise.
39792         (SET_RESTORE_ROUND_NOEXF): Likewise.
39793         (SET_RESTORE_ROUND_NOEXL): Likewise.
39794         (SET_RESTORE_ROUND_53BIT): Likewise.
39795         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
39796         (libc_feresetround_noexf_ctx): Likewise.
39797         (libc_feresetround_noexl_ctx): Likewise.
39798         (libc_feholdsetround_53bit_ctx): Likewise.
39799         (libc_feresetround_53bit_ctx): Likewise.
39800         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
39801         (libc_feholdexcept_setround_sse_ctx): New function.
39802         (libc_fesetenv_sse_ctx): Likewise.
39803         (libc_feupdateenv_sse_ctx): Likewise.
39804         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
39805         (libc_feholdexcept_setround_387_ctx): Likewise.
39806         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
39807         (libc_feholdsetround_387_prec_ctx): Likewise.
39808         (libc_feholdsetround_387_ctx): Likewise.
39809         (libc_feholdsetround_387_53bit_ctx): Likewise.
39810         (libc_feholdsetround_sse_ctx): Likewise.
39811         (libc_feresetround_sse_ctx): Likewise.
39812         (libc_feresetround_387_ctx): Likewise.
39813         (libc_feupdateenv_387_ctx): Likewise.
39814         (libc_feholdexcept_setroundf_ctx): Define macro.
39815         (libc_fesetenvf_ctx): Likewise.
39816         (libc_feupdateenvf_ctx): Likewise.
39817         (libc_feholdsetroundf_ctx): Likewise.
39818         (libc_feresetroundf_ctx): Likewise.
39819         (libc_feholdexcept_setround_ctx): Likewise.
39820         (libc_fesetenv_ctx): Likewise.
39821         (libc_feupdateenv_ctx): Likewise.
39822         (libc_feholdsetround_ctx): Likewise.
39823         (libc_feresetround_ctx): Likewise.
39824         (libc_feholdexcept_setroundl_ctx): Likewise.
39825         (libc_feupdateenvl_ctx): Likewise.
39826         (libc_feholdsetroundl_ctx): Likewise.
39827         (libc_feresetroundl_ctx): Likewise.
39828         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
39829         (libc_feresetround_53bit_ctx): Likewise.
39831 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39833         * locale/iso-639.def: Convert to UTF-8.
39835 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
39837         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
39838         (EXCEPTION_TESTS_double): Likewise.
39839         (EXCEPTION_TESTS_long_double): Likewise.
39840         (EXCEPTION_TESTS): Likewise.
39841         * math/libm-test.inc (test_exceptions): Only test exceptions if
39842         EXCEPTION_TESTS (FLOAT).
39844 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39846         * benchtests/Makefile (string-bench): Add strcpy_chk and
39847         stpcpy_chk.
39848         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
39849         * benchtests/bench-stpcpy_chk.c: New file.
39850         * benchtests/bench-strcpy_chk-ifunc.c: New file.
39851         * benchtests/bench-strcpy_chk.c: New file.
39852         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
39853         code.
39854         (do_test): Likewise.
39856 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39858         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
39859         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
39860         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
39861         with tabs where appropriate.
39862         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
39863         dl-procinfo.h.
39864         [PPC_PLATFORM_PPC440]: Likewise.
39865         [PPC_PLATFORM_PPC464]: Likewise.
39866         [PPC_PLATFORM_PPC476]: Likewise.
39867         (_dl_string_platform): Add support for detecting ppc405, ppc440,
39868         ppc464, and ppc476 platform strings merging from ports/
39869         dl-procinfo.h.
39871 2013-06-11  Andreas Schwab  <schwab@suse.de>
39873         [BZ #14991]
39874         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
39875         (from_ucs4_idx): Regenerate.
39876         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
39877         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
39878         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
39879         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
39880         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
39881         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
39882         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
39883         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
39884         from FROM_LOOP and TO_LOOP specific macros.
39885         (BODY): Handle combining characters.
39886         * iconvdata/BIG5HKSCS.irreversible: Update.
39887         * iconvdata/BIG5HKSCS.precomposed: New file.
39888         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
39889         characters.
39890         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
39892 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39894         * include/sys/time.h: Fix indentation and add copyright header.
39896         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
39897         (do_test): Likewise.
39898         * string/test-memchr.c (do_one_test): Likewise.
39899         (do_test): Likewise.
39900         * string/test-memcmp.c (do_one_test): Likewise.
39901         (do_test): Likewise.
39902         * string/test-memcpy.c (do_one_test): Likewise.
39903         (do_test): Likewise.
39904         * string/test-memmem.c (do_one_test): Likewise.
39905         (do_test): Likewise.
39906         (do_random_tests): Likewise.
39907         * string/test-memmove.c (do_one_test): Likewise.
39908         (do_test): Likewise.
39909         * string/test-memset.c (do_one_test): Likewise.
39910         (do_test): Likewise.
39911         * string/test-rawmemchr.c (do_one_test): Likewise.
39912         (do_test): Likewise.
39913         * string/test-strcasecmp.c (do_one_test): Likewise.
39914         (do_test): Likewise.
39915         * string/test-strcasestr.c (do_one_test): Likewise.
39916         (do_test): Likewise.
39917         * string/test-strcat.c (do_one_test): Likewise.
39918         (do_test): Likewise.
39919         * string/test-strchr.c (do_one_test): Likewise.
39920         (do_test): Likewise.
39921         * string/test-strcmp.c (do_one_test): Likewise.
39922         (do_test): Likewise.
39923         * string/test-strcpy.c (do_one_test): Likewise.
39924         (do_test): Likewise.
39925         * string/test-string.h: Likewise.
39926         (test_init): Likewise.
39927         * string/test-strlen.c (do_one_test): Likewise.
39928         (do_test): Likewise.
39929         * string/test-strncasecmp.c (do_one_test): Likewise.
39930         (do_test): Likewise.
39931         * string/test-strncat.c (do_one_test): Likewise.
39932         (do_test): Likewise.
39933         * string/test-strncmp.c (do_one_test): Likewise.
39934         (do_test_limit): Likewise.
39935         (do_test): Likewise.
39936         * string/test-strncpy.c (do_one_test): Likewise.
39937         (do_test): Likewise.
39938         * string/test-strnlen.c (do_one_test): Likewise.
39939         (do_test): Likewise.
39940         * string/test-strpbrk.c (do_one_test): Likewise.
39941         (do_test): Likewise.
39942         * string/test-strrchr.c (do_one_test): Likewise.
39943         (do_test): Likewise.
39944         * string/test-strspn.c (do_one_test): Likewise.
39945         (do_test): Likewise.
39946         * string/test-strstr.c (do_one_test): Likewise.
39947         (do_test): Likewise.
39949         * benchtests/Makefile (string-bench): Add string benchmarks.
39950         * benchtests/bench-bcopy-ifunc.c: New file.
39951         * benchtests/bench-bcopy.c: New file.
39952         * benchtests/bench-bzero-ifunc.c: New file.
39953         * benchtests/bench-bzero.c: New file.
39954         * benchtests/bench-memccpy-ifunc.c: New file.
39955         * benchtests/bench-memccpy.c: New file.
39956         * benchtests/bench-memchr-ifunc.c: New file.
39957         * benchtests/bench-memchr.c: New file.
39958         * benchtests/bench-memcmp-ifunc.c: New file.
39959         * benchtests/bench-memcmp.c: New file.
39960         * benchtests/bench-memmem-ifunc.c: New file.
39961         * benchtests/bench-memmem.c: New file.
39962         * benchtests/bench-memmove-ifunc.c: New file.
39963         * benchtests/bench-memmove.c: New file.
39964         * benchtests/bench-mempcpy-ifunc.c: New file.
39965         * benchtests/bench-mempcpy.c: New file.
39966         * benchtests/bench-memset-ifunc.c: New file.
39967         * benchtests/bench-memset.c: New file.
39968         * benchtests/bench-rawmemchr-ifunc.c: New file.
39969         * benchtests/bench-rawmemchr.c: New file.
39970         * benchtests/bench-stpcpy-ifunc.c: New file.
39971         * benchtests/bench-stpcpy.c: New file.
39972         * benchtests/bench-stpncpy-ifunc.c: New file.
39973         * benchtests/bench-stpncpy.c: New file.
39974         * benchtests/bench-strcasecmp-ifunc.c: New file.
39975         * benchtests/bench-strcasecmp.c: New file.
39976         * benchtests/bench-strcasestr-ifunc.c: New file.
39977         * benchtests/bench-strcasestr.c: New file.
39978         * benchtests/bench-strcat-ifunc.c: New file.
39979         * benchtests/bench-strcat.c: New file.
39980         * benchtests/bench-strchr-ifunc.c: New file.
39981         * benchtests/bench-strchr.c: New file.
39982         * benchtests/bench-strchrnul-ifunc.c: New file.
39983         * benchtests/bench-strchrnul.c: New file.
39984         * benchtests/bench-strcmp-ifunc.c: New file.
39985         * benchtests/bench-strcmp.c: New file.
39986         * benchtests/bench-strcpy-ifunc.c: New file.
39987         * benchtests/bench-strcpy.c: New file.
39988         * benchtests/bench-strcspn-ifunc.c: New file.
39989         * benchtests/bench-strcspn.c: New file.
39990         * benchtests/bench-strlen-ifunc.c: New file.
39991         * benchtests/bench-strlen.c: New file.
39992         * benchtests/bench-strncasecmp-ifunc.c: New file.
39993         * benchtests/bench-strncasecmp.c: New file.
39994         * benchtests/bench-strncat-ifunc.c: New file.
39995         * benchtests/bench-strncat.c: New file.
39996         * benchtests/bench-strncmp-ifunc.c: New file.
39997         * benchtests/bench-strncmp.c: New file.
39998         * benchtests/bench-strncpy-ifunc.c: New file.
39999         * benchtests/bench-strncpy.c: New file.
40000         * benchtests/bench-strnlen-ifunc.c: New file.
40001         * benchtests/bench-strnlen.c: New file.
40002         * benchtests/bench-strpbrk-ifunc.c: New file.
40003         * benchtests/bench-strpbrk.c: New file.
40004         * benchtests/bench-strrchr-ifunc.c: New file.
40005         * benchtests/bench-strrchr.c: New file.
40006         * benchtests/bench-strspn-ifunc.c: New file.
40007         * benchtests/bench-strspn.c: New file.
40008         * benchtests/bench-strstr-ifunc.c: New file.
40009         * benchtests/bench-strstr.c: New file.
40011         * benchtests/Makefile: Disable parallel execution of targets.
40012         (string-bench): Add memcpy.
40013         (benchset): New variable to store a list of benchmark sets.
40014         (bench-func): Renamed from bench.
40015         (bench-set): New target.
40016         (bench): Depend on bench-func and bench-set.
40017         * benchtests/README: Add section on benchmark sets.
40018         * benchtests/bench-memcpy-ifunc.c: New file.
40019         * benchtests/bench-memcpy.c: New file.
40020         * benchtests/bench-string.h: New file.
40022 2013-06-11  Andreas Schwab  <schwab@suse.de>
40024         [BZ #15577]
40025         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
40026         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
40027         values in the triple.
40028         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
40029         terminator in the group key.
40031 2013-06-11  Andreas Jaeger  <aj@suse.de>
40033         * po/zh_TW.po: Update Chinese (traditional) translation from
40034         translation project.
40036 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40038         * include/time.h (__clock_gettime): Add libc_hidden_proto.
40039         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
40040         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
40041         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40042         (clock_getcpuclockid): Likewise.
40043         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
40044         Add weak_alias and libc_hidden_def.
40045         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
40046         * rt/clock_gettime.c (clock_gettime): Rename to
40047         __clock_gettime.  Add weak_alias and libc_hidden_def.
40048         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
40049         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
40050         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
40051         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
40052         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
40053         Likewise.
40054         * rt/clock_settime.c (clock_settime): Rename to
40055         __clock_settime.  Add weak_alias and libc_hidden_def.
40056         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
40058 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
40060         * mach/err_boot.sub: Remove trailing whitespace.
40061         * mach/err_ipc.sub: Likewise.
40062         * mach/err_mach.sub: Likewise.
40064         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
40065         (ROUNDING_TESTS_double): Likewise.
40066         (ROUNDING_TESTS_long_double): Likewise.
40067         (ROUNDING_TESTS): Likewise.
40068         * math/libm-test.inc: Include <math-tests.h>.
40069         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
40070         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
40071         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
40072         (IF_ROUND_INIT_FE_UPWARD): Likewise.
40074 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40076         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
40077         of assigning.
40079 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
40081         * sysdeps/gnu/errlist.awk: Do not generate space at end of
40082         otherwise empty TRANS lines.
40083         * sysdeps/gnu/errlist.c: Regenerated.
40085         * catgets/gencat.c (error_print): Use (void) in function
40086         definition.
40087         * crypt/crypt_util.c (__init_des): Likewise.
40088         * crypt/speeds.c (Stop): Likewise.
40089         (main): Likewise.
40090         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
40091         * inet/ruserpass.c (token): Likewise.
40092         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
40093         * intl/localealias.c (extend_alias_table): Likewise.
40094         * intl/plural-exp.c (init_germanic_plural): Likewise.
40095         * libio/fcloseall.c (__fcloseall): Likewise.
40096         * libio/genops.c (_IO_flush_all): Likewise.
40097         (_IO_flush_all_linebuffered): Likewise.
40098         (_IO_cleanup): Likewise.
40099         (_IO_iter_begin): Likewise.
40100         (_IO_iter_end): Likewise.
40101         (_IO_list_lock): Likewise.
40102         (_IO_list_unlock): Likewise.
40103         (_IO_list_resetlock): Likewise.
40104         * libio/getchar.c (getchar): Likewise.
40105         * libio/getchar_u.c (getchar_unlocked): Likewise.
40106         * libio/getwchar.c (getwchar): Likewise.
40107         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
40108         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
40109         * login/getpt.c (__getpt): Likewise.
40110         * login/tst-utmp.c (main): Likewise.
40111         * malloc/hooks.c (__malloc_check_init): Likewise.
40112         * malloc/malloc.c (__malloc_stats): Likewise.
40113         * malloc/mtrace.c (tr_break): Likewise.
40114         (mtrace): Likewise.
40115         (muntrace): Likewise.
40116         * misc/fstab.c (endfsent): Likewise.
40117         * misc/getclktck.c (__getclktck): Likewise.
40118         * misc/getdtsz.c (__getdtablesize): Likewise.
40119         * misc/gethostid.c (gethostid): Likewise.
40120         * misc/getpagesize.c (__getpagesize): Likewise.
40121         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
40122         (__get_nprocs): Likewise.
40123         (__get_phys_pages): Likewise.
40124         (__get_avphys_pages): Likewise.
40125         * misc/getttyent.c (getttyent): Likewise.
40126         (setttyent): Likewise.
40127         (endttyent): Likewise.
40128         * misc/getusershell.c (getusershell): Likewise.
40129         (endusershell): Likewise.
40130         (setusershell): Likewise.
40131         (initshells): Likewise.
40132         * misc/hsearch.c (__hdestroy): Likewise.
40133         * misc/sync.c (sync): Likewise.
40134         * misc/syslog.c (closelog_internal): Likewise.
40135         (closelog): Likewise.
40136         * misc/ttyslot.c (ttyslot): Likewise.
40137         * misc/vhangup.c (vhangup): Likewise.
40138         * posix/fork.c (__fork): Likewise.
40139         * posix/getegid.c (__getegid): Likewise.
40140         * posix/geteuid.c (__geteuid): Likewise.
40141         * posix/getgid.c (__getgid): Likewise.
40142         * posix/getpid.c (__getpid): Likewise.
40143         * posix/getppid.c (__getppid): Likewise.
40144         * posix/getuid.c (__getuid): Likewise.
40145         * posix/pause.c (pause): Likewise.
40146         * posix/setpgrp.c (setpgrp): Likewise.
40147         * posix/setsid.c (__setsid): Likewise.
40148         * posix/test-vfork.c (noop): Likewise.
40149         * resolv/gethnamaddr.c (_endhtent): Likewise.
40150         (_gethtent): Likewise.
40151         (ht_endhostent): Likewise.
40152         (gethostent): Likewise.
40153         (dns_service): Likewise.
40154         * stdlib/drand48.c (drand48): Likewise.
40155         * stdlib/lrand48.c (lrand48): Likewise.
40156         * stdlib/mrand48.c (mrand48): Likewise.
40157         * stdlib/rand.c (rand): Likewise.
40158         * stdlib/random.c (__random): Likewise.
40159         * stdlib/setenv.c (clearenv): Likewise.
40160         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
40161         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
40162         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
40163         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
40164         (__get_nprocs): Likewise.
40165         (__get_phys_pages): Likewise.
40166         (__get_avphys_pages): Likewise.
40167         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
40168         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
40169         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
40170         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
40171         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
40172         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
40173         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
40174         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
40175         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
40176         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
40177         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
40178         * sysdeps/mach/hurd/sync.c (sync): Likewise.
40179         * sysdeps/posix/clock.c (clock): Likewise.
40180         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
40181         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
40182         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
40183         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
40184         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
40185         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
40186         (__get_nprocs_conf): Likewise.
40187         (__get_phys_pages): Likewise.
40188         (__get_avphys_pages): Likewise.
40189         * time/clock.c (clock): Likewise.
40190         * time/tzset.c (__tzname_max): Likewise.
40192 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
40194         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
40195         (__bswap_32): Do not use "register".
40196         * crypt/crypt.c (_ufc_doit_r): Likewise.
40197         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
40198         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
40199         * gmon/gmon.c (__monstartup): Likewise.
40200         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
40201         * hurd/hurdmalloc.c (more_memory): Likewise.
40202         (malloc): Likewise.
40203         (free): Likewise.
40204         (realloc): Likewise.
40205         (malloc_fork_prepare): Likewise.
40206         (malloc_fork_parent): Likewise.
40207         (malloc_fork_child): Likewise.
40208         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
40209         (_svcauth_des): Likewise.
40210         * inet/inet_lnaof.c (inet_lnaof): Likewise.
40211         * inet/inet_net.c (inet_network): Likewise.
40212         * inet/inet_netof.c (inet_netof): Likewise.
40213         * inet/rcmd.c (__validuser2_sa): Likewise.
40214         * io/fts.c (fts_open): Likewise.
40215         (fts_load): Likewise.
40216         (fts_close): Likewise.
40217         (fts_read): Likewise.
40218         (fts_children): Likewise.
40219         (fts_build): Likewise.
40220         (fts_stat): Likewise.
40221         (fts_sort): Likewise.
40222         (fts_alloc): Likewise.
40223         (fts_lfree): Likewise.
40224         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
40225         (_IO_file_xsgetn): Likewise.
40226         (_IO_file_xsgetn_mmap): Likewise.
40227         * libio/iofopncook.c (_IO_cookie_read): Likewise.
40228         (_IO_cookie_write): Likewise.
40229         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
40230         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
40231         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
40232         * malloc/obstack.c (_obstack_begin): Likewise.
40233         (_obstack_begin_1): Likewise.
40234         (_obstack_newchunk): Likewise.
40235         (_obstack_allocated_p): Likewise.
40236         (obstack_free): Likewise.
40237         (_obstack_memory_used): Likewise.
40238         * misc/getttyent.c (getttynam): Likewise.
40239         (getttyent): Likewise.
40240         (skip): Likewise.
40241         (value): Likewise.
40242         * misc/getusershell.c (initshells): Likewise.
40243         * misc/syslog.c (__vsyslog_chk): Likewise.
40244         * misc/ttyslot.c (ttyslot): Likewise.
40245         * nis/nis_hash.c (__nis_hash): Likewise.
40246         * posix/fnmatch_loop.c (FCT): Likewise.
40247         * posix/getconf.c (print_all): Likewise.
40248         (main): Likewise.
40249         * posix/getopt.c (exchange): Likewise.
40250         * posix/glob.c (globfree): Likewise.
40251         (prefix_array): Likewise.
40252         (__glob_pattern_type): Likewise.
40253         * resolv/arpa/nameser.h (NS_GET16): Likewise.
40254         (NS_GET32): Likewise.
40255         (NS_PUT16): Likewise.
40256         (NS_PUT32): Likewise.
40257         * resolv/gethnamaddr.c (getanswer): Likewise.
40258         (gethostbyname2): Likewise.
40259         (gethostbyaddr): Likewise.
40260         (_gethtent): Likewise.
40261         (_gethtbyname2): Likewise.
40262         (_gethtbyaddr): Likewise.
40263         * resolv/ns_print.c (dst_s_get_int16): Likewise.
40264         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
40265         * resolv/res_init.c (__res_vinit): Likewise.
40266         (net_mask): Likewise.
40267         * resolv/res_mkquery.c (outchar): Likewise.
40268         (PRINT): Likewise.
40269         * stdio-common/printf_fp.c (outchar): Likewise.
40270         (PRINT): Likewise.
40271         * stdio-common/printf_fphex.c (outchar): Likewise.
40272         (PRINT): Likewise.
40273         * stdio-common/printf_size.c (outchar): Likewise.
40274         (PRINT): Likewise.
40275         * stdio-common/test_rdwr.c (main): Likewise.
40276         * stdio-common/tfformat.c (matches): Likewise.
40277         * stdio-common/vfprintf.c (outchar): Likewise.
40278         (printf_unknown): Likewise.
40279         (buffered_vfprintf): Likewise.
40280         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
40281         * stdio-common/xbug.c (AppendToBuffer): Likewise.
40282         (ReadFile): Likewise.
40283         * stdlib/qsort.c (SWAP): Likewise.
40284         (_quicksort): Likewise.
40285         * stdlib/setenv.c (__add_to_environ): Likewise.
40286         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
40287         * stdlib/strtol_l.c (__strtol_l): Likewise.
40288         * stdlib/tst-strtod.c (main): Likewise.
40289         * stdlib/tst-strtol.c (main): Likewise.
40290         * stdlib/tst-strtoll.c (main): Likewise.
40291         * string/bits/string2.h (__strcmp_cc): Likewise.
40292         (__strcmp_cg): Likewise.
40293         (__strcspn_c1): Likewise.
40294         (__strcspn_c2): Likewise.
40295         (__strcspn_c3): Likewise.
40296         (__strspn_c1): Likewise.
40297         (__strspn_c2): Likewise.
40298         (__strspn_c3): Likewise.
40299         (__strsep_1c): Likewise.
40300         (__strsep_2c): Likewise.
40301         (__strsep_3c): Likewise.
40302         * string/memccpy.c (__memccpy): Likewise.
40303         * string/stpcpy.c (__stpcpy): Likewise.
40304         * string/strcmp.c (strcmp): Likewise.
40305         * string/strrchr.c (strrchr): Likewise.
40306         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
40307         Likewise.
40308         * sysdeps/mach/hurd/getcwd.c
40309         (_hurd_canonicalize_directory_name_internal): Likewise.
40310         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
40311         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
40312         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
40313         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
40314         Likewise, in both definitions.
40315         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
40316         definitions.
40317         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
40318         64] (__bswap_64): Likewise.
40319         * time/test_time.c (main): Likewise.
40320         * time/tzfile.c (__tzfile_read): Likewise.
40321         (__tzfile_compute): Likewise.
40322         * time/tzset.c (__tzset_parse_tz): Likewise.
40323         (tzset_internal): Likewise.
40324         (compute_change): Likewise.
40325         * wcsmbs/wcscat.c (__wcscat): Likewise.
40326         * wcsmbs/wcschr.c (wcschr): Likewise.
40327         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
40328         * wcsmbs/wcscspn.c (wcscspn): Likewise.
40329         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
40330         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
40331         * wcsmbs/wcsspn.c (wcsspn): Likewise.
40332         * wcsmbs/wcsstr.c (wcsstr): Likewise.
40333         * wcsmbs/wmemchr.c (wmemchr): Likewise.
40334         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40335         * wcsmbs/wmemset.c (wmemset): Likewise.
40337 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
40339         * scripts/config.guess: Update to version 2013-05-16.
40340         * scripts/config.sub: Update to version 2013-04-24.
40341         * scripts/install-sh: Update to version 2011-11-20.07.
40342         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
40343         * scripts/move-if-change: Update to version 2012-01-06 07:23.
40345 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
40347         * debug/fgetws_u_chk.c: Fix leading whitespaces.
40348         * elf/sln.c: Likewise.
40349         * hurd/hurd/ioctl.h: Likewise.
40350         * hurd/hurdmalloc.c: Likewise.
40351         * hurd/xattr.c: Likewise.
40352         * include/shlib-compat.h: Likewise.
40353         * inet/ruserpass.c: Likewise.
40354         * libio/iofgets_u.c: Likewise.
40355         * libio/iofgetws_u.c: Likewise.
40356         * locale/programs/ld-identification.c: Likewise.
40357         * locale/programs/ld-time.c: Likewise.
40358         * mach/msg-destroy.c: Likewise.
40359         * nss/nss_files/files-netgrp.c: Likewise.
40360         * resolv/res_data.c: Likewise.
40361         * soft-fp/op-1.h: Likewise.
40362         * soft-fp/op-2.h: Likewise.
40363         * soft-fp/op-4.h: Likewise.
40364         * soft-fp/op-common.h: Likewise.
40365         * stdio-common/printf_fphex.c: Likewise.
40366         * stdlib/strtod_l.c: Likewise.
40367         * sunrpc/rpc/clnt.h: Likewise.
40368         * sysdeps/generic/framestate.c: Likewise.
40369         * sysdeps/i386/bsd-_setjmp.S: Likewise.
40370         * sysdeps/i386/bsd-setjmp.S: Likewise.
40371         * sysdeps/i386/__longjmp.S: Likewise.
40372         * sysdeps/i386/setjmp.S: Likewise.
40373         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40374         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40375         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40376         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40377         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40378         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40379         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40380         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40381         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40382         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40383         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40384         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40385         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40386         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40387         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40388         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40389         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40390         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
40391         * sysdeps/ieee754/support.c: Likewise.
40392         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40393         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
40394         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
40395         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
40396         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
40397         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
40398         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
40399         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
40400         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
40401         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
40402         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
40403         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
40404         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
40405         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
40406         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
40407         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
40408         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
40411 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
40413         * posix/transbug.c: Remove executable mode.
40415 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
40417         * crypt/speeds.c: Remove trailing whitespace.
40418         * dlfcn/default.c: Likewise.
40419         * elf/ifuncdep2.c: Likewise.
40420         * elf/ifuncmain1.c: Likewise.
40421         * elf/ifuncmain1vis.c: Likewise.
40422         * elf/testobj.h: Likewise.
40423         * elf/tst-stackguard1.c: Likewise.
40424         * gmon/sys/gmon.h: Likewise.
40425         * hurd/hurdmsg.c: Likewise.
40426         * hurd/new-fd.c: Likewise.
40427         * hurd/ports-get.c: Likewise.
40428         * iconvdata/ibm1008_420.c: Likewise.
40429         * inet/tst-getni1.c: Likewise.
40430         * inet/tst-getni2.c: Likewise.
40431         * libio/ioungetc.c: Likewise.
40432         * libio/wfiledoalloc.c: Likewise.
40433         * manual/libm-err-tab.pl: Likewise.
40434         * math/w_dremf.c: Likewise.
40435         * misc/ftruncate.c: Likewise.
40436         * posix/bug-glob2.c: Likewise.
40437         * posix/tst-pcre.c: Likewise.
40438         * posix/wait4.c: Likewise.
40439         * resolv/README: Likewise.
40440         * resolv/res_debug.h: Likewise.
40441         * resolv/tst-inet_ntop.c: Likewise.
40442         * setjmp/bug269-setjmp.c: Likewise.
40443         * soft-fp/extended.h: Likewise.
40444         * soft-fp/op-1.h: Likewise.
40445         * soft-fp/op-2.h: Likewise.
40446         * soft-fp/op-4.h: Likewise.
40447         * soft-fp/op-8.h: Likewise.
40448         * soft-fp/testit.c: Likewise.
40449         * stdio-common/bug16.c: Likewise.
40450         * stdlib/random.c: Likewise.
40451         * sunrpc/rpcsvc/rquota.x: Likewise.
40452         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
40453         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40454         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40455         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40456         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40457         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40458         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40459         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40460         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40461         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40462         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40463         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40464         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40465         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40466         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40467         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40468         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40469         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40470         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40471         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40472         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40473         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40474         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
40475         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40476         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40477         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40478         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
40479         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40480         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40481         * sysdeps/ieee754/s_lib_version.c: Likewise.
40482         * sysdeps/mach/hurd/check_fds.c: Likewise.
40483         * sysdeps/mach/hurd/getsockname.c: Likewise.
40484         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
40485         * sysdeps/mach/hurd/recvfrom.c: Likewise.
40486         * sysdeps/powerpc/bits/link.h: Likewise.
40487         * sysdeps/powerpc/dl-procinfo.c: Likewise.
40488         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
40489         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
40490         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
40491         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
40492         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40493         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
40494         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
40495         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
40496         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40497         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
40498         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
40499         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
40500         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40501         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40502         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40503         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
40504         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
40505         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40506         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40507         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40508         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
40509         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40510         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
40511         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
40512         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
40513         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
40514         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40515         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40516         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
40517         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
40518         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
40519         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40520         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40521         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
40522         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
40523         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
40524         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
40525         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
40526         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
40527         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
40528         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
40529         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
40530         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
40531         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
40532         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
40533         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
40534         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
40535         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
40536         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
40537         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40538         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40539         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40540         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40541         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
40542         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
40543         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
40544         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40545         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
40546         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
40547         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
40548         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
40549         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
40550         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40551         * sysdeps/powerpc/sysdep.h: Likewise.
40552         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40553         * sysdeps/s390/s390-64/sub_n.S: Likewise.
40554         * sysdeps/sh/dl-trampoline.S: Likewise.
40555         * sysdeps/sh/memset.S: Likewise.
40556         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
40557         * sysdeps/sh/strlen.S: Likewise.
40558         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
40559         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
40560         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
40561         * sysdeps/sparc/sparc32/rem.S: Likewise.
40562         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
40563         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
40564         * sysdeps/sparc/sparc32/strchr.S: Likewise.
40565         * sysdeps/sparc/sparc32/udiv.S: Likewise.
40566         * sysdeps/sparc/sparc32/urem.S: Likewise.
40567         * sysdeps/sparc/sparc64/add_n.S: Likewise.
40568         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
40569         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
40570         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
40571         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
40572         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
40573         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
40574         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
40575         * sysdeps/unix/bsd/times.c: Likewise.
40576         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
40577         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
40578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
40579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
40580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
40581         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
40582         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
40583         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
40584         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
40585         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
40586         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
40587         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
40588         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
40589         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
40590         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
40591         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
40592         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
40593         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
40594         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
40595         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
40596         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
40597         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
40598         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
40599         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
40600         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
40601         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
40602         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
40603         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40604         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
40605         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
40606         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
40607         * sysdeps/x86_64/strcspn.S: Likewise.
40609 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40611         * locale/C-translit.h: Revert #include <stdint.h> because this is a
40612         generated file.  Regenerate properly from gen-translit.pl.
40613         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
40614         locale/C-translit.h.
40616 2013-06-05  Andreas Schwab  <schwab@suse.de>
40618         [BZ #15100]
40619         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
40620         week as 6 instead of -1.
40621         * time/tst-strptime.c (day_tests): Add test case.
40623 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40625         * sysdeps/generic/math_private.h
40626         (libc_feholdexcept_setround_53bit): Replace with
40627         libc_feholdsetround_53bit.
40628         (libc_feupdateenv_53bit): Replace with
40629         libc_feresetround_53bit.
40630         (SET_RESTORE_ROUND_53BIT): Adjust.
40632 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40634         * string/test-strchrnul.c: Add copyright header.
40636         * posix/tst-getaddrinfo4.c: Increase test timeout.
40638 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
40640         [BZ #15536]
40641         * math/libm-test.inc (MAX_EXP): Remove
40642         (MIN_EXP): Define.
40643         (ulp): Use MIN_EXP - MANT_DIG.
40644         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
40646 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
40648         * po/be.po: Revert last change.
40649         * po/zh_CN.po: Likewise.
40650         * po/header.pot: Likewise.
40652 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
40654         * Makefile ($(common-objpfx)linkobj/libc.so): Define
40655         link-libc-deps to empty as target-specific variable.
40656         * Makerules (link-libc-args): New variable.
40657         (libc-for-link): Likewise.
40658         (link-libc-deps): Likewise.
40659         (lib%.so): Depend on $(link-libc-deps).  Link with
40660         $(link-libc-args).
40661         (build-module): Link with $(link-libc-args).
40662         (build-module-asneeded): Likewise.
40663         (build-module-helper-objlist): Filter out $(link-libc-deps) from
40664         list of objects.
40665         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
40666         target-specific variable.
40667         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
40668         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
40669         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
40670         libc.
40671         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
40672         libc and ld.so.
40673         ($(objpfx)libpcprofile.so): Likewise.
40674         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
40675         libc_nonshared.a.
40676         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
40677         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
40678         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
40679         $(link-libc-deps).
40680         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
40681         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
40682         * login/Makefile ($(objpfx)libutil.so): Likewise.
40683         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
40684         * math/Makefile ($(objpfx)libm.so): Likewise.
40685         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
40686         $(objpfx)libnsl.so): Define libc-for-link as target-specific
40687         variable instead of depending directly on libc.
40688         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
40689         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
40690         $(link-libc-deps).
40691         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
40692         libc.
40693         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
40694         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
40695         ($(objpfx)libanl.so): Likewise.
40696         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
40697         ld.so.
40698         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
40699         $(link-libc-deps).
40700         * sysdeps/i386/fpu/Makefile: Remove file.
40701         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
40702         ($(objpfx)libm.so): Remove dependency on ld.so.
40704 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
40706         [BZ # 15553]
40707         * nis/yp_xdr.c (XDRMAXNAME): Define.
40708         (XDRMAXRECORD): Define.
40709         (xdr_domainname): Use XDRMAXNAME.
40710         (xdr_mapname): Likewise.
40711         (xdr_peername): Likewise.
40712         (xdr_keydat): Use XDRMAXRECORD.
40713         (xdr_valdat): Likewise.
40715 2013-05-30  Jeff Law  <law@redhat.com>
40717         [BZ #14256]
40718         * manual/errno.texi (ESTALE): Update to account for more than
40719         just NFS file systems.
40720         * sysdeps/gnu/errlist.c: Regenerated.
40722 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40724         [BZ #15465]
40725         * elf/Makefile (tests): Add tst-null-argv.
40726         (modules-names):  Add tst-null-argv-lib.
40727         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
40728         (tst-null-argv-ENV): Set environment for tst-null-argv.
40729         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
40730         (RTLD_PROGNAME): New macro.
40731         * elf/tst-null-argv.c: New test case.
40732         * elf/tst-null-argv-lib.c: Library for test case.
40733         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
40734         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
40735         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
40736         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
40737         * elf/dl-init.c (call_init): Likewise.
40738         (_dl_init): Likewise.
40739         * elf/dl-load.c (print_search_path): Likewise.
40740         (_dl_map_object): Likewise.
40741         * elf/dl-lookup.c (do_lookup_x): Likewise.
40742         (add_dependency): Likewise.
40743         (_dl_lookup_symbol_x): Likewise.
40744         (_dl_debug_bindings): Likewise.
40745         * elf/dl-open.c (_dl_show_scope): Likewise.
40746         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
40747         * elf/dl-version.c (match_symbol): Likewise.
40748         (_dl_check_map_versions): Likewise.
40749         * elf/rtld.c (dl_main): Likewise.
40750         (print_unresolved): Use RTLD_PROGNAME.
40751         (print_missing_version): Likewise.
40752         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
40753         (elf_machine_rela): Likewise.
40754         * sysdeps/powerpc/powerpc32/dl-machine.c
40755         (__process_machine_rela): Likewise.
40756         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40757         Likewise.
40758         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40759         Likewise.
40760         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
40761         Likewise.
40762         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40763         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
40764         Likewise.
40765         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
40766         Likewise.
40767         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40769 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
40771         * po/be.po: Add descriptive title.
40772         * po/zh_CN.po: Likewise.
40773         * po/header.pot: Likewise.
40775 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
40777         * locale/programs/locarchive.c (create_archive): Inlucde fname in
40778         error message.
40779         (enlarge_archive): Likewise.
40781 2013-05-28  Ben North  <ben@redfrontdoor.org>
40783         * manual/arith.texi (frexp): It is the magnitude of the return
40784         value which lies in [0.5, 1), not the return value itself.
40786 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40788         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40790 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
40792         * stdio-common/bug26.c (main): Correct fscanf template.
40794         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
40795         declare _dl_skip_args.
40797         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
40798         Don't declare.
40800         * manual/platform.texi: Add missing @end deftypefun.
40802 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
40804         [BZ #15529]
40805         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
40806         bit of mantissa of 2^16382.
40807         * math/libm-test.inc (hypot_test_data): Add more tests.
40809         * math/libm-test.inc: Add drem and pow10 to list of tested
40810         functions.
40811         (pow10_test): New function.
40812         (drem_test): Likewise.
40813         (drem_test_tonearest): Likewise.
40814         (drem_test_towardzero): Likewise.
40815         (drem_test_downward): Likewise.
40816         (drem_test_upward): Likewise.
40817         (main): Call the new functions.
40819         * math/libm-test.inc (finite_test_data): Remove.
40820         (finite_test): Run tests from isfinite_test_data.
40821         (gamma_test_data): Remove.
40822         (gamma_test): Run tests from lgamma_test_data.
40823         * sysdeps/i386/fpu/libm-test-ulps: Update.
40824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40826 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40828         * manual/platform.texi: Add PowerPC PPR function set documentation.
40829         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
40830         implementation.
40832 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
40834         * math/libm-test.inc (MAX_EXP): Define.
40835         (ULPDIFF): Define.
40836         (ulp): New function.
40837         (check_float_internal): Use ULPDIFF.
40838         (cpow_test): Disable failing test.
40839         (check_ulp): Test ulp() implemetnation.
40840         (main): Call check_ulp before starting tests.
40842 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
40844         * math/gen-libm-test.pl (generate_testfile): Do not handle
40845         START_DATA and END_DATA.
40846         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
40847         END_DATA.
40848         (acos_tonearest_test_data): Likewise.
40849         (acos_towardzero_test_data): Likewise.
40850         (acos_downward_test_data): Likewise.
40851         (acos_upward_test_data): Likewise.
40852         (acosh_test_data): Likewise.
40853         (asin_test_data): Likewise.
40854         (asin_tonearest_test_data): Likewise.
40855         (asin_towardzero_test_data): Likewise.
40856         (asin_downward_test_data): Likewise.
40857         (asin_upward_test_data): Likewise.
40858         (asinh_test_data): Likewise.
40859         (atan_test_data): Likewise.
40860         (atanh_test_data): Likewise.
40861         (atan2_test_data): Likewise.
40862         (cabs_test_data): Likewise.
40863         (cacos_test_data): Likewise.
40864         (cacosh_test_data): Likewise.
40865         (carg_test_data): Likewise.
40866         (casin_test_data): Likewise.
40867         (casinh_test_data): Likewise.
40868         (catan_test_data): Likewise.
40869         (catanh_test_data): Likewise.
40870         (cbrt_test_data): Likewise.
40871         (ccos_test_data): Likewise.
40872         (ccosh_test_data): Likewise.
40873         (ceil_test_data): Likewise.
40874         (cexp_test_data): Likewise.
40875         (cimag_test_data): Likewise.
40876         (clog_test_data): Likewise.
40877         (clog10_test_data): Likewise.
40878         (conj_test_data): Likewise.
40879         (copysign_test_data): Likewise.
40880         (cos_test_data): Likewise.
40881         (cos_tonearest_test_data): Likewise.
40882         (cos_towardzero_test_data): Likewise.
40883         (cos_downward_test_data): Likewise.
40884         (cos_upward_test_data): Likewise.
40885         (cosh_test_data): Likewise.
40886         (cosh_tonearest_test_data): Likewise.
40887         (cosh_towardzero_test_data): Likewise.
40888         (cosh_downward_test_data): Likewise.
40889         (cosh_upward_test_data): Likewise.
40890         (cpow_test_data): Likewise.
40891         (cproj_test_data): Likewise.
40892         (creal_test_data): Likewise.
40893         (csin_test_data): Likewise.
40894         (csinh_test_data): Likewise.
40895         (csqrt_test_data): Likewise.
40896         (ctan_test_data): Likewise.
40897         (ctan_tonearest_test_data): Likewise.
40898         (ctan_towardzero_test_data): Likewise.
40899         (ctan_downward_test_data): Likewise.
40900         (ctan_upward_test_data): Likewise.
40901         (ctanh_test_data): Likewise.
40902         (ctanh_tonearest_test_data): Likewise.
40903         (ctanh_towardzero_test_data): Likewise.
40904         (ctanh_downward_test_data): Likewise.
40905         (ctanh_upward_test_data): Likewise.
40906         (erf_test_data): Likewise.
40907         (erfc_test_data): Likewise.
40908         (exp_test_data): Likewise.
40909         (exp_tonearest_test_data): Likewise.
40910         (exp_towardzero_test_data): Likewise.
40911         (exp_downward_test_data): Likewise.
40912         (exp_upward_test_data): Likewise.
40913         (exp10_test_data): Likewise.
40914         (exp2_test_data): Likewise.
40915         (expm1_test_data): Likewise.
40916         (fabs_test_data): Likewise.
40917         (fdim_test_data): Likewise.
40918         (finite_test_data): Likewise.
40919         (floor_test_data): Likewise.
40920         (fma_test_data): Likewise.
40921         (fma_towardzero_test_data): Likewise.
40922         (fma_downward_test_data): Likewise.
40923         (fma_upward_test_data): Likewise.
40924         (fmax_test_data): Likewise.
40925         (fmin_test_data): Likewise.
40926         (fmod_test_data): Likewise.
40927         (fpclassify_test_data): Likewise.
40928         (frexp_test_data): Likewise.
40929         (gamma_test_data): Likewise.
40930         (hypot_test_data): Likewise.
40931         (ilogb_test_data): Likewise.
40932         (isfinite_test_data): Likewise.
40933         (isgreater_test_data): Likewise.
40934         (isgreaterequal_test_data): Likewise.
40935         (isinf_test_data): Likewise.
40936         (isless_test_data): Likewise.
40937         (islessequal_test_data): Likewise.
40938         (islessgreater_test_data): Likewise.
40939         (isnan_test_data): Likewise.
40940         (isnormal_test_data): Likewise.
40941         (issignaling_test_data): Likewise.
40942         (isunordered_test_data): Likewise.
40943         (j0_test_data): Likewise.
40944         (j1_test_data): Likewise.
40945         (jn_test_data): Likewise.
40946         (ldexp_test_data): Likewise.
40947         (lgamma_test_data): Likewise.
40948         (lrint_test_data): Likewise.
40949         (lrint_tonearest_test_data): Likewise.
40950         (lrint_towardzero_test_data): Likewise.
40951         (lrint_downward_test_data): Likewise.
40952         (lrint_upward_test_data): Likewise.
40953         (llrint_test_data): Likewise.
40954         (llrint_tonearest_test_data): Likewise.
40955         (llrint_towardzero_test_data): Likewise.
40956         (llrint_downward_test_data): Likewise.
40957         (llrint_upward_test_data): Likewise.
40958         (log_test_data): Likewise.
40959         (log10_test_data): Likewise.
40960         (log1p_test_data): Likewise.
40961         (log2_test_data): Likewise.
40962         (logb_test_data): Likewise.
40963         (logb_downward_test_data): Likewise.
40964         (lround_test_data): Likewise.
40965         (llround_test_data): Likewise.
40966         (modf_test_data): Likewise.
40967         (nearbyint_test_data): Likewise.
40968         (nextafter_test_data): Likewise.
40969         (nexttoward_test_data): Likewise.
40970         (pow_test_data): Likewise.
40971         (pow_tonearest_test_data): Likewise.
40972         (pow_towardzero_test_data): Likewise.
40973         (pow_downward_test_data): Likewise.
40974         (pow_upward_test_data): Likewise.
40975         (remainder_test_data): Likewise.
40976         (remainder_tonearest_test_data): Likewise.
40977         (remainder_towardzero_test_data): Likewise.
40978         (remainder_downward_test_data): Likewise.
40979         (remainder_upward_test_data): Likewise.
40980         (remquo_test_data): Likewise.
40981         (rint_test_data): Likewise.
40982         (rint_tonearest_test_data): Likewise.
40983         (rint_towardzero_test_data): Likewise.
40984         (rint_downward_test_data): Likewise.
40985         (rint_upward_test_data): Likewise.
40986         (round_test_data): Likewise.
40987         (scalb_test_data): Likewise.
40988         (scalbn_test_data): Likewise.
40989         (scalbln_test_data): Likewise.
40990         (signbit_test_data): Likewise.
40991         (sin_test_data): Likewise.
40992         (sin_tonearest_test_data): Likewise.
40993         (sin_towardzero_test_data): Likewise.
40994         (sin_downward_test_data): Likewise.
40995         (sin_upward_test_data): Likewise.
40996         (sincos_test_data): Likewise.
40997         (sinh_test_data): Likewise.
40998         (sinh_tonearest_test_data): Likewise.
40999         (sinh_towardzero_test_data): Likewise.
41000         (sinh_downward_test_data): Likewise.
41001         (sinh_upward_test_data): Likewise.
41002         (sqrt_test_data): Likewise.
41003         (tan_test_data): Likewise.
41004         (tan_tonearest_test_data): Likewise.
41005         (tan_towardzero_test_data): Likewise.
41006         (tan_downward_test_data): Likewise.
41007         (tan_upward_test_data): Likewise.
41008         (tanh_test_data): Likewise.
41009         (tgamma_test_data): Likewise.
41010         (trunc_test_data): Likewise.
41011         (y0_test_data): Likewise.
41012         (y1_test_data): Likewise.
41013         (yn_test_data): Likewise.
41014         (significand_test_data): Likewise.
41016         * math/gen-libm-test.pl (@functions): Remove variable.
41017         (generate_testfile): Don't handle START and END lines.
41018         * math/libm-test.inc (START): New macro.
41019         (END): Likewise.
41020         (END_COMPLEX): Likewise.
41021         (acos_test): Use END macro without arguments.
41022         (acos_test_tonearest): Likewise.
41023         (acos_test_towardzero): Likewise.
41024         (acos_test_downward): Likewise.
41025         (acos_test_upward): Likewise.
41026         (acosh_test): Likewise.
41027         (asin_test): Likewise.
41028         (asin_test_tonearest): Likewise.
41029         (asin_test_towardzero): Likewise.
41030         (asin_test_downward): Likewise.
41031         (asin_test_upward): Likewise.
41032         (asinh_test): Likewise.
41033         (atan_test): Likewise.
41034         (atanh_test): Likewise.
41035         (atan2_test): Likewise.
41036         (cabs_test): Likewise.
41037         (cacos_test): Use END_COMPLEX macro without arguments.
41038         (cacosh_test): Likewise.
41039         (carg_test): Use END macro without arguments.
41040         (casin_test): Use END_COMPLEX macro without arguments.
41041         (casinh_test): Likewise.
41042         (catan_test): Likewise.
41043         (catanh_test): Likewise.
41044         (cbrt_test): Use END macro without arguments.
41045         (ccos_test): Use END_COMPLEX macro without arguments.
41046         (ccosh_test): Likewise.
41047         (ceil_test): Use END macro without arguments.
41048         (cexp_test): Use END_COMPLEX macro without arguments.
41049         (cimag_test): Use END macro without arguments.
41050         (clog_test): Use END_COMPLEX macro without arguments.
41051         (clog10_test): Likewise.
41052         (conj_test): Likewise.
41053         (copysign_test): Use END macro without arguments.
41054         (cos_test): Likewise.
41055         (cos_test_tonearest): Likewise.
41056         (cos_test_towardzero): Likewise.
41057         (cos_test_downward): Likewise.
41058         (cos_test_upward): Likewise.
41059         (cosh_test): Likewise.
41060         (cosh_test_tonearest): Likewise.
41061         (cosh_test_towardzero): Likewise.
41062         (cosh_test_downward): Likewise.
41063         (cosh_test_upward): Likewise.
41064         (cpow_test): Use END_COMPLEX macro without arguments.
41065         (cproj_test): Likewise.
41066         (creal_test): Use END macro without arguments.
41067         (csin_test): Use END_COMPLEX macro without arguments.
41068         (csinh_test): Likewise.
41069         (csqrt_test): Likewise.
41070         (ctan_test): Likewise.
41071         (ctan_test_tonearest): Likewise.
41072         (ctan_test_towardzero): Likewise.
41073         (ctan_test_downward): Likewise.
41074         (ctan_test_upward): Likewise.
41075         (ctanh_test): Likewise.
41076         (ctanh_test_tonearest): Likewise.
41077         (ctanh_test_towardzero): Likewise.
41078         (ctanh_test_downward): Likewise.
41079         (ctanh_test_upward): Likewise.
41080         (erf_test): Use END macro without arguments.
41081         (erfc_test): Likewise.
41082         (exp_test): Likewise.
41083         (exp_test_tonearest): Likewise.
41084         (exp_test_towardzero): Likewise.
41085         (exp_test_downward): Likewise.
41086         (exp_test_upward): Likewise.
41087         (exp10_test): Likewise.
41088         (exp2_test): Likewise.
41089         (expm1_test): Likewise.
41090         (fabs_test): Likewise.
41091         (fdim_test): Likewise.
41092         (finite_test): Likewise.
41093         (floor_test): Likewise.
41094         (fma_test): Likewise.
41095         (fma_test_towardzero): Likewise.
41096         (fma_test_downward): Likewise.
41097         (fma_test_upward): Likewise.
41098         (fmax_test): Likewise.
41099         (fmin_test): Likewise.
41100         (fmod_test): Likewise.
41101         (fpclassify_test): Likewise.
41102         (frexp_test): Likewise.
41103         (gamma_test): Likewise.
41104         (hypot_test): Likewise.
41105         (ilogb_test): Likewise.
41106         (isfinite_test): Likewise.
41107         (isgreater_test): Likewise.
41108         (isgreaterequal_test): Likewise.
41109         (isinf_test): Likewise.
41110         (isless_test): Likewise.
41111         (islessequal_test): Likewise.
41112         (islessgreater_test): Likewise.
41113         (isnan_test): Likewise.
41114         (isnormal_test): Likewise.
41115         (issignaling_test): Likewise.
41116         (isunordered_test): Likewise.
41117         (j0_test): Likewise.
41118         (j1_test): Likewise.
41119         (jn_test): Likewise.
41120         (ldexp_test): Likewise.
41121         (lgamma_test): Likewise.
41122         (lrint_test): Likewise.
41123         (lrint_test_tonearest): Likewise.
41124         (lrint_test_towardzero): Likewise.
41125         (lrint_test_downward): Likewise.
41126         (lrint_test_upward): Likewise.
41127         (llrint_test): Likewise.
41128         (llrint_test_tonearest): Likewise.
41129         (llrint_test_towardzero): Likewise.
41130         (llrint_test_downward): Likewise.
41131         (llrint_test_upward): Likewise.
41132         (log_test): Likewise.
41133         (log10_test): Likewise.
41134         (log1p_test): Likewise.
41135         (log2_test): Likewise.
41136         (logb_test): Likewise.
41137         (logb_test_downward): Likewise.
41138         (lround_test): Likewise.
41139         (llround_test): Likewise.
41140         (modf_test): Likewise.
41141         (nearbyint_test): Likewise.
41142         (nextafter_test): Likewise.
41143         (nexttoward_test): Likewise.
41144         (pow_test): Likewise.
41145         (pow_test_tonearest): Likewise.
41146         (pow_test_towardzero): Likewise.
41147         (pow_test_downward): Likewise.
41148         (pow_test_upward): Likewise.
41149         (remainder_test): Likewise.
41150         (remainder_test_tonearest): Likewise.
41151         (remainder_test_towardzero): Likewise.
41152         (remainder_test_downward): Likewise.
41153         (remainder_test_upward): Likewise.
41154         (remquo_test): Likewise.
41155         (rint_test): Likewise.
41156         (rint_test_tonearest): Likewise.
41157         (rint_test_towardzero): Likewise.
41158         (rint_test_downward): Likewise.
41159         (rint_test_upward): Likewise.
41160         (round_test): Likewise.
41161         (scalb_test): Likewise.
41162         (scalbn_test): Likewise.
41163         (scalbln_test): Likewise.
41164         (signbit_test): Likewise.
41165         (sin_test): Likewise.
41166         (sin_test_tonearest): Likewise.
41167         (sin_test_towardzero): Likewise.
41168         (sin_test_downward): Likewise.
41169         (sin_test_upward): Likewise.
41170         (sincos_test): Likewise.
41171         (sinh_test): Likewise.
41172         (sinh_test_tonearest): Likewise.
41173         (sinh_test_towardzero): Likewise.
41174         (sinh_test_downward): Likewise.
41175         (sinh_test_upward): Likewise.
41176         (sqrt_test): Likewise.
41177         (tan_test): Likewise.
41178         (tan_test_tonearest): Likewise.
41179         (tan_test_towardzero): Likewise.
41180         (tan_test_downward): Likewise.
41181         (tan_test_upward): Likewise.
41182         (tanh_test): Likewise.
41183         (tgamma_test): Likewise.
41184         (trunc_test): Likewise.
41185         (y0_test): Likewise.
41186         (y1_test): Likewise.
41187         (yn_test): Likewise.
41188         (significand_test): Likewise.
41190 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
41192         [BZ #15381]
41193         * libio/genops.c (_IO_no_init): Initialize wide struct info.
41195 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
41197         [BZ #14894]
41198         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
41199         __ppc_mdoio and __ppc_mdoom.
41200         * manual/platform.texi: Document new functions __ppc_yield,
41201         __ppc_mdoio and __ppc_mdoom.
41203 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
41205         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
41206         (main): Mention "tls" pseudo-hwcap is legacy.
41207         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
41209 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
41211         * math/gen-libm-test.pl (parse_args): Output only string of
41212         arguments as text for test name, not full call or descriptions of
41213         tests for extra outputs.
41214         (generate_testfile): Do not pass function name to parse_args.
41215         Generate this_func variable from START.
41216         * math/libm-test.inc (struct test_f_f_data): Rename test_name
41217         field to arg_str.
41218         (struct test_ff_f_data): Likewise.
41219         (test_ff_f_data_nexttoward): Likewise.
41220         (struct test_fi_f_data): Likewise.
41221         (struct test_fl_f_data): Likewise.
41222         (struct test_if_f_data): Likewise.
41223         (struct test_fff_f_data): Likewise.
41224         (struct test_c_f_data): Likewise.
41225         (struct test_f_f1_data): Likewise.  Remove field extra_name.
41226         (struct test_fF_f1_data): Likewise.
41227         (struct test_ffI_f1_data): Likewise.
41228         (struct test_c_c_data): Rename test_name field to arg_str.
41229         (struct test_cc_c_data): Likewise.
41230         (struct test_f_i_data): Likewise.
41231         (struct test_ff_i_data): Likewise.
41232         (struct test_f_l_data): Likewise.
41233         (struct test_f_L_data): Likewise.
41234         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
41235         and extra2_name.
41236         (COMMON_TEST_SETUP): New macro.
41237         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
41238         (COMMON_TEST_CLEANUP): Likewise.
41239         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
41240         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
41241         macros.
41242         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
41243         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
41244         macros.
41245         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
41246         (RUN_TEST_fff_f): Take argument string.  Call new setup and
41247         cleanup macros.
41248         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
41249         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
41250         macros.
41251         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
41252         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
41253         macros.
41254         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
41255         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
41256         cleanup macros.
41257         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
41258         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
41259         cleanup macros.
41260         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
41261         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
41262         cleanup macros.
41263         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
41264         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
41265         macros.
41266         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
41267         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
41268         macros.
41269         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
41270         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
41271         macros.
41272         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
41273         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
41274         cleanup macros.
41275         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
41276         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
41277         cleanup macros.
41278         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
41279         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
41280         macros.
41281         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
41282         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
41283         cleanup macros.
41284         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
41285         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
41286         macros.
41287         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
41288         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
41289         macros.
41290         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
41291         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
41292         cleanup macros.
41293         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
41295 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
41297         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
41298         to _sifields.sigfault.
41299         (si_addr_lsb): Define new macro.
41300         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
41301         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41302         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
41304 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
41306         [BZ #15441]
41307         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
41308         returns -1.
41309         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
41310         null return -1.
41311         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
41312         loading the domain.
41314 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
41316         * math/gen-libm-test.pl (parse_args): Do not include expected
41317         result in test name.
41318         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
41319         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41320         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41321         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41322         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41325 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
41327         * benchtests/Makefile: Sort function entries.
41329         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
41330         tanh, asinh, acosh, atanh.
41331         * benchtests/acos-inputs: New file.
41332         * benchtests/acosh-inputs: New file.
41333         * benchtests/asin-inputs: New file.
41334         * benchtests/asinh-inputs: New file.
41335         * benchtests/atanh-inputs: New file.
41336         * benchtests/cosh-inputs: New file.
41337         * benchtests/log-inputs: New file.
41338         * benchtests/sinh-inputs: New file.
41339         * benchtests/tanh-inputs: New file.
41341 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
41343         [BZ #15339]
41344         * posix/tst-getaddrinfo4.c: New test.
41345         * posix/Makefile (tests): Add it.
41347 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41349         [BZ #15339]
41350         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
41351         when no services were used.
41352         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
41353         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
41355 2013-05-21  Andreas Schwab  <schwab@suse.de>
41357         [BZ #15014]
41358         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
41359         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
41360         successful.
41361         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
41362         redundant variable declarations and reallocation of buffer when
41363         parsing as IPv6 address.  Always set NSS status when called from
41364         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
41365         buffer too small.  Correct computation of needed size.
41366         * nss/Makefile (tests): Add test-digits-dots.
41367         * nss/test-digits-dots.c: New test.
41369 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41371         * benchtests/Makefile: Remove instructions for adding
41372         benchmark tests.
41373         * benchtests/README: New file to explain how to execute and
41374         enhance the benchmark tests.
41376 2013-05-21  Andreas Schwab  <schwab@suse.de>
41378         [BZ #15493]
41379         * setjmp/Makefile (tests): Add tst-sigsetjmp.
41380         * setjmp/tst-sigsetjmp.c: New test.
41382 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
41384         * sysdeps/x86_64/memset.S (memset): New implementation.
41385         (__bzero): Likewise.
41386         (__memset_tail): New function.
41388 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
41390         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
41391         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
41392         __memcpy_sse2_unaligned ifunc selection.
41393         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
41394         Add memcpy-sse2-unaligned.S.
41395         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41396         Add: __memcpy_sse2_unaligned.
41398 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
41400         [BZ #15490]
41401         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
41402         math_force_eval before restoring floating-point envrionment.
41403         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
41404         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
41405         Likewise.
41406         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
41407         <math_private.h>.
41408         (__nearbyintl): Use math_force_eval before restoring
41409         floating-point environment.
41410         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
41412         * math/gen-libm-test.pl (special_functions): Remove.
41413         (parse_args): Don't handle TEST_extra.  Handle functions with no
41414         return value.
41415         * math/libm-test.inc (struct test_sincos_data): Replace with
41416         struct test_fFF_11_data.
41417         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
41418         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
41419         (sincos_test_data): Change element type to struct
41420         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
41421         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
41422         RUN_TEST_LOOP_sincos.
41423         * math/README.libm-test: Don't mention special handling of
41424         individual functions.
41425         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
41426         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41427         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41428         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41429         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41432         * math/gen-libm-test.pl (get_variable): Remove function.
41433         (parse_args): Don't show pointer parameters to call in test
41434         names.  Use "extra output N" in test names for extra outputs
41435         rather than naming variables.
41437 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
41439         [BZ #15488]
41440         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
41441         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
41442         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
41443         double tests.
41444         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
41445         disable.
41446         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
41447         check_long_double.
41449         * math/gen-libm-test.pl (@tests): Remove variable.
41450         ($count): Likewise.
41451         (new_test): Remove function.
41452         (show_exceptions): New function.
41453         (special_functions): Use show_exceptions instead of new_test.
41454         (parse_args): Likewise.
41455         (generate_testfile): Pass only function name in generated call to
41456         print_max_error or print_complex_max_error.
41457         (get_ulps): Do not handle complex tests specially.
41458         (output_test): Rename to ...
41459         (get_all_ulps_for_test): ... this.  Return a string rather than
41460         printing to a file.  Require ulps to be present.
41461         (output_ulps): Generate arrays rather than #defines.
41462         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
41463         (struct ulp_data): New type.
41464         (BUILD_COMPLEX_ULP): Remove macro.
41465         (compare_ulp_data): New function.
41466         (find_ulps): Likewise.
41467         (find_test_ulps): Likewise.
41468         (find_function_ulps): Likewise.
41469         (find_complex_function_ulps): Likewise.
41470         (print_max_error): Determine allowed ulps using
41471         find_function_ulps.
41472         (print_complex_max_error): Determine allowed ulps using
41473         find_complex_function_ulps.
41474         (check_float_internal): Determine max ulps using find_test_ulps.
41475         (check_float): Do not take max_ulp parameter.  Update call to
41476         check_float_internal.
41477         (check_complex): Likewise.
41478         (check_int): Do not take max_ulp parameter.
41479         (check_long): Likewise.
41480         (check_bool): Likewise.
41481         (check_longlong): Likewise.
41482         (struct test_f_f_data): Remove max_ulp field.
41483         (struct test_ff_f_data): Likewise.
41484         (struct test_ff_f_data_nexttoward): Likewise.
41485         (struct test_fi_f_data): Likewise.
41486         (struct test_fl_f_data): Likewise.
41487         (struct test_if_f_data): Likewise.
41488         (struct test_fff_f_data): Likewise.
41489         (struct test_c_f_data): Likewise.
41490         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
41491         (struct test_fF_f1_data): Likewise.
41492         (struct test_ffI_f1_data): Likewise.
41493         (struct test_c_c_data): Remove max_ulp field.
41494         (struct test_cc_c_data): Likewise.
41495         (struct test_f_i_data): Likewise.
41496         (struct test_ff_i_data): Likewise.
41497         (struct test_f_l_data): Likewise.
41498         (struct test_f_L_data): Likewise.
41499         (struct test_sincos_data): Likewise.
41500         (RUN_TEST_f_f): Do not handle ulps.
41501         (RUN_TEST_LOOP_f_f): Likewise.
41502         (RUN_TEST_2_f): Likewise.
41503         (RUN_TEST_LOOP_2_f): Likewise.
41504         (RUN_TEST_fff_f): Likewise.
41505         (RUN_TEST_LOOP_fff_f): Likewise.
41506         (RUN_TEST_c_f): Likewise.
41507         (RUN_TEST_LOOP_c_f): Likewise.
41508         (RUN_TEST_f_f1): Likewise.
41509         (RUN_TEST_LOOP_f_f1): Likewise.
41510         (RUN_TEST_fF_f1): Likewise.
41511         (RUN_TEST_LOOP_fF_f1): Likewise.
41512         (RUN_TEST_fI_f1): Likewise.
41513         (RUN_TEST_LOOP_fI_f1): Likewise.
41514         (RUN_TEST_ffI_f1): Likewise.
41515         (RUN_TEST_LOOP_ffI_f1): Likewise.
41516         (RUN_TEST_c_c): Likewise.
41517         (RUN_TEST_LOOP_c_c): Likewise.
41518         (RUN_TEST_cc_c): Likewise.
41519         (RUN_TEST_LOOP_cc_c): Likewise.
41520         (RUN_TEST_f_i): Likewise.
41521         (RUN_TEST_LOOP_f_i): Likewise.
41522         (RUN_TEST_f_i_tg): Likewise.
41523         (RUN_TEST_LOOP_f_i_tg): Likewise.
41524         (RUN_TEST_ff_i_tg): Likewise.
41525         (RUN_TEST_LOOP_ff_i_tg): Likewise.
41526         (RUN_TEST_f_b): Likewise.
41527         (RUN_TEST_LOOP_f_b): Likewise.
41528         (RUN_TEST_f_b_tg): Likewise.
41529         (RUN_TEST_LOOP_f_b_tg): Likewise.
41530         (RUN_TEST_f_l): Likewise.
41531         (RUN_TEST_LOOP_f_l): Likewise.
41532         (RUN_TEST_f_L): Likewise.
41533         (RUN_TEST_LOOP_f_L): Likewise.
41534         (RUN_TEST_sincos): Likewise.
41535         (RUN_TEST_LOOP_sincos): Likewise.
41537 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
41539         [BZ #15480]
41540         [BZ #15485]
41541         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
41542         main case of finite arguments, set rounding mode to FE_TONEAREST
41543         and discard exceptions.
41544         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
41545         exceptions.
41546         (remainder_tonearest_test_data): New variable.
41547         (remainder_test_tonearest): New function.
41548         (remainder_towardzero_test_data): New variable.
41549         (remainder_test_towardzero): New function.
41550         (remainder_downward_test_data): New variable.
41551         (remainder_test_downward): New function.
41552         (remainder_upward_test_data): New variable.
41553         (remainder_test_upward): New function.
41554         (main): Call the new test functions.
41556         * math/libm-test.inc (struct test_f_f1_data): Remove field
41557         extra_init.
41558         (struct test_fF_f1_data): Likewise.
41559         (struct test_ffI_f1_data): Likewise.
41560         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
41561         based on value of EXTRA_EXPECTED.
41562         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
41563         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
41564         EXTRA_VAR based on value of EXTRA_EXPECTED.
41565         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
41566         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
41567         EXTRA_VAR based on value of EXTRA_EXPECTED.
41568         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
41569         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
41570         EXTRA_VAR based on value of EXTRA_EXPECTED.
41571         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
41572         * math/gen-libm-test.pl (parse_args): Don't output initializers
41573         for extra output values.
41575         * math/libm-test.inc (check_int): Expect result to be exactly
41576         equal to expected value and do not handle ulps.
41577         (check_long): Likewise.
41578         (check_longlong): Likewise.
41580         * math/libm-test.inc (ceil_test_data): Test for "inexact"
41581         exceptions.
41582         (cimag_test_data): Likewise.
41583         (conj_test_data): Likewise.
41584         (copysign_test_data): Likewise.
41585         (cproj_test_data): Likewise.
41586         (creal_test_data): Likewise.
41587         (fabs_test_data): Likewise.
41588         (fdim_test_data): Likewise.
41589         (finite_test_data): Likewise.
41590         (floor_test_data): Likewise.
41591         (fmax_test_data): Likewise.
41592         (fmin_test_data): Likewise.
41593         (fmod_test_data): Likewise.
41594         (fpclassify_test_data): Likewise.
41595         (frexp_test_data): Likewise.
41596         (ilogb_test_data): Likewise.
41597         (isfinite_test_data): Likewise.
41598         (isgreater_test_data): Likewise.
41599         (isgreaterequal_test_data): Likewise.
41600         (isinf_test_data): Likewise.
41601         (isless_test_data): Likewise.
41602         (islessequal_test_data): Likewise.
41603         (islessgreater_test_data): Likewise.
41604         (isnan_test_data): Likewise.
41605         (isnormal_test_data): Likewise.
41606         (issignaling_test_data): Likewise.
41607         (isunordered_test_data): Likewise.
41608         (ldexp_test_data): Likewise.
41609         (lrint_test_data): Likewise.
41610         (lrint_test_data) [TEST_FLOAT]: Disable one test.
41611         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
41612         (lrint_tonearest_test_data): Test for "inexact" exceptions.
41613         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
41614         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
41615         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
41616         test input.
41617         (lrint_towardzero_test_data): Test for "inexact" exceptions.
41618         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
41619         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
41620         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
41621         that test input.
41622         (lrint_downward_test_data): Test for "inexact" exceptions.
41623         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
41624         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
41625         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
41626         test input.
41627         (lrint_upward_test_data): Test for "inexact" exceptions.
41628         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
41629         test input.
41630         (llrint_test_data): Test for "inexact" exceptions.
41631         (llrint_test_data) [TEST_FLOAT]: Disable one test.
41632         (llrint_tonearest_test_data): Test for "inexact" exceptions.
41633         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
41634         (llrint_towardzero_test_data): Test for "inexact" exceptions.
41635         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
41636         (llrint_downward_test_data): Test for "inexact" exceptions.
41637         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
41638         (llrint_upward_test_data): Test for "inexact" exceptions.
41639         (logb_test_data): Likewise.
41640         (logb_downward_test_data): Likewise.
41641         (nextafter_test_data): Likewise.
41642         (nexttoward_test_data): Likewise.
41643         (remainder_test_data): Likewise.
41644         (remquo_test_data): Likewise.
41645         (scalbn_test_data): Likewise.
41646         (scalbln_test_data): Likewise.
41647         (signbit_test_data): Likewise.
41648         (sqrt_test_data): Likewise.
41649         (significand_test_data): Likewise.
41651 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41653         [BZ #15424]
41654         * benchtests/bench-modf.c (struct args): Mark arg0 as
41655         volatile.
41656         * scripts/bench.pl: Mark members of struct args as volatile.
41658 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41660         [BZ # 15497]
41661         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
41662         negative infinity on POWER6 or lower.
41663         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
41665 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
41667         [BZ #15442]
41668         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
41669         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
41670         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
41671         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
41672         (_FP_SETQNAN): New macro.
41673         (_FP_SETQNAN_SEMIRAW): Likewise.
41674         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
41675         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
41676         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
41677         (FP_EXTEND): Use _FP_FRAC_SNANP.
41678         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
41679         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
41680         into account.
41681         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
41682         New macro.
41683         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
41684         Likewise.
41686 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
41688         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
41689         with DIVIDE_BY_ZERO_EXCEPTION.
41690         (gamma_test_data): Likewise.
41691         (lgamma_test_data): Likewise.
41692         (log_test_data): Likewise.
41693         (log10_test_data): Likewise.
41694         (log2_test_data): Likewise.
41695         (tgamma_test_data): Likewise.
41697         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
41698         (acos_test_tonearest): Likewise.
41699         (acos_test_towardzero): Likewise.
41700         (acos_test_downward): Likewise.
41701         (acos_test_upward): Likewise.
41702         (acosh_test): Likewise.
41703         (asin_test): Likewise.
41704         (asin_test_tonearest): Likewise.
41705         (asin_test_towardzero): Likewise.
41706         (asin_test_downward): Likewise.
41707         (asin_test_upward): Likewise.
41708         (asinh_test): Likewise.
41709         (atan_test): Likewise.
41710         (atanh_test): Likewise.
41711         (atan2_test): Likewise.
41712         (cabs_test): Likewise.
41713         (cacos_test): Likewise.
41714         (cacosh_test): Likewise.
41715         (casin_test): Likewise.
41716         (casinh_test): Likewise.
41717         (catan_test): Likewise.
41718         (catanh_test): Likewise.
41719         (cbrt_test): Likewise.
41720         (ccos_test): Likewise.
41721         (ccosh_test): Likewise.
41722         (cexp_test): Likewise.
41723         (clog_test): Likewise.
41724         (clog10_test): Likewise.
41725         (cos_test): Likewise.
41726         (cos_test_tonearest): Likewise.
41727         (cos_test_towardzero): Likewise.
41728         (cos_test_downward): Likewise.
41729         (cos_test_upward): Likewise.
41730         (cosh_test): Likewise.
41731         (cosh_test_tonearest): Likewise.
41732         (cosh_test_towardzero): Likewise.
41733         (cosh_test_downward): Likewise.
41734         (cosh_test_upward): Likewise.
41735         (cpow_test): Likewise.
41736         (csin_test): Likewise.
41737         (csinh_test): Likewise.
41738         (csqrt_test): Likewise.
41739         (ctan_test): Likewise.
41740         (ctan_test_tonearest): Likewise.
41741         (ctan_test_towardzero): Likewise.
41742         (ctan_test_downward): Likewise.
41743         (ctan_test_upward): Likewise.
41744         (ctanh_test): Likewise.
41745         (ctanh_test_tonearest): Likewise.
41746         (ctanh_test_towardzero): Likewise.
41747         (ctanh_test_downward): Likewise.
41748         (ctanh_test_upward): Likewise.
41749         (erf_test): Likewise.
41750         (erfc_test): Likewise.
41751         (exp_test): Likewise.
41752         (exp_test_tonearest): Likewise.
41753         (exp_test_towardzero): Likewise.
41754         (exp_test_downward): Likewise.
41755         (exp_test_upward): Likewise.
41756         (exp10_test): Likewise.
41757         (exp2_test): Likewise.
41758         (expm1_test): Likewise.
41759         (fmod_test): Likewise.
41760         (gamma_test): Likewise.
41761         (hypot_test): Likewise.
41762         (j0_test): Likewise.
41763         (j1_test): Likewise.
41764         (jn_test): Likewise.
41765         (lgamma_test): Likewise.
41766         (log_test): Likewise.
41767         (log10_test): Likewise.
41768         (log1p_test): Likewise.
41769         (log2_test): Likewise.
41770         (logb_test_downward): Likewise.
41771         (pow_test): Likewise.
41772         (pow_test_tonearest): Likewise.
41773         (pow_test_towardzero): Likewise.
41774         (pow_test_downward): Likewise.
41775         (pow_test_upward): Likewise.
41776         (remainder_test): Likewise.
41777         (remquo_test): Likewise.
41778         (sin_test): Likewise.
41779         (sin_test_tonearest): Likewise.
41780         (sin_test_towardzero): Likewise.
41781         (sin_test_downward): Likewise.
41782         (sin_test_upward): Likewise.
41783         (sincos_test): Likewise.
41784         (sinh_test): Likewise.
41785         (sinh_test_tonearest): Likewise.
41786         (sinh_test_towardzero): Likewise.
41787         (sinh_test_downward): Likewise.
41788         (sinh_test_upward): Likewise.
41789         (sqrt_test): Likewise.
41790         (tan_test): Likewise.
41791         (tan_test_tonearest): Likewise.
41792         (tan_test_towardzero): Likewise.
41793         (tan_test_downward): Likewise.
41794         (tan_test_upward): Likewise.
41795         (tanh_test): Likewise.
41796         (tgamma_test): Likewise.
41797         (y0_test): Likewise.
41798         (y1_test): Likewise.
41799         (yn_test): Likewise.
41801         * math/gen-libm-test.pl (adjust_arg): Remove function.
41802         (special_function): Remove argument $in_func.  Only handle
41803         generating output for tables of tests, not inside functions.
41804         (parse_args): Likewise.
41805         (generate_testfile): Remove variable $in_func.  Update call to
41806         parse_args.
41807         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
41808         (MINUS_ZERO_INIT): Rename macro to minus_zero.
41809         (PLUS_INFTY_INIT): Rename macro to plus_infty.
41810         (MINUS_INFTY_INIT): Rename macro to minus_infty.
41811         (QNAN_VALUE_INIT): Rename macro to qnan_value.
41812         (MAX_VALUE_INIT): Rename macro to max_value.
41813         (MIN_VALUE_INIT): Rename macro to min_value.
41814         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
41815         (plus_zero): Remove variable.
41816         (minus_zero): Likewise.
41817         (plus_infty): Likewise.
41818         (minus_infty): Likewise.
41819         (qnan_value): Likewise.
41820         (max_value): Likewise.
41821         (min_value): Likewise.
41822         (min_subnorm_value): Likewise.
41824 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41826         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
41827         uint64_t or uint32_t usage.
41828         * crypt/sha256-block.c: Likewise.
41829         * crypt/sha256-crypt.c: Likewise.
41830         * crypt/sha256.c: Likewise.
41831         * crypt/sha512-block.c: Likewise.
41832         * crypt/sha512-crypt.c: Likewise.
41833         * crypt/sha512.c: Likewise.
41834         * debug/backtrace-tst.c: Likewise.
41835         * debug/pcprofiledump.c: Likewise.
41836         * elf/cache.c: Likewise.
41837         * elf/dl-cache.c: Likewise.
41838         * elf/dl-misc.c: Likewise.
41839         * elf/dl-profile.c: Likewise.
41840         * elf/dl-support.c: Likewise.
41841         * elf/ldconfig.c: Likewise.
41842         * elf/sprof.c: Likewise.
41843         * iconv/dummy-repertoire.c: Likewise.
41844         * iconv/iconv_charmap.c: Likewise.
41845         * iconv/skeleton.c: Likewise.
41846         * iconvdata/8bit-generic.c: Likewise.
41847         * iconvdata/cp737.h: Likewise.
41848         * iconvdata/cp775.h: Likewise.
41849         * iconvdata/ibm1008.h: Likewise.
41850         * iconvdata/ibm1025.h: Likewise.
41851         * iconvdata/ibm1046.h: Likewise.
41852         * iconvdata/ibm1097.h: Likewise.
41853         * iconvdata/ibm1112.h: Likewise.
41854         * iconvdata/ibm1122.h: Likewise.
41855         * iconvdata/ibm1123.h: Likewise.
41856         * iconvdata/ibm1124.h: Likewise.
41857         * iconvdata/ibm1129.h: Likewise.
41858         * iconvdata/ibm1130.h: Likewise.
41859         * iconvdata/ibm1132.h: Likewise.
41860         * iconvdata/ibm1133.h: Likewise.
41861         * iconvdata/ibm1137.h: Likewise.
41862         * iconvdata/ibm1140.h: Likewise.
41863         * iconvdata/ibm1141.h: Likewise.
41864         * iconvdata/ibm1142.h: Likewise.
41865         * iconvdata/ibm1143.h: Likewise.
41866         * iconvdata/ibm1144.h: Likewise.
41867         * iconvdata/ibm1145.h: Likewise.
41868         * iconvdata/ibm1146.h: Likewise.
41869         * iconvdata/ibm1147.h: Likewise.
41870         * iconvdata/ibm1148.h: Likewise.
41871         * iconvdata/ibm1149.h: Likewise.
41872         * iconvdata/ibm1153.h: Likewise.
41873         * iconvdata/ibm1154.h: Likewise.
41874         * iconvdata/ibm1155.h: Likewise.
41875         * iconvdata/ibm1156.h: Likewise.
41876         * iconvdata/ibm1157.h: Likewise.
41877         * iconvdata/ibm1158.h: Likewise.
41878         * iconvdata/ibm1160.h: Likewise.
41879         * iconvdata/ibm1161.h: Likewise.
41880         * iconvdata/ibm1162.h: Likewise.
41881         * iconvdata/ibm1163.h: Likewise.
41882         * iconvdata/ibm1164.h: Likewise.
41883         * iconvdata/ibm1166.h: Likewise.
41884         * iconvdata/ibm1167.h: Likewise.
41885         * iconvdata/ibm12712.h: Likewise.
41886         * iconvdata/ibm1390.h: Likewise.
41887         * iconvdata/ibm1399.h: Likewise.
41888         * iconvdata/ibm16804.h: Likewise.
41889         * iconvdata/ibm4517.h: Likewise.
41890         * iconvdata/ibm4899.h: Likewise.
41891         * iconvdata/ibm4909.h: Likewise.
41892         * iconvdata/ibm4971.h: Likewise.
41893         * iconvdata/ibm5347.h: Likewise.
41894         * iconvdata/ibm803.h: Likewise.
41895         * iconvdata/ibm856.h: Likewise.
41896         * iconvdata/ibm901.h: Likewise.
41897         * iconvdata/ibm902.h: Likewise.
41898         * iconvdata/ibm9030.h: Likewise.
41899         * iconvdata/ibm9066.h: Likewise.
41900         * iconvdata/ibm921.h: Likewise.
41901         * iconvdata/ibm922.h: Likewise.
41902         * iconvdata/ibm9448.h: Likewise.
41903         * iconvdata/isiri-3342.h: Likewise.
41904         * iconvdata/jis0201.h: Likewise.
41905         * include/link.h: Likewise.
41906         * include/netdb.h: Likewise.
41907         * inet/check_native.c: Likewise.
41908         * inet/check_pf.c: Likewise.
41909         * inet/getipv4sourcefilter.c: Likewise.
41910         * inet/getnameinfo.c: Likewise.
41911         * inet/getsourcefilter.c: Likewise.
41912         * inet/htonl.c: Likewise.
41913         * inet/setipv4sourcefilter.c: Likewise.
41914         * inet/setsourcefilter.c: Likewise.
41915         * inet/test-inet6_opt.c: Likewise.
41916         * inet/tst-network.c: Likewise.
41917         * locale/C-collate.c: Likewise.
41918         * locale/C-ctype.c: Likewise.
41919         * locale/C-time.c: Likewise.
41920         * locale/C-translit.h: Likewise.
41921         * locale/loadarchive.c: Likewise.
41922         * locale/programs/3level.h: Likewise.
41923         * locale/programs/charmap.c: Likewise.
41924         * locale/programs/charmap.h: Likewise.
41925         * locale/programs/ld-address.c: Likewise.
41926         * locale/programs/ld-collate.c: Likewise.
41927         * locale/programs/ld-ctype.c: Likewise.
41928         * locale/programs/ld-identification.c: Likewise.
41929         * locale/programs/ld-measurement.c: Likewise.
41930         * locale/programs/ld-messages.c: Likewise.
41931         * locale/programs/ld-monetary.c: Likewise.
41932         * locale/programs/ld-name.c: Likewise.
41933         * locale/programs/ld-numeric.c: Likewise.
41934         * locale/programs/ld-paper.c: Likewise.
41935         * locale/programs/ld-telephone.c: Likewise.
41936         * locale/programs/ld-time.c: Likewise.
41937         * locale/programs/linereader.c: Likewise.
41938         * locale/programs/locale.c: Likewise.
41939         * locale/programs/locarchive.c: Likewise.
41940         * locale/programs/locfile.h: Likewise.
41941         * locale/programs/repertoire.c: Likewise.
41942         * locale/programs/simple-hash.c: Likewise.
41943         * locale/programs/simple-hash.h: Likewise.
41944         * malloc/memusage.c: Likewise.
41945         * malloc/memusagestat.c: Likewise.
41946         * nis/nis_defaults.c: Likewise.
41947         * nis/nis_hash.c: Likewise.
41948         * nis/nis_print.c: Likewise.
41949         * nis/nis_xdr.c: Likewise.
41950         * nscd/connections.c: Likewise.
41951         * nscd/hstcache.c: Likewise.
41952         * nscd/nscd_gethst_r.c: Likewise.
41953         * nscd/nscd_getserv_r.c: Likewise.
41954         * nscd/nscd_helper.c: Likewise.
41955         * nscd/servicescache.c: Likewise.
41956         * nss/makedb.c: Likewise.
41957         * nss/nss_db/db-XXX.c: Likewise.
41958         * nss/nss_db/db-initgroups.c: Likewise.
41959         * nss/nss_db/db-netgrp.c: Likewise.
41960         * nss/nss_files/files-network.c: Likewise.
41961         * nss/nss_files/files-parse.c: Likewise.
41962         * posix/bug-regex5.c: Likewise.
41963         * posix/fnmatch_loop.c: Likewise.
41964         * posix/regcomp.c: Likewise.
41965         * posix/regexec.c: Likewise.
41966         * posix/tst-rfc3484-2.c: Likewise.
41967         * posix/tst-rfc3484-3.c: Likewise.
41968         * posix/tst-rfc3484.c: Likewise.
41969         * resolv/nss_dns/dns-canon.c: Likewise.
41970         * resolv/nss_dns/dns-network.c: Likewise.
41971         * resolv/res_init.c: Likewise.
41972         * resolv/res_mkquery.c: Likewise.
41973         * resolv/tst-aton.c: Likewise.
41974         * stdlib/cxa_atexit.c: Likewise.
41975         * stdlib/cxa_finalize.c: Likewise.
41976         * stdlib/gen-fpioconst.c: Likewise.
41977         * stdlib/strtol_l.c: Likewise.
41978         * string/tst-endian.c: Likewise.
41979         * sunrpc/auth_des.c: Likewise.
41980         * sunrpc/clnt_udp.c: Likewise.
41981         * sunrpc/rtime.c: Likewise.
41982         * sunrpc/svcauth_des.c: Likewise.
41983         * sunrpc/xdr.c: Likewise.
41984         * sunrpc/xdr_intXX_t.c: Likewise.
41985         * sunrpc/xdr_rec.c: Likewise.
41986         * sysdeps/generic/ldconfig.h: Likewise.
41987         * sysdeps/generic/ldsodefs.h: Likewise.
41988         * sysdeps/generic/memusage.h: Likewise.
41989         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41990         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
41991         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
41992         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41993         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41994         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41995         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41996         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41997         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41998         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
41999         * sysdeps/posix/getaddrinfo.c: Likewise.
42000         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42001         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42002         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42003         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42004         * sysdeps/powerpc/test-gettimebase.c: Likewise.
42005         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
42006         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
42007         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
42008         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
42009         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
42010         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42011         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42012         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
42013         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
42014         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
42015         * sysdeps/x86_64/dl-tls.h: Likewise.
42016         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
42017         * time/alt_digit.c: Likewise.
42018         * time/era.c: Likewise.
42019         * wcsmbs/tst-c16c32-1.c: Likewise.
42021 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
42023         * math/libm-test.inc (struct test_sincos_data): New type.
42024         (RUN_TEST_LOOP_sincos): New macro.
42025         (sincos_test_data): New variable.
42026         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
42028 2013-05-16  Richard Henderson  <rth@redhat.com>
42030         * math/atest-exp2.c (LIMB64): New macro.
42031         (CONSTSZ): New macro.
42032         (mp_exp1, mp_exp_m1, mp_log2): New variables.
42033         (hexdig): Move ...
42034         (print_mpn_fp): ... to function scope.
42035         (read_mpn_hex): Remove.
42036         (get_log2): Remove.
42037         (exp2_mpn): Use mp_log2.
42038         (main): Use mp_exp1.
42040 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
42042         * math/libm-test.inc: Remove comment about not testing "inexact"
42043         exceptions.
42044         (INEXACT_EXCEPTION): New macro.
42045         (NO_INEXACT_EXCEPTION): Likewise.
42046         (INVALID_EXCEPTION_OK): Update value.
42047         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42048         (OVERFLOW_EXCEPTION_OK): Likewise.
42049         (UNDERFLOW_EXCEPTION_OK): Likewise.
42050         (IGNORE_ZERO_INF_SIGN): Likewise.
42051         (ERRNO_UNCHANGED): Likewise.
42052         (ERRNO_EDOM): Likewise.
42053         (ERRNO_ERANGE): Likewise.
42054         (test_exceptions): Handle testing "inexact" exceptions.
42055         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
42056         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
42057         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
42058         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
42059         INEXACT_EXCEPTION.
42060         (rint_towardzero_test_data): Likewise.
42061         (rint_downward_test_data): Likewise.
42062         (rint_upward_test_data): Likewise.
42064         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
42065         with OVERFLOW_EXCEPTION.
42066         (exp10_test_data): Likewise.
42067         (exp2_test_data): Likewise.
42068         (expm1_test_data): Likewise.
42069         (lgamma_test_data): Likewise.
42070         (pow_test_data): Likewise.
42071         (tgamma_test_data): Likewise.
42072         (yn_test_data): Remove duplicate test of overflow.
42074         * math/libm-test.inc (struct test_cc_c_data): New type.
42075         (RUN_TEST_LOOP_cc_c): New macro.
42076         (cpow_test_data): New variable.
42077         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
42079         * math/libm-test.inc (struct test_f_L_data): New type.
42080         (RUN_TEST_LOOP_f_L): New macro.
42081         (llrint_test_data): New variable.
42082         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
42083         (llrint_tonearest_test_data): New variable.
42084         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
42085         (llrint_towardzero_test_data): New variable.
42086         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
42087         (llrint_downward_test_data): New variable.
42088         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
42089         (llrint_upward_test_data): New variable.
42090         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
42091         (llround_test_data): New variable.
42092         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
42094 2013-05-13  Peter Collingbourne  <pcc@google.com>
42096         * math/atest-exp2.c (get_log2): Remove const attribute.
42098 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
42100         * math/libm-test.inc (struct test_f_l_data): New type.
42101         (RUN_TEST_LOOP_f_l): New macro.
42102         (lrint_test_data): New variable.
42103         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
42104         (lrint_tonearest_test_data): New variable.
42105         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
42106         (lrint_towardzero_test_data): New variable.
42107         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
42108         (lrint_downward_test_data): New variable.
42109         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
42110         (lrint_upward_test_data): New variable.
42111         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
42112         (lround_test_data): New variable.
42113         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
42115 2013-05-15  Peter Collingbourne  <pcc@google.com>
42117         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
42118         (EXTRACT_WORDS64) Use where appropriate.
42119         (INSERT_WORDS64) Likewise.
42121         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
42122         constraints with x constraints.
42123         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
42125         * malloc/obstack.c (_obstack_compat): Add initializer.
42127 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
42129         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
42130         si_trapno and add si_addr_lsb to _sifields.sigfault.
42131         (si_trapno): Remove macro.
42132         (si_addr_lsb): Define new macro.
42133         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
42135 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
42137         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
42138         instead of TEST_f_l.
42139         (llrint_test_tonearest): Likewise.
42140         (llrint_test_towardzero): Likewise.
42141         (llrint_test_downward): Likewise.
42142         (llrint_test_upward): Likewise.
42143         (llround_test): Likewise.
42145         * math/libm-test.inc (struct test_f_i_data): Add comment.
42146         (RUN_TEST_LOOP_f_b): New macro.
42147         (RUN_TEST_LOOP_f_b_tg): Likewise.
42148         (finite_test_data): New variable.
42149         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
42150         (isfinite_test_data): New variable.
42151         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42152         (isinf_test_data): New variable.
42153         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42154         (isnan_test_data): New variable.
42155         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42156         (isnormal_test_data): New variable.
42157         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42158         (issignaling_test_data): New variable.
42159         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42160         (signbit_test_data): New variable.
42161         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42163         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
42164         with INVALID_EXCEPTION.
42165         (acosh_test_data): Likewise.
42166         (asin_test_data): Likewise.
42167         (atanh_test_data): Likewise.
42168         (fmod_test_data): Likewise.
42169         (log_test_data): Likewise.
42170         (log10_test_data): Likewise.
42171         (log2_test_data): Likewise.
42172         (pow_test_data): Likewise.
42173         (sqrt_test_data): Likewise.
42174         (y0_test_data): Likewise.
42175         (y1_test_data): Likewise.
42176         (yn_test_data): Likewise.
42178         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
42179         function contents.
42181         * math/libm-test.inc (struct test_ff_i_data): New type.
42182         (RUN_TEST_LOOP_ff_i_tg): New macro.
42183         (isgreater_test_data): New variable.
42184         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42185         (isgreaterequal_test_data): New variable.
42186         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42187         (isless_test_data): New variable.
42188         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42189         (islessequal_test_data): New variable.
42190         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42191         (islessgreater_test_data): New variable.
42192         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42193         (isunordered_test_data): New variable.
42194         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42196 2013-05-14  David S. Miller  <davem@davemloft.net>
42198         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42200 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
42202         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
42204         * math/libm-test.inc (struct test_fF_f1_data): Change type of
42205         extra_test to int.
42206         (struct test_f_i_data): Change type of max_ulp to int.
42208         * math/libm-test.inc (test_ffI_f1_data): New type.
42209         (RUN_TEST_LOOP_ffI_f1): New macro.
42210         (remquo_test_data): New variable.
42211         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
42213         * setjmp/tst-setjmp-fp.c: New file.
42214         * setjmp/Makefile (tests): Add tst-setjmp-fp.
42215         (link-libm): New variable.
42216         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
42218         * math/libm-test.inc (struct test_f_i_data): New type.
42219         (RUN_TEST_LOOP_f_i): New macro.
42220         (RUN_TEST_LOOP_f_i_tg): Likewise.
42221         (fpclassify_test_data): New variable.
42222         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
42223         (ilogb_test_data): New variable.
42224         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
42226         * math/libm-test.inc (scalbln_test): Correct function name in END
42227         call.
42229         * math/libm-test.inc (struct test_f_f1_data): Add comment.
42230         (RUN_TEST_LOOP_fI_f1): New macro.
42231         (frexp_test_data): New variable.
42232         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
42234         * math/libm-test.inc (struct test_fF_f1_data): New type.
42235         (RUN_TEST_LOOP_fF_f1): New macro.
42236         (modf_test_data): New variable.
42237         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
42239         * math/libm-test.inc (struct test_f_f1_data): New type.
42240         (RUN_TEST_LOOP_f_f1): New macro.
42241         (gamma_test_data): New variable.
42242         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
42243         (lgamma_test_data): New variable.
42244         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
42246 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
42248         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
42249         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
42250         (main): Comment "tls" pseudo-hwcap.
42252 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
42254         * math/libm-test.inc (struct test_fl_f_data): New type.
42255         (RUN_TEST_LOOP_fl_f): New variable.
42256         (scalbln_test_data): New variable.
42257         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
42259         * math/libm-test.inc (struct test_fi_f_data): New type.
42260         (RUN_TEST_LOOP_fi_f): New macro.
42261         (ldexp_test_data): New variable.
42262         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
42263         (scalbn_test_data): New variable.
42264         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
42266         * math/libm-test.inc (struct test_c_f_data): New type.
42267         (RUN_TEST_LOOP_c_f): New macro.
42268         (cabs_test_data): New variable.
42269         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
42270         (carg_test_data): New variable.
42271         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
42272         (cimag_test_data): New variable.
42273         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
42274         (creal_test_data): New variable.
42275         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
42277         * math/libm-test.inc (struct test_if_f_data): New type.
42278         (RUN_TEST_LOOP_if_f): New macro.
42279         (jn_test_data): New variable.
42280         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
42281         (yn_test_data): New variable.
42282         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
42284         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
42286 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42288         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
42289         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
42291 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
42293         * benchtests/Makefile (CPPFLAGS-nonlib): Add
42294         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
42295         (bench-deps): Add bench-timing.h.
42296         * benchtests-bench-skeleton.c: Include bench-timing.h.
42297         (main): Use TIMING_* macros instead of clock_gettime.
42298         * benchtests/bench-timing.h: New file.
42300         [BZ #14582]
42301         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
42302         Renamed from _LIB_VERSION.
42303         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
42305 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
42307         * math/libm-test.inc (struct test_fff_f_data): New type.
42308         (RUN_TEST_LOOP_fff_f): New macro.
42309         (fma_test_data): New variable.
42310         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
42311         (fma_towardzero_test_data): New variable.
42312         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
42313         (fma_downward_test_data): New variable.
42314         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
42315         (fma_upward_test_data): New variable.
42316         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
42318         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
42319         (struct test_c_c_data): New type.
42320         (RUN_TEST_LOOP_c_c): New macro.
42321         (cacos_test_data): New variable.
42322         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
42323         (cacosh_test_data): New variable.
42324         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
42325         (casin_test_data): New variable.
42326         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
42327         (casinh_test_data): New variable.
42328         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
42329         (catan_test_data): New variable.
42330         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
42331         (catanh_test_data): New variable.
42332         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
42333         (ccos_test_data): New variable.
42334         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
42335         (ccosh_test_data): New variable.
42336         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
42337         (cexp_test_data): New variable.
42338         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
42339         (clog_test_data): New variable.
42340         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
42341         (clog10_test_data): New variable.
42342         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
42343         (conj_test_data): New variable.
42344         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
42345         (cproj_test_data): New variable.
42346         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
42347         (csin_test_data): New variable.
42348         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
42349         (csinh_test_data): New variable.
42350         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
42351         (csqrt_test_data): New variable.
42352         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
42353         (ctan_test_data): New variable.
42354         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
42355         (ctan_tonearest_test_data): New variable.
42356         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
42357         (ctan_towardzero_test_data): New variable.
42358         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
42359         (ctan_downward_test_data): New variable.
42360         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
42361         (ctan_upward_test_data): New variable.
42362         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
42363         (ctanh_test_data): New variable.
42364         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
42365         (ctanh_tonearest_test_data): New variable.
42366         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
42367         (ctanh_towardzero_test_data): New variable.
42368         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
42369         (ctanh_downward_test_data): New variable.
42370         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
42371         (ctanh_upward_test_data): New variable.
42372         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
42373         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
42374         of BUILD_COMPLEX.
42376         * math/libm-test.inc (struct test_ff_f_data): New type.
42377         (struct test_ff_f_data_nexttoward): Likewise.
42378         (RUN_TEST_LOOP_2_f): New macro.
42379         (RUN_TEST_LOOP_ff_f): Likewise.
42380         (atan2_test_data): New variable.
42381         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
42382         (copysign_test_data): New variable.
42383         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
42384         (fdim_test_data): New variable.
42385         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
42386         (fmax_test_data): New variable.
42387         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
42388         (fmin_test_data): New variable.
42389         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
42390         (fmod_test_data): New variable.
42391         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
42392         (hypot_test_data): New variable.
42393         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
42394         (nextafter_test_data): New variable.
42395         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
42396         (nexttoward_test_data): New variable.
42397         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
42398         (pow_test_data): New variable.
42399         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
42400         (pow_tonearest_test_data): New variable.
42401         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
42402         (pow_towardzero_test_data): New variable.
42403         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
42404         (pow_downward_test_data): New variable.
42405         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
42406         (pow_upward_test_data): New variable.
42407         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
42408         (remainder_test_data): New variable.
42409         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
42410         (scalb_test_data): New variable.
42411         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
42412         * sysdeps/i386/fpu/libm-test-ulps: Update.
42414 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
42416         * math/libm-test.inc (fma_test): Use max_value instead of local
42417         variable fltmax.
42418         (nextafter_test): Likewise.
42420         * math/libm-test.inc (acos_towardzero_test_data): New variable.
42421         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42422         (acos_downward_test_data): New variable.
42423         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42424         (acos_upward_test_data): New variable.
42425         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42426         (acosh_test_data): New variable.
42427         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
42428         (asin_test_data): New variable.
42429         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
42430         (asin_tonearest_test_data): New variable.
42431         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42432         (asin_towardzero_test_data): New variable.
42433         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42434         (asin_downward_test_data): New variable.
42435         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42436         (asin_upward_test_data): New variable.
42437         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42438         (asinh_test_data): New variable.
42439         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
42440         (atan_test_data): New variable.
42441         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
42442         (atanh_test_data): New variable.
42443         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
42444         (cbrt_test_data): New variable.
42445         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
42446         (ceil_test_data): New variable.
42447         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
42448         (cos_test_data): New variable.
42449         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
42450         (cos_tonearest_test_data): New variable.
42451         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42452         (cos_towardzero_test_data): New variable.
42453         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42454         (cos_downward_test_data): New variable.
42455         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42456         (cos_upward_test_data): New variable.
42457         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42458         (cosh_test_data): New variable.
42459         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
42460         (cosh_tonearest_test_data): New variable.
42461         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42462         (cosh_towardzero_test_data): New variable.
42463         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42464         (cosh_downward_test_data): New variable.
42465         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42466         (cosh_upward_test_data): New variable.
42467         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42468         (erf_test_data): New variable.
42469         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
42470         (erfc_test_data): New variable.
42471         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
42472         (exp_test_data): New variable.
42473         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
42474         (exp_tonearest_test_data): New variable.
42475         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42476         (exp_towardzero_test_data): New variable.
42477         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42478         (exp_downward_test_data): New variable.
42479         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42480         (exp_upward_test_data): New variable.
42481         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42482         (exp10_test_data): New variable.
42483         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
42484         (exp2_test_data): New variable.
42485         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
42486         (expm1_test_data): New variable.
42487         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
42488         (fabs_test_data): New variable.
42489         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
42490         (floor_test_data): New variable.
42491         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
42492         (j0_test_data): New variable.
42493         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
42494         (j1_test_data): New variable.
42495         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
42496         (log_test_data): New variable.
42497         (log_test): Run tests with RUN_TEST_LOOP_f_f.
42498         (log10_test_data): New variable.
42499         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
42500         (log1p_test_data): New variable.
42501         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
42502         (log2_test_data): New variable.
42503         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
42504         (logb_test_data): New variable.
42505         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
42506         (logb_downward_test_data): New variable.
42507         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42508         (nearbyint_test_data): New variable.
42509         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
42510         (rint_test_data): New variable.
42511         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
42512         (rint_tonearest_test_data): New variable.
42513         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42514         (rint_towardzero_test_data): New variable.
42515         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42516         (rint_downward_test_data): New variable.
42517         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42518         (rint_upward_test_data): New variable.
42519         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42520         (round_test_data): New variable.
42521         (round_test): Run tests with RUN_TEST_LOOP_f_f.
42522         (sin_test_data): New variable.
42523         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
42524         (sin_tonearest_test_data): New variable.
42525         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42526         (sin_towardzero_test_data): New variable.
42527         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42528         (sin_downward_test_data): New variable.
42529         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42530         (sin_upward_test_data): New variable.
42531         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42532         (sinh_test_data): New variable.
42533         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
42534         (sinh_tonearest_test_data): New variable.
42535         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42536         (sinh_towardzero_test_data): New variable.
42537         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42538         (sinh_downward_test_data): New variable.
42539         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42540         (sinh_upward_test_data): New variable.
42541         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42542         (sqrt_test_data): New variable.
42543         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
42544         (tan_test_data): New variable.
42545         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
42546         (tan_tonearest_test_data): New variable.
42547         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42548         (tan_towardzero_test_data): New variable.
42549         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42550         (tan_downward_test_data): New variable.
42551         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42552         (tan_upward_test_data): New variable.
42553         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42554         (tanh_test_data): New variable.
42555         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
42556         (tgamma_test_data): New variable.
42557         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
42558         (trunc_test_data): New variable.
42559         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
42560         (y0_test_data): New variable.
42561         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
42562         (y1_test_data): New variable.
42563         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
42564         (significand_test_data): New variable.
42565         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
42567 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
42569         [BZ #12387]
42570         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
42572 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42574         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
42576 2013-05-10  Andreas Jaeger  <aj@suse.de>
42578         [BZ #15448]
42579         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
42580         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
42582 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
42584         * math/gen-libm-test.pl (adjust_arg): New function.
42585         (special_functions): Handle generating output in both functions
42586         and arrays.
42587         (parse_args): Likewise.
42588         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
42589         $in_func argument to parse_args.
42590         * math/libm-test.inc (struct test_f_f_data): New type.
42591         (IF_ROUND_INIT_): New macro.
42592         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
42593         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
42594         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
42595         (IF_ROUND_INIT_FE_UPWARD): Likewise.
42596         (ROUND_RESTORE_): Likewise.
42597         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
42598         (ROUND_RESTORE_FE_TONEAREST): Likewise.
42599         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
42600         (ROUND_RESTORE_FE_UPWARD): Likewise.
42601         (RUN_TEST_LOOP_f_f): New macro.
42602         (acos_test_data): New variable.
42603         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
42604         (acos_tonearest_test_data): New variable.
42605         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42607 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42609         * benchtests/bench-skeleton.c (startup): Fix coding style.
42611 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
42613         [BZ #6809]
42614         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
42615         negative infinity argument.
42616         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
42617         negative infinity argument.
42618         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
42619         negative infinity argument.
42620         * math/libm-test.inc (tgamma_test): Expect errno to be set for
42621         domain errors.
42623 2013-05-10  Florian Weimer  <fweimer@redhat.com>
42625         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
42626         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
42627         * iconv/iconv_prog.c (main): Likewise.
42628         * locale/programs/charmap-dir.c (charmap_readdir)
42629         (fopen_uncompressed): Likewise.
42630         * locale/programs/locfile.c (siblings_uncached)
42631         (write_locale_data): Use lstat64 instead of lstat.
42632         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
42633         stat.
42635 2013-05-10  Andreas Jaeger  <aj@suse.de>
42637         [BZ #15395]
42638         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
42639         localization.
42640         Include <locale.h>.
42642 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
42644         * elf/dl-close.c (_dl_close_worker): Add comments.
42646 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
42648         [BZ #15359]
42649         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
42650         high part of pi/2.
42651         (__ieee754_rem_pio2l): Update comments.
42653         [BZ #15429]
42654         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
42655         high part of pi/2.
42656         (__ieee754_rem_pio2l): Update comments.
42658         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
42659         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
42661         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
42662         M_PI_4l.
42664         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
42665         (M_PI_34_LOG10El): Likewise.
42666         (M_PI2_LOG10El): Likewise.
42667         (M_PI4_LOG10El): Likewise.
42668         (M_PI_LOG10El): Likewise.
42670 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42674 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
42676         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
42677         (MINUS_ZERO_INIT): Likewise.
42678         (PLUS_INFTY_INIT): Likewise.
42679         (MINUS_INFTY_INIT): Likewise.
42680         (QNAN_VALUE_INIT): Likewise.
42681         (MAX_VALUE_INIT): Likewise.
42682         (MIN_VALUE_INIT): Likewise.
42683         (MIN_SUBNORM_VALUE_INIT): Likewise.
42684         (plus_zero): Initialize with PLUS_ZERO_INIT.
42685         (minus_zero): Initialize with MINUS_ZERO_INIT.
42686         (plus_infty): Initialize with PLUS_INFTY_INIT.
42687         (minus_infty): Initialize with MINUS_INFTY_INIT.
42688         (qnan_value): Initialize with QNAN_VALUE_INIT.
42689         (max_value): Initialize with MAX_VALUE_INIT.
42690         (min_value): Initialize with MIN_VALUE_INIT.
42691         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
42693         * math/libm-test.inc (RUN_TEST_if_f): New macro.
42694         (jn_test): Use TEST_if_f instead of TEST_ff_f.
42695         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
42696         (yn_test): Use TEST_if_f instead of TEST_ff_f.
42698         * math/libm-test.inc (RUN_TEST_f_f): New macro.
42699         (RUN_TEST_2_f): Likewise.
42700         (RUN_TEST_ff_f): Likewise.
42701         (RUN_TEST_fi_f): Likewise.
42702         (RUN_TEST_fl_f): Likewise.
42703         (RUN_TEST_fff_f): Likewise.
42704         (RUN_TEST_c_f): Likewise.
42705         (RUN_TEST_f_f1): Likewise.
42706         (RUN_TEST_fF_f1): Likewise.
42707         (RUN_TEST_fI_f1): Likewise.
42708         (RUN_TEST_ffI_f1): Likewise.
42709         (RUN_TEST_c_c): Likewise.
42710         (RUN_TEST_cc_c): Likewise.
42711         (RUN_TEST_f_i): Likewise.
42712         (RUN_TEST_f_i_tg): Likewise.
42713         (RUN_TEST_ff_i_tg): Likewise.
42714         (RUN_TEST_f_b): Likewise.
42715         (RUN_TEST_f_b_tg): Likewise.
42716         (RUN_TEST_f_l): Likewise.
42717         (RUN_TEST_f_L): Likewise.
42718         (RUN_TEST_sincos): Likewise.
42719         * math/gen-libm-test.pl (new_test): Take new argument to indicate
42720         whether to show exceptions.  Do not include ");\n" in return
42721         value.
42722         (special_functions): Output call to RUN_TEST_sincos instead of
42723         check_float calls.  Update calls to new_test.
42724         (parse_args): Output call to single RUN_TEST_* macro instead of
42725         check_* calls and other assignments.  Update calls to new_test.
42727         [BZ #2546]
42728         [BZ #2560]
42729         [BZ #5159]
42730         [BZ #15426]
42731         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
42732         input to result for tgamma overflow.
42733         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
42734         (gamma_coeff): New variable.
42735         (NCOEFF): New macro.
42736         (gamma_positive): New function.
42737         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
42738         underflow here.  Use gamma_positive instead of exp (lgamma) for
42739         other arguments.
42740         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
42741         (gamma_coeff): New variable.
42742         (NCOEFF): New macro.
42743         (gammaf_positive): New function.
42744         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
42745         underflow here.  Use gamma_positive instead of exp (lgamma) for
42746         other arguments.
42747         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
42748         (gamma_coeff): New variable.
42749         (NCOEFF): New macro.
42750         (gammal_positive): New function.
42751         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
42752         underflow here.  Use gamma_positive instead of exp (lgamma) for
42753         other arguments.
42754         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
42755         (gamma_coeff): New variable.
42756         (NCOEFF): New macro.
42757         (gammal_positive): New function.
42758         (__ieee754_gammal_r): Handle positive infinity, overflow and
42759         underflow here.  Handle NaN the same as positive infinity.  Remove
42760         check x < 0xffffffff for negative integers.  Use gamma_positive
42761         instead of exp (lgamma) for other arguments.
42762         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
42763         (gamma_coeff): New variable.
42764         (NCOEFF): New macro.
42765         (gammal_positive): New function.
42766         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
42767         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
42768         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
42769         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
42770         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
42771         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
42772         * sysdeps/generic/math_private.h (__gamma_productf): New
42773         prototype.
42774         (__gamma_product): Likewise.
42775         (__gamma_productl): Likewise.
42776         * math/Makefile (libm-calls): Add gamma_product.
42777         * math/libm-test.inc (tgamma_test): Add more tests.
42778         * sysdeps/i386/fpu/libm-test-ulps: Update.
42779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42781 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
42783         * benchtests/bench-skeleton.c (main): Preheat CPU.
42785 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
42787         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
42789 2013-05-07  Roland McGrath  <roland@hack.frob.com>
42791         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
42792         and _dl_skip_args_internal.
42794 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
42796         * manual/message.texi (Message Translation): Talk about users.
42797         Message to key mapping impacts design.
42799 2013-05-06  Roland McGrath  <roland@hack.frob.com>
42801         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
42803         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
42805         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
42806         * sysdeps/wordsize-64/glob64.c: ... here.
42808         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
42809         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
42810         New macros.
42812         * debug/getlogin_r_chk.c: Moved to ...
42813         * login/getlogin_r_chk.c: ... here.
42814         * debug/Makefile (routines): Move getlogin_r_chk to ...
42815         * login/Makefile (routines): ... here.
42816         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
42817         * login/Versions (libc: GLIBC_2.4): ... here.
42819         * io/poll.c (__poll): Renamed from poll.
42820         Add libc_hidden_def.
42821         (poll): Define as weak alias.
42823         * debug/ptsname_r_chk.c: Moved to ...
42824         * login/ptsname_r_chk.c: ... here.
42825         * debug/Makefile (routines): Move ptsname_r_chk to ...
42826         * login/Makefile (routines): ... here.
42827         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
42828         * login/Versions (libc: GLIBC_2.4): ... here.
42830         * posix/getlogin.c: Moved to ...
42831         * login/getlogin.c: ... here.
42832         * posix/getlogin_r.c: Moved to ...
42833         * login/getlogin_r.c: ... here.
42834         * posix/getlogin_r.c: Moved to ...
42835         * login/getlogin_r.c: ... here.
42836         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
42837         * login/Makefile (routines): ... here.
42838         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
42839         * login/Versions (libc: GLIBC_2.0): ... here.
42841         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
42842         (setrlimit): Define as weak alias.
42844         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
42845         Call __ names for open, ftruncate, and close.
42846         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
42847         (truncate): Define as weak alias.
42849 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
42851         * math/gen-libm-test.pl (parse_args): Initialize x before each
42852         test of frexp, modf and remquo.
42854         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
42855         test signgam value.
42857 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42859         [BZ #15418]
42860         [BZ #15419]
42861         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
42862         internal tests.
42863         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42865 2013-05-06  Roland McGrath  <roland@hack.frob.com>
42867         * elf/dl-writev.h: New file.
42868         * elf/dl-misc.c: Include it.
42869         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
42870         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
42872 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
42874         * math/libm-test.inc (noXFails): Remove variable.
42875         (noXPasses): Likewise.
42876         (BUILD_COMPLEX_INT): Remove macro.
42877         (print_screen): Remove xfail argument.
42878         (print_screen_max_error): Likewise.
42879         (update_stats): Likewise.
42880         (print_max_error): Likewise.  Update calls to other affected
42881         functions.
42882         (print_complex_max_error): Likewise.
42883         (test_single_exception): Update calls to print_screen.
42884         (test_single_errno): Likewise.
42885         (check_float_internal): Remove xfail argument.  Update calls to
42886         other affected functions.
42887         (check_float): Likewise.
42888         (check_complex): Likewise.
42889         (check_int): Likewise.
42890         (check_long): Likewise.
42891         (check_bool): Likewise.
42892         (check_longlong): Likewise.
42893         (main): Don't print noXFails and noXPasses.
42894         * math/gen-libm-test.pl (top level): Don't mention expected
42895         failure handling in comment.
42896         (new_test): Don't handle expected failures.
42897         (parse_args): Don't mention expected failure handling in comment.
42898         (generate_testfile): Don't handle expected failures.
42899         (parse_ulps): Likewise.
42900         (print_ulps_file): Likewise.
42901         (get_failure): Remove function.
42902         (output_test): Don't handle expected failures.
42903         * make/README.libm-test: Don't mention expected failure handling.
42905         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
42906         (minus_zero): Likewise.
42907         (plus_infty): Likewise.
42908         (minus_infty): Likewise.
42909         (qnan_value): Likewise.
42910         (max_value): Likewise.
42911         (min_value): Likewise.
42912         (min_subnorm_value): Likewise.
42913         (initialize): Do not initialize those variables dynamically.
42915 2013-05-03  Roland McGrath  <roland@hack.frob.com>
42917         * io/open.c (__open_2): Moved to ...
42918         * io/open_2.c: ... this new file.
42919         * io/open64.c (__open64_2): Moved to ...
42920         * io/open64_2.c: ... this new file.
42921         * io/openat.c (__openat_2): Moved to ...
42922         * io/openat_2.c: ... this new file.
42923         * io/openat64.c (__openat64_2): Moved to ...
42924         * io/openat64_2.c: ... this new file.
42925         * io/Makefile (routines): Add them.
42926         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
42927         * sysdeps/unix/sysv/linux/open_2.c: File removed.
42928         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
42929         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
42930         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
42931         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
42932         (__openat64): Add hidden_ver.
42933         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
42934         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
42936         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
42937         Separately conditionalize setting of GLRO(dl_sysinfo) so
42938         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
42939         as well, but the actual setting is only under [NEED_DL_SYSINFO].
42941 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42943         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
42944         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
42945         definition.
42946         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
42947         * sysdeps/unix/sysv/linux/powerpc/init-first.c
42948         (_libc_vdso_platform_setup): Add __vdso_time initialization.
42949         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
42950         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
42952 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
42954         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
42955         test signgam value.
42957         * math/libm-test.inc (hypot_test): Do not use
42958         IGNORE_ZERO_INF_SIGN.
42960 2013-05-03  Andreas Jaeger  <aj@suse.de>
42962         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
42963         Linux 3.9.
42964         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
42965         (PF_MAX): Adjust for VSOCK change.
42967 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42969         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42971 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
42973         [BZ #15264]
42974         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
42975         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
42976         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
42978 2013-05-02  David S. Miller  <davem@davemloft.net>
42980         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42982 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
42984         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
42986 2013-05-01  Roland McGrath  <roland@hack.frob.com>
42988         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
42990 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
42992         [BZ #14952]
42993         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
42994         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
42995         Use __attribute__ ((__gnu_inline__)).
42996         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
42997         Don't use __attribute__ ((__gnu_inline__)).
42999 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
43001         [BZ #15423]
43002         * math/s_catan.c (__catan): Handle small real or imaginary part of
43003         input specially to avoid spurious underflow.
43004         * math/s_catanf.c (__catanf): Likewise.
43005         * math/s_catanh.c (__catanh): Likewise.
43006         * math/s_catanhf.c (__catanhf): Likewise.
43007         * math/s_catanhl.c (__catanhl): Likewise.
43008         * math/s_catanl.c (__catanl): Likewise.
43009         * math/libm-test.inc (catan_test): Add more tests.
43010         (catanh_test): Likewise.
43011         * sysdeps/i386/fpu/libm-test-ulps: Update.
43012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43014 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43016         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43018 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
43020         [BZ #15416]
43021         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
43022         accurately for denominator in atan2.
43023         * math/s_catanf.c (__catanf): Likewise.
43024         * math/s_catanh.c (__catanh): Likewise.
43025         * math/s_catanhf.c (__catanhf): Likewise.
43026         * math/s_catanhl.c (__catanhl): Likewise.
43027         * math/s_catanl.c (__catanl): Likewise.
43028         * math/libm-test.inc (catan_test): Add more tests.
43029         (catanh_test): Likewise.
43030         * sysdeps/i386/fpu/libm-test-ulps: Update.
43031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43033 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43035         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
43037         * benchtests/Makefile (bench): Remove slow benchmarks.
43038         * benchtests/atan-inputs: Add slow benchmark inputs.
43039         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
43040         (BENCH_FUNC): Accept variant offset.
43041         (VARIANT): Define.
43042         * benchtests/bench-skeleton.c (main): Run benchmark for each
43043         variant.
43044         * benchtests/cos-inputs: Add slow benchmark inputs.
43045         * benchtests/exp-inputs: Likewise.
43046         * benchtests/pow-inputs: Likewise.
43047         * benchtests/sin-inputs: Likewise.
43048         * benchtests/slowatan-inputs: Remove.
43049         * benchtests/slowatan.c: Remove.
43050         * benchtests/slowcos-inputs: Remove.
43051         * benchtests/slowcos.c: Remove.
43052         * benchtests/slowexp-inputs: Remove.
43053         * benchtests/slowexp.c: Remove.
43054         * benchtests/slowpow-inputs: Remove.
43055         * benchtests/slowpow.c: Remove.
43056         * benchtests/slowsin-inputs: Remove.
43057         * benchtests/slowsin.c: Remove.
43058         * benchtests/slowtan-inputs: Remove.
43059         * benchtests/slowtan.c: Remove.
43060         * benchtests/tan-inputs: Add slow benchmark inputs.
43061         * scripts/bench.pl: Parse comments and directives.
43063         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
43064         in CPPFLAGS.
43065         ($(objpfx)bench-%.c): Remove *-ITER.
43066         * benchtests/bench-modf.c: Remove definition of ITER.
43067         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
43068         (main): Loop for DURATION seconds instead of fixed number of
43069         iterations.
43070         * scripts/bench.pl: Don't expect iterations in parameters.
43072 2013-04-29  Roland McGrath  <roland@hack.frob.com>
43074         * io/fchdir.c (__fchdir): Renamed from fchdir.
43075         (fchdir): Define as weak alias.
43077 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
43079         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
43080         (ERRNO_EDOM): Likewise.
43081         (ERRNO_ERANGE): Likewise.
43082         (noErrnoTests): New variable.
43083         (init_max_error): Set errno to 0.
43084         (test_single_errno): New function.
43085         (test_errno): Likewise.
43086         (check_float_internal): Call test_errno.  Set errno to 0.
43087         (check_complex): Refer to errno tests in comment.
43088         (check_int): Call test_errno.  Set errno to 0.
43089         (check_long): Likewise.
43090         (check_bool): Likewise.
43091         (check_longlong): Likewise.
43092         (cos_test): Use ERRNO_* flags for errno tests instead of
43093         check_int.
43094         (expm1_test): Likewise.
43095         (fmod_test): Likewise.
43096         (ilogb_test): Likewise.
43097         (lgamma_test): Likewise.
43098         (pow_test): Likewise.
43099         (remainder_test): Likewise.
43100         (sin_test): Likewise.
43101         (tan_test): Likewise.
43102         (yn_test): Likewise.
43103         (initialize): Set errno to 0.
43104         (main): Print number of errno tests.
43105         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
43107 2013-04-29  Andreas Jaeger  <aj@suse.de>
43109         [BZ #15084]
43110         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
43111         and RES_USEVC.
43113         [BZ #15085]
43114         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
43115         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
43116         unimplemented.
43118         [BZ #15380]
43119         * stdlib/random.c (__initstate): Return NULL if
43120         __initstate fails.
43122         [BZ #15086]
43123         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
43124         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
43125         RES_SNGLKUPREOP.
43127 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43129         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43131 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
43133         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
43134         of individual tests.
43135         (casin_test): Likewise.
43136         (casinh_test): Likewise.
43138 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
43140         [BZ #15409]
43141         * math/s_catan.c (__catan): Handle arguments with large real or
43142         imaginary part separately without squaring.
43143         * math/s_catanf.c (__catanf): Likewise.
43144         * math/s_catanh.c (__catanh): Likewise.
43145         * math/s_catanhf.c (__catanhf): Likewise.
43146         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
43147         and redefine.
43148         (__catanhl): Handle arguments with large real or imaginary part
43149         separately without squaring.
43150         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
43151         and redefine.
43152         (__catanl): Handle arguments with large real or imaginary part
43153         separately without squaring.
43154         * math/libm-test.inc (catan_test): Add more tests.
43155         (catanh_test): Likewise.
43156         * sysdeps/i386/fpu/libm-test-ulps: Update.
43157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43159 2013-04-27  Andreas Jaeger  <aj@suse.de>
43161         [BZ #15007]
43162         * stdlib/stdlib.h: Update guards for qecvt.
43163         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
43164         <stdlib.h>.
43166 2013-04-27  Allan McRae  <allan@archlinux.org>
43168         * sysdeps/i386/fpu/libm-test-ulps: Update.
43170 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
43172         [BZ #15406]
43173         * math/s_catan.c: Include <float.h>.
43174         (__catan): Ensure underflow exception occurs for underflowed
43175         result.
43176         * math/s_catanf.c: Include <float.h>.
43177         (__catanf): Ensure underflow exception occurs for underflowed
43178         result.
43179         * math/s_catanh.c: Include <float.h>.
43180         (__catanh): Ensure underflow exception occurs for underflowed
43181         result.
43182         * math/s_catanhf.c: Include <float.h>.
43183         (__catanhf): Ensure underflow exception occurs for underflowed
43184         result.
43185         * math/s_catanhl.c: Include <float.h>.
43186         (__catanhl): Ensure underflow exception occurs for underflowed
43187         result.
43188         * math/s_catanl.c: Include <float.h>.
43189         (__catanl): Ensure underflow exception occurs for underflowed
43190         result.
43191         * math/libm-test.inc (catan_test): Add more tests.
43192         (catanh_test): Likewise.
43194         [BZ #15405]
43195         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
43196         underflowed result.
43197         * math/s_ccoshf.c (__ccoshf): Likewise.
43198         * math/s_ccoshl.c (__ccoshl): Likewise.
43199         * math/s_csin.c (__csin): Likewise.
43200         * math/s_csinf.c (__csinf): Likewise.
43201         * math/s_csinh.c (__csinh): Likewise.
43202         * math/s_csinhf.c (__csinhf): Likewise.
43203         * math/s_csinhl.c (__csinhl): Likewise.
43204         * math/s_csinl.c (__csinl): Likewise.
43205         * math/libm-test.inc (ccos_test): Add more tests.
43206         (ccosh_test): Likewise.
43207         (csin_test): Likewise.
43208         (csinh_test): Likewise.
43210 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43212         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
43213         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
43214         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
43215         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
43216         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
43217         powerpc/power5+/fpu folders.
43218         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
43221 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
43223         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43225 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
43227         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
43228         additions to variable.
43229         [$(config-machine) = x86_64] (modules-names): Likewise.
43230         ($(objpfx)tst-audit3): Remove dependency.
43231         ($(objpfx)tst-audit3.out): Likewise.
43232         ($(objpfx)tst-audit4): Likewise.
43233         ($(objpfx)tst-audit4.out): Likewise.
43234         ($(objpfx)tst-audit5): Likewise.
43235         ($(objpfx)tst-audit5.out): Likewise.
43236         ($(objpfx)tst-audit6): Likewise.
43237         ($(objpfx)tst-audit6.out): Likewise.
43238         ($(objpfx)tst-audit7): Likewise.
43239         ($(objpfx)tst-audit7.out): Likewise.
43240         (tst-audit3-ENV): Remove variable.
43241         (tst-audit4-ENV): Likewise.
43242         (tst-audit5-ENV): Likewise.
43243         (tst-audit6-ENV): Likewise.
43244         (tst-audit7-ENV): Likewise.
43245         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
43246         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
43247         addition to variable.
43248         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
43249         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
43250         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
43251         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
43252         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
43253         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
43254         tst-audit3, tst-audit4 and tst-audit5.
43255         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
43256         tst-audit6 and tst-audit7.
43257         [$(subdir) = elf] (modules-names): Add audit modules for those
43258         tests.
43259         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
43260         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
43261         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
43262         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
43263         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
43264         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
43265         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
43266         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
43267         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
43268         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
43269         [$(subdir) = elf] (tst-audit3-ENV): New variable.
43270         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
43271         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
43272         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
43273         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
43274         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
43275         Likewise.
43276         [$(subdir) = elf && $(config-cflags-avx) = yes]
43277         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
43278         [$(subdir) = elf && $(config-cflags-avx) = yes]
43279         (CFLAGS-tst-auditmod4a.c): Likewise.
43280         [$(subdir) = elf && $(config-cflags-avx) = yes]
43281         (CFLAGS-tst-auditmod4b.c): Likewise.
43282         [$(subdir) = elf && $(config-cflags-avx) = yes]
43283         (CFLAGS-tst-auditmod6b.c): Likewise.
43284         [$(subdir) = elf && $(config-cflags-avx) = yes]
43285         (CFLAGS-tst-auditmod6c.c): Likewise.
43286         [$(subdir) = elf && $(config-cflags-avx) = yes]
43287         (CFLAGS-tst-auditmod7b.c): Likewise.
43288         * elf/tst-audit3.c: Move to ...
43289         * sysdeps/x86_64/tst-audit3.c: ... here.
43290         * elf/tst-audit4.c: Move to ...
43291         * sysdeps/x86_64/tst-audit4.c: ... here.
43292         * elf/tst-audit5.c: Move to ...
43293         * sysdeps/x86_64/tst-audit5.c: ... here.
43294         * elf/tst-audit6.c: Move to ...
43295         * sysdeps/x86_64/tst-audit6.c: ... here.
43296         * elf/tst-audit7.c: Move to ...
43297         * sysdeps/x86_64/tst-audit7.c: ... here.
43298         * elf/tst-auditmod3a.c: Move to ...
43299         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
43300         * elf/tst-auditmod3b.c: Move to ...
43301         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
43302         * elf/tst-auditmod4a.c: Move to ...
43303         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
43304         * elf/tst-auditmod4b.c: Move to ...
43305         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
43306         * elf/tst-auditmod5a.c: Move to ...
43307         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
43308         * elf/tst-auditmod5b.c: Move to ...
43309         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
43310         * elf/tst-auditmod6a.c: Move to ...
43311         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
43312         * elf/tst-auditmod6b.c: Move to ...
43313         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
43314         * elf/tst-auditmod6c.c: Move to ...
43315         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
43316         * elf/tst-auditmod7a.c: Move to ...
43317         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
43318         * elf/tst-auditmod7b.c: Move to ...
43319         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
43321 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
43323         [BZ #15366]
43324         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
43325         define unconditionally.
43326         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
43327         define unconditionally.
43328         (INT8_C, INT16_C, etc.): Likewise.
43330 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
43332         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
43333         __ehdr_start with hidden visibility.
43335         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
43337 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
43339         * math/libm-test.inc (cos_test): Use accurate hex constants.
43340         (sincost_test): Likewise.
43342 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
43344         * math/libm-test.inc (catan_test): Add more tests.
43345         (catanh_test): Likewise.
43347         * math/s_catanf.c (__catanf): Use suffixed floating-point
43348         constants.
43349         * math/s_catanhf.c (__catanhf): Likewise.
43350         * math/s_catanhl.c (__catanhl): Likewise.
43351         * math/s_catanl.c (__catanl): Likewise.
43353         [BZ #15394]
43354         * math/s_catan.c (__catan): Calculate imaginary part of result
43355         with log1p not log unless computing log of number close to 0.
43356         * math/s_catanf.c (__catanf): Likewise.
43357         * math/s_catanl.c (__catanl): Likewise.
43358         * math/s_catanh.c (__catanh): Calculate real part of result with
43359         log1p not log unless computing log of number close to 0.
43360         * math/s_catanhf.c (__catanhf): Likewise.
43361         * math/s_catanhl.c (__catanhl): Likewise.
43362         * math/libm-test.inc (catan_test): Add more tests.
43363         (catanh_test): Likewise.
43364         * sysdeps/i386/fpu/libm-test-ulps: Update.
43365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43367 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43369         * benchtests/Makefile: Mention files in which fast and slow
43370         paths of math functions are implemented.
43372 2013-04-23  Roland McGrath  <roland@hack.frob.com>
43374         * sysdeps/posix/timespec_get.c: New file.
43376 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43378         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
43379         POWER.
43380         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
43381         for POWER.
43382         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
43383         powerpc/power5/fpu folders.
43384         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
43385         * benchtests/Makefile: Add modf testcase.
43386         * benchtests/bench-modf.c: New file: Benchmark test for mo
43388 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
43390         [BZ #14888]
43391         * time/Makefile (tests): Add tst-strptime-whitespace.
43392         * time/strptime_l.c (get_number): Use ISSPACE.
43393         (__strptime_internal): Likewise.
43394         * time/tst-strptime-whitespace.c: New test case.
43396 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
43398         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
43399         member.
43400         (_nss_files_init): Set it here.
43402 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
43404         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
43405         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
43406         unsigned.
43408 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
43410         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
43412 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43414         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
43415         size just once.
43417 2013-04-21  David S. Miller  <davem@davemloft.net>
43419         * po/ru.po: Update Russion translation from translation project.
43421 2013-04-17  Adam Conrad  <adconrad@0c3.net>
43423         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
43424         and setfsgid.
43426 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
43428         * configure.in: Remove i386 configure warning. Remove i386 case.
43429         * configure: Regenerate.
43430         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
43431         Add example to error message.
43432         * sysdeps/i386/configure: Regenerate.
43434 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
43436         * benchtests/Makefile (bench): Add cos, tan, slowcos and
43437         slowtan.
43438         * benchtests/cos-inputs: New file.
43439         * benchtests/slowcos-inputs: New file.
43440         * benchtests/slowcos.c: New file.
43441         * benchtests/slowtan-inputs: New file.
43442         * benchtests/slowtan.c: New file.
43443         * benchtests/tan-inputs: New file.
43445 2013-04-16  Roland McGrath  <roland@hack.frob.com>
43447         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
43448         considered kosher.
43450 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43452         * benchtests/Makefile: Include cppflags-iterator.mk to add
43453         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
43455         * Makefile.in (bench-clean): New target.
43456         * benchtests/Makefile (bench-clean): Likewise.
43458 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
43460         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
43462 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
43464         * stdio-common/tstdiomisc.c: Fix coding-style violation.
43466 2013-04-15  Andreas Schwab  <schwab@suse.de>
43468         * nscd/grpcache.c (cache_addgr): Properly check for short write.
43469         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43470         * nscd/pwdcache.c (cache_addpw): Likewise.
43471         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
43472         more than recsize.
43474 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43476         * benchtests/Makefile (bench): Write all output to
43477         bench-out.tmp together.
43479 2013-04-15  Andreas Schwab  <schwab@suse.de>
43481         * nscd/nscd.c (main): Don't fork again after closing files.
43483 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43485         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
43487         * benchtests/Rules (bench-deps): Collect dependencies into a
43488         single variable.  Add Makefile to dependencies.
43489         ($(objpfx)bench-%.c): Depend on bench-deps.
43491 2013-04-12  Roland McGrath  <roland@hack.frob.com>
43492             Xavier Roche  <roche+kml2@exalead.com>
43494         [BZ #15361]
43495         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
43496         just that it's a file descriptor.
43497         * manual/llio.texi (Synchronizing AIO Operations): Update description
43498         for EBADF error from aio_fsync.
43500 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43502         * Rules (bench): Move target definition...
43503         * benchtests/Makefile: ... here.
43505 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
43507         * math/libm-test.inc (cos_test): Fix PI/2 test.
43508         (sincos_test): Likewise.
43509         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
43510         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
43512 2013-04-11  Andreas Schwab  <schwab@suse.de>
43514         [BZ #13988]
43515         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
43516         accept exponent character only when digits were seen.
43517         * stdio-common/Makefile (tests): Add bug26.
43518         * stdio-common/bug26.c: New file.
43520         [BZ #14293]
43521         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
43522         non-freeable.
43524 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43526         * Makeconfig (rtld-prefix): Define built linker prefix.
43527         * Rules (run-bench): Use it.
43528         * math/Makefile (run-regen-ulps): Likewise.
43530         * Rules (bench): Remove eval.
43532 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43533             Roland McGrath  <roland@hack.frob.com>
43534             Ondrej Bilka  <neleai@seznam.cz>
43536         [BZ #15346]
43537         * time/getdate.c: Include ctype.h and alloca.h.
43538         (__getdate_r): Trim leading and trailing spaces of input.
43539         * time/tst-getdate.c (tests): Add tests with leading and
43540         trailing spaces.
43542 2013-04-08  Roland McGrath  <roland@hack.frob.com>
43544         [BZ #14280]
43545         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
43546         when computing value.
43548 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
43550         * math/README.libm-test (How can I generate "libm-test-ulps"?):
43551         Use testrun.sh to run libm tests.
43553         [BZ #15309]
43554         * elf/dl-open.c (dl_open_worker): memset all of seen array.
43556 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
43558         [BZ #15264]
43559         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
43561 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
43563         * Makefile.in (regen-ulps): New target.
43564         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
43565         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
43566         [ifneq (no,$(PERL)] (regen-ulps): New target.
43567         [ifeq (no,$(PERL)] (regen-ulps): New target.
43568         * math/libm-test.inc (ulps_file_name): Define.
43569         (output_dir): New variable.
43570         (options): Add "output-dir" option.
43571         (parse_opt): Handle 'o' case.
43572         (main): If output_dir is non-NULL use it as a prefix
43573         otherwise use "".
43574         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
43576 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
43578         [BZ #10060, #10062]
43579         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
43580         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
43581         fail configure if __sync_val_compare_and_swap is not inlined.
43582         * sysdeps/i386/configure: Regenerate.
43583         * configure.in: Build for i686 when configured for i386.
43584         * configure: Regenerate.
43585         * README: Remove i386 reference.
43587 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
43589         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
43590         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43592 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
43594         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
43595         (lmsnanval): New variables.
43596         (F): Add conversion tests.
43597         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
43598         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
43600         * stdio-common/tstdiomisc.c (F): Properly collect individual
43601         tests' results.
43603         [BZ #14686, #15336]
43604         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
43605         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
43606         Instead, use input NaN values or generate a qNaN by arithmetic
43607         operation.  Also fix bugs to comply with the standard.
43608         * math/libm-test.inc (remainder_test): Add more tests.
43610         [BZ #15335, #15342]
43611         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
43612         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
43613         input NaN values or generate a qNaN by arithmetic operation.
43615         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
43616         unreachable code.
43618         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
43619         definitions.
43621 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
43623         [BZ #14478]
43624         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
43625         underflowed result.
43626         * math/s_cexpf.c (__cexpf): Likewise.
43627         * math/s_cexpl.c (__cexpl): Likewise.
43628         * math/libm-test.inc (cexp_test): Add more tests.
43630 2013-04-03  Andreas Schwab  <schwab@suse.de>
43632         [BZ #15330]
43633         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
43634         order arrays from heap if bigger than alloca cutoff.
43636 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
43638         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
43639         (SNAN_TESTS_double): Refer to GCC PR56831.
43640         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
43641         GCC PR56828.
43643 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
43645         * Rules (bench): Move bench.out after the run is complete.
43647         * Rules (bench): Echo currently running benchmark.
43649         * benchtests/Makefile (bench): Add atan and slowatan.
43650         * benchtests/atan-inputs: New file.
43651         * benchtests/slowatan-inputs: New file.
43652         * benchtests/slowatan.c: New file.
43654         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
43655         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
43656         its value.
43658         [BZ #15305]
43659         * sysdeps/unix/sysv/linux/kernel-features.h
43660         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
43661         __ASSUME_XFS_RESTRICTED_CHOWN.
43662         * sysdeps/unix/sysv/linux/pathconf.c
43663         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
43664         Save and restore errno.
43666 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
43668         [BZ #15327]
43669         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
43670         arguments using __kernel_casinh.
43671         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
43672         arguments using __kernel_casinhf.
43673         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
43674         arguments using __kernel_casinhl.
43675         * math/libm-test.inc (cacosh_test): Add more tests.
43676         * sysdeps/i386/fpu/libm-test-ulps: Update.
43677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43679 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43681         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
43682         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
43684         * bench/Makefile (bench): Add sin and slowsin.
43685         * benchtests/sin-inputs: New file.
43686         * benchtests/slowsin-inputs: New file.
43687         * benchtests/slowsin.c: New file.
43689         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
43690         (bench): Add slowexp and slowpow.
43691         (exp-ITER): Increase iterations.
43692         (pow-ITER): Likewise.
43693         * benchtests/exp-inputs: Change input.
43694         * benchtests/pow-inputs: Likewise.
43695         * benchtests/slowexp-inputs: New file.
43696         * benchtests/slowexp.c: New file.
43697         * benchtests/slowpow-inputs: New file.
43698         * benchtests/slowpow.c: New file.
43700 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43702         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
43703         instructions.
43704         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43705         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
43706         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
43707         * benchtests/Makefile: Add rint benchtest.
43708         * benchtests/rint-inputs: Input for rint benchtest.
43710 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
43712         * Versions.def (libm): Add GLIBC_2.18.
43713         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
43714         hidden libm prototypes.
43715         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
43716         * math/Makefile (libm-calls): Add s_issignaling.
43717         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
43718         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
43719         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
43720         declaration.
43721         * math/math.h [__USE_GNU] (issignaling): New macro.
43722         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
43723         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
43724         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
43725         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
43726         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
43727         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
43728         * manual/arith.texi (issignaling): New section.
43729         * manual/libm-err-tab.pl (@all_functions): Update comment.
43730         * math/gen-libm-test.pl (parse_args): Apply special handling for
43731         issignaling.
43732         * math/libm-test.inc (print_float, issignaling_test): New
43733         functions.
43734         (check_float_internal): Add issignaling checks.
43735         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
43736         default definition.
43737         * sysdeps/powerpc/math-tests.h: New file.
43738         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
43739         tests.
43740         * math/test-snan.c (TEST_FUNC): Likewise.
43742 2013-03-30  David S. Miller  <davem@davemloft.net>
43744         * po/de.po: Update from translation team.
43746 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
43748         [BZ #10357]
43749         * math/k_casinh.c (__kernel_casinh): Handle arguments with
43750         imaginary part less than 1.0 and real part less than 0.5
43751         specially.
43752         * math/k_casinhf.c (__kernel_casinhf): Likewise.
43753         * math/k_casinhl.c (__kernel_casinhl): Likewise.
43754         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
43755         (cacos_test): Add more tests.
43756         (casin_test): Likewise.
43757         (casinh_test): Likewise.
43758         * sysdeps/i386/fpu/libm-test-ulps: Update.
43759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43761 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43763         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
43764         ONE with its value.
43766         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
43767         (__pow_mp): Replace ONE and MONE with their values.
43768         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43769         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
43770         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
43771         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
43772         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
43773         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
43775         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
43777         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
43778         (__pow_mp): Replace ZERO and MZERO with their values.
43779         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
43780         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43781         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
43782         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
43783         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
43784         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
43785         (__sqr): Likewise.
43787         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
43789         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
43791 2013-03-28  Roland McGrath  <roland@hack.frob.com>
43793         * include/stdlib.h [!SHARED] (__call_tls_dtors):
43794         Declare with __attribute__ ((weak)).
43795         * stdlib/exit.c (__libc_atexit) [!SHARED]:
43796         Call __call_tls_dtors only if it's not NULL.
43798 2013-03-28  Roland McGrath  <roland@hack.frob.com>
43800         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
43801         didn't do it already, then set _dl_phdr and _dl_phnum based on the
43802         magic __ehdr_start linker symbol if it's defined.
43803         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
43804         them up here if it was already done.
43806         * elf/dl-support.c (_dl_phdr): Make pointer to const.
43807         (_dl_aux_init): Use const in cast when setting it.
43808         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
43809         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
43810         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
43812         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
43813         Declare them here.
43814         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
43815         * csu/libc-tls.c: Nor here.
43816         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
43818         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
43819         (__libc_message): Never call vsyslog.
43821 2013-03-28  Alan Modra  <amodra@gmail.com>
43823         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
43824         Define as empty.
43825         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
43826         Likewise.
43828 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43830         [BZ #15214]
43831         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
43832         underflow.
43833         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43835 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43837         [BZ #15304]
43838         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
43839         Don't add gid passed as argument.
43841         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
43843 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
43845         [BZ #15307]
43846         * math/k_casinh.c (__kernel_casinh): Handle arguments with
43847         imaginary part between 1.0 and 1.5 and real part less than 0.5
43848         specially.
43849         * math/k_casinhf.c (__kernel_casinhf): Likewise.
43850         * math/k_casinhl.c (__kernel_casinhl): Likewise.
43851         * math/libm-test.inc (cacos_test): Add more tests.
43852         (casin_test): Likewise.
43853         (casinh_test): Likewise.
43854         * sysdeps/i386/fpu/libm-test-ulps: Update.
43855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43857 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43859         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
43860         constants.
43861         (norm): Likewise.
43862         (denorm): Likewise.
43863         (__dbl_mp): Likewise.
43864         (add_magnitudes): Likewise.
43865         (sub_magnitudes): Likewise.
43866         (__add): Likewise.
43867         (__sub): Likewise.
43868         (__mul): Likewise.
43869         (__sqr): Likewise.
43870         (__inv): Likewise.
43871         (__dvd): Likewise.
43873         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
43874         commented code.
43875         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
43876         (__dubcos): Likewise.
43877         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
43878         (__ieee754_acos): Likewise.
43879         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
43880         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
43881         (__exp1): Likewise.
43882         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43883         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43884         (log1): Likewise.
43885         (my_log2): Likewise.
43886         (checkint): Likewise.
43887         * sysdeps/ieee754/dbl-64/e_remainder.c
43888         (__ieee754_remainder): Likewise.
43889         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
43890         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
43891         (bsloww): Likewise.
43892         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
43894         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
43895         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
43896         MANTISSA_STORE_T to store computations on mantissa.  Use
43897         macros for rounding and division.
43898         (denorm): Likewise.
43899         (__dbl_mp): Likewise.
43900         (add_magnitudes): Likewise.
43901         (sub_magnitudes): Likewise.
43902         (__mul): Likewise.
43903         (__sqr): Likewise.
43904         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
43905         powers of two in terms of TWOPOW macro.
43906         (mp_no): Make type of mantissa as MANTISSA_T.
43907         [!RADIXI]: Define RADIXI.
43908         [!TWO52]: Define TWO52.
43909         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
43911 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43913         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
43914         llroundl symbol when building for PPC32.
43916 2013-03-24  Mark H Weaver  <mhw@netris.org>
43918         * manual/arith.texi (Normalization Functions): Fix prototypes for
43919         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
43921 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43923         [BZ #13889]
43924         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
43925         high value to check if expl overflow.
43926         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
43927         to check for underflow and overflow.
43928         * math/libm-test.inc: Add exp test.
43930 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
43932         [BZ #11120]
43933         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
43934         with NOT_IN_libc.
43936 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43938         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
43939         symbol.
43941 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43943         * math/gen-libm-test.pl (parse_args, special_functions): Properly
43944         wrap blocks consisting of several statements.
43946         * sysdeps/generic/math-tests.h: New file.
43947         * sysdeps/i386/fpu/math-tests.h: Likewise.
43948         * math/test-snan.c: Include it.
43949         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
43951 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
43953         [BZ #15285]
43954         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
43955         (__ieee754_j0l): Do not improve calculations using cos of twice
43956         input for inputs above LDBL_MAX / 2.0L.
43957         (__ieee754_y0l): Likewise.
43958         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
43959         (__ieee754_j1l): Do not improve calculations using cos of twice
43960         input for inputs above LDBL_MAX / 2.0L.
43961         (__ieee754_y1l): Likewise.
43962         * math/libm-test.inc (j0_test): Add another test.
43963         (j1_test): Likewise.
43964         (y0_test): Likewise.
43965         (y1_test): Likewise.
43966         * sysdeps/i386/fpu/libm-test-ulps: Update.
43968 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43970         * Rules ($(objpfx)bench-%.c): Include code from a C source
43971         file.
43973 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
43975         [BZ #15287]
43976         * math/k_casinh.c (__kernel_casinh): Handle arguments with
43977         imaginary part 1.0 and real part less than 0.5 specially.
43978         * math/k_casinhf.c (__kernel_casinhf): Likewise.
43979         * math/k_casinhl.c (__kernel_casinhl): Likewise.
43980         * math/libm-test.inc (cacos_test): Add more tests.
43981         (casin_test): Likewise.
43982         (casinh_test): Likewise.
43983         * sysdeps/i386/fpu/libm-test-ulps: Update.
43984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43986 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43988         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
43989         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
43991 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
43993         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
43994         * config.make.in (config-cflags-sse4): Remove variable.
43995         (config-cflags-avx): Likewise.
43996         (config-cflags-sse2avx): Likewise.
43997         (config-cflags-novzeroupper): Likewise.
43998         (config-asflags-i686): Likewise.
43999         (have-mfma4): Likewise.
44000         (have-as-vis3): Likewise.
44001         (MIG): Likewise.
44002         * configure.in (MIG): Do not AC_SUBST.
44003         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
44004         (libc_cv_cc_sse4): Do not AC_SUBST.
44005         (libc_cv_cc_avx): Likewise.
44006         (libc_cv_cc_sse2avx): Likewise.
44007         (libc_cv_cc_novzeroupper): Likewise.
44008         (libc_cv_cc_fma4): Likewise.
44009         (libc_cv_as_i686): Likewise.
44010         (libc_cv_sparc_as_vis3): Likewise.
44011         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
44012         LIBC_CONFIG_VAR.
44013         (config-asflags-i686): Likewise.
44014         (config-cflags-avx): Likewise.
44015         (config-cflags-sse2avx): Likewise.
44016         (have-mfma4): Likewise.
44017         (config-cflags-novzeroupper): Likewise.
44018         * sysdeps/mach/configure.in (MIG): Likewise.
44019         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
44020         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
44021         LIBC_CONFIG_VAR.
44022         (config-cflags-avx): Likewise.
44023         (config-cflags-sse2avx): Likewise.
44024         (have-mfma4): Likewise.
44025         (config-cflags-novzeroupper): Likewise.
44026         * configure: Regenerated.
44027         * sysdeps/i386/configure: Likewise.
44028         * sysdeps/mach/configure: Likewise.
44029         * sysdeps/sparc/configure: Likewise.
44030         * sysdeps/x86_64/configure: Likewise.
44032 2013-03-20  Roland McGrath  <roland@hack.frob.com>
44034         [BZ #14812]
44035         * locale/programs/localedef.c (options): Put N_ translation marker
44036         on argument names, not just descriptions.
44038 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44040         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
44042 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
44044         [BZ #14176]
44045         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
44047 2013-03-19  Roland McGrath  <roland@hack.frob.com>
44049         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
44050         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
44051         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
44052         [!BEFORE_ABORT] (before_abort): New function.
44053         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
44054         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
44055         (writev_for_fatal): New function.
44056         (WRITEV_FOR_FATAL): New macro; call that.
44057         (backtrace_and_maps): New function.
44058         (BEFORE_ABORT): New macro; call that.
44059         (struct str_list): Type removed.
44060         (__libc_message, __libc_fatal): Functions removed.
44061         Include <sysdeps/posix/libc_fatal.c> instead.
44063 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
44065         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
44066         constants.
44067         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
44068         double constants.
44070 2013-03-19  Andreas Schwab  <schwab@suse.de>
44072         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
44073         * sysdeps/gnu/configure: Regenerate.
44075         * configure.in: Substitute libc_cv_rtlddir.
44076         * configure: Regenerate.
44077         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
44078         * Makeconfig (rtlddir, inst_rtlddir): New variables.
44079         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
44080         * elf/Makefile (install-others, CFLAGS-interp.c)
44081         (ldso_install, common-ldd-rewrite): Likewise.
44082         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
44083         $(inst_slibdir)/$(rtld-installed-name).
44084         * scripts/rellns-sh: Add -p option.
44085         * Makerules (make-shlib-link): Use rellns-sh to get relative name
44086         for source.
44088 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44090         * manual/nptl.texi: Renamed to ...
44091         * manual/threads.texi: ... this.
44092         * manual/Makefile (chapters): Update.
44094 2013-03-18  Roland McGrath  <roland@hack.frob.com>
44096         [BZ #14812]
44097         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
44098         on argument names, not just descriptions.
44099         * malloc/memusagestat.c (options): Likewise.
44100         * nss/getent.c (options): Likewise.
44102 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
44104         [BZ #14812]
44105         * iconv/iconv_prog.c (options): Put N_ translation marker
44106         on argument names, not just descriptions.
44107         * iconv/iconvconfig.c (options): Likewise.
44109 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
44111         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
44112         implementation which is faster on all x86_64 architectures.
44113         Tested on AMD, Intel Nehalem, SNB, IVB.
44114         * sysdeps/x86_64/strnlen.S: Likewise.
44116         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
44117         Remove all multiarch strlen and strnlen versions.
44118         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
44119         Remove strlen and strnlen related parts.
44121         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
44122         Inline strlen part.
44123         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
44125         * sysdeps/x86_64/multiarch/strlen.S: Remove.
44126         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
44127         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
44128         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
44129         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
44130         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
44132 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
44134         * manual/memory.texi (Malloc Tunable Parameters):
44135         Sort parameters alphabetically. Add comments for missing entries.
44137 2013-03-17  David S. Miller  <davem@davemloft.net>
44139         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44141 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
44143         [BZ #15283]
44144         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
44145         for arguments at most half maximum finite value.
44146         * math/libm-test.inc (j0_test): Add more tests.
44147         (j1_test): Likewise.
44148         (y0_test): Likewise.
44149         (y1_test): Likewise.
44150         * sysdeps/i386/fpu/libm-test-ulps: Update.
44151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44153         [BZ #14155]
44154         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
44155         1 / x and functions P and Q for arguments above 0x1p256L.
44156         (__ieee754_y0l): Likewise.
44157         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
44158         (__ieee754_y1l): Likewise.
44159         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
44160         (j1_test): Likewise.
44161         (y0_test): Likewise.
44162         (y1_test): Likewise.
44164 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
44166         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
44167         variable.
44169 2013-03-15  Roland McGrath  <roland@hack.frob.com>
44171         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
44172         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
44173         zero since it's initialized to EXEC_PAGESIZE.
44175         * sysdeps/unix/sysv/linux/ldsodefs.h
44176         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
44177         * sysdeps/generic/ldsodefs.h: ... here.
44179 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
44181         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
44183         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
44184         math/test-snan.c.
44185         * math/test-snan.c: Renamed from
44186         sysdeps/powerpc/fpu/test-powerpc-snan.c.
44187         * math/Makefile (tests): Add test-snan.
44188         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
44189         test-powerpc-snan.
44191         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
44192         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
44193         functions.
44194         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
44195         __builtin_nan family of functions.
44196         * math/libm-test.inc (initialize): Initialize qnan_value with
44197         __builtin_nan family of functions.
44198         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
44199         Remove variables.
44200         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
44201         Remove functions.
44202         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
44203         storage class.  Initialize qNaN_var and sNaN_var with
44204         __builtin_nan and __builtin_nans families of functions,
44205         respectively.
44207         * math/libm-test.inc (acosh_test): Also test with qNaN input.
44208         (sqrt_test): Remove duplicate test with qNaN input.
44209         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
44210         (round_test, signbit_test, significand_test): Note missing +/-Inf
44211         as well as qNaN tests.
44213         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
44214         qNaN_var.  Fix a few strings, too.
44215         * math/libm-test.inc (nan_value): Rename to qnan_value.
44216         * math/gen-libm-test.pl (%beautify): Adjust to that.
44217         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
44218         * math/test-misc.c (main): Likewise.
44219         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
44220         to __qnan_bytes, and __qnan_union, respectively.
44221         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
44222         Likewise.
44223         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
44224         and lqnanval, respectively.
44225         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
44226         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
44227         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
44228         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
44230         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
44231         * math/test-misc.c (main) [__x86_64__]: Enable test for long
44232         doubles.
44234         * math/test-misc.c (main): Fix copy'n'pastos.
44235         * misc/tst-efgcvt.c (special): Likewise.
44237         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
44238         Remove declarations.
44240 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44242         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
44243         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
44244         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
44245         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
44247 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44249         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
44250         macro to return vdso values correctly in IFUNC implementations.
44251         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
44252         Optimization by using IFUNC.
44254 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44255             Richard Henderson  <rth@redhat.com>
44256             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44258         * Makefile.in (bench): New target.
44259         * NEWS: Mention the benchmark framework.
44260         * Rules (bench): Likewise.
44261         (binaries-bench): Generate binaries for functions to
44262         benchmark.
44263         * benchtests/Makefile: New makefile for benchmark tests.
44264         * benchtests/bench-skeleton.c: New skeleton file for benchmark
44265         programs.
44266         * benchtests/exp-inputs: New input file for EXP function.
44267         * benchtests/pow-inputs: New input file for POW function.
44268         * scripts/bench.pl: New script to generate source files for
44269         benchmark programs.
44271 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44273         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
44274         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
44275         computations on mantissa.  Use macros for rounding and
44276         division.
44277         (denorm): Likewise.
44278         (__dbl_mp): Likewise.
44279         (add_magnitudes): Likewise.
44280         (sub_magnitudes): Likewise.
44281         (__mul): Likewise.
44282         (__sqr): Likewise.
44283         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
44284         powers of two in terms of TWOPOW macro.
44285         (mp_no): Make type of mantissa as MANTISSA_T.
44286         [!RADIXI]: Define RADIXI.
44287         [!TWO52]: Define TWO52.
44288         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
44290         * manual/nptl.texi (cindex): Modify threads to pthreads.
44292 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
44294         * sysdeps/x86_64/preconfigure: Regenerated.
44296 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
44298         [BZ #14155]
44299         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
44300         0x1p28 and above.
44301         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
44302         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
44303         0x1p28 and above.
44304         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
44305         * math/libm-test.inc (j0_test): Do not allow one spurious
44306         underflow exception.
44307         (y1_test): Likewise.
44309 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44311         * manual/Makefile (chapters): Add nptl.
44312         * manual/debug.texi (Debugging Support): Add link to Threads
44313         chapter.
44314         * manual/nptl.texi: New file.
44316         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
44318 2013-03-14  Petr Baudis  <pasky@ucw.cz>
44320         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
44321         for non-NULL pointer before the memory validity test. Pointed
44322         out by Holger Brunck <holger.brunck@keymile.com>.
44324 2013-03-13  Andreas Schwab  <schwab@suse.de>
44326         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
44327         instead of .os.
44329 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
44331         * timezone/zic.c: Update from tzcode 2013b.
44333 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
44335         * manual/install.texi (Configuring and compiling):
44336         Mention i686 and i586.
44337         * INSTALL: Regenerate.
44339 2013-03-12  Roland McGrath  <roland@hack.frob.com>
44341         * sysdeps/init_array/elf-init.c: New file.
44342         * csu/elf-init.c
44343         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
44344         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
44346         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
44347         __gmon_start__ as global, but as static with a .preinit_array pointer.
44348         * sysdeps/init_array/gmon-start.c: New file.  Use that.
44349         * sysdeps/init_array/crti.S: New file, empty except for comments.
44350         * sysdeps/init_array/crtn.S: Likewise.
44352 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
44354         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
44355         definining bcopy.
44356         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44357         Remove Prefer_SSE_for_memop.
44358         * sysdeps/x86_64/multiarch/init-arch.h: Remove
44359         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
44360         HAS_PREFER_SSE_FOR_MEMOP.
44361         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
44362         memset-x86-64.
44363         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44364         Remove bzero, memset ifunc support.
44365         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
44366         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
44367         * sysdeps/x86_64/multiarch/memset.S: Likewise.
44368         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44370 2013-03-11  Andreas Schwab  <schwab@suse.de>
44372         [BZ #15234]
44373         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
44374         by SHLIB_COMPAT.
44375         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
44376         (GLIBC_2.16): Remove pthread_atfork.
44378 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
44380         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
44381         (ptestcases.h): Likewise.
44383 2013-03-08  Roland McGrath  <roland@hack.frob.com>
44385         * Makeconfig ($(common-objpfx)config.status): Depend on
44386         sysdeps/*/preconfigure{,.in} too.
44388 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
44390         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
44391         (__free_hook): Use void * instead of __malloc_ptr_t.
44392         (__malloc_hook): Likewise.
44393         (__realloc_hook): Likewise.
44394         (__memalign_hook): Likewise.
44395         (__after_morecore_hook): Likewise.
44396         * malloc/arena.c (save_malloc_hook): Likewise.
44397         (save_free_hook): Likewise.
44398         * malloc/hooks.c (malloc_hook_ini): Likewise.
44399         (realloc_hook_ini): Likewise.
44400         (memalign_hook_ini): Likewise.
44401         * malloc/malloc.c (malloc_hook_ini): Likewise.
44402         (realloc_hook_ini): Likewise.
44403         (memalign_hook_ini): Likewise.
44404         (__free_hook): Likewise.
44405         (__malloc_hook): Likewise.
44406         (__realloc_hook): Likewise.
44407         (__memalign_hook): Likewise.
44408         (__libc_malloc): Likewise.
44409         (__libc_free): Likewise.
44410         (__libc_realloc): Likewise.
44411         (__libc_memalign): Likewise.
44412         (__libc_valloc): Likewise.
44413         (__libc_pvalloc): Likewise.
44414         (__libc_calloc): Likewise.
44415         (__posix_memalign): Likewise.
44416         * malloc/morecore.c (__sbrk): Likewise.
44417         (__default_morecore): Likewise.
44419         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
44421         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
44422         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
44423         __malloc_ptrdiff_t.
44425         * malloc/malloc.h (__malloc_size_t): Remove macro.
44426         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
44427         __malloc_size_t.
44428         (old_memalign_hook): Likewise.
44429         (old_realloc_hook): Likewise.
44430         (struct hdr): Likewise.
44431         (flood): Likewise.
44432         (mallochook): Likewise.
44433         (memalignhook): Likewise.
44434         (reallochook): Likewise.
44435         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
44436         (tr_old_realloc_hook): Likewise.
44437         (tr_old_memalign_hook): Likewise.
44438         (tr_mallochook): Likewise.
44439         (tr_reallochook): Likewise.
44440         (tr_memalignhook): Likewise.
44442 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44444         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
44445         default_ldbl_pack and using as default implementation.
44446         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
44447         implementation.
44448         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
44449         redundant definition.
44450         (ldbl_insert_mantissa): Likewise.
44451         (ldbl_canonicalize): Likewise.
44452         (ldbl_nearbyint): Likewise.
44453         (ldbl_pack): Rename to ldbl_pack_ppc.
44454         (ldbl_unpack): Rename to ldbl_unpack_ppc.
44455         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
44456         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
44458 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
44460         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
44461         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
44462         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
44463         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
44464         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
44465         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
44466         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
44467         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
44469 2013-03-07  Andreas Jaeger  <aj@suse.de>
44471         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44472         bits/mman-linux.h.
44474 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44476         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
44477         Include mpa.h and declare __MPEXP.
44478         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
44479         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
44480         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
44481         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
44482         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
44483         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
44484         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
44486         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
44487         (__slowpow): Use long double EXPL and LOGL functions to
44488         compute POW.
44489         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
44490         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
44491         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
44492         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
44493         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
44494         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
44496         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
44497         intermediate variable to calculate exponent.
44498         (__sqr): Likewise.
44499         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
44500         Likewise.
44501         (__sqr): Likewise.
44503         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
44504         [!NO__SQR]: Define __sqr.
44505         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
44506         and NO__SQR.  Remove all code except __mul and __sqr.  Include
44507         sysdeps/ieee754/dbl-64/mpa.c.
44508         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
44510         [BZ #12723]
44511         * posix/Makefile (tests): Add tst-pathconf.
44512         * posix/tst-pathconf.c: New test case.
44513         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
44514         _PC_PIPE_BUF.
44515         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
44517 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
44519         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
44521 2013-03-06  Andreas Jaeger  <aj@suse.de>
44523         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
44524         definition via __MAP_ANONYMOUS.
44526         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
44527         it's not part of Linux headers.
44529         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
44530         (MAP_HUGE_MASK): Define.
44532         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
44533         Define.
44534         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44535         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
44536         Define.
44537         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44538         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
44539         Define.
44540         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44541         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
44542         Define.
44543         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44545         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
44546         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
44547         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
44548         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
44549         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
44550         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
44552         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44553         Handle f2fs.
44555         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44556         Handle f2fs and efivarfs.
44558         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
44559         f2fs.
44561         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
44562         (EFIVARFS_MAGIC): Add.
44563         (F2FS_LINK_MAX): Add.
44565 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
44567         * stdio-common/vfprintf.c: Replace __builtin_expect with
44568         __glibc_unlikely.
44570 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
44572         [BZ #13550]
44573         * sysdeps/generic/bp-sym.h: Remove file.
44574         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
44575         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
44576         <bp-sym.h> and <bp-asm.h>.
44577         (__longjmp): Don't use BP_SYM.
44578         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
44579         and <bp-asm.h>.
44580         (memcpy): Don't use BP_SYM.
44581         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
44582         <bp-sym.h> and <bp-asm.h>.
44583         (memcpy): Don't use BP_SYM.
44584         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
44585         <bp-asm.h>.
44586         (memcpy): Don't use BP_SYM.
44587         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
44588         <bp-asm.h>.
44589         (memset): Don't use BP_SYM.
44590         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44591         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44592         (__bzero): Don't use BP_SYM.
44593         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44594         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44595         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
44596         <bp-sym.h> and <bp-asm.h>.
44597         (memcmp): Don't use BP_SYM.  Remove comment about bounded
44598         pointers.
44599         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
44600         <bp-sym.h> and <bp-asm.h>.
44601         (memcpy): Don't use BP_SYM.
44602         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
44603         <bp-sym.h> and <bp-asm.h>.
44604         (memset): Don't use BP_SYM.
44605         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44606         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44607         (__bzero): Don't use BP_SYM.
44608         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44609         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44610         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
44611         <bp-sym.h> and <bp-asm.h>.
44612         (strncmp): Don't use BP_SYM.  Remove comment about bounded
44613         pointers.
44614         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
44615         <bp-sym.h> and <bp-asm.h>.
44616         (memcpy): Don't use BP_SYM.
44617         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
44618         <bp-sym.h> and <bp-asm.h>.
44619         (memset): Don't use BP_SYM.
44620         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44621         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44622         (__bzero): Don't use BP_SYM.
44623         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44624         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44625         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
44626         <bp-sym.h> and <bp-asm.h>.
44627         (__memchr): Don't use BP_SYM.
44628         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
44629         <bp-sym.h> and <bp-asm.h>.
44630         (memcmp): Don't use BP_SYM.  Remove comment about bounded
44631         pointers.
44632         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
44633         <bp-sym.h> and <bp-asm.h>.
44634         (memcpy): Don't use BP_SYM.
44635         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
44636         <bp-sym.h> and <bp-asm.h>.
44637         (__mempcpy): Don't use BP_SYM.
44638         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
44639         <bp-sym.h> and <bp-asm.h>.
44640         (__memrchr): Don't use BP_SYM.
44641         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
44642         <bp-sym.h> and <bp-asm.h>.
44643         (memset): Don't use BP_SYM.
44644         (__bzero): Likewise.
44645         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
44646         <bp-sym.h> and <bp-asm.h>.
44647         (__rawmemchr): Don't use BP_SYM.
44648         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
44649         <bp-sym.h> and <bp-asm.h>.
44650         (__STRCMP): Don't use BP_SYM.
44651         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
44652         <bp-sym.h> and <bp-asm.h>.
44653         (strchr): Don't use BP_SYM.
44654         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
44655         <bp-sym.h> and <bp-asm.h>.
44656         (__strchrnul): Don't use BP_SYM.
44657         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
44658         <bp-sym.h> and <bp-asm.h>.
44659         (strlen): Don't use BP_SYM.
44660         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
44661         <bp-sym.h> and <bp-asm.h>.
44662         (strncmp): Don't use BP_SYM.  Remove comment about bounded
44663         pointers.
44664         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
44665         <bp-sym.h> and <bp-asm.h>.
44666         (__strnlen): Don't use BP_SYM.
44667         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
44668         <bp-sym.h> and <bp-asm.h>.
44669         (__GI__setjmp): Don't use BP_SYM.
44670         (_setjmp): Likewise.
44671         (__sigsetjmp): Likewise.
44672         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
44673         (L(start_addresses)): Don't use BP_SYM.
44674         (_start): Likewise.
44675         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
44676         <bp-asm.h>.
44677         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
44678         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
44679         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44680         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44681         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
44682         <bp-asm.h>.
44683         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
44684         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
44685         about bounded pointers.
44686         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
44687         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44688         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
44689         <bp-asm.h>.
44690         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
44691         about bounded pointers.  Remove GKM FIXME comments.
44692         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
44693         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
44694         <bp-asm.h>.
44695         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
44696         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
44697         Remove GKM FIXME comments.
44698         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44699         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44700         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
44701         <bp-asm.h>.
44702         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
44703         about bounded pointers.  Remove GKM FIXME comment.
44704         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
44705         and <bp-asm.h>.
44706         (strncmp): Don't use BP_SYM.  Remove comment about bounded
44707         pointers.
44708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
44709         <bp-sym.h> and <bp-asm.h>.
44710         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
44711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
44712         <bp-sym.h> and <bp-asm.h>.
44713         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
44714         comment.
44716 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
44718         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
44719         call free(NULL).
44721 2013-03-05  David S. Miller  <davem@davemloft.net>
44723         * po/es.po: Update from translation team.
44725 2013-03-05  Andreas Jaeger  <aj@suse.de>
44727         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
44728         <bits/mman-linux.h>.
44729         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
44730         is fine.
44731         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
44732         <bits/mman-linux.h> to end of file.
44733         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
44734         is fine.
44735         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
44736         <bits/mman-linux.h> to end of file.
44737         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
44738         is fine.
44739         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
44740         <bits/mman-linux.h> to end of file.
44742         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
44743         (MCL_CURRENT, MCL_FUTURE): Define here.
44745 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44747         [BZ #15232]
44748         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
44749         attribute_hidden.
44750         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
44752 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44754         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
44755         fourth parameter needed for rt_sigprocmask syscall.
44756         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
44757         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
44758         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
44759         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
44760         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
44761         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
44763 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
44765         [BZ #13550]
44766         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
44767         comment about bounded pointers.
44768         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
44769         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
44771 2013-03-04  Andreas Jaeger  <aj@suse.de>
44773         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
44774         common definitions.
44776         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
44777         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
44778         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
44779         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44780         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44781         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44783 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44785         [BZ #15055]
44786         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
44787         __ieee754_sqrl instead of __sqrl.
44789 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
44791         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
44792         * sysdeps/powerpc/fpu_control.h: ... here.
44793         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
44794         * sysdeps/powerpc/bits/fenvinline.h: ... here.
44795         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
44796         * sysdeps/powerpc/bits/mathinline.h: ... here.
44798 2013-03-01  Roland McGrath  <roland@hack.frob.com>
44800         * elf/dl-hwcaps.c (_dl_important_hwcaps):
44801         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
44802         to just [NEED_DL_SYSINFO_DSO].
44803         * elf/dl-support.c: Likewise.
44804         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
44805         * elf/rtld.c (dl_main): Likewise.
44806         * elf/setup-vdso.h (setup_vdso): Likewise.
44807         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
44808         * sysdeps/unix/sysv/linux/dl-sysdep.c
44809         (_dl_discover_osversion): Likewise.
44811 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
44813         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
44814         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
44816 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
44818         * NEWS: Mention libm performance improvements and non-x86 PI
44819         futex support.
44821         * csu/libc-start.c (__pthread_initialize_minimal): Change
44822         function arguments.
44823         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
44825 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
44827         [BZ #13550]
44828         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
44829         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
44830         <bp-sym.h> and <bp-asm.h>.
44831         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
44832         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
44833         and <bp-asm.h>.
44834         (memcpy): Don't use BP_SYM.
44835         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
44836         <bp-asm.h>.
44837         (__mpn_add_n): Don't use BP_SYM.
44838         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
44839         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
44840         and <bp-asm.h>.
44841         (__mpn_addmul_1): Don't use BP_SYM.
44842         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44843         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
44844         <bp-sym.h>.
44845         (_setjmp): Don't use BP_SYM.
44846         (__novmx_setjmp): Likewise.
44847         (__GI__setjmp): Likewise.
44848         (__vmx_setjmp): Likewise.
44849         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
44850         <bp-sym.h>.
44851         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
44852         (__bzero): Don't use BP_SYM.
44853         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44854         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44855         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
44856         <bp-sym.h> and <bp-asm.h>.
44857         (memcpy): Don't use BP_SYM.
44858         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
44859         <bp-sym.h> and <bp-asm.h>.
44860         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
44861         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
44862         <bp-sym.h> and <bp-asm.h>.
44863         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
44864         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
44865         <bp-asm.h>.
44866         (__mpn_lshift): Don't use BP_SYM.
44867         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44868         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
44869         <bp-asm.h>.
44870         (memset): Don't use BP_SYM.
44871         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44872         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44873         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
44874         <bp-asm.h>.
44875         (__mpn_mul_1): Don't use BP_SYM.
44876         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44877         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
44878         <bp-sym.h> and <bp-asm.h>.
44879         (memcmp): Don't use BP_SYM.
44880         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
44881         <bp-sym.h> and <bp-asm.h>.
44882         (memcpy): Don't use BP_SYM.
44883         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
44884         <bp-sym.h> and <bp-asm.h>.
44885         (memset): Don't use BP_SYM.
44886         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
44887         <bp-sym.h> and <bp-asm.h>.
44888         (strncmp): Don't use BP_SYM.
44889         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
44890         <bp-sym.h> and <bp-asm.h>.
44891         (memcpy): Don't use BP_SYM.
44892         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
44893         <bp-sym.h> and <bp-asm.h>.
44894         (memset): Don't use BP_SYM.
44895         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
44896         <bp-sym.h> and <bp-asm.h>.
44897         (__memchr): Don't use BP_SYM.
44898         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
44899         <bp-sym.h> and <bp-asm.h>.
44900         (memcmp): Don't use BP_SYM.
44901         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
44902         <bp-sym.h> and <bp-asm.h>.
44903         (memcpy): Don't use BP_SYM.
44904         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
44905         <bp-sym.h> and <bp-asm.h>.
44906         (__mempcpy): Don't use BP_SYM.
44907         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
44908         <bp-sym.h> and <bp-asm.h>.
44909         (__memrchr): Don't use BP_SYM.
44910         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
44911         <bp-sym.h> and <bp-asm.h>.
44912         (memset): Don't use BP_SYM.
44913         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
44914         <bp-sym.h> and <bp-asm.h>.
44915         (__rawmemchr): Don't use BP_SYM.
44916         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
44917         <bp-sym.h> and <bp-asm.h>.
44918         (__STRCMP): Don't use BP_SYM.
44919         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
44920         <bp-sym.h> and <bp-asm.h>.
44921         (strchr): Don't use BP_SYM.
44922         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
44923         <bp-sym.h> and <bp-asm.h>.
44924         (__strchrnul): Don't use BP_SYM.
44925         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
44926         <bp-sym.h> and <bp-asm.h>.
44927         (strlen): Don't use BP_SYM.
44928         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
44929         <bp-sym.h> and <bp-asm.h>.
44930         (strncmp): Don't use BP_SYM.
44931         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
44932         <bp-sym.h> and <bp-asm.h>.
44933         (__strnlen): Don't use BP_SYM.
44934         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
44935         <bp-asm.h>.
44936         (__mpn_rshift): Don't use BP_SYM.
44937         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44938         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
44939         <bp-sym.h> and <bp-asm.h>.
44940         (__sigsetjmp): Don't use BP_SYM.
44941         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
44942         (L(start_addresses)): Don't use BP_SYM.
44943         (_start): Likewise.
44944         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
44945         <bp-asm.h>.
44946         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
44947         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44948         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44949         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
44950         <bp-asm.h>.
44951         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
44952         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
44953         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44954         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
44955         <bp-asm.h>.
44956         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
44957         comments.
44958         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
44959         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
44960         <bp-asm.h>.
44961         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
44962         FIXME comments.
44963         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44964         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44965         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
44966         <bp-asm.h>.
44967         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
44968         comment.
44969         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
44970         and <bp-asm.h>.
44971         (strncmp): Don't use BP_SYM,
44972         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
44973         <bp-asm.h>.
44974         (__mpn_sub_n): Don't use BP_SYM.
44975         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44976         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
44977         and <bp-asm.h>.
44978         (__mpn_submul_1): Don't use BP_SYM.
44979         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
44981         <bp-sym.h> and <bp-asm.h>.
44982         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
44983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
44984         <bp-sym.h> and <bp-asm.h>.
44985         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
44986         comment.
44988 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44990         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
44991         Use ZK to minimize writes to Z.
44992         (sub_magnitudes): Simplify code a bit.
44993         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
44994         Use ZK to minimize writes to Z.
44995         (sub_magnitudes): Simplify code a bit.
44997 2013-02-27  Roland McGrath  <roland@hack.frob.com>
44999         * csu/gmon-start.c: Add special exception to license text.
45001 2013-02-27  Richard Henderson  <rth@redhat.com>
45003         * scripts/config.guess: Update from config.git.
45004         * scripts/config.sub: Likewise.
45006 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45008         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
45010         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
45012         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
45014         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
45016         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
45018 2013-02-26  Roland McGrath  <roland@hack.frob.com>
45020         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
45021         [$(build-shared = yes].
45023 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45025         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
45026         (__mul): Reduce iterations for calculating mantissa.
45028         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
45029         MPTWO.
45030         (__mpranred): Likewise.
45032         [BZ #15160]
45033         * malloc/memusagestat.c (main): Draw graphs for heap and stack
45034         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
45036 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
45038         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
45039         Define __attribute__.
45041 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45043         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
45044         unused.
45045         * posix/regex_internal.h (__attribute): Remove.
45046         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
45047         (re_string_context_at): Likewise.
45048         (bitset_not): Use __attribute__ and mark function as possibly
45049         unused.
45050         (bitset_merge): Likewise.
45051         (bitset_mask): Likewise.
45052         (re_string_char_size_at): Likewise.
45053         (re_string_wchar_at): Likewise.
45054         (re_string_elem_size_at): Likewise.
45056 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45058         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
45059         code.
45060         (cc32): Likewise.
45062         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
45063         (__acr): Likewise.
45064         (__cpy): Likewise.
45065         (norm): Likewise.
45066         (denorm): Likewise.
45067         (__dbl_mp): Likewise.
45068         (add_magnitudes): Likewise.
45069         (sub_magnitudes): Likewise.
45070         (__mul): Likewise.
45071         (__inv): Likewise.
45073         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
45074         style.
45076         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
45077         style.
45079         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
45080         code.
45082         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
45083         up changes with default code.
45084         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
45085         Likewise.
45087 2013-02-24  Allan McRae  <allan@archlinux.org>
45089         * manual/socket.texi (The Internet Namespace): Order menu items
45090         to match that in the file.
45092         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
45093         node listing of the info page menu.
45095 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
45097         [BZ #13550]
45098         * sysdeps/i386/bp-asm.h: Remove file.
45099         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
45100         (PARMS): Do not use macros from bp-asm.h.
45101         (S1): Likewise.
45102         (S2): Likewise.
45103         (SIZE): Likewise.
45104         (__mpn_add_n): Do not use BP_SYM
45105         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
45106         "bp-asm.h".
45107         (PARMS): Do not use macros from bp-asm.h.
45108         (S1): Likewise.
45109         (SIZE): Likewise.
45110         (__mpn_addmul_1): Do not use BP_SYM
45111         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
45112         "bp-asm.h".
45113         (PARMS): Do not use macros from bp-asm.h.
45114         (SIGMSK): Likewise.
45115         (_setjmp): Likewise.  Do not use BP_SYM.
45116         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
45117         "bp-asm.h".
45118         (PARMS): Do not use macros from bp-asm.h.
45119         (SIGMSK): Likewise.
45120         (setjmp): Likewise.  Do not use BP_SYM.
45121         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
45122         "bp-asm.h".
45123         (PARMS): Do not use macros from bp-asm.h.
45124         (__frexp): Do not use BP_SYM.
45125         (frexp): Likewise.
45126         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
45127         "bp-asm.h".
45128         (PARMS): Do not use macros from bp-asm.h.
45129         (__frexpf): Do not use BP_SYM.
45130         (frexpf): Likewise.
45131         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
45132         "bp-asm.h".
45133         (PARMS): Do not use macros from bp-asm.h.
45134         (__frexpl): Do not use BP_SYM.
45135         (frexpl): Likewise.
45136         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
45137         "bp-asm.h".
45138         (PARMS): Do not use macros from bp-asm.h.
45139         (__remquo): Do not use BP_SYM.
45140         (remquo): Likewise.
45141         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
45142         "bp-asm.h".
45143         (PARMS): Do not use macros from bp-asm.h.
45144         (__remquof): Do not use BP_SYM.
45145         (remquof): Likewise.
45146         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
45147         "bp-asm.h".
45148         (PARMS): Do not use macros from bp-asm.h.
45149         (__remquol): Do not use BP_SYM.
45150         (remquol): Likewise.
45151         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
45152         "bp-asm.h".
45153         (PARMS): Do not use macros from bp-asm.h.
45154         (DEST): Likewise.
45155         (SRC): Likewise.
45156         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
45157         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
45158         "bp-asm.h".
45159         (PARMS): Do not use macros from bp-asm.h.
45160         (strlen): Do not use BP_SYM.
45161         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
45162         "bp-asm.h".
45163         (PARMS): Do not use macros from bp-asm.h.
45164         (S1): Likewise.
45165         (S2): Likewise.
45166         (SIZE): Likewise.
45167         (__mpn_add_n): Do not use BP_SYM.
45168         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
45169         "bp-asm.h".
45170         (PARMS): Do not use macros from bp-asm.h.
45171         (S1): Likewise.
45172         (SIZE): Likewise.
45173         (__mpn_addmul_1): Do not use BP_SYM.
45174         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
45175         weak_alias.
45176         (bzero): Likewise.
45177         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
45178         "bp-asm.h".
45179         (PARMS): Do not use macros from bp-asm.h.
45180         (S): Likewise.
45181         (SIZE): Likewise.
45182         (__mpn_lshift): Do not use BP_SYM.
45183         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
45184         "bp-asm.h".
45185         (PARMS): Do not use macros from bp-asm.h.
45186         (DEST): Likewise.
45187         (SRC): Likewise.
45188         (LEN): Likewise.
45189         (memcpy): Likewise.  Do not use BP_SYM.
45190         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
45191         libc_hidden_def and weak_alias.
45192         (mempcpy): Do not use BP_SYM in weak_alias.
45193         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
45194         "bp-asm.h".
45195         (PARMS): Do not use macros from bp-asm.h.
45196         (DEST): Likewise.
45197         (LEN): Likewise.
45198         [!BZERO_P] (CHR): Likewise.
45199         (memset): Likewise.  Do not use BP_SYM.
45200         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
45201         "bp-asm.h".
45202         (PARMS): Do not use macros from bp-asm.h.
45203         (S1): Likewise.
45204         (SIZE): Likewise.
45205         (__mpn_mul_1): Do not use BP_SYM.
45206         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
45207         "bp-asm.h".
45208         (PARMS): Do not use macros from bp-asm.h.
45209         (S): Likewise.
45210         (SIZE): Likewise.
45211         (__mpn_rshift): Do not use BP_SYM.
45212         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
45213         "bp-asm.h".
45214         (PARMS): Do not use macros from bp-asm.h.
45215         (STR): Likewise.
45216         (CHR): Likewise.
45217         (strchr): Likewise.  Do not use BP_SYM.
45218         (index): Do not use BP_SYM in weak_alias.
45219         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
45220         "bp-asm.h".
45221         (PARMS): Do not use macros from bp-asm.h.
45222         (DEST): Likewise.
45223         (SRC): Likewise.
45224         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
45225         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
45226         "bp-asm.h".
45227         (PARMS): Do not use macros from bp-asm.h.
45228         (strlen): Do not use BP_SYM.
45229         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
45230         "bp-asm.h".
45231         (PARMS): Do not use macros from bp-asm.h.
45232         (S1): Likewise.
45233         (S2): Likewise.
45234         (SIZE): Likewise.
45235         (__mpn_sub_n): Do not use BP_SYM.
45236         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
45237         "bp-asm.h".
45238         (PARMS): Do not use macros from bp-asm.h.
45239         (S1): Likewise.
45240         (SIZE): Likewise.
45241         (__mpn_submul_1): Do not use BP_SYM.
45242         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
45243         "bp-asm.h".
45244         (PARMS): Do not use macros from bp-asm.h.
45245         (S1): Likewise.
45246         (S2): Likewise.
45247         (SIZE): Likewise.
45248         (__mpn_add_n): Do not use BP_SYM.
45249         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
45250         weak_alias.
45251         (bzero): Likewise.
45252         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
45253         "bp-asm.h".
45254         (PARMS): Do not use macros from bp-asm.h.
45255         (BLK2): Likewise.
45256         (LEN): Likewise.
45257         (memcmp): Do not use BP_SYM.
45258         (bcmp): Do not use BP_SYM in weak_alias.
45259         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
45260         "bp-asm.h".
45261         (PARMS): Do not use macros from bp-asm.h.
45262         (DEST): Likewise.
45263         (SRC): Likewise.
45264         (LEN): Likewise.
45265         (memcpy): Likewise.  Do not use BP_SYM.
45266         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
45267         "bp-asm.h".
45268         (PARMS): Do not use macros from bp-asm.h.
45269         (DEST): Likewise.
45270         (SRC): Likewise.
45271         (LEN): Likewise.
45272         (memmove): Likewise.  Do not use BP_SYM.
45273         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
45274         "bp-asm.h".
45275         (PARMS): Do not use macros from bp-asm.h.
45276         (DEST): Likewise.
45277         (SRC): Likewise.
45278         (LEN): Likewise.
45279         (__mempcpy): Likewise.  Do not use BP_SYM.
45280         (mempcpy): Do not use BP_SYM in weak_alias.
45281         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
45282         "bp-asm.h".
45283         (PARMS): Do not use macros from bp-asm.h.
45284         (DEST): Likewise.
45285         (LEN): Likewise.
45286         [!BZERO_P] (CHR): Likewise.
45287         (memset): Likewise.  Do not use BP_SYM.
45288         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
45289         "bp-asm.h".
45290         (PARMS): Do not use macros from bp-asm.h.
45291         (STR2): Likewise.
45292         (strcmp): Do not use BP_SYM.
45293         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
45294         "bp-asm.h".
45295         (PARMS): Do not use macros from bp-asm.h.
45296         (STR): Likewise.
45297         (DELIM): Likewise.
45298         [USE_AS_STRTOK_R] (SAVE): Likewise.
45299         (FUNCTION): Likewise.  Do not use BP_SYM.
45300         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
45301         aliases.
45302         (strtok_r): Likewise.
45303         (__GI___strtok_r): Likewise.
45304         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
45305         (PARMS): Do not use macros from bp-asm.h.
45306         (S): Likewise.
45307         (SIZE): Likewise.
45308         (__mpn_lshift): Do not use BP_SYM.
45309         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
45310         (PARMS): Do not use macros from bp-asm.h.
45311         (STR): Likewise.
45312         (CHR): Likewise.
45313         (__memchr): Do not use BP_SYM.
45314         (memchr): Do not use BP_SYM in weak_alias.
45315         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
45316         (PARMS): Do not use macros from bp-asm.h.
45317         (BLK2): Likewise.
45318         (LEN): Likewise.
45319         (memcmp): Do not use BP_SYM.
45320         (bcmp): Do not use BP_SYM in weak_alias.
45321         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
45322         (PARMS): Do not use macros from bp-asm.h.
45323         (S1): Likewise.
45324         (SIZE): Likewise.
45325         (__mpn_mul_1): Do not use BP_SYM.
45326         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
45327         "bp-asm.h".
45328         (PARMS): Do not use macros from bp-asm.h.
45329         (STR): Likewise.
45330         (CHR): Likewise.
45331         (__rawmemchr): Do not use BP_SYM.
45332         (rawmemchr): Do not use BP_SYM in weak_alias.
45333         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
45334         (PARMS): Do not use macros from bp-asm.h.
45335         (S): Likewise.
45336         (SIZE): Likewise.
45337         (__mpn_rshift): Do not use BP_SYM.
45338         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
45339         (PARMS): Do not use macros from bp-asm.h.
45340         (SIGMSK): Likewise.
45341         (__sigsetjmp): Likewise.  Do not use BP_SYM.
45342         * sysdeps/i386/start.S: Do not include "bp-sym.h".
45343         (_start): Do not use BP_SYM.
45344         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
45345         (PARMS): Do not use macros from bp-asm.h.
45346         (DEST): Likewise.
45347         (SRC): Likewise.
45348         (__stpcpy): Likewise.  Do not use BP_SYM.
45349         (stpcpy): Do not use BP_SYM in weak_alias.
45350         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
45351         "bp-asm.h".
45352         (PARMS): Do not use macros from bp-asm.h.
45353         (DEST): Likewise.
45354         (SRC): Likewise.
45355         (LEN): Likewise.
45356         (__stpncpy): Likewise.  Do not use BP_SYM.
45357         (stpncpy): Do not use BP_SYM in weak_alias.
45358         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
45359         (PARMS): Do not use macros from bp-asm.h.
45360         (STR): Likewise.
45361         (CHR): Likewise.
45362         (strchr): Likewise.  Do not use BP_SYM.
45363         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
45364         "bp-asm.h".
45365         (PARMS): Do not use macros from bp-asm.h.
45366         (STR): Likewise.
45367         (CHR): Likewise.
45368         (__strchrnul): Likewise.  Do not use BP_SYM.
45369         (strchrnul): Do not use BP_SYM in weak_alias.
45370         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
45371         "bp-asm.h".
45372         (PARMS): Do not use macros from bp-asm.h.
45373         (STOP): Likewise.
45374         (strcspn): Do not use BP_SYM.
45375         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
45376         "bp-asm.h".
45377         (PARMS): Do not use macros from bp-asm.h.
45378         (STR): Likewise.
45379         (STOP): Likewise.
45380         (strpbrk): Likewise.  Do not use BP_SYM.
45381         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
45382         "bp-asm.h".
45383         (PARMS): Do not use macros from bp-asm.h.
45384         (STR): Likewise.
45385         (CHR): Likewise.
45386         (strrchr): Likewise.  Do not use BP_SYM.
45387         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
45388         (PARMS): Do not use macros from bp-asm.h.
45389         (SKIP): Likewise.
45390         (strspn): Do not use BP_SYM.
45391         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
45392         (PARMS): Do not use macros from bp-asm.h.
45393         (STR): Likewise.
45394         (DELIM): Likewise.
45395         (SAVE): Likewise.
45396         (FUNCTION): Likewise.  Do not use BP_SYM.
45397         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
45398         aliases.
45399         (strtok_r): Likewise.
45400         (__GI___strtok_r): Likewise.
45401         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
45402         (PARMS): Do not use macros from bp-asm.h.
45403         (S1): Likewise.
45404         (S2): Likewise.
45405         (SIZE): Likewise.
45406         (__mpn_sub_n): Do not use BP_SYM.
45407         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
45408         "bp-asm.h".
45409         (PARMS): Do not use macros from bp-asm.h.
45410         (S1): Likewise.
45411         (SIZE): Likewise.
45412         (__mpn_submul_1): Do not use BP_SYM.
45413         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
45414         <bp-sym.h>.
45415         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
45416         and <bp-asm.h>.
45417         (PARMS): Do not use macros from bp-asm.h.
45418         (FLAGS): Likewise.
45419         (PTID): Likewise.
45420         (TLS): Likewise.
45421         (CTID): Likewise.
45422         (__clone): Do not use BP_SYM.
45423         (clone): Do not use BP_SYM in weak_alias.
45424         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
45425         and <bp-asm.h>.
45426         (PARMS): Do not use macros from bp-asm.h.
45427         (LEN): Likewise.
45428         (__mmap64): Do not use BP_SYM.
45429         (mmap64): Do not use BP_SYM in weak_alias.
45430         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45431         <bp-sym.h> and <bp-asm.h>.
45432         (PARMS): Do not use macros from bp-asm.h.
45433         (__posix_fadvise64_l64): Do not use BP_SYM.
45434         * sysdeps/unix/sysv/linux/i386/semtimedop.S
45435         (PARMS): Do not use macros from bp-asm.h.
45436         (NSOPS): Likewise.
45437         (semtimedop): Do not use BP_SYM.
45438         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
45439         and <bp-asm.h>.
45441 2013-02-21  Allan McRae  <allan@archlinux.org>
45443         * manual/message.texi (Charset conversion in gettext):
45444         Move @end statement to beginning of line.
45446 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45448         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
45449         static.
45450         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
45451         Likewise.
45453         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
45454         (denorm): Likewise.
45455         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
45456         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
45458 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45460         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
45461         tail-call to the resolved function if pltexit isn't needed.
45463 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45465         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
45466         or Y being zero as being unlikely.
45467         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
45468         Likewise.
45470 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
45472         * manual/nss.texi (System Databases and Name Service Switch):
45473         Remove frobnicate @pxref.
45475 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
45477         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
45478         __attribute__ ((unused)) to __attribute__ ((__unused__)).
45480 2013-02-20  Petr Machata  <pmachata@redhat.com>
45482         * elf/elf.h (R_ARM_TARGET1): New macro.
45483         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
45484         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
45485         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
45486         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
45487         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
45488         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
45489         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
45490         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
45491         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
45492         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
45493         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
45494         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
45495         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
45496         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
45497         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
45498         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
45499         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
45500         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
45501         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
45502         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
45503         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
45504         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
45505         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
45506         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
45507         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
45508         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
45509         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
45510         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
45511         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
45512         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
45513         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
45514         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
45515         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
45516         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
45517         (R_ARM_THM_GOT_BREL12): Likewise.
45518         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
45519         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
45520         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
45521         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
45522         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
45523         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
45524         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
45525         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
45526         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
45528 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
45530         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
45531         __attribute_used__ to __attribute__ ((unused)).
45533 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45535         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
45536         powerpc mpa.c.
45537         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
45538         comment formatting.
45539         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
45541 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
45543         [BZ #13550]
45544         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
45545         Remove macro.
45546         (ENTER): Remove both macro definitions.
45547         (LEAVE): Likewise.
45548         (CHECK_BOUNDS_LOW): Likewise.
45549         (CHECK_BOUNDS_HIGH): Likewise.
45550         (CHECK_BOUNDS_BOTH): Likewise.
45551         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
45552         (RETURN_BOUNDED_POINTER): Likewise.
45553         (RETURN_NULL_BOUNDED_POINTER): Likewise.
45554         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
45555         (POP_ERRNO_LOCATION_RETURN): Likewise.
45556         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
45557         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45558         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
45559         macros.
45560         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45561         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
45562         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
45563         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
45564         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
45565         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
45566         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
45567         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
45568         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
45569         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
45570         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
45571         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
45572         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45573         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
45574         removed macros.
45575         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45576         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
45577         macros.
45578         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45579         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
45580         * sysdeps/i386/i586/memset.S (memset): Likewise.
45581         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
45582         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45583         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
45584         macros.
45585         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45586         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
45587         Change uses of L(2) to L(out).
45588         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
45589         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
45590         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
45591         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45592         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
45593         removed macros.
45594         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45595         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
45596         macros.
45597         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45598         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
45599         (RETURN): Do not use macro LEAVE.
45600         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
45601         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
45602         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
45603         * sysdeps/i386/i686/memset.S (memset): Likewise.
45604         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
45605         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
45606         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
45607         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
45608         Likewise.
45609         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45610         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
45611         L(1_2) and L(1_3) into L(1).
45612         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
45613         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
45614         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45615         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
45616         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
45617         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
45618         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
45619         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45620         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
45621         macros.
45622         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
45623         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45624         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
45625         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
45626         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
45627         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45628         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
45629         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
45630         * sysdeps/i386/strcspn.S (strcspn): Likewise.
45631         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
45632         * sysdeps/i386/strrchr.S (strrchr): Likewise.
45633         * sysdeps/i386/strspn.S (strspn): Likewise.
45634         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
45635         conditional code.
45636         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45637         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
45638         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
45639         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
45640         L(1_3) into L(1_1).
45641         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
45642         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45643         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
45644         macros.
45645         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45647 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
45649         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
45650         macro.
45652 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45654         * math/atest-exp.c (exp_mpn): Remove ROUND.
45655         * math/atest-exp2.c (exp_mpn): Likewise.
45656         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
45658         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
45659         * stdlib/tst-tls-atexit-lib.c: Likewise.
45660         * stdlib/tst-tls-atexit.c: Likewise.
45662 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
45664         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
45665         and __attribute_alloc_size__.
45667 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
45669         * include/programs/xmalloc.h: Change __attribute_alloc_size to
45670         __attribute_alloc_size__.
45671         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
45672         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
45674 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
45676         * include/programs/xmalloc.h: New file.
45677         * catgets/gencat.c: Include it.
45678         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
45679         * elf/pldd.c: Likewise.
45680         * iconv/iconv_charmap.c: Likewise.
45681         * iconv/iconvconfig.c: Likewise.
45682         * iconv/strtab.c: Likewise.
45683         * locale/programs/locale.c: Likewise.
45684         * locale/programs/localedef.h: Likewise.
45685         * locale/programs/simple-hash.c: Likewise.
45686         * nscd/nscd.h: Likewise.
45687         * nss/makedb.c: Likewise.
45688         * sysdeps/generic/ldconfig.h: Likewise.
45690 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45692         * Versions.def: Add GLIBC_2.18.
45693         * include/link.h (struct link_map): New member l_tls_dtor_count.
45694         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
45695         (__call_tls_dtors): Likewise.
45696         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
45697         __cxa_thread_atexit_impl.
45698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45699         Likewise.
45700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45701         Likewise.
45702         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
45703         Likewise.
45704         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
45705         Likewise.
45706         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45707         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
45708         Likewise.
45709         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
45710         Likewise.
45711         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45712         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
45713         Likewise.
45714         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
45715         (tests): Add test case tst-tls-atexit.
45716         (modules-names): Add shared library for tst-tls-atexit.
45717         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
45718         (GLIBC_PRIVATE): Add __call_tls_dtors.
45719         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
45720         for libstdc++.
45721         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
45722         * stdlib/tst-tls-atexit.c: New test case.
45723         * stdlib/tst-tls-atexit-lib.c: New test case.
45725         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
45727         * elf/Versions (ld): Add _dl_find_dso_for_object.
45728         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
45729         * elf/dl-open.c (_dl_find_dso_for_object): New function.
45730         (dl_open_worker): Use _dl_find_dso_for_object.
45731         * elf/dl-sym.c (do_sym): Likewise.
45732         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
45734 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45736         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
45737         Syntactic changes only.
45738         (_dl_runtime_profile): Do a tail-call to the resolved function.
45740 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
45742         [BZ #13550]
45743         * sysdeps/x86_64/bp-asm.h: Remove file.
45744         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
45745         <bp-sym.h> and <bp-asm.h>.
45746         (__clone): Do not use BP_SYM.
45747         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
45748         <bp-sym.h> and <bp-asm.h>.
45749         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45750         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
45751         "bp-asm.h".
45752         (_setjmp): Do not use BP_SYM.
45753         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
45754         "bp-asm.h".
45755         (setjmp): Do not use BP_SYM.
45756         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
45757         libc_hidden_def.
45758         (mempcpy): Do not use BP_SYM in weak_alias.
45759         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
45760         "bp-asm.h".
45761         (strchr): Do not use BP_SYM.
45762         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
45763         "bp-asm.h".
45764         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
45765         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
45766         (_start): Do not use BP_SYM.
45767         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
45768         "bp-asm.h".
45769         (strcat): Do not use BP_SYM.
45770         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
45771         "bp-asm.h".
45772         (STRCMP): Do not use BP_SYM.
45773         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
45774         "bp-asm.h".
45775         (STRCPY): Do not use BP_SYM.
45776         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
45777         "bp-asm.h".
45778         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
45779         "bp-asm.h".
45780         (FUNCTION): Do not use BP_SYM.
45781         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
45782         weak_alias.
45783         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
45785 2013-02-17  Andreas Jaeger  <aj@suse.de>
45787         * time/Versions: Sort entries.
45788         * string/Versions: Likewise.
45789         * resolv/Versions: Likewise.
45790         * posix/Versions: Likewise.
45791         * iconv/Versions: Likewise.
45792         * elf/Versions: Likewise.
45793         * wcsmbs/Versions: Likewise.
45795 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45797         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
45798         loop termination condition.
45800         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
45801         variable to calculate EZ.
45802         (__sqr): Likewise.
45804         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
45805         the lower precision input.
45807 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
45809         [BZ #13550]
45810         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
45811         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
45812         (run-via-rtld-prefix): Do not handle %-bp tests.
45813         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
45814         (all-object-suffixes): Remove .ob.
45815         (bppfx): Remove variable.
45816         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
45817         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
45818         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
45819         [$(build-bounded) = yes] (libtype.ob): Likewise.
45820         * Makerules (elide-routines.ob): Remove variable.
45821         (do-tests-clean): Do not handle *-bp.out.
45822         (common-mostlyclean): Do not handle *-bp and *-bp.out.
45823         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
45824         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
45825         (tests): Do not include $(tests-bp.out).
45826         (xtests): Do not include $(xtests-bp.out).
45827         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
45828         [$(build-bounded) = yes] ($(addprefix
45829         $(objpfx),$(binaries-bounded))): Remove rule.
45830         ($(objpfx)%-bp.out): Remove rule.
45831         * config.make.in (build-bounded): Remove variable.
45832         * crypt/Makefile [$(build-bounded) = yes]
45833         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
45834         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
45835         append to variable.
45836         [$(build-bounded) = yes] (install-lib): Likewise.
45837         [$(build-bounded) = yes] (generated): Likewise.
45838         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
45839         Remove rule.
45840         * intl/Makefile [$(build-bounded) = yes]
45841         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
45842         * math/Makefile [$(build-bounded) = yes]
45843         ($(tests:%=$(objpfx)%-bp): Likewise.
45844         * misc/Makefile [$(build-bounded) = yes]
45845         ($(objpfx)tst-tsearch-bp): Likewise.
45846         * nptl/Makeconfig (bounded-thread-library): Remove variable.
45847         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
45848         Remove dependency.
45849         * string/Makefile (o-objects.ob): Remove variable.
45850         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
45851         (CFLAGS-.ob): Remove variable.
45852         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
45853         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
45854         both definitions of variable.
45855         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
45856         (ASFLAGS-.ob): Remove variable.
45858 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
45860         [BZ #13550]
45861         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
45862         Remove __BOUNDED_POINTERS__ from condition.
45863         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
45864         * string/bits/string2.h [!__NO_STRING_INLINES &&
45865         !__BOUNDED_POINTERS__]: Likewise.
45866         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
45867         Likewise.
45868         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
45869         Remove conditional code.
45870         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
45871         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
45872         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
45873         condition.
45875         [BZ #13550]
45876         * csu/libc-start.c: Do not include <bp-sym.h>.
45877         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
45878         * elf/dl-open.c: Do not include <bp-sym.h>.
45879         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
45880         * math/fegetenv.c: Do not include <bp-sym.h>.
45881         (fegetenv): Do not use BP_SYM in versioned symbols.
45882         * nptl/sysdeps/pthread/bits/libc-lockP.h
45883         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
45884         <bp-sym.h>.
45885         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45886         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
45887         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45888         (__pthread_mutex_destroy): Likewise.
45889         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45890         (__pthread_mutex_lock): Likewise.
45891         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45892         (__pthread_mutex_trylock): Likewise.
45893         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45894         (__pthread_mutex_unlock): Likewise.
45895         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45896         (__pthread_mutexattr_init): Likewise.
45897         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45898         (__pthread_mutexattr_destroy): Likewise.
45899         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45900         (__pthread_mutexattr_settype): Likewise.
45901         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45902         (__pthread_rwlock_init): Likewise.
45903         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45904         (__pthread_rwlock_destroy): Likewise.
45905         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45906         (__pthread_rwlock_rdlock): Likewise.
45907         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45908         (__pthread_rwlock_tryrdlock): Likewise.
45909         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45910         (__pthread_rwlock_wrlock): Likewise.
45911         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45912         (__pthread_rwlock_trywrlock): Likewise.
45913         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45914         (__pthread_rwlock_unlock): Likewise.
45915         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45916         (__pthread_key_create): Likewise.
45917         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45918         (__pthread_setspecific): Likewise.
45919         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45920         (__pthread_getspecific): Likewise.
45921         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
45922         Likewise.
45923         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45924         (_pthread_cleanup_push_defer): Likewise.
45925         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45926         (_pthread_cleanup_pop_restore): Likewise.
45927         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45928         (pthread_setcancelstate): Likewise.
45929         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
45930         <bp-sym.h>.
45931         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
45932         (memchr): Do not use BP_SYM in weak_alias.
45933         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
45934         (fegetenv): Do not use BP_SYM in versioned symbols.
45935         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
45936         (fesetenv): Do not use BP_SYM in versioned symbols.
45937         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
45938         (feupdateenv): Do not use BP_SYM in versioned symbols.
45939         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
45940         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
45941         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
45942         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
45943         (open64): Do not use BP_SYM in weak_alias.
45944         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
45945         (fegetenv): Do not use BP_SYM in versioned symbols.
45946         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
45947         (fesetenv): Do not use BP_SYM in versioned symbols.
45948         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
45949         (feupdateenv): Do not use BP_SYM in versioned symbols.
45950         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
45951         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
45952         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
45953         (feraiseexcept): Do not use BP_SYM in versioned symbols.
45954         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
45955         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
45956         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
45957         <bp-sym.h>.
45958         (__libc_start_main): Do not use BP_SYM.
45960 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45962         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
45963         redundant return line.
45964         (norm): Likewise.
45965         (denorm): Likewise.
45966         (dbl_mp): Likewise.
45967         (sub_magnitudes): Likewise.
45968         (__add): Likewise.
45969         (__sub): Likewise.
45970         (__mul): Likewise.
45971         (__inv): Likewise.
45972         (__dvd): Likewise.
45973         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
45974         (norm): Likewise.
45975         (denorm): Likewise.
45976         (dbl_mp): Likewise.
45977         (sub_magnitudes): Likewise.
45978         (__add): Likewise.
45979         (__sub): Likewise.
45980         (__mul): Likewise.
45981         (__inv): Likewise.
45982         (__dvd): Likewise.
45984         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
45985         instead of __mul.
45986         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
45987         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
45988         (cc32): Likewise.
45990         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
45991         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
45992         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
45993         of __mul for squares.
45994         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
45995         function
45996         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
45997         Likewise.
45998         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
45999         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46001 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
46003         [BZ #13550]
46004         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
46005         code.
46006         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
46007         prototype or function definition.  Rename ubp_* variables and
46008         parameters.  Remove argv definitions conditional on
46009         [__BOUNDED_POINTERS__].
46010         * debug/backtrace.c (__backtrace): Do not use __unbounded.
46011         * elf/dl-runtime.c (_dl_fixup): Likewise.
46012         * include/set-hooks.h (RUN_HOOK): Likewise.
46013         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
46014         definition.
46015         * string/strcpy.c (strcpy): Do not use __unbounded.
46016         * sysdeps/generic/frame.h (struct layout): Likewise.
46017         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
46018         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
46019         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
46020         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
46021         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
46022         (__backtrace): Likewise.
46023         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
46024         use __ptrvalue.
46025         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
46026         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
46027         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
46028         Likewise.
46029         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
46030         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
46031         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
46032         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
46033         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
46034         Do not use __unbounded.
46035         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
46036         Rename __unboundedrlimits parameter to rlimits in prototype.
46037         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
46038         Do not use __unbounded.
46039         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
46040         not use __ptrvalue.
46041         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
46042         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
46043         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
46044         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
46045         __ptrvalue or __unbounded.
46046         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
46047         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
46048         use __unbounded.
46049         (__new_msgctl): Do not use __ptrvalue.
46050         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
46051         __unbounded.
46052         (__libc_msgrcv): Do not use __ptrvalue.
46053         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
46054         startup_info): Do not use __unbounded.
46055         (__libc_start_main): Likewise.  Rename ubp_* variables and
46056         parameters.  Remove argv definitions conditional on
46057         [__BOUNDED_POINTERS__].
46058         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
46059         __ptrvalue.
46060         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
46061         use __unbounded.
46062         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
46063         or __ptrvalue.
46064         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
46065         use __unbounded.
46066         (__new_shmctl): Do not use __ptrvalue.
46067         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
46068         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
46069         Likewise.
46070         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
46071         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
46072         (__libc_sigaction): Likewise.
46073         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
46074         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
46075         Likewise.
46076         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
46078 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
46080         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
46082         * string/mempcpy.c: Implement by calling memcpy.
46084 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46086         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
46088         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
46089         evaluation.
46091         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
46092         values in the mantissa.
46094         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
46095         minimize writes to Z.
46096         (sub_magnitudes): Simplify code a bit.
46098 2013-02-12  Roland McGrath  <roland@hack.frob.com>
46100         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
46101         from the message.  The linker prefixes all warnings with that already.
46103 2013-02-12  Andreas Schwab  <schwab@suse.de>
46105         [BZ #15078]
46106         * posix/regexec.c (extend_buffers): Add parameter min_len.
46107         (check_matching): Pass minimum needed length.
46108         (clean_state_log_if_needed): Likewise.
46109         (get_subexp): Likewise.
46110         * posix/Makefile (tests): Add bug-regex34.
46111         (bug-regex34-ENV): Define.
46112         * posix/bug-regex34.c: New file.
46114         [BZ #11561]
46115         * posix/regcomp.c (parse_bracket_exp): When looking up collating
46116         elements compare against the byte sequence of it, not its name.
46117         * posix/Makefile (tests): Add bug-regex35.
46118         (bug-regex35-ENV): Define.
46119         * posix/bug-regex35.c: New file.
46121 2013-02-11  Tom de Vries  <tom@codesourcery.com>
46123         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
46124         comment.
46125         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
46126         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
46127         (CHECK_EOL): Add undef.
46129 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
46131         * bits/stdlib-bsearch.h: New file.
46132         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
46133         * stdlib/stdlib.h: Likewise.
46135 2013-02-11  Roland McGrath  <roland@hack.frob.com>
46137         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
46138         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
46139         declaration.
46140         * manual/search.texi (Array Search Function): Add missing const in
46141         lfind prototype.
46142         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
46143         declaration to use rlim_t.
46144         (Basic Scheduling Functions): Remove erroneous const from
46145         sched_getparam prototype.  Remove erroneous * from
46146         sched_get_priority_max and sched_get_priority_min prototypes.
46147         (Resource Usage): Fix summary @comment on vtimes to refer to
46148         sys/vtimes.h rather than vtimes.h.
46149         Add missing *s in vtimes prototype.
46150         (Limits on Resources): Fix ulimit prototype to return long int.
46151         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
46152         prototypes to use long int rather than double.
46153         (BSD Random): Fix initstate and setstate to use char *, not void *.
46154         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
46155         prototype to make second argument 'struct aiocb64 *const[]'.
46156         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
46157         (Status of AIO Operations): Remove erroneous const in aio_return and
46158         aio_return64 prototypes.
46159         (Synchronizing I/O): Fix sync prototype to return void.
46160         * manual/startup.texi (Suboptions): Remove an erroneous const in
46161         getsubopt prototype.
46162         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
46163         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
46164         use size_t rather than int.
46165         (Scanning All Users): Likewise for getpwent_r.
46166         (Setting Groups): Add missing const to setgroups prototype.
46167         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
46168         * manual/socket.texi (Host Names): Fix gethostbyaddr and
46169         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
46170         'const void *' rather than 'const char *'.
46171         (Host Address Functions): Likewise for inet_ntop.
46172         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
46173         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
46174         ssize_t for return value.
46175         (Sending Data): Likewise for send, sendto, sendmsg.
46176         (Socket Option Functions): Add a missing const in setsockopt prototype.
46177         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
46178         use wchar_t for the argument.
46179         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
46180         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
46181         take no arguments.
46182         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
46183         double/float/long double for second argument.
46184         Fix return types of significand, significandf, significandl.
46185         * manual/filesys.texi (Setting Permissions): Use mode_t for second
46186         argument in fchmod prototype.
46187         (File Owner): Use uid_t and gid_t in fchown prototype.
46188         (File Times): Add const to utimes, futimes, and lutimes prototypes.
46189         (Making Special Files): Use mode_t and dev_t in mknod prototype.
46190         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
46191         use 'const struct dirent **' as argument types to CMP function pointer
46192         argument.
46193         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
46194         (File Times): Fix summary magic @comment for struct utimbuf and utime
46195         to refer to utime.h, not time.h.
46196         * manual/string.texi (Argz Functions): Add missing const in
46197         argz_extract and argz_next prototypes.
46198         (Finding Tokens in a String): Likewise for basename.
46199         (String/Array Comparison): Fix typo in wcscasecmp prototype.
46200         (Copying and Concatenation): Fix typo in wmemmove prototype.
46201         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
46202         (Signal Stack): Remove erroneous const in sigstack prototype.
46203         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
46204         prototype.
46205         (Simple Calendar Time): Likewise for stime.
46206         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
46207         prototype.
46208         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
46209         say sys/sysctl.h instead.
46210         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
46211         and vsyslog prototypes.
46213 2013-02-11  Tom de Vries  <tom@codesourcery.com>
46215         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
46216         Remove.
46218 2013-02-11  Roland McGrath  <roland@hack.frob.com>
46220         * misc/sys/mman.h: Fix typo in mremap comment.
46222 2013-02-08  Roland McGrath  <roland@hack.frob.com>
46224         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
46225         the '\0' terminator.
46227 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
46229         [BZ #13550]
46230         * debug/segfault.c: Don't include <bp-checks.h>.
46231         * sysdeps/generic/bp-checks.h: Remove file.
46232         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
46233         (__GETDENTS): Don't use CHECK_N.
46234         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
46235         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
46236         (__getgroups): Don't use CHECK_N.
46237         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
46238         (setgroups): Don't use CHECK_N.
46239         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
46240         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
46241         (__libc_msgrcv): Don't use CHECK_N.
46242         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
46243         (__libc_msgsnd): Don't use CHECK_N.
46244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
46245         <bp-checks.h>.
46246         (__libc_pread): Don't use CHECK_N.
46247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
46248         include <bp-checks.h>.
46249         (__libc_pread64): Don't use CHECK_N.
46250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
46251         include <bp-checks.h>.
46252         (__libc_pwrite): Don't use CHECK_N.
46253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
46254         include <bp-checks.h>.
46255         (__libc_pwrite64): Don't use CHECK_N.
46256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
46257         <bp-checks.h>.
46258         (__libc_pread): Don't use CHECK_N.
46259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
46260         include <bp-checks.h>.
46261         (__libc_pread64): Don't use CHECK_N.
46262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
46263         include <bp-checks.h>.
46264         (__libc_pwrite): Don't use CHECK_N.
46265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
46266         include <bp-checks.h>.
46267         (__libc_pwrite64): Don't use CHECK_N.
46268         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
46269         (do_pread): Don't use CHECK_N.
46270         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
46271         (do_pread64): Don't use CHECK_N.
46272         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
46273         (do_pwrite): Don't use CHECK_N.
46274         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
46275         (do_pwrite64): Don't use CHECK_N.
46276         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
46277         (__libc_readv): Don't use CHECK_N.
46278         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
46279         (semop): Don't use CHECK_N.
46280         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
46281         <bp-checks.h>.
46282         (semtimedop): Don't use CHECK_N.
46283         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
46284         (__libc_pread): Don't use CHECK_N.
46285         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
46286         <bp-checks.h>.
46287         (__libc_pread64): Don't use CHECK_N.
46288         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
46289         <bp-checks.h>.
46290         (__libc_pwrite): Don't use CHECK_N.
46291         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
46292         <bp-checks.h>.
46293         (__libc_pwrite64): Don't use CHECK_N.
46294         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
46295         <bp-checks.h>.
46296         (__libc_msgrcv): Don't use CHECK_N.
46297         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
46298         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
46299         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
46300         (__libc_writev): Don't use CHECK_N.
46302 2013-02-08  Roland McGrath  <roland@hack.frob.com>
46304         * string/strcpy.c: Removed unused variable.
46306         * Makeconfig (+sysdep-includes): Define with := rather than =.
46307         Use an existing include/ subdir of each sysdeps dir before it.
46309 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
46311         * nscd/connection.c (register_traced_file): Comment function.
46312         [HAVE_INOTIFY] (union __inev): Define.
46313         [HAVE_INOTIFY] (inotify_check_files): New function.
46314         [HAVE_INOTIFY] (clear_db_cache): Likewise.
46315         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
46316         clear_db_cache.
46317         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
46319 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
46321         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
46322         loaded if not already and that a failure is permanent.
46324 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
46326         [BZ #15006]
46327         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
46328         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
46330 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
46332         [BZ #13550]
46333         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
46334         (CHECK_1_NULL_OK): Likewise.
46335         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
46336         (__fxstat): Do not use CHECK_1.
46337         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
46338         <bp-checks.h>.
46339         (___fxstat64): Do not use CHECK_1.
46340         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
46341         <bp-checks.h>.
46342         (__fxstatat): Do not use CHECK_1.
46343         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
46344         <bp-checks.h>.
46345         (__fxstatat64): Do not use CHECK_1.
46346         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
46347         <bp-checks.h>.
46348         (__fxstat): Do not use CHECK_1.
46349         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
46350         <bp-checks.h>.
46351         (__fxstatat): Do not use CHECK_1.
46352         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
46353         <bp-checks.h>.
46354         (__getresgid): Do not use CHECK_1.
46355         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
46356         <bp-checks.h>.
46357         (__getresuid): Do not use CHECK_1.
46358         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
46359         <bp-checks.h>.
46360         (__lxstat): Do not use CHECK_1.
46361         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
46362         <bp-checks.h>.
46363         (__old_msgctl): Do not use CHECK_1.
46364         (__new_msgctl): Likewise.
46365         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
46366         <bp-checks.h>.
46367         (__new_setrlimit): Do not use CHECK_1.
46368         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
46369         <bp-checks.h>.
46370         (__old_shmctl): Do not use CHECK_1.
46371         (__new_shmctl): Likewise.
46372         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
46373         <bp-checks.h>.
46374         (__xstat): Do not use CHECK_1.
46375         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
46376         (__lxstat): Do not use CHECK_1.
46377         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
46378         <bp-checks.h>.
46379         (___lxstat64): Do not use CHECK_1.
46380         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
46381         (__old_msgctl): Do not use CHECK_1.
46382         (__new_msgctl): Likewise.
46383         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
46384         <bp-checks.h>.
46385         (__gettimeofday): Do not use CHECK_1.
46386         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
46387         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
46388         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
46389         <bp-checks.h>.
46390         (__gettimeofday): Do not use CHECK_1.
46391         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
46392         (__old_shmctl): Do not use CHECK_1_NULL_OK.
46393         (__new_shmctl): Do not use CHECK_1.
46394         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
46395         <bp-checks.h>.
46396         (do_sigtimedwait): Do not use CHECK_1.
46397         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
46398         <bp-checks.h>.
46399         (do_sigwaitinfo): Do not use CHECK_1.
46400         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
46401         <bp-checks.h>.
46402         (msgctl): Do not use CHECK_1.
46403         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
46404         <bp-checks.h>.
46405         (shmctl): Do not use CHECK_1.
46406         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
46407         (ustat): Do not use CHECK_1.
46408         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
46409         <bp-checks.h>.
46410         (__fxstat): Do not use CHECK_1.
46411         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
46412         <bp-checks.h>.
46413         (__fxstatat): Do not use CHECK_1.
46414         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
46415         <bp-checks.h>.
46416         (__lxstat): Do not use CHECK_1.
46417         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
46418         <bp-checks.h>.
46419         (__xstat): Do not use CHECK_1.
46420         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
46421         (__xstat): Do not use CHECK_1.
46422         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
46423         (___xstat64): Do not use CHECK_1.
46425         [BZ #13550]
46426         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
46427         definitions.
46428         (CHECK_BOUNDS_HIGH): Likewise.
46429         * string/strcpy.c: Do not include <bp-checks.h>.
46430         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
46432 2013-02-07  Roland McGrath  <roland@hack.frob.com>
46434         * nscd/nscd-client.h (__nscd_drop_map_ref):
46435         Add __attribute__ ((unused)).
46436         * nis/nss-nisplus.h (niserr2nss): Likewise.
46438         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
46439         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
46441         * csu/libc-tls.c (init_static_tls, init_slotinfo):
46442         Remove inline keyword.
46443         * include/rounding-mode.h (round_away): Likewise.
46444         * libio/wfileops.c (adjust_wide_data): Likewise.
46445         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
46446         (__m128i_strloadu_tolower): Likewise.
46447         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
46448         (__m128i_strloadu_tolower): Likewise.
46449         * time/mktime.c (ydhms_diff): Likewise.
46450         * locale/elem-hash.h (elem_hash): Likewise.
46451         * locale/setlocale.c (setdata): Likewise.
46452         * posix/regex_internal.h (re_string_char_size_at): Likewise.
46453         (re_string_wchar_at): Likewise.
46454         (bitset_not, bitset_merge, bitset_mask): Likewise.
46455         [!(__GNUC__ > 3)] (inline): Remove macro.
46456         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
46457         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
46458         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
46459         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
46460         * string/memcmp.c (memcmp_bytes): Likewise.
46461         * locale/programs/locarchive.c (compute_hashval): Likewise.
46462         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
46463         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
46464         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
46465         * nss/getent.c (print_rpc, print_protocols): Likewise.
46466         (print_passwd, print_group, print_aliases): Likewise.
46467         * nis/nss-nisplus.h (niserr2nss): Likewise.
46468         * nscd/connections.c (restart_p): Likewise.
46469         Change return type to bool.
46471 2013-02-05  Roland McGrath  <roland@hack.frob.com>
46473         * Makeconfig (all-Depend-files): Add existing
46474         $(sorted-subdirs:=/Depend) files.
46475         (all-subdirs): Remove nss.
46476         * sysdeps/unix/inet/Subdirs: Add it here instead.
46477         * hesiod/Depend: New file.
46479         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
46480         instead of calling alloca.
46482         * io/lseek.c (__lseek): Rename to __libc_lseek.
46483         Define __lseek as an alias.
46485         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
46487 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
46489         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
46490         else clause and remove check for non-standard endianness.
46492 2013-02-04  David S. Miller  <davem@davemloft.net>
46494         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46496 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
46498         [BZ #13550]
46499         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
46500         (__ubp_memchr): Remove prototype.
46501         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
46502         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
46503         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
46504         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
46505         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
46506         Remove alias.
46507         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
46508         (__ubp_memchr): Likewise.
46509         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
46510         (__ubp_memchr): Likewise.
46511         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
46512         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
46513         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
46514         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
46515         CHECK_STRING.
46516         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
46517         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
46518         (__getcwd): Do not use CHECK_STRING.
46519         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46520         <bp-checks.h>.
46521         (__real_chown): Do not use CHECK_STRING.
46522         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
46523         <bp-checks.h>.
46524         (fchownat): Do not use CHECK_STRING.
46525         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
46526         CHECK_STRING.
46527         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
46528         <bp-checks.h>.
46529         (__lchown): Do not use CHECK_STRING.
46530         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
46531         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
46532         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
46533         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
46534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
46535         include <bp-checks.h>.
46536         (truncate64): Do not use CHECK_STRING.
46537         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
46538         <bp-checks.h>.
46539         (__real_chown): Do not use CHECK_STRING.
46540         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
46541         <bp-checks.h>.
46542         (__lchown): Do not use CHECK_STRING.
46543         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46544         <bp-checks.h>.
46545         (__chown): Do not use CHECK_STRING.
46546         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
46547         <bp-checks.h>.
46548         (truncate64): Do not use CHECK_STRING.
46549         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
46550         Likewise.
46551         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
46552         (__xmknod): Do not use CHECK_STRING.
46553         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
46554         <bp-checks.h>.
46555         (__xmknodat): Do not use CHECK_STRING.
46556         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
46557         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
46559 2013-02-04  Andreas Schwab  <schwab@suse.de>
46561         [BZ #14142]
46562         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
46563         * include/netdb.h: Likewise for h_errno.
46564         * elf/tst-stackguard1.c: Include <tls.h>.
46566 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
46568         * elf/link.h (struct link_map): Extend the l_addr comment.
46569         * include/link.h (struct link_map): Likewise.
46571 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
46573         [BZ #13550]
46574         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
46575         (BOUNDED_1): Remove macro.
46576         * debug/backtrace.c: Don't include <bp-checks.h>.
46577         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
46578         (__backtrace): Likewise.
46579         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
46580         <bp-checks.h>.
46581         (__backtrace): Don't use BOUNDED_1.
46582         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
46583         <bp-checks.h>.
46584         (__backtrace): Don't use BOUNDED_1.
46585         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
46586         (__backtrace): Don't use BOUNDED_1.
46587         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
46588         (shmat): Don't use BOUNDED_N.
46590 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
46592         [BZ #13550]
46593         * sysdeps/generic/bp-start.h: Remove file.
46594         * csu/libc-start.c: Don't include <bp-start.h>.
46595         (LIBC_START_MAIN): Set up __environ directly instead of using
46596         INIT_ARGV_and_ENVIRON.
46597         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
46598         <bp-start.h>.
46600         [BZ #13550]
46601         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
46602         definitions.
46603         (CHECK_FCNTL): Likewise.
46604         (CHECK_N_PAGES): Likewise.
46606         [BZ #13550]
46607         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
46608         definitions.
46609         (CHECK_SIGSET_NULL_OK): Likewise.
46610         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
46611         <bp-checks.h>.
46612         (sigpending): Don't use CHECK_SIGSET.
46613         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
46614         <bp-checks.h>.
46615         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
46616         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
46617         <bp-checks.h>.
46618         (do_sigsuspend): Don't use CHECK_SIGSET.
46619         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
46620         use CHECK_SIGSET.
46621         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
46622         (do_sigwait): Don't use CHECK_SIGSET.
46623         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
46624         use CHECK_SIGSET.
46625         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
46626         include <bp-checks.h>.
46627         (sigpending): Don't use CHECK_SIGSET.
46628         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
46629         include <bp-checks.h>.
46630         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
46631         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
46632         <bp-checks.h>.
46633         (sigpending): Don't use CHECK_SIGSET.
46634         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
46635         <bp-checks.h>.
46636         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
46638         [BZ #13550]
46639         * sysdeps/generic/bp-semctl.h: Remove file.
46640         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
46641         <bp-checks.h> and <bp-semctl.h>.
46642         (__old_semctl): Don't use CHECK_SEMCTL.
46643         (__new_semctl): Likewise.
46644         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
46645         and <bp-semctl.h>.
46646         (__old_semctl): Don't use CHECK_SEMCTL.
46647         (__new_semctl): Likewise.
46648         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
46649         <bp-checks.h> and <bp-semctl.h>.
46650         (__old_semctl): Don't use CHECK_SEMCTL.
46651         (__new_semctl): Likewise.
46652         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
46653         <bp-checks.h> and <bp-semctl.h>.
46654         (semctl): Don't use CHECK_SEMCTL.
46656         [BZ #13550]
46657         * Makerules (elide-bp-thunks): Remove variable.
46658         (elide-routines.oS): Don't use $(elide-bp-thunks).
46659         (elide-routines.os): Likewise.
46660         (elide-routines.o): Likewise.
46661         (elide-routines.op): Likewise.
46662         (elide-routines.og): Likewise.
46663         (objects): Don't use $(bp-thunks).
46664         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
46665         include.
46666         (common-generated): Do not add s-proto-bp.d.
46667         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
46668         (int): Likewise.
46669         (typ): Likewise.
46670         Do not generate makefile rules for bounded-pointer thunks.
46671         * sysdeps/generic/bp-thunks.h: Remove file.
46672         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
46673         * sysdeps/unix/s-proto-bp.S: Likewise.
46675         [BZ #15062]
46676         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
46677         parts of result separately when argument is not close to line from
46678         -i to i and one part of argument is small.
46679         * math/k_casinhf.c (__kernel_casinhf): Likewise.
46680         * math/k_casinhl.c (__kernel_casinhl): Likewise.
46681         * math/libm-test.inc (cacos_test): Add more tests.
46682         (casin_test): Likewise.
46683         (casinh_test): Likewise.
46684         * sysdeps/i386/fpu/libm-test-ulps: Update.
46685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46687 2013-01-31  David S. Miller  <davem@davemloft.net>
46689         * po/de.po: Update from translation team.
46691 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
46693         * time/tzfile.c: Include stdint.h for SIZE_MAX.
46695 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
46697         * configure.in (_AC_PROG_CC_C89): New definition.
46698         * configure: Regenerate.
46700         * configure.in (AC_PROG_CPP): New definition.
46701         * configure: Regenerate.
46703 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
46705         * debug/tst-backtrace.h: New file.
46706         * debug/tst-backtrace2.c: Include tst-backtrace.h.
46707         (ret): Remove variable.
46708         (x): Likewise.
46709         (FAIL): Remove macro.
46710         (NO_INLINE): Likewise.
46711         (fn1): Use match function instead of strstr.
46712         * debug/tst-backtrace3.c: Include tst-backtrace.h.
46713         (ret): Remove variable.
46714         (x): Likewise.
46715         (FAIL): Remove macro.
46716         (NO_INLINE): Likewise.
46717         (fn): Use match function instead of strstr.
46718         * debug/tst-backtrace4.c: Include tst-backtrace.h.
46719         (ret): Remove variable.
46720         (x): Likewise.
46721         (FAIL): Remove macro.
46722         (NO_INLINE): Likewise.
46723         (handle_signal): Use match function instead of strstr.
46724         * debug/tst-backtrace5.c: Include tst-backtrace.h.
46725         (ret): Remove variable.
46726         (x): Likewise.
46727         (FAIL): Remove macro.
46728         (NO_INLINE): Likewise.
46729         (handle_signal): Use match function instead of strstr.
46731 2013-01-23  Roland McGrath  <roland@hack.frob.com>
46733         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
46735 2013-01-23  David S. Miller  <davem@davemloft.net>
46737         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
46738         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
46739         argument of CAS if possible.
46740         * sysdeps/sparc/sparc64/bits/atomic.h
46741         (__arch_compare_and_exchange_val_32_acq): Likewise.
46742         (__arch_compare_and_exchange_val_64_acq): Likewise.
46744 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
46746         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
46747         * sysdeps/posix/ulimit.c: ... this.
46748         Include <limits.h>.
46749         * sysdeps/unix/bsd/ulimit.c: Remove file.
46751 2013-01-23  Adam Conrad  <adconrad@0c3.net>
46753         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
46754         (LDFLAGS-tst-array5): Likewise.
46756 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
46758         [BZ #15036]
46759         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
46760         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
46761         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
46762         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
46764 2013-01-21  David S. Miller  <davem@davemloft.net>
46766         * sysdeps/sparc/backtrace.c: New file.
46767         * sysdeps/sparc/sparc32/backtrace.h: New file.
46768         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
46769         * sysdeps/sparc/sparc64/backtrace.h: New file.
46770         * sysdeps/sparc/sparc64/backtrace.c: Delete.
46771         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
46772         -funwind-tables.
46774 2013-01-21  Andreas Schwab  <schwab@suse.de>
46776         [BZ #15020]
46777         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
46778         closed its stdout.
46780 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
46782         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
46783         "mpa2.h".
46784         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46786 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
46787             Mark Mitchell  <mark@codesourcery.com>
46788             Tom de Vries  <tom@codesourcery.com>
46789             Paul Pluzhnikov  <ppluzhnikov@google.com>
46791         * debug/tst-backtrace2.c: New file.
46792         * debug/tst-backtrace3.c: Likewise.
46793         * debug/tst-backtrace4.c: Likewise.
46794         * debug/tst-backtrace5.c: Likewise.
46795         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
46796         (CFLAGS-tst-backtrace3.c): Likewise.
46797         (CFLAGS-tst-backtrace4.c): Likewise.
46798         (CFLAGS-tst-backtrace5.c): Likewise.
46799         (LDFLAGS-tst-backtrace2): Likewise.
46800         (LDFLAGS-tst-backtrace3): Likewise.
46801         (LDFLAGS-tst-backtrace4): Likewise.
46802         (LDFLAGS-tst-backtrace5): Likewise.
46803         (tests): Add new tests tst-backtrace2, tst-backtrace3,
46804         tst-backtrace4 and tst-backtrace5.
46806 2013-01-18  Anton Blanchard  <anton@samba.org>
46807             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46809         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
46810         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
46811         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
46812         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
46813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
46814         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
46815         "+r" and remove output regs list as redundant.  Add explicit inline
46816         asm to specify register of return val to work around compiler codegen
46817         bug.  Remove (int) cast on return value.  Add return type parameter to
46818         use in macro so that this macro does not truncate return value for
46819         64-bit values.
46820         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
46821         pass to INTERNAL_VSYSCALL_NCS.
46822         (INLINE_VSYSCALL): Add 'long int' as return type to
46823         INTERNAL_VSYSCALL_NCS macro invocation.
46824         (INTERNAL_VSYSCALL): Add 'long int' as return type to
46825         INTERNAL_VSYSCALL_NCS macro invocation.
46826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46828 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46830         [BZ #14496]
46831         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
46832         Fix application of SIMD FP exception mask.
46834         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
46835         mp_no from a power of two.
46836         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
46837         __mpexp_twomm1.  Use __pow_mp.
46839         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
46840         multiplication.
46842 2013-01-17  David S. Miller  <davem@davemloft.net>
46844         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46846 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
46848         [BZ #15023]
46849         * include/complex.h: Condition contents on [!_COMPLEX_H].
46850         (__kernel_casinhf): New prototype.
46851         (__kernel_casinh): Likewise.
46852         (__kernel_casinhl): Likewise.
46853         * math/Makefile (libm_calls): Add k_casinh.
46854         * math/k_casinh.c: New file.
46855         * math/k_casinhf.c: Likewise.
46856         * math/k_casinhl.c: Likewise.
46857         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
46858         finite nonzero arguments.
46859         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
46860         finite nonzero arguments.
46861         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
46862         finite nonzero arguments.
46863         * math/s_casinh.c: Do not include <float.h>.
46864         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
46865         * math/s_casinhf.c: Do not include <float.h>.
46866         (__casinhf): Move code for finite nonzero arguments to
46867         k_casinhf.c.
46868         * math/s_casinhl.c: Do not include <float.h>.
46869         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
46870         redefine.
46871         (__casinhl): Move code for finite nonzero arguments to
46872         k_casinhl.c.
46873         * math/libm-test.inc (cacos_test): Add more tests.
46874         * sysdeps/i386/fpu/libm-test-ulps: Update.
46875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46877 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
46879         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
46880         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
46881         [!HAVE_MREMAP]: Remove [defined linux] case.
46882         * malloc/arena.c: Do not include <malloc-sysdep.h>.
46884 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
46886         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
46888 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
46890         * elf/elf.h (R_386_SIZE32): New relocation.
46891         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
46892         R_386_SIZE32.
46893         (elf_machine_rela): Likewise.
46894         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
46895         R_X86_64_SIZE64 and R_X86_64_SIZE32.
46897 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
46899         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
46900         (FP_FAST_FMA): Do not define.
46901         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
46902         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
46903         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
46904         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
46905         !_SOFT_FLOAT]: Likewise.
46906         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
46907         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
46908         value.
46909         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
46910         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
46911         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
46912         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
46913         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
46914         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
46915         file.
46917 2013-01-16  Andreas Schwab  <schwab@suse.de>
46919         [BZ #14327]
46920         * include/stdlib.h (__mktemp): Add declaration.
46921         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
46922         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
46924 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46926         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
46927         definitions.
46928         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
46929         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
46930         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
46931         definitions here.
46932         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
46933         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
46934         definitions.
46935         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
46936         and ONE.
46937         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
46938         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
46939         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
46940         definitions.
46941         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
46942         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
46943         definitions.
46944         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
46946         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
46948 2013-01-15  David S. Miller  <davem@davemloft.net>
46950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
46951         trunc{,f} to libm-sysdep_routes.
46952         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
46953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
46954         file.
46955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
46956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
46957         file.
46958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
46959         file.
46960         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
46961         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
46962         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
46963         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
46964         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
46965         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
46966         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
46967         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
46969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
46970         nearbyint{,f} to libm-sysdep_routes.
46971         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
46972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
46973         New file.
46974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
46975         file.
46976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
46977         New file.
46978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
46979         file.
46980         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
46981         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
46982         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
46983         file.
46984         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
46985         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
46986         file.
46987         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
46988         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
46989         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
46991         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
46992         libc_feholdexcept and libc_fesetenv.
46994 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
46996         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
46998 2013-01-14  David S. Miller  <davem@davemloft.net>
47000         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
47001         (SPARC_ASM_VIS2_IFUNC): Likewise.
47002         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
47003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
47004         use of 'siam' instruction.
47005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
47006         Likewise.
47007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
47008         Likewise.
47009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
47010         Likewise.
47011         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
47012         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
47013         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
47014         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
47015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
47016         file.
47017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
47018         file.
47019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
47020         file.
47021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
47022         file.
47023         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
47024         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
47025         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
47026         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
47027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
47028         new VIS2 routines.
47029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
47030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47032         Likewise.
47033         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47034         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47035         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47036         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
47038         routines to libm-sysdep_routines.
47039         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47042         fdim/fdimf to libm-sysdep_routines.
47043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
47044         file.
47045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
47046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
47047         file.
47048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
47049         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
47050         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
47051         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
47052         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
47053         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
47054         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
47056 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47058         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
47059         to optimize copies.
47061         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
47062         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
47063         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47065         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
47066         local variable MPTWO.
47067         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
47068         Likewise.
47070 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
47072         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
47073         GLOB_NOESCAPE.
47075 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
47077         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
47079 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
47081         * manual/pattern.texi (glob_t): Document gl_flags.
47082         (glob64_t): Likewise.
47084 2013-01-11  David S. Miller  <davem@davemloft.net>
47086         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
47087         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
47088         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
47089         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
47090         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
47091         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
47092         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
47093         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
47094         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
47095         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
47096         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
47097         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
47098         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
47100         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
47101         sparc V9 rather than using V8 code.
47102         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
47103         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
47105         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47106         Move to...
47107         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
47108         Here.
47110 2013-01-11  Roland McGrath  <roland@hack.frob.com>
47112         [BZ #14941]
47113         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
47114         not in the main loop.
47115         * configure: Regenerated.
47117 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
47119         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
47120         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
47121         to just #else.
47122         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
47123         [!__GLIBC_HAVE_LONG_LONG] case.
47124         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
47125         condition to just #else.
47126         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
47127         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
47128         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
47129         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
47130         unconditional.
47131         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
47132         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
47133         #elif condition to just #else.
47134         * sysdeps/unix/sysv/linux/sys/sysmacros.h
47135         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
47136         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
47137         #elif condition to just #else.
47139 2013-01-11  Steve Ellcey  <sellcey@mips.com>
47141         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
47142         (EF_MIPS_ARCH_64): Fix value.
47143         (EF_MIPS_ARCH_32R2): New.
47144         (EF_MIPS_ARCH_64R2): New.
47146 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
47148         * Makeconfig (+link-pie-before-libc): New.
47149         (+link-pie-after-libc): Likewise.
47150         (+link-pie-tests): Likewise.
47151         (+link-pie): Rewritten.
47152         (link-before-libc): Remove $(config-LDFLAGS).
47153         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
47154         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
47155         (config-LDFLAGS): Renamed to ...
47156         (rtld-LDFLAGS): This.
47157         (rtld-tests-LDFLAGS): New macro.
47158         (link-libc-rpath-link): Likewise.
47159         (link-libc-tests-rpath-link): Likewise.
47160         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
47161         (link-libc): Prepand $(link-libc-rpath-link).
47162         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
47163         (test-program-prefix): New macro.
47164         (test-via-rtld-prefix): Likewise.
47165         (test-program-cmd): Likewise.
47166         (host-test-program-cmd): Likewise.
47167         * Makefile ($(common-objpfx)testrun.sh): Replace
47168         $(run-program-prefix) with $(test-program-prefix).
47169         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
47170         $(rtld-LDFLAGS).
47171         ($(common-objpfx)shlib.lds): Likewise.
47172         (build-module-helper): Likewise.
47173         ($(common-objpfx)format.lds): Likewise.
47174         * Rules (binaries-pie-tests): New.
47175         (binaries-pie-notests): Likewise.
47176         (binaries-pie): Rewritten.
47177         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
47178         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
47179         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
47180         (make-test-out): Replace $(host-built-program-cmd) with
47181         $(host-test-program-cmd).
47182         * config.make.in (build-hardcoded-path-in-tests): New variable.
47183         * configure.in (--enable-hardcoded-path-in-tests): New configure
47184         option.
47185         (hardcoded_path_in_tests): New AC_SUBST.
47186         * configure: Regenerated.
47187         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
47188         $(built-program-cmd) with $(test-program-cmd).
47189         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
47190         (test_program_cmd): This.
47191         * elf/Makefile ($(objpfx)order.out): Run test with
47192         $(test-program-prefix).
47193         ($(objpfx)order2.out): Likewise.
47194         ($(objpfx)tst-initorder.out): Likewise.
47195         ($(objpfx)tst-initorder2.out): Likewise.
47196         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
47197         $(test-program-cmd).
47198         ($(objpfx)tst-array1-static.out): Likewise.
47199         ($(objpfx)tst-array2.out): Likewise.
47200         ($(objpfx)tst-array3.out): Likewise.
47201         ($(objpfx)tst-array4.out): Likewise.
47202         ($(objpfx)tst-array5.out): Likewise.
47203         ($(objpfx)tst-array5-static.out): Likewise.
47204         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
47205         $(test-program-cmd).
47206         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
47207         $(run-program-prefix) with $(test-program-prefix).
47208         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
47209         (test_program_prefix): This.
47210         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
47211         $(run-program-prefix) with $(test-program-prefix).
47212         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
47213         (test_program_prefix): This.
47214         * iconvdata/tst-tables.sh: Likewise.
47215         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
47216         $(run-program-prefix) with $(test-program-prefix).
47217         ($(objpfx)tst-translit.out): Likewise.
47218         ($(objpfx)tst-gettext2.out): Likewise.
47219         ($(objpfx)tst-gettext4.out): Likewise.
47220         ($(objpfx)tst-gettext6.out): Likewise.
47221         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
47222         (test_program_prefix): This.
47223         * intl/tst-gettext2.sh: Likewise.
47224         * intl/tst-gettext4.sh  Likewise.
47225         * intl/tst-gettext6.sh: Likewise.
47226         * intl/tst-translit.sh: Likewise.
47227         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
47228         with $(test-program-cmd).
47229         * libio/Makefile ($(objpfx)test-freopen.out): Replace
47230         $(run-program-prefix) with $(test-program-prefix).
47231         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
47232         (test_program_prefix): This.
47233         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
47234         $(run-program-prefix) with $(test-program-prefix).
47235         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
47236         (test_program_prefix): This.
47237         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
47238         * posix/Makefile ($(objpfx)globtest.out): Replace
47239         $(run-via-rtld-prefix) and $(test-wrapper) with
47240         $(test-program-prefix) and $(test-via-rtld-prefix).
47241         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
47242         $(test-program-prefix).
47243         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
47244         $(host-test-program-cmd).
47245         (tst-spawn-ARGS): Likewise.
47246         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
47247         $(test-program-prefix).
47248         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
47249         (test_via_rtld_prefix): This.
47250         (test_wrapper): Renamed to ...
47251         (test_program_prefix): This.
47252         (run_program_prefix): Replaced by test_program_prefix.
47253         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
47254         (test_program_prefix): This.
47255         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
47256         with $(host-test-program-cmd).
47257         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
47258         $(run-program-prefix) with $(test-program-prefix).
47259         ($(objpfx)tst-printf.out): Likewise.
47260         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
47261         $(test-program-cmd).
47262         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
47263         (test_program_prefix): This.
47264         * stdio-common/tst-unbputc.sh: Likewise.
47265         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
47266         $(run-program-prefix) with $(test-program-prefix).
47267         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
47268         (test_program_prefix): This.
47269         * string/Makefile ($(objpfx)tst-svc.out):  Replace
47270         $(built-program-cmd) with $(test-program-cmd).
47272 2013-01-11  Andreas Jaeger  <aj@suse.de>
47274         [BZ #15003]
47275         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
47276         value. Sync with Linux 3.7.
47278 2013-01-10  David S. Miller  <davem@davemloft.net>
47280         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
47281         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
47282         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
47284 2013-01-10  Roland McGrath  <roland@hack.frob.com>
47286         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
47287         never set.
47288         * configure: Regenerated.
47290 2013-01-10  David S. Miller  <davem@davemloft.net>
47292         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
47293         sparc V9 rather than using V8 code.
47294         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
47295         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
47297 2013-01-10  Roland McGrath  <roland@hack.frob.com>
47299         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
47300         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
47301         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
47302         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
47303         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
47304         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
47305         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
47306         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
47307         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
47308         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
47309         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
47310         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
47311         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
47312         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
47313         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
47314         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
47315         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
47316         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
47317         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
47318         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
47319         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
47320         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
47321         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
47322         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
47323         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
47324         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
47325         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
47327 2013-01-10  David S. Miller  <davem@davemloft.net>
47329         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47331 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
47333         * posix/Makefile (tests-static): New variable.
47334         (tests): Add $(tests-static).
47335         (tst-exec-static-ARGS): New variable.
47336         (tst-spawn-static-ARGS): Likewise.
47337         * posix/tst-exec-static.c: New file.
47338         * posix/tst-spawn-static.c: Likewise.
47339         * posix/tst-exec.c: Support run directly.
47340         * posix/tst-spawn.c: Likewise.
47342 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
47344         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
47345         long.
47346         * math/bits/mathcalls.h (llrint): Likewise.
47347         (llround): Likewise.
47348         * stdlib/stdlib.h (struct drand48_data): Likewise.
47349         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
47350         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
47351         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
47352         Likewise.
47353         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
47354         Likewise.
47355         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
47356         (elf_greg_t): Likewise.
47357         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
47358         (__jmp_buf): Likewise.
47359         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
47360         definitions.
47361         (llrint): Likewise, for all definitions.
47362         (llrintl): Likewise.
47364         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
47365         Remove [__GNUC__] condition.
47366         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
47367         condition to just [__USE_ISOC99].
47368         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
47370 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
47372         [BZ #14200]
47373         * sysdeps/unix/sysv/linux/x86/bits/environments.h
47374         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
47375         defined.
47376         (_POSIX_V6_ILP32_OFF32): Likewise.
47377         (_XBS5_ILP32_OFF32): Likewise.
47378         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
47379         (__ILP32_OFFBIG_LDFLAGS): Likewise.
47381 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47383         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
47385         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
47386         doubles __mpexp_twomm1.  Adjust usage.
47387         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
47388         Remove.
47390 2013-01-10  Andreas Schwab  <schwab@suse.de>
47392         [BZ #14964]
47393         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
47394         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
47396 2013-01-09  David S. Miller  <davem@davemloft.net>
47398         [BZ #15003]
47399         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
47400         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
47401         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
47402         (TCP_FASTOPEN): Define.
47403         (tcp_repair_opt): New structure.
47404         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
47405         enum values.
47406         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
47407         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
47408         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
47409         (tcp_cookie_transactions): New structure.
47411 2013-01-09  Anton Blanchard  <anton@samba.org>
47413         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
47414         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
47415         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
47416         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
47418 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
47420         * include/features.h (__USE_ANSI): Remove.
47422 2013-01-09  Roland McGrath  <roland@hack.frob.com>
47424         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
47426         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
47428 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
47430         * sysdeps/s390/fpu/libm-test-ulps: Update.
47432         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47434         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
47435         (__acr): Likewise.
47436         (__cpy): Likewise.
47437         (norm): Likewise.
47438         (denorm): Likewise.
47439         (__mp_dbl): Likewise.
47440         (__dbl_mp): Likewise.
47441         (add_magnitudes): Likewise.
47442         (sub_magnitudes): Likewise.
47443         (__add): Likewise.
47444         (__sub): Likewise.
47445         (__mul): Likewise.
47446         (__inv): Likewise.
47447         (__dvd): Likewise.
47448         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
47449         (__acr): Likewise.
47450         (__cpy): Likewise.
47451         (norm): Likewise.
47452         (denorm): Likewise.
47453         (__mp_dbl): Likewise.
47454         (__dbl_mp): Likewise.
47455         (add_magnitudes): Likewise.
47456         (sub_magnitudes): Likewise.
47457         (__add): Likewise.
47458         (__sub): Likewise.
47459         (__mul): Likewise.
47460         (__inv): Likewise.
47461         (__dvd): Likewise.
47462         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
47463         (__acr): Likewise.
47464         (__cpy): Likewise.
47465         (norm): Likewise.
47466         (denorm): Likewise.
47467         (__mp_dbl): Likewise.
47468         (__dbl_mp): Likewise.
47469         (add_magnitudes): Likewise.
47470         (sub_magnitudes): Likewise.
47471         (__add): Likewise.
47472         (__sub): Likewise.
47473         (__mul): Likewise.
47474         (__inv): Likewise.
47475         (__dvd): Likewise.
47477 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
47479         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
47480         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
47481         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
47482         2 && __USE_EXTERN_INLINES]: Likewise.
47484 2013-01-08  Andreas Jaeger  <aj@suse.de>
47486         [BZ# 14985]
47487         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
47488         Remove.
47489         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
47490         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
47492 2013-01-07  Anton Blanchard  <anton@samba.org>
47494         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
47495         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
47496         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
47497         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
47498         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
47499         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47500         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
47501         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
47502         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
47503         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47504         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47505         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47506         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47507         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47508         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
47509         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47510         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47511         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47512         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
47513         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
47514         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
47515         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
47516         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47517         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
47518         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
47519         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
47520         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47521         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
47522         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
47523         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47524         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
47525         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47526         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47527         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47528         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47529         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47530         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47531         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
47532         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
47533         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
47534         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
47535         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47536         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47538 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
47540         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
47541         (__MALLOC_PMT): Likewise.
47542         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
47543         [__GNUC__], only on [_LIBC].
47544         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
47545         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
47546         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
47547         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
47548         forward declaration.
47549         (realloc_hook_ini): Likewise.
47550         (memalign_hook_ini): Likewise.
47551         (__libc_memalign): Do not use __MALLOC_PMT in variable
47552         declaration.
47553         (__libc_valloc): Likewise.
47554         (__libc_pvalloc): Likewise.
47555         (__libc_calloc): Likewise.
47556         (__posix_memalign): Likewise.
47558         [BZ #14996]
47559         * math/s_casinh.c: Include <float.h>.
47560         (__casinh): Do not do computation with squaring and square root
47561         for large arguments.
47562         * math/s_casinhf.c: Include <float.h>.
47563         (__casinhf): Do not do computation with squaring and square root
47564         for large arguments.
47565         * math/s_casinhl.c: Include <float.h>.
47566         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
47567         (__casinhl): Do not do computation with squaring and square root
47568         for large arguments.
47569         * math/libm-test.inc (casin_test): Add more tests.
47570         (casinh_test): Likewise.
47571         * sysdeps/i386/fpu/libm-test-ulps: Update.
47572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47574 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
47576         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
47577         (__x86_64_raw_data_cache_size): Likewise.
47578         (__x86_64_data_cache_size_half): Likewise.
47579         (__x86_64_raw_data_cache_size_half): Likewise.
47580         (__x86_64_shared_cache_size): Likewise.
47581         (__x86_64_raw_shared_cache_size): Likewise.
47582         (__x86_64_shared_cache_size_half): Likewise.
47583         (__x86_64_raw_shared_cache_size_half): Likewise.
47584         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
47585         to ...
47586         (__x86_data_cache_size): This.
47587         (__x86_64_raw_data_cache_size): Renamed to ...
47588         (__x86_raw_data_cache_size): This.
47589         (__x86_64_data_cache_size_half): Renamed to ...
47590         (__x86_data_cache_size_half): This.
47591         (__x86_64_raw_data_cache_size_half): Renamed to ...
47592         (__x86_raw_data_cache_size_half): This.
47593         (__x86_64_shared_cache_size): Renamed to ...
47594         (__x86_shared_cache_size): This.
47595         (__x86_64_raw_shared_cache_size): Renamed to ...
47596         (__x86_raw_shared_cache_size): This.
47597         (__x86_64_shared_cache_size_half): Renamed to ...
47598         (__x86_shared_cache_size_half): This.
47599         (__x86_64_raw_shared_cache_size_half): Renamed to ...
47600         (__x86_raw_shared_cache_size_half): This.
47601         * sysdeps/x86_64/memcpy.S: Updated.
47602         * sysdeps/x86_64/memset.S: Likewise.
47603         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
47604         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47605         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47607 2013-01-04  David S. Miller  <davem@davemloft.net>
47609         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47611 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
47613         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
47614         1 to avoid redefinition warning.
47615         (__USE_GNU): Don't define.
47616         (init_signaling_nan): Protoize.
47618         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47620 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47622         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
47623         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
47624         (__cpymn): Likewise.
47625         (norm): Remove commented code.
47626         (denorm): Likewise.
47627         (__mp_dbl): Likewise.
47628         (__inv): Likewise.
47629         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
47630         (__cpymn): Likewise.
47631         (norm): Remove commented code.
47632         (denorm): Likewise.
47633         (__mp_dbl): Likewise.
47634         (__inv): Likewise.
47636         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
47637         mp_no value for 1.0 and 2.0.
47638         (norm): Use RADIXI instead of radixi.d.
47639         (denorm): Likewise.
47640         (__mul): Use 0.0 instead of zero.d.
47641         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
47642         mp_no value for 1.0 and 2.0.
47643         (norm): Use RADIXI instead of radixi.d.
47644         (denorm): Likewise.
47645         (__mul): Use 0.0 instead of zero.d.
47647 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
47649         [BZ #14994]
47650         * math/s_casinh.c (__casinh): Reduce finite argument to first
47651         quadrant then set signs of results at the end.
47652         * math/s_casinhf.c (__casinhf): Likewise.
47653         * math/s_casinhl.c (__casinhl): Likewise.
47654         * math/libm-test.inc (casin_test): Add more tests.
47655         (casinh_test): Likewise.
47656         * sysdeps/i386/fpu/libm-test-ulps: Update.
47657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47659 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47661         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
47663         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
47665         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
47666         declarations.
47667         (denorm): Likewise.
47668         (__mp_dbl): Likewise.
47669         (__inv): Likewise.
47671         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
47672         and adjust the header comment.
47674         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
47675         variable name from declaration.
47677 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
47679         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47680         Initialize COMMON_CPUID_INDEX_7 element.
47681         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
47682         (CPUID_RTM): Likewise.
47683         (HAS_RTM): Likewise.
47684         (COMMON_CPUID_INDEX_7): New enum.
47686 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
47688         [BZ #14981]
47689         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
47690         size is zero, record memory as freed.
47692 2013-01-03  Andreas Jaeger  <aj@suse.de>
47694         * po/ia.po: Add new Interlingua translation.
47696 2012-01-03  Allan McRae  <allan@archlinux.org>
47698         * locale/programs/localedef.c: Fix description of '--posix' flag.
47700 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
47702         * NEWS: Update dates in second copyright notice.
47703         * README: Update copyright dates in example.
47704         * manual/libc.texinfo: Update copyright dates.
47705         * scripts/test-installation.pl: Update copyright date in --version
47706         output.
47708         * hurd/ctty-input.c: Fix copyright notice formatting.
47709         * hurd/ctty-output.c: Likewise.
47710         * hurd/dtable.c: Likewise.
47711         * hurd/hurd-raise.c: Likewise.
47712         * hurd/hurdprio.c: Likewise.
47713         * hurd/msgportdemux.c: Likewise.
47714         * misc/sys/file.h: Likewise.
47715         * misc/sys/ioctl.h: Likewise.
47716         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
47717         * sysdeps/mach/hurd/chdir.c: Likewise.
47718         * sysdeps/mach/hurd/fchdir.c: Likewise.
47719         * sysdeps/mach/hurd/rename.c: Likewise.
47720         * sysdeps/mach/hurd/rmdir.c: Likewise.
47721         * sysdeps/mach/hurd/seekdir.c: Likewise.
47722         * sysdeps/mach/hurd/setsid.c: Likewise.
47723         * sysdeps/posix/wait3.c: Likewise.
47725         * All files with FSF copyright notices: Update copyright dates
47726         using scripts/update-copyrights.
47727         * intl/plural.c: Regenerated.
47728         * locale/programs/charmap-kw.h: Likewise.
47729         * locale/programs/locfile-kw.h: Likewise.
47731 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47733         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
47734         four values.
47736         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
47737         calculation loop and add branch prediction.
47739         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
47740         check access beyond bounds of m1np.
47742         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
47743         MPTWO.
47744         (__inv): Remove local variable MPTWO to use the global
47745         constant.
47746         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
47747         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
47748         variable MPTWO.
47749         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
47750         MP3HALFS static const.
47752 2013-01-01  David S. Miller  <davem@davemloft.net>
47754         * po/ca.po: Update from translation team.
47756 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
47758         * scripts/update-copyrights: New file.
47759         * Makeconfig: Reformat copyright notice.
47760         * ctype/ctype.h: Likewise.
47761         * debug/swprintf_chk.c: Likewise.
47762         * elf/dl-cache.c: Likewise.
47763         * elf/dl-debug.c: Likewise.
47764         * elf/dl-object.c: Likewise.
47765         * grp/initgroups.c: Likewise.
47766         * hurd/Makefile: Likewise.
47767         * hurd/hurd/signal.h: Likewise.
47768         * hurd/hurdfault.c: Likewise.
47769         * hurd/hurdioctl.c: Likewise.
47770         * hurd/hurdlookup.c: Likewise.
47771         * hurd/intr-msg.c: Likewise.
47772         * iconv/gconv_open.c: Likewise.
47773         * libio/swprintf.c: Likewise.
47774         * locale/lc-ctype.c: Likewise.
47775         * locale/nl_langinfo.c: Likewise.
47776         * mach/Machrules: Likewise.
47777         * mach/Makefile: Likewise.
47778         * malloc/obstack.h: Likewise.
47779         * manual/Makefile: Likewise.
47780         * manual/tsort.awk: Likewise.
47781         * misc/bits/stab.def: Likewise.
47782         * nis/nis_print_group_entry.c: Likewise.
47783         * nis/nis_table.c: Likewise.
47784         * nis/nss_compat/compat-pwd.c: Likewise.
47785         * nis/nss_compat/compat-spwd.c: Likewise.
47786         * po/Makefile: Likewise.
47787         * posix/fnmatch.c: Likewise.
47788         * posix/regex.h: Likewise.
47789         * resolv/Makefile: Likewise.
47790         * resolv/nss_dns/dns-network.c: Likewise.
47791         * resolv/res_hconf.c: Likewise.
47792         * scripts/gen-sorted.awk: Likewise.
47793         * soft-fp/soft-fp.h: Likewise.
47794         * stdio-common/printf.h: Likewise.
47795         * stdlib/monetary.h: Likewise.
47796         * stdlib/random.c: Likewise.
47797         * stdlib/random_r.c: Likewise.
47798         * sysdeps/generic/Makefile: Likewise.
47799         * sysdeps/gnu/Makefile: Likewise.
47800         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47801         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47802         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47803         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47804         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47805         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47806         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47807         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47808         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47809         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47810         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47811         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47812         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
47813         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
47814         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
47815         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
47816         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47817         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47818         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47819         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47820         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47821         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47822         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47823         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
47824         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
47825         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47826         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
47827         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
47828         * sysdeps/mach/hurd/errnos.awk: Likewise.
47829         * sysdeps/mach/hurd/fork.c: Likewise.
47830         * sysdeps/mach/hurd/getcwd.c: Likewise.
47831         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
47832         * sysdeps/mach/hurd/mmap.c: Likewise.
47833         * sysdeps/mach/hurd/utimes.c: Likewise.
47834         * sysdeps/mach/hurd/xmknod.c: Likewise.
47835         * sysdeps/posix/profil.c: Likewise.
47836         * sysdeps/posix/readdir_r.c: Likewise.
47837         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47838         * sysdeps/powerpc/bits/setjmp.h: Likewise.
47839         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
47840         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
47841         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
47842         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47843         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47844         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47845         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47846         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47847         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47848         * sysdeps/pthread/lio_listio.c: Likewise.
47849         * sysdeps/sparc/dl-procinfo.h: Likewise.
47850         * sysdeps/unix/i386/sysdep.S: Likewise.
47851         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
47852         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
47853         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
47854         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
47855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47856         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
47857         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
47858         * sysdeps/unix/sysv/linux/speed.c: Likewise.
47859         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
47860         * sysdeps/wordsize-32/divdi3.c: Likewise.
47861         * time/sys/time.h: Likewise.
47862         * wcsmbs/Makefile: Likewise.
47864 2013-01-01  David S. Miller  <davem@davemloft.net>
47866         * po/fr.po: Update from translation team.
47868         * catgets/gencat.c: Update copyright year.
47869         * csu/version.c: Likewise.
47870         * debug/catchsegv.sh: Likewise.
47871         * debug/pcprofiledump.c: Likewise.
47872         * debug/xtrace.sh: Likewise.
47873         * elf/ldconfig.c: Likewise.
47874         * elf/ldd.bash.in: Likewise.
47875         * elf/pldd.c: Likewise.
47876         * elf/sotruss.ksh: Likewise.
47877         * elf/sprof.c: Likewise.
47878         * iconv/iconv_prog.c: Likewise.
47879         * iconv/iconvconfig.c: Likewise.
47880         * locale/programs/locale.c: Likewise.
47881         * locale/programs/localedef.c: Likewise.
47882         * login/programs/pt_chown.c: Likewise.
47883         * malloc/memusage.sh: Likewise.
47884         * malloc/memusagestat.c: Likewise.
47885         * malloc/mtrace.pl: Likewise.
47886         * nscd/nscd.c: Likewise.
47887         * nss/getent.c: Likewise.
47888         * nss/makedb.c: Likewise.
47889         * posix/getconf.c: Likewise.
47891 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
47893         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
47894         numbers.
47896 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
47898         * math/bits/mathcalls.h (modf): Use __nonnull.
47900 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47902         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
47903         (split): Use macro CN instead of the bare value.
47904         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
47905         could be used.
47906         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
47907         instead of the bare value.
47908         (power1): Likewise.
47910 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47912         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
47913         __ATAN_TWOM.
47914         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47916         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
47917         their values.
47918         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
47919         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
47920         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
47921         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
47923 2012-12-28  Andreas Jaeger  <aj@suse.de>
47925         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
47926         values are from Linux 3.7.
47928         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
47929         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
47931 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47933         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
47934         TRUE case.
47936         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
47937         (norm): Likewise.
47938         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
47939         variables with preprocessor constants.
47940         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47941         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
47942         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
47944 2012-12-27  Bruno Haible  <bruno@clisp.org>
47946         [BZ #14317]
47947         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
47948         only if needed.
47950 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47952         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
47953         and use variable directly.
47954         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
47956         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
47957         MPONE.
47958         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
47959         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
47960         variable MPONE.
47961         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
47962         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
47963         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
47964         include directive.  Remove local variable MPONE.
47965         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
47966         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
47967         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47969 2012-12-25  David S. Miller  <davem@davemloft.net>
47971         * version.h (RELEASE): Set to "development".
47972         (VERSION): Set to "2.17.90".
47973         * NEWS: Add 2.18 section.
47975 2012-12-21  David S. Miller  <davem@davemloft.net>
47977         * po/hr.po: Update from translation team.
47979 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47981         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
47983 2012-12-19  Steve Ellcey  <sellcey@mips.com>
47985         * NEWS:  Mention new memcpy for MIPS.
47987 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47989         * manual/contrib.texi (Contributors): Spelling correction.
47991 2012-12-15  David S. Miller  <davem@davemloft.net>
47993         * po/ru.po: Update from translation team.
47995 2012-12-13  David S. Miller  <davem@davemloft.net>
47997         * NEWS: Mention IFUNC testsuite enhancements.
47999         * po/pl.po: Update from translation team.
48000         * po/bg.po: Likewise.
48002         * manual/contrib.texi (Contributors): Update entries for Hongjiu
48003         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
48005 2012-12-11  David S. Miller  <davem@davemloft.net>
48007         * po/sv.po: Update from translation team.
48009         * po/vi.po: Update from translation team.
48011         * po/cs.po: Update from translation team.
48013         * po/de.po: Update from translation team.
48014         * po/eo.po: Likewise.
48015         * po/nl.po: Likewise.
48017 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48019         [BZ #14246]
48020         * manual/argp.texi (Argp Helper Functions): Move node to follow
48021         Argp Parsing State.
48023         [BZ #14872]
48024         * manual/conf.texi (Limits on File System Capacity): Mention if
48025         terminating null is included in the max size.
48027 2012-12-10  Andreas Jaeger  <aj@suse.de>
48029         * po/cs.po: Update from translation team.
48031 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
48033         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
48034         void pointer and cast to uintptr_t.
48035         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
48036         path.
48037         * sysdeps/s390/s390-64/memcpy.S: Likewise.
48038         * sysdeps/s390/s390-64/memset.S: Likewise.
48040 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
48042         [BZ #14833]
48043         * menual/message.texi (Message Translation): Fix typos.
48044         (Helper programs for gettext): Likewise.
48046 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
48048         [BZ #14898]
48049         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
48050         Change to -1.
48052 2012-12-07  David S. Miller  <davem@davemloft.net>
48054         * po/libc.pot: Update.
48056 2012-12-07  Richard Henderson  <rth@redhat.com>
48058         [BZ #10114]
48059         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
48060         normal/normal case to before the switch.
48061         (_FP_DIV): Likewise.
48063 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
48064             Mike Frysinger  <vapier@gentoo.org>
48066         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
48067         check for __NR_fadvise64_64.
48069 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
48071         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
48072         0, not just to plain "0" as a statement.
48073         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
48074         with cw.
48076 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
48078         * NEWS: Use sourceware.org in Bugzilla URL.
48080 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
48082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
48083         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
48085         * stdio-common/tst-put-error.c (do_test): Add newline to the
48086         padded test to ensure flush.
48088 2012-12-05  Jeff Law  <law@redhat.com>
48090         * sunrpc/etc.rpc (fedfs_admin): Add entry.
48092 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
48094         * README: Don't refer to ports add-on as distributed separately.
48095         Mention AArch64 in list of systems supported in the ports add-on.
48097         * LICENSES: Add more non-FSF copyright and license notices.
48099         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
48100         ((unused)).
48102         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
48104         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
48105         10000 as width of padded output.
48107 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
48109         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
48111         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
48112         variable LX with __attribute__ ((unused)).
48113         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
48114         Likewise.
48115         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
48116         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48117         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
48118         with __attribute__ ((unused)).
48120 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
48122         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
48124 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
48126         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
48127         (CFLAGS-nldbl-acos.c): New variable.
48128         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
48129         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
48130         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
48131         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
48132         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
48133         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
48134         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
48135         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
48136         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
48137         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
48138         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
48139         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
48140         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
48141         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
48142         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
48143         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
48144         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
48145         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
48146         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
48147         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
48148         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
48149         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
48150         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
48151         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
48152         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
48153         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
48154         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
48155         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
48156         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
48157         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
48158         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
48159         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
48160         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
48161         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
48162         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
48163         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
48164         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
48165         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
48166         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
48167         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
48168         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
48169         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
48170         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
48171         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
48172         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
48173         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
48174         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
48175         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
48176         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
48177         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
48178         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
48179         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
48180         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
48181         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
48182         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
48183         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
48184         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
48185         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
48186         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
48187         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
48188         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
48189         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
48190         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
48191         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
48192         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
48193         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
48194         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
48195         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
48196         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
48197         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
48198         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
48199         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
48200         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
48201         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
48202         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
48203         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
48204         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
48205         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
48206         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
48207         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
48208         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
48209         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
48210         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
48211         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
48212         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
48213         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
48214         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
48215         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
48216         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
48217         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
48218         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
48219         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
48220         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
48221         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
48222         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
48223         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
48224         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
48226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
48227         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
48229         [BZ #14914]
48230         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
48231         whole low double instead of just low 47 bits when splitting values
48232         into two parts.
48234 2012-12-03  Allan McRae  <allan@archlinux.org>
48236         * manual/stdio.texi (Predefined Printf Handlers): Remove
48237         @hsep and @vsep usage.
48239 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
48241         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
48242         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
48244 2012-12-03  Jeff Law  <law@redhat.com>
48246         * time/sys/time.h (settimeofday): Do not mark TV argument
48247         as __nonnull.
48249 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
48251         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
48252         when currently writing and seek to current position when not.
48253         * libio/Makefile (tests): Remove bug-fclose1.
48254         * libio/bug-fclose1.c: Delete.
48256 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
48258         * manual/arith.texi (feenableexcept): Fix typo.
48259         (fedisableexcept): Likewise.
48261 2012-11-30  Roland McGrath  <roland@hack.frob.com>
48263         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
48264         second, differently-typed declaration, rather than a cast.
48266 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48268         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
48269         * include/rpc/svc.h: ... here.
48271 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
48273         [BZ #13013]
48274         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
48275         depending n and resplen2 to catch cases where answer
48276         equals answerp2.
48278 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
48280         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
48281         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
48283 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
48285         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
48287 2012-11-29  Roland McGrath  <roland@hack.frob.com>
48289         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
48291 2012-11-28  Jeff Law  <law@redhat.com>
48293         [BZ #13761]
48294         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
48295         dataset_temporary.  Track alloca usage into alloca_used.
48296         If dataset is large allocate and release it via malloc/free.
48298 2012-06-04  Florian Weimer  <fweimer@redhat.com>
48300         [BZ #14197]
48301         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
48303 2012-11-28  David S. Miller  <davem@davemloft.net>
48305         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48307 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
48309         [BZ #14803]
48310         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
48311         of pi/2 rounded to nearest to 64 bits.
48312         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
48313         nearest to 64 bits.
48314         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
48315         bits.
48317 2012-11-28  Jeff Law <law@redhat.com>
48318             Martin Osvald <mosvald@redhat.com>
48320         [BZ #14889]
48321         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
48322         * sunrpc/svc.c: Include time.h.
48323         (__svc_accept_failed): New function.
48324         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
48325         any reason other than EINTR, call __svc_accept_failed.
48326         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
48327         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
48329 2012-11-28  Andreas Schwab  <schwab@suse.de>
48331         * scripts/abilist.awk: Also handle indirect functions in .opd
48332         section.
48334 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
48336         [BZ #13881]
48337         * sysdeps/x86/fpu/powl_helper.c: New file.
48338         * sysdeps/x86/fpu/Makefile: Likewise.
48339         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
48340         (p3): New object.
48341         (__ieee754_powl): Use __powl_helper for finite arguments except
48342         integer exponents below 8.
48343         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
48344         (p3): New object.
48345         (__ieee754_powl): Use __powl_helper for finite arguments except
48346         integer exponents below 8.
48347         * math/libm-test.inc (pow_test): Add more tests and enable some
48348         previously disabled tests.
48349         * sysdeps/i386/fpu/libm-test-ulps: Update.
48350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48352 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48353             Carlos O'Donell  <carlos_odonell@mentor.com>
48355         * nss/makedb.c (is_prime): Assert that input is odd and greater
48356         than 4.  Note that fact in a comment too.
48357         (next_prime): Add 4 to input.
48359 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48361         [BZ #11741]
48362         * libio/Makefile (tests): Add test case tst-fwrite-error.
48363         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
48364         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
48365         * libio/tst-fwrite-error.c: New test case.
48367 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
48369         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
48370         before casting to void *.
48371         * include/libc-internal.h (__pointer_type): New macro.
48372         (__integer_if_pointer_type_sub): Likewise.
48373         (__integer_if_pointer_type): Likewise.
48374         (cast_to_integer): Likewise.
48375         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
48376         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
48377         before casting to atomic64_t.
48378         (atomic_exchange_acq): Likewise.
48379         (__arch_exchange_and_add_body): Likewise.
48380         (__arch_add_body): Likewise.
48381         (atomic_add_negative): Likewise.
48382         (atomic_add_zero): Likewise.
48384 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
48386         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
48387         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
48388         (add_fdes): Likewise.
48389         (linear_search_fdes): Likewise.
48390         (binary_search_unencoded_fdes): Likewise.
48392 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
48394         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
48396 2012-11-24  Adam Conrad  <adconrad@0c3.net>
48398         * configure.in: Autodetect C++ header directories.
48399         * configure: Regenerated.
48401 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
48403         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
48405 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
48407         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48409 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
48411         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
48412         LDBL_MANT_DIG == 106]: Disable some tests.
48413         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
48414         Likewise.
48415         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
48416         Likewise.
48418         [BZ #14871]
48419         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
48420         input for small inputs.  Return +/- pi/2 for large inputs.
48421         * math/libm-test.inc (atan_test): Add more tests.
48423         * sysdeps/generic/unwind-dw2-fde-glibc.c
48424         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
48425         __attribute__ ((unused)).
48427         [BZ #14645]
48428         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
48429         x * y if x and y are nonzero and z is zero.
48431         [BZ #14811]
48432         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
48433         nonzero exponents with absolute value below 0x1p-117 to +/-
48434         0x1p-117.
48436         [BZ #14869]
48437         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
48438         up arguments below 2**-450, not just those below 2**-500.
48439         * math/libm-test.inc (hypot_test): Add another test.
48441         [BZ #14868]
48442         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
48443         Return a+b for ratio over 2**120, not 2**60.
48444         * math/libm-test.inc (hypot_test): Add another test.
48446         * math/libm-test.inc (clog_test): Use
48447         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
48448         (clog10_test): Likewise.
48450         [BZ #6778]
48451         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
48453 2012-11-22  Andreas Schwab  <schwab@suse.de>
48455         * sysdeps/i386/fpu/libm-test-ulps: Update.
48457 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
48459         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
48460         printf output with newline.
48462 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
48464         [BZ #14865]
48465         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
48466         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
48467         -z nodlopen, -z initfirst and -z execstack support.
48468         * configure: Regenerated.
48470         * elf/elf.h (DF_1_NODIRECT): New macro.
48471         (DF_1_IGNMULDEF): Likewise.
48472         (DF_1_NOKSYMS): Likewise.
48473         (DF_1_NOHDR): Likewise.
48474         (DF_1_EDITED): Likewise.
48475         (DF_1_NORELOC): Likewise.
48476         (DF_1_SYMINTPOSE): Likewise.
48477         (DF_1_GLOBAUDIT): Likewise.
48478         (DF_1_SINGLETON): Likewise.
48479         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
48480         DT_1_SUPPORTED_MASK bits.
48481         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
48483 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
48485         * sysdeps/unix/make-syscalls.sh: Document prefixes.
48487 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
48489         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
48490         macro.
48492         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
48493         (sendmmsg): Move declarations...
48494         * socket/sys/socket.h: ... here.
48495         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
48496         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
48497         include it from...
48498         * socket/recvmmsg.c: ... this new file.
48499         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
48500         (sendmmsg): Rename to __sendmmsg, create weak alias and make
48501         definition of __sendmmsg hidden.
48502         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
48503         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
48504         Move ENOSYS stub into and include it from...
48505         * socket/sendmmsg.c: ... this new file.
48506         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
48507         (sysdep_routines): Move recvmmsg and sendmmsg...
48508         * socket/Makefile (routines): ... here.
48509         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
48510         (GLIBC_PRIVATE): Add __sendmmsg.
48511         * include/sys/socket.h (__sendmmsg): Add declarations.
48512         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
48513         sendmmsg.
48515 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
48517         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
48518         variable I1 with __attribute__ ((unused)).
48519         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48521 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
48523         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
48524         DUMMY variables with __attribute__ ((unused)).
48526         * bits/byteswap.h: Include <bits/types.h>.
48527         (__bswap_64): Use __uint64_t instead of unsigned long long int.
48529 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
48531         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
48532         string_t.  Do not manually set errno.
48533         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
48534         length with __strnlen.  Make sure to both set errno and return it on
48535         failure.
48537 2012-11-19  David S. Miller  <davem@davemloft.net>
48539         With help from Joseph Myers.
48540         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
48541         very large arguments properly.
48542         * math/libm-test.inc (atan_test): New tests.
48543         (atan2_test): New tests.
48544         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48545         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48547 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
48549         [BZ #14856]
48550         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
48551         Define to 3.
48553         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
48554         [POSIX] (EADDRNOTAVAIL): Likewise.
48555         [POSIX] (EAFNOSUPPORT): Likewise.
48556         [POSIX] (EALREADY): Likewise.
48557         [POSIX] (ECONNABORTED): Likewise.
48558         [POSIX] (ECONNREFUSED): Likewise.
48559         [POSIX] (ECONNRESET): Likewise.
48560         [POSIX] (EDESTADDRREQ): Likewise.
48561         [POSIX] (EDQUOT): Likewise.
48562         [POSIX] (EHOSTUNREACH): Likewise.
48563         [POSIX] (EIDRM): Likewise.
48564         [POSIX] (EISCONN): Likewise.
48565         [POSIX] (ELOOP): Likewise.
48566         [POSIX] (EMULTIHOP): Likewise.
48567         [POSIX] (ENETDOWN): Likewise.
48568         [POSIX] (ENETUNREACH): Likewise.
48569         [POSIX] (ENOBUFS): Likewise.
48570         [POSIX] (ENODATA): Likewise.
48571         [POSIX] (ENOLINK): Likewise.
48572         [POSIX] (ENOMSG): Likewise.
48573         [POSIX] (ENOPROTOOPT): Likewise.
48574         [POSIX] (ENOSR): Likewise.
48575         [POSIX] (ENOSTR): Likewise.
48576         [POSIX] (ENOTCONN): Likewise.
48577         [POSIX] (ENOTSOCK): Likewise.
48578         [POSIX] (EOPNOTSUPP): Likewise.
48579         [POSIX] (EOVERFLOW): Likewise.
48580         [POSIX] (EPROTO): Likewise.
48581         [POSIX] (EPROTONOSUPPORT): Likewise.
48582         [POSIX] (EPROTOTYPE): Likewise.
48583         [POSIX] (ESTALE): Likewise.
48584         [POSIX] (ETIME): Likewise.
48585         [POSIX] (ETXTBSY): Likewise.
48586         [POSIX] (EWOULDBLOCK): Likewise.
48587         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
48588         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
48589         [POSIX] (SEEK_CUR): Likewise.
48590         [POSIX] (SEEK_END): Likewise.
48591         [POSIX || UNIX98] (mode_t): Do not require.
48592         [POSIX] (off_t): Likewise.
48593         [POSIX] (pid_t): Likewise.
48594         [POSIX] (sys/stat.h): Do not allow header.
48595         [POSIX] (unistd.h): Likewise.
48596         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
48597         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
48598         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
48599         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
48600         require.
48601         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
48602         sigevent): Specify elements.
48603         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
48604         entry.
48605         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
48606         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
48608         * conform/data/cpio.h-data [POSIX]: Disable whole file.
48609         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
48610         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
48611         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
48612         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
48613         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
48614         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
48615         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
48616         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
48617         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
48618         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
48619         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
48620         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
48621         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
48622         Likewise.
48623         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
48624         Likewise.
48625         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
48626         Likewise.
48627         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
48628         Likewise.
48629         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
48630         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
48631         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
48632         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
48633         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
48634         Specify lower bound on value.
48635         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
48636         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
48637         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
48638         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
48639         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
48640         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
48641         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
48642         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
48643         value.
48644         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
48645         as optional.
48646         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
48647         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
48648         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
48649         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
48650         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
48651         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
48652         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
48653         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
48654         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
48655         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
48656         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
48657         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
48658         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
48659         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
48660         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
48661         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
48662         entry.
48663         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
48664         optional.
48665         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
48666         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
48667         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
48668         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
48669         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
48670         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
48671         Likewise.
48672         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
48673         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
48674         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
48675         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
48676         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
48677         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
48678         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
48679         as optional.
48680         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
48681         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
48682         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
48683         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
48684         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
48685         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
48686         specify as optional.
48687         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
48688         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
48689         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
48690         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
48691         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
48692         [XPG3] (NL_LANGMAX): Likewise.
48693         [POSIX || XPG3] (NL_MSGMAX): Likewise.
48694         [POSIX || XPG3] (NL_NMAX): Likewise.
48695         [POSIX || XPG3] (NL_SETMAX): Likewise.
48696         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
48697         [XPG3] (NZERO): Likewise.
48698         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
48699         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
48700         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
48701         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
48702         (REG_ERANGE): Expect.
48703         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
48704         optional-constant.
48705         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
48706         Use (void) in prototype.
48707         [POSIX] (*_t): Allow.
48708         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
48709         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
48710         (WRDE_BADVAL): Expect.
48712         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
48713         expect.
48714         [XPG3 || XPG4] (O_RSYNC): Likewise.
48715         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
48716         Likewise.
48717         [XPG3 || XPG4] (pthread_sigmask): Likewise.
48718         [XPG3 || XPG4] (sigqueue): Likewise.
48719         [XPG3 || XPG4] (sigtimedwait): Likewise.
48720         [XPG3 || XPG4] (sigwaitinfo): Likewise.
48721         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
48722         [XPG3 || XPG4] (vsnprintf): Likewise.
48723         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
48724         Likewise.
48725         [XPG3 || XPG4] (blksize_t): Likewise.
48726         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
48727         Likewise.
48728         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
48729         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
48730         [XPG3 || XPG4] (struct itimerspec): Likewise.
48731         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
48732         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
48733         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
48734         [XPG3 || XPG4] (clockid_t): Likewise.
48735         [XPG3 || XPG4] (timer_t): Likewise.
48736         [XPG3 || XPG4] (clock_getres): Likewise.
48737         [XPG3 || XPG4] (clock_gettime): Likewise.
48738         [XPG3 || XPG4] (clock_settime): Likewise.
48739         [XPG3 || XPG4] (nanosleep): Likewise.
48740         [XPG3 || XPG4] (timer_create): Likewise.
48741         [XPG3 || XPG4] (timer_delete): Likewise.
48742         [XPG3 || XPG4] (timer_gettime): Likewise.
48743         [XPG3 || XPG4] (timer_getoverrun): Likewise.
48744         [XPG3 || XPG4] (timer_settime): Likewise.
48745         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
48746         [XPG3 || XPG4] (getlogin_r): Likewise.
48747         [XPG3 || XPG4] (pread): Likewise.
48748         [XPG3 || XPG4] (pthread_atfork): Likewise.
48749         [XPG3 || XPG4] (pwrite): Likewise.
48751         [BZ #14835]
48752         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
48753         <bits/siginfo.h>.
48755 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
48757         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
48758         finalizing MALLSTREAM.
48760         * sysdeps/mach/hurd/syncfs.c: New file.
48762 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48764         [BZ #14719]
48765         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
48766         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
48767         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
48768         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
48769         (_nss_dns_gethostbyname4_r): Likewise.
48770         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
48771         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
48773 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
48775         [BZ #13763]
48776         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
48778 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
48780         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
48781         * elf/cache.c (print_entry): Print ",AArch64" for
48782         FLAG_AARCH64_LIB64
48784         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
48785         * elf/cache.c (print_entry): Print ",hard-float" for
48786         FLAG_ARM_LIBHF.
48788 2012-11-18  David S. Miller  <davem@davemloft.net>
48790         With help from Joseph Myers.
48791         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
48792         cutoff to 2**-13.
48793         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
48794         cutoff to 2**-25.
48795         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
48796         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
48797         small.
48798         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
48799         * math/libm-test.inc (y0_test): New tests.
48800         (y1_test): New tests.
48801         * sysdeps/i386/fpu/libm-test-ulps: Update.
48802         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48803         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48805 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
48807         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
48808         64-bit targets.
48809         * configure: Regenerated.
48811 2012-11-17  David S. Miller  <davem@davemloft.net>
48813         [BZ #14811]
48814         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
48815         nonzero exponents with absolute value below 0x1p-128 to +/-
48816         0x1p-128.
48818 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
48820         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
48822         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
48824         * posix/getconf-speclist.c: New file.
48825         * posix/posix-envs.def: Likewise.
48826         * posix/confstr.c (START_ENV_GROUP): New macro.
48827         (END_ENV_GROUP): Likewise.
48828         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
48829         (KNOWN_PRESENT_ENV_STRING): Likewise.
48830         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
48831         (UNKNOWN_ENVIRONMENT): Likewise.
48832         (confstr): Include posix-envs.def instead of handling
48833         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
48834         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
48835         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
48836         (END_ENV_GROUP): Likewise.
48837         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
48838         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
48839         (UNKNOWN_ENVIRONMENT): Likewise.
48840         (__sysconf): Include posix-envs.def instead of handling associated
48841         cases directly here.
48842         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
48843         preprocessing getconf-speclist.c rather than running getconf or
48844         generating empty file.
48846 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
48848         * scripts/check-local-headers.sh: Ignore 'mach' headers.
48850 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
48852         [BZ #14672]
48853         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
48855 2012-11-16  David S. Miller  <davem@davemloft.net>
48857         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
48858         smaller than LDBL_EPSILON/2.0L, just return xm1.
48860 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
48862         * elf/tst-array1.c (init): Set constructor priority to 1000.
48863         (fini): Set destructor priority to 1000.
48864         * elf/tst-array2dep.c: Likewise.
48866 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48868         [BZ #11741]
48869         * libio/fileops.c (_IO_new_file_write): Correctly return error.
48870         (_IO_new_file_xsputn): Also return EOF if none of the input
48871         data was written when overflow failed.
48872         * libio/iopadn.c (_IO_padn): Likewise.
48873         * libio/iowpadn.c (_IO_wpadn): Likewise.
48874         * stdio-common/tst-put-error.c: Add copyright notice.
48875         (do_test): Add case for printing padded string.
48876         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
48877         _IO_padn returned error.
48878         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
48879         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
48880         return EOF.
48882 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48884         * libio/libioP.h: Add comment note that the references to C++
48885         bits are now obsolete.
48887 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48889         * math/libm-test.inc (check_complex): Use asprintf.
48891 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
48893         * debug/pcprofiledump.c (print_version): Update copyright year.
48894         * malloc/memusagestat.c (print_version): Likewise.
48896 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
48898         [BZ #14831]
48899         * elf/Makefile (tests): Add tst-audit8.
48900         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
48901         ($(objpfx)tst-audit8.out): New target.
48902         (tst-audit8-ENV): New variable.
48903         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
48904         audit if l_reloc_result is NULL.
48905         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
48906         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
48907         * elf/tst-audit8.c: New file.
48909 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48911         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
48912         * misc/Makefile (CFLAGS-select.c): Define.
48913         * posix/Makefile (CFLAGS-pause.c): Define.
48915 2012-11-13  David S. Miller  <davem@davemloft.net>
48917         * crypt/Makefile: Move test targets after toplevel Rules
48918         inclusion.  Grab any necessary sysdep routines when linking.
48919         * crypt/md5.c (md5_process_block): Remove define, we will always
48920         name it __md5_process_block.
48921         (md5_finish_ctx): Update md5_process_block call.
48922         (md5_stream): Likewise.
48923         (md5_process_bytes): Likewise.
48924         (md5_process_block): Rename to __md5_process_block and move to ...
48925         * crypt/md5-block.c: ... here.
48926         * crypt/sha256.c (sha256_process_block): Move to ...
48927         * crypt/sha256-block.c: ... here.
48928         * crypt/sha512.c (sha512_process_block): Move to ...
48929         * crypt/sha512-block.c: ... here.
48930         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
48931         path.
48932         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
48933         * sysdeps/sparc/sparc64/multiarch/Makefile
48934         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
48935         crypt subdir.
48936         (localedef-aux): Add md5 crypto assembler when in locale subdir.
48937         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
48938         multiarch changes.
48939         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
48940         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
48941         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
48942         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
48943         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
48944         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
48945         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
48946         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
48947         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
48948         file.
48949         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
48950         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
48951         file.
48952         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
48954 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
48956         * timezone/tzselect.ksh: Update from tzcode git revision
48957         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
48958         * timezone/zdump.c: Likewise.
48959         * timezone/zic.c: Likewise.
48960         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
48961         in TZVERSION setting, not $(PKGVERSION).
48962         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
48963         REPORT_BUGS_TO settings.
48965         [BZ #14838]
48966         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
48967         macro.
48969 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48971         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
48972         detection to immediately after _FP_ROUND().
48973         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
48974         bits are 0.
48976 2012-11-11  David S. Miller  <davem@davemloft.net>
48978         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
48979         inttypes.h
48980         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
48981         __close rather than their public counterparts.
48983 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
48985         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
48986         file.
48987         [UNIX98] (sem_timedwait): Do not expect.
48988         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
48989         [XPG4 || UNIX98] (sockatmark): Do not expect.
48990         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
48991         (clock_getcpuclockid): Do not expect.
48992         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
48993         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
48994         Do not expect.
48995         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
48996         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
48997         [UNIX98] (vwscanf): Likewise.
48998         [UNIX98] (vswscanf): Likewise.
49000 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
49002         * timezone/version.h: Remove file.
49003         * timezone/README: Do not refer to version.h.
49004         * timezone/Makefile ($(objpfx)zic.o): New dependency on
49005         $(objpfx)version.h.
49006         ($(objpfx)zdump.o): Likewise.
49007         ($(objpfx)version.h): New target.
49009         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
49010         2012i.
49011         * timezone/README: Don't mention modification to tzselect.ksh.
49012         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
49013         work on unmodified tzselect.ksh.  Substitute version numbers in
49014         tzselect.ksh.
49016         * Makefile (format-me): Remove.
49017         (INSTALL): Adjust indentation.  Use commands directly instead of
49018         using $(format-me).
49020         * aclocal.m4 (ACX_PKGVERSION): New macro.
49021         (ACX_BUGURL): Likewise.
49022         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
49023         (PKGVERSION): New AC_DEFINE_UNQUOTED.
49024         (REPORT_BUGS_TO): Likewise.
49025         * configure: Regenerated.
49026         * config.h.in (PKGVERSION): New macro.
49027         (REPORT_BUGS_TO): Likewise.
49028         * config.make.in (PKGVERSION): New variable.
49029         (PKGVERSION_TEXI): Likewise.
49030         (REPORT_BUGS_TO): Likewise.
49031         (REPORT_BUGS_TEXI): Likewise.
49032         * Makefile (format-me): Use -I$(common-objpfx)manual.
49033         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
49034         ($(common-objpfx)manual/%): New target.
49035         (manual/%): Remove target.
49036         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
49037         (print_version): Use PKGVERSION.
49038         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
49039         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
49040         and REPORT_BUGS_TO.
49041         ($(objpfx)xtrace): Likewise.
49042         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
49043         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
49044         (print_version): Use PKGVERSION.
49045         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
49046         (do_version): Use PKGVERSION.
49047         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
49048         REPORT_BUGS_TO.
49049         (common-ldd-rewrite): Likewise.
49050         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
49051         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
49052         (print_version): Use PKGVERSION.
49053         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
49054         * elf/pldd.c (argp_program_bug_address): Remove variable.
49055         (more_help): New function.
49056         (argp): Use more_help.
49057         (print_version): Use PKGVERSION.
49058         * elf/sln.c (main): Use PKGVERSION.
49059         (usage): Use REPORT_BUGS_TO.
49060         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
49061         (top level): Use PKGVERSION.
49062         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
49063         (print_version): Use PKGVERSION.
49064         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
49065         (print_version): Use PKGVERSION.
49066         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
49067         (print_version): Use PKGVERSION.
49068         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
49069         (print_version): Use PKGVERSION.
49070         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
49071         (print_version): Use PKGVERSION.
49072         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
49073         (print_version): Use PKGVERSION.
49074         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
49075         and BUGURL.
49076         ($(objpfx)memusage): Likewise.
49077         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
49078         (do_version): Use PKGVERSION.
49079         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
49080         (print_version): Use PKGVERSION.
49081         * malloc/mtrace.pl ($PACKAGE): Remove variable.
49082         ($PKGVERSION): New variable.
49083         ($REPORT_BUGS_TO): Likewise.
49084         (usage): Use $REPORT_BUGS_TO.
49085         (top level): Use $PKGVERSION.
49086         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
49087         ($(objpfx)pkgvers.texi): New rule.
49088         ($(objpfx)stamp-pkgvers): Likewise.
49089         * manual/install.texi: Include pkgvers.texi.
49090         (--with-pkgversion): Document new configure option.
49091         (--with-bugurl): Likewise.
49092         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
49093         than necessarily for this particular distribution.  Use
49094         REPORT_BUGS_TO for where to report bugs.
49095         * INSTALL: Regenerated.
49096         * manual/libc.texinfo: Include pkgvers.texi.
49097         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
49098         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
49099         (print_version): Use PKGVERSION.
49100         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
49101         (print_version): Use PKGVERSION.
49102         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
49103         (print_version): Use PKGVERSION.
49104         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
49105         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
49106         macro.
49107         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
49108         (print_version): Use PKGVERSION.
49109         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
49110         (print_version): Use PKGVERSION.
49111         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
49112         and PKGVERSION.
49114         * timezone/checktab.awk: Update from tzcode 2012i.
49115         * timezone/ialloc.c: Likewise.
49116         * timezone/private.h: Likewise.
49117         * timezone/scheck.c: Likewise.
49118         * timezone/tzfile.h: Likewise.
49119         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
49120         (TZVERSION): Hardcode tzcode version number.
49121         * timezone/zdump.c: Update from tzcode 2012i.
49122         * timezone/zic.c: Likewise.
49123         * timezone/version.h: New file.
49124         * timezone/README: Describe version.h.  Update upstream location.
49126         [BZ #14824]
49127         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
49128         (mktemp): Enable declaration.
49129         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
49130         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
49131         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
49132         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
49133         Likewise.
49134         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
49135         Likewise.
49136         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
49137         Likewise.
49138         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
49139         Likewise.
49140         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
49141         Likewise.
49142         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
49143         Likewise.
49145         [BZ #14821]
49146         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
49147         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
49148         for copies of such integer values.
49149         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49150         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49152 2012-11-09  Andreas Jaeger  <aj@suse.de>
49154         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
49155         definitions and declarations that are provided by
49156         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
49158 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49160         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
49161         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
49162         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
49163         definition.
49165 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49167         * elf/elf.h: Update comment before AArch64 relocations.
49169 2012-11-07  David S. Miller  <davem@davemloft.net>
49171         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
49172         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
49173         (__start_context): Declare.
49174         (__makecontext_ret): Delete.
49175         (__makecontext): Hook up __start_context instead of
49176         __makecontext_ret.
49177         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
49178         (sysdep_routines): Add __start_context when in stdlib.
49180 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49182         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
49183         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
49184         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
49185         hardcoded "nm".
49186         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
49187         (READELF): New variable.  Use it instead of hardcoded "readelf".
49189 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
49191         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
49192         * sysdeps/x86/Makefile: Here.
49193         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
49194         * sysdeps/x86/tst-xmmymm.sh: This.
49196 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49198         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
49199         expectations.
49200         [UNIX98] (pthread_barrier_t): Do not expect.
49201         [UNIX98] (pthread_barrierattr_t): Likewise.
49202         [UNIX98] (pthread_spinlock_t): Likewise.
49203         [UNIX98] (pthread_barrier_destroy): Likewise.
49204         [UNIX98] (pthread_barrier_init): Likewise.
49205         [UNIX98] (pthread_barrier_wait): Likewise.
49206         [UNIX98] (pthread_barrierattr_destroy): Likewise.
49207         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
49208         [UNIX98] (pthread_barrierattr_init): Likewise.
49209         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
49210         [UNIX98] (pthread_getcpuclockid): Likewise.
49211         [UNIX98] (pthread_mutex_timedlock): Likewise.
49212         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
49213         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
49214         [UNIX98] (pthread_sigmask): Likewise.
49215         [UNIX98] (pthread_spin_destroy): Likewise.
49216         [UNIX98] (pthread_spin_init): Likewise.
49217         [UNIX98] (pthread_spin_lock): Likewise.
49218         [UNIX98] (pthread_spin_trylock): Likewise.
49219         [UNIX98] (pthread_spin_unlock): Likewise.
49220         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
49221         Do not expect.
49222         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
49223         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
49224         [XPG3 || XPG4] (pthread_cond_t): Likewise.
49225         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
49226         [XPG3 || XPG4] (pthread_key_t): Likewise.
49227         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
49228         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
49229         [XPG3 || XPG4] (pthread_once_t): Likewise.
49230         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
49231         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
49232         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
49233         [XPG3 || XPG4] (pthread_t): Likewise.
49235         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
49236         not expect.
49237         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
49239         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
49240         Change function return type to int.
49242         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
49243         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
49244         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
49245         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
49246         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
49247         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
49248         [!POSIX] (posix_madvise): Likewise.
49249         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
49250         && !UNIX98].
49251         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
49252         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
49253         (mode_t): Likewise.
49254         (posix_mem_offset): Likewise.
49255         (posix_typed_mem_get_info): Likewise.
49256         (posix_typed_mem_open): Likewise.
49258         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
49259         Change condition to [XOPEN2K8].
49261         * conform/conformtest.pl: Preprocess allow-header data with -x c
49262         instead of from stdin.
49263         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
49264         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
49265         [C99-based standards] (cerfc): Likewise.
49266         [C99-based standards] (cexp2): Likewise.
49267         [C99-based standards] (cexpm1): Likewise.
49268         [C99-based standards] (clog10): Likewise.
49269         [C99-based standards] (clog1p): Likewise.
49270         [C99-based standards] (clog2): Likewise.
49271         [C99-based standards] (clgamma): Likewise.
49272         [C99-based standards] (ctgamma): Likewise.
49273         [C99-based standards] (cerff): Likewise.
49274         [C99-based standards] (cerfcf): Likewise.
49275         [C99-based standards] (cexp2f): Likewise.
49276         [C99-based standards] (cexpm1f): Likewise.
49277         [C99-based standards] (clog10f): Likewise.
49278         [C99-based standards] (clog1pf): Likewise.
49279         [C99-based standards] (clog2f): Likewise.
49280         [C99-based standards] (clgammaf): Likewise.
49281         [C99-based standards] (ctgammaf): Likewise.
49282         [C99-based standards] (cerfl): Likewise.
49283         [C99-based standards] (cerfcl): Likewise.
49284         [C99-based standards] (cexp2l): Likewise.
49285         [C99-based standards] (cexpm1l): Likewise.
49286         [C99-based standards] (clog10l): Likewise.
49287         [C99-based standards] (clog1pl): Likewise.
49288         [C99-based standards] (clog2l): Likewise.
49289         [C99-based standards] (clgammal): Likewise.
49290         [C99-based standards] (ctgammal): Likewise.
49291         * conform/data/inttypes.h-data [C99-based standards]: Include
49292         stdint.h-data.  Remove all expectations for stdint.h contents.
49293         [C99-based standards] (PRI*): Do not allow.
49294         [C99-based standards] (SCN*): Likewise.
49295         [C99-based standards] (*_t): Likewise.
49296         [C99-based-standards] (PRId8): Expect macro.
49297         [C99-based-standards] (PRIi8): Likewise.
49298         [C99-based-standards] (PRIo8): Likewise.
49299         [C99-based-standards] (PRIu8): Likewise.
49300         [C99-based-standards] (PRIx8): Likewise.
49301         [C99-based-standards] (PRIX8): Likewise.
49302         [C99-based-standards] (SCNd8): Likewise.
49303         [C99-based-standards] (SCNi8): Likewise.
49304         [C99-based-standards] (SCNo8): Likewise.
49305         [C99-based-standards] (SCNu8): Likewise.
49306         [C99-based-standards] (SCNx8): Likewise.
49307         [C99-based-standards] (PRIdLEAST8): Likewise.
49308         [C99-based-standards] (PRIiLEAST8): Likewise.
49309         [C99-based-standards] (PRIoLEAST8): Likewise.
49310         [C99-based-standards] (PRIuLEAST8): Likewise.
49311         [C99-based-standards] (PRIxLEAST8): Likewise.
49312         [C99-based-standards] (PRIXLEAST8): Likewise.
49313         [C99-based-standards] (SCNdLEAST8): Likewise.
49314         [C99-based-standards] (SCNiLEAST8): Likewise.
49315         [C99-based-standards] (SCNoLEAST8): Likewise.
49316         [C99-based-standards] (SCNuLEAST8): Likewise.
49317         [C99-based-standards] (SCNxLEAST8): Likewise.
49318         [C99-based-standards] (PRIdFAST8): Likewise.
49319         [C99-based-standards] (PRIiFAST8): Likewise.
49320         [C99-based-standards] (PRIoFAST8): Likewise.
49321         [C99-based-standards] (PRIuFAST8): Likewise.
49322         [C99-based-standards] (PRIxFAST8): Likewise.
49323         [C99-based-standards] (PRIXFAST8): Likewise.
49324         [C99-based-standards] (SCNdFAST8): Likewise.
49325         [C99-based-standards] (SCNiFAST8): Likewise.
49326         [C99-based-standards] (SCNoFAST8): Likewise.
49327         [C99-based-standards] (SCNuFAST8): Likewise.
49328         [C99-based-standards] (SCNxFAST8): Likewise.
49329         [C99-based-standards] (PRId16): Likewise.
49330         [C99-based-standards] (PRIi16): Likewise.
49331         [C99-based-standards] (PRIo16): Likewise.
49332         [C99-based-standards] (PRIu16): Likewise.
49333         [C99-based-standards] (PRIx16): Likewise.
49334         [C99-based-standards] (PRIX16): Likewise.
49335         [C99-based-standards] (SCNd16): Likewise.
49336         [C99-based-standards] (SCNi16): Likewise.
49337         [C99-based-standards] (SCNo16): Likewise.
49338         [C99-based-standards] (SCNu16): Likewise.
49339         [C99-based-standards] (SCNx16): Likewise.
49340         [C99-based-standards] (PRIdLEAST16): Likewise.
49341         [C99-based-standards] (PRIiLEAST16): Likewise.
49342         [C99-based-standards] (PRIoLEAST16): Likewise.
49343         [C99-based-standards] (PRIuLEAST16): Likewise.
49344         [C99-based-standards] (PRIxLEAST16): Likewise.
49345         [C99-based-standards] (PRIXLEAST16): Likewise.
49346         [C99-based-standards] (SCNdLEAST16): Likewise.
49347         [C99-based-standards] (SCNiLEAST16): Likewise.
49348         [C99-based-standards] (SCNoLEAST16): Likewise.
49349         [C99-based-standards] (SCNuLEAST16): Likewise.
49350         [C99-based-standards] (SCNxLEAST16): Likewise.
49351         [C99-based-standards] (PRIdFAST16): Likewise.
49352         [C99-based-standards] (PRIiFAST16): Likewise.
49353         [C99-based-standards] (PRIoFAST16): Likewise.
49354         [C99-based-standards] (PRIuFAST16): Likewise.
49355         [C99-based-standards] (PRIxFAST16): Likewise.
49356         [C99-based-standards] (PRIXFAST16): Likewise.
49357         [C99-based-standards] (SCNdFAST16): Likewise.
49358         [C99-based-standards] (SCNiFAST16): Likewise.
49359         [C99-based-standards] (SCNoFAST16): Likewise.
49360         [C99-based-standards] (SCNuFAST16): Likewise.
49361         [C99-based-standards] (SCNxFAST16): Likewise.
49362         [C99-based-standards] (PRId32): Likewise.
49363         [C99-based-standards] (PRIi32): Likewise.
49364         [C99-based-standards] (PRIo32): Likewise.
49365         [C99-based-standards] (PRIu32): Likewise.
49366         [C99-based-standards] (PRIx32): Likewise.
49367         [C99-based-standards] (PRIX32): Likewise.
49368         [C99-based-standards] (SCNd32): Likewise.
49369         [C99-based-standards] (SCNi32): Likewise.
49370         [C99-based-standards] (SCNo32): Likewise.
49371         [C99-based-standards] (SCNu32): Likewise.
49372         [C99-based-standards] (SCNx32): Likewise.
49373         [C99-based-standards] (PRIdLEAST32): Likewise.
49374         [C99-based-standards] (PRIiLEAST32): Likewise.
49375         [C99-based-standards] (PRIoLEAST32): Likewise.
49376         [C99-based-standards] (PRIuLEAST32): Likewise.
49377         [C99-based-standards] (PRIxLEAST32): Likewise.
49378         [C99-based-standards] (PRIXLEAST32): Likewise.
49379         [C99-based-standards] (SCNdLEAST32): Likewise.
49380         [C99-based-standards] (SCNiLEAST32): Likewise.
49381         [C99-based-standards] (SCNoLEAST32): Likewise.
49382         [C99-based-standards] (SCNuLEAST32): Likewise.
49383         [C99-based-standards] (SCNxLEAST32): Likewise.
49384         [C99-based-standards] (PRIdFAST32): Likewise.
49385         [C99-based-standards] (PRIiFAST32): Likewise.
49386         [C99-based-standards] (PRIoFAST32): Likewise.
49387         [C99-based-standards] (PRIuFAST32): Likewise.
49388         [C99-based-standards] (PRIxFAST32): Likewise.
49389         [C99-based-standards] (PRIXFAST32): Likewise.
49390         [C99-based-standards] (SCNdFAST32): Likewise.
49391         [C99-based-standards] (SCNiFAST32): Likewise.
49392         [C99-based-standards] (SCNoFAST32): Likewise.
49393         [C99-based-standards] (SCNuFAST32): Likewise.
49394         [C99-based-standards] (SCNxFAST32): Likewise.
49395         [C99-based-standards] (PRId64): Likewise.
49396         [C99-based-standards] (PRIi64): Likewise.
49397         [C99-based-standards] (PRIo64): Likewise.
49398         [C99-based-standards] (PRIu64): Likewise.
49399         [C99-based-standards] (PRIx64): Likewise.
49400         [C99-based-standards] (PRIX64): Likewise.
49401         [C99-based-standards] (SCNd64): Likewise.
49402         [C99-based-standards] (SCNi64): Likewise.
49403         [C99-based-standards] (SCNo64): Likewise.
49404         [C99-based-standards] (SCNu64): Likewise.
49405         [C99-based-standards] (SCNx64): Likewise.
49406         [C99-based-standards] (PRIdLEAST64): Likewise.
49407         [C99-based-standards] (PRIiLEAST64): Likewise.
49408         [C99-based-standards] (PRIoLEAST64): Likewise.
49409         [C99-based-standards] (PRIuLEAST64): Likewise.
49410         [C99-based-standards] (PRIxLEAST64): Likewise.
49411         [C99-based-standards] (PRIXLEAST64): Likewise.
49412         [C99-based-standards] (SCNdLEAST64): Likewise.
49413         [C99-based-standards] (SCNiLEAST64): Likewise.
49414         [C99-based-standards] (SCNoLEAST64): Likewise.
49415         [C99-based-standards] (SCNuLEAST64): Likewise.
49416         [C99-based-standards] (SCNxLEAST64): Likewise.
49417         [C99-based-standards] (PRIdFAST64): Likewise.
49418         [C99-based-standards] (PRIiFAST64): Likewise.
49419         [C99-based-standards] (PRIoFAST64): Likewise.
49420         [C99-based-standards] (PRIuFAST64): Likewise.
49421         [C99-based-standards] (PRIxFAST64): Likewise.
49422         [C99-based-standards] (PRIXFAST64): Likewise.
49423         [C99-based-standards] (SCNdFAST64): Likewise.
49424         [C99-based-standards] (SCNiFAST64): Likewise.
49425         [C99-based-standards] (SCNoFAST64): Likewise.
49426         [C99-based-standards] (SCNuFAST64): Likewise.
49427         [C99-based-standards] (SCNxFAST64): Likewise.
49428         [C99-based-standards] (PRIdMAX): Likewise.
49429         [C99-based-standards] (PRIiMAX): Likewise.
49430         [C99-based-standards] (PRIoMAX): Likewise.
49431         [C99-based-standards] (PRIuMAX): Likewise.
49432         [C99-based-standards] (PRIxMAX): Likewise.
49433         [C99-based-standards] (PRIXMAX): Likewise.
49434         [C99-based-standards] (SCNdMAX): Likewise.
49435         [C99-based-standards] (SCNiMAX): Likewise.
49436         [C99-based-standards] (SCNoMAX): Likewise.
49437         [C99-based-standards] (SCNuMAX): Likewise.
49438         [C99-based-standards] (SCNxMAX): Likewise.
49439         [C99-based-standards] (PRIdPTR): Likewise.
49440         [C99-based-standards] (PRIiPTR): Likewise.
49441         [C99-based-standards] (PRIoPTR): Likewise.
49442         [C99-based-standards] (PRIuPTR): Likewise.
49443         [C99-based-standards] (PRIxPTR): Likewise.
49444         [C99-based-standards] (PRIXPTR): Likewise.
49445         [C99-based-standards] (SCNdPTR): Likewise.
49446         [C99-based-standards] (SCNiPTR): Likewise.
49447         [C99-based-standards] (SCNoPTR): Likewise.
49448         [C99-based-standards] (SCNuPTR): Likewise.
49449         [C99-based-standards] (SCNxPTR): Likewise.
49450         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
49451         allow.
49452         * conform/data/stdint.h-data: Update comments to clarify
49453         requirements.
49454         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
49455         type.
49456         [C99-based standards] (INT8_MAX): Likewise.
49457         [C99-based standards] (INT16_MIN): Likewise.
49458         [C99-based standards] (INT16_MAX): Likewise.
49459         [C99-based standards] (INT32_MIN): Likewise.
49460         [C99-based standards] (INT32_MAX): Likewise.
49461         [C99-based standards] (INT64_MIN): Likewise.
49462         [C99-based standards] (INT64_MAX): Likewise.
49463         [C99-based standards] (UINT8_MAX): Likewise.
49464         [C99-based standards] (UINT16_MAX): Likewise.
49465         [C99-based standards] (UINT32_MAX): Likewise.
49466         [C99-based standards] (UINT64_MAX): Likewise.
49467         [C99-based standards] (INT_LEAST8_MIN): Likewise.
49468         [C99-based standards] (INT_LEAST8_MAX): Likewise.
49469         [C99-based standards] (INT_LEAST16_MIN): Likewise.
49470         [C99-based standards] (INT_LEAST16_MAX): Likewise.
49471         [C99-based standards] (INT_LEAST32_MIN): Likewise.
49472         [C99-based standards] (INT_LEAST32_MAX): Likewise.
49473         [C99-based standards] (INT_LEAST64_MIN): Likewise.
49474         [C99-based standards] (INT_LEAST64_MAX): Likewise.
49475         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
49476         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
49477         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
49478         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
49479         [C99-based standards] (INT_FAST8_MIN): Likewise.
49480         [C99-based standards] (INT_FAST8_MAX): Likewise.
49481         [C99-based standards] (INT_FAST16_MIN): Likewise.
49482         [C99-based standards] (INT_FAST16_MAX): Likewise.
49483         [C99-based standards] (INT_FAST32_MIN): Likewise.
49484         [C99-based standards] (INT_FAST32_MAX): Likewise.
49485         [C99-based standards] (INT_FAST64_MIN): Likewise.
49486         [C99-based standards] (INT_FAST64_MAX): Likewise.
49487         [C99-based standards] (UINT_FAST8_MAX): Likewise.
49488         [C99-based standards] (UINT_FAST16_MAX): Likewise.
49489         [C99-based standards] (UINT_FAST32_MAX): Likewise.
49490         [C99-based standards] (UINT_FAST64_MAX): Likewise.
49491         [C99-based standards] (INTPTR_MIN): Likewise.
49492         [C99-based standards] (INTPTR_MAX): Likewise.
49493         [C99-based standards] (UINTPTR_MAX): Likewise.
49494         [C99-based standards] (INTMAX_MIN): Likewise.
49495         [C99-based standards] (INTMAX_MAX): Likewise.
49496         [C99-based standards] (UINTMAX_MAX): Likewise.
49497         [C99-based standards] (PTRDIFF_MIN): Likewise.
49498         [C99-based standards] (PTRDIFF_MAX): Likewise.
49499         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
49500         [C99-based standards] (SIZE_MAX): Likewise.
49501         [C99-based standards] (WCHAR_MAX): Likewise.
49502         [C99-based standards] (WINT_MAX): Likewise.
49503         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
49504         constraint on value.
49505         [C99-based standards] (WCHAR_MIN): Likewise.
49506         [C99-based standards] (WINT_MIN): Likewise.
49507         [C99-based standards] (*_t): Allow.
49508         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
49509         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
49510         Include math.h-data and complex.h-data.  Remove all expectations
49511         of math.h and complex.h contents.
49512         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
49513         at end of line.
49514         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
49515         (struct tm): Expect tag.
49516         [C99-based-standards] (wcstof): Expect function.
49517         [C99-based-standards] (wcstold): Likewise.
49518         [C99-based-standards] (wcstoll): Likewise.
49519         [C99-based-standards] (wcstoull): Likewise.
49520         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
49521         macro-int-constant.  Specify type.
49522         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
49523         constraint on value.
49524         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
49525         Specify type.
49526         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
49527         Specify value.
49528         [ISO C standards]: Do not allow headers.
49529         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
49530         wcs[abcdefghijklmnopqrstuvwxyz]*.
49531         [ISO C standards] (*_t): Do not allow.
49532         * conform/data/wctype.h-data [C99-based standards] (iswblank):
49533         Expect function.
49534         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
49535         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
49536         Specify type.
49537         [ISO C standards]: Do not allow headers.
49538         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
49539         is[abcdefghijklmnopqrstuvwxyz]*.
49540         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
49541         to[abcdefghijklmnopqrstuvwxyz]*.
49542         [ISO C standards] (*_t): Do not allow.
49543         * conform/data/stdalign.h-data: New file.
49544         * conform/data/stdbool.h-data: Likewise.
49545         * conform/data/stdnoreturn.h-data: Likewise.
49547 2012-11-07  Roland McGrath  <roland@hack.frob.com>
49549         [BZ #14815]
49550         * manual/filesys.texi (Directory Entries): Typo fix.
49551         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
49553 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49555         * elf/elf.h (EM_AARCH64): New macro.
49556         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
49557         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
49558         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
49559         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
49560         (R_AARCH64_TLSDESC): Likewise.
49561         (NT_ARM_TLS): Likewise.
49562         (NT_ARM_HW_BREAK): Likewise.
49563         (NT_ARM_HW_WATCH): Likewise.
49565 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49567         [BZ #14811]
49568         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
49569         (__ieee754_powl): Saturate nonzero exponents with absolute value
49570         below 0x1p-79 to +/- 0x1p-79.
49571         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
49572         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
49573         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
49574         nonzero exponents with absolute value below 0x1p-32 to +/-
49575         0x1p-32.
49576         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
49577         (__ieee754_powl): Saturate nonzero exponents with absolute value
49578         below 0x1p-79 to +/- 0x1p-79.
49579         * math/libm-test.inc (pow_test): Add more tests.
49581 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49583         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
49584         _dl_s390_cap_flags with kernel. Increase string length.
49585         (_dl_s390_platforms): Add z196 and zEC12.
49587 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49589         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
49590         Change XOPEN21K to XOPEN2K.
49592 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
49594         * string/memmove.c: Use memcpy when possible.
49596 2012-11-06  Andreas Jaeger  <aj@suse.de>
49598         * po/eo.po: Update from translation team.
49600 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
49602         [BZ #14793]
49603         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
49604         exponent and small x and y exponents, scale x or y up.  Increase
49605         by 2 the exponent used in scaling up.
49606         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49607         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49608         * math/libm-test.inc (fma_test): Add more tests.
49609         (fma_test_towardzero): Likewise.
49610         (fma_test_downward): Likewise.
49611         (fma_test_upward): Likewise.
49613 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
49615         [BZ #14805]
49616         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
49617         fenv_t *.
49619         [BZ #14801]
49620         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
49621         namespace for names of struct fields.
49622         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
49623         fenv_t fields.
49624         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
49625         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
49627 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49629         [BZ #3665]
49630         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
49632 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
49634         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
49635         PTR_DEMANGLE.
49637         [BZ #5246]
49638         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
49639         PTR_DEMANGLE.
49641 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
49643         [BZ #14797]
49644         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
49645         definitely overflow as x * y not x * y + z.
49646         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49647         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49648         * math/libm-test.inc (fma_test): Add more tests.
49649         (fma_test_towardzero): Likewise.
49650         (fma_test_downward): Likewise.
49651         (fma_test_upward): Likewise.
49653 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
49655         [BZ #157]
49657         * include/stub-tag.h: Remove file.
49658         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
49659         '#include' of it.
49660         * manual/maint.texi (Porting): Don't reference it.
49661         * Makerules ($(objpfx)stubs): Likewise.
49662         * dirent/closedir.c: Don't include <stub-tag.h>.
49663         * dirent/dirfd.c: Likewise.
49664         * dirent/fdopendir.c: Likewise.
49665         * dirent/getdents.c: Likewise.
49666         * dirent/getdents64.c: Likewise.
49667         * dirent/opendir.c: Likewise.
49668         * dirent/readdir.c: Likewise.
49669         * dirent/readdir64.c: Likewise.
49670         * dirent/readdir64_r.c: Likewise.
49671         * dirent/readdir_r.c: Likewise.
49672         * dirent/rewinddir.c: Likewise.
49673         * dirent/seekdir.c: Likewise.
49674         * dirent/telldir.c: Likewise.
49675         * gmon/profil.c: Likewise.
49676         * grp/setgroups.c: Likewise.
49677         * inet/if_index.c: Likewise.
49678         * io/access.c: Likewise.
49679         * io/chdir.c: Likewise.
49680         * io/chmod.c: Likewise.
49681         * io/chown.c: Likewise.
49682         * io/close.c: Likewise.
49683         * io/dup.c: Likewise.
49684         * io/dup2.c: Likewise.
49685         * io/dup3.c: Likewise.
49686         * io/euidaccess.c: Likewise.
49687         * io/faccessat.c: Likewise.
49688         * io/fchdir.c: Likewise.
49689         * io/fchmod.c: Likewise.
49690         * io/fchmodat.c: Likewise.
49691         * io/fchown.c: Likewise.
49692         * io/fchownat.c: Likewise.
49693         * io/fcntl.c: Likewise.
49694         * io/flock.c: Likewise.
49695         * io/fstatfs.c: Likewise.
49696         * io/fstatfs64.c: Likewise.
49697         * io/fstatvfs.c: Likewise.
49698         * io/fstatvfs64.c: Likewise.
49699         * io/futimens.c: Likewise.
49700         * io/fxstat.c: Likewise.
49701         * io/fxstat64.c: Likewise.
49702         * io/fxstatat.c: Likewise.
49703         * io/fxstatat64.c: Likewise.
49704         * io/getcwd.c: Likewise.
49705         * io/isatty.c: Likewise.
49706         * io/lchmod.c: Likewise.
49707         * io/lchown.c: Likewise.
49708         * io/link.c: Likewise.
49709         * io/linkat.c: Likewise.
49710         * io/lseek.c: Likewise.
49711         * io/lseek64.c: Likewise.
49712         * io/lxstat64.c: Likewise.
49713         * io/mkdir.c: Likewise.
49714         * io/mkdirat.c: Likewise.
49715         * io/mkfifo.c: Likewise.
49716         * io/mkfifoat.c: Likewise.
49717         * io/open.c: Likewise.
49718         * io/open64.c: Likewise.
49719         * io/openat.c: Likewise.
49720         * io/openat64.c: Likewise.
49721         * io/pipe.c: Likewise.
49722         * io/pipe2.c: Likewise.
49723         * io/poll.c: Likewise.
49724         * io/posix_fadvise.c: Likewise.
49725         * io/posix_fadvise64.c: Likewise.
49726         * io/posix_fallocate.c: Likewise.
49727         * io/posix_fallocate64.c: Likewise.
49728         * io/read.c: Likewise.
49729         * io/readlink.c: Likewise.
49730         * io/readlinkat.c: Likewise.
49731         * io/rmdir.c: Likewise.
49732         * io/sendfile.c: Likewise.
49733         * io/sendfile64.c: Likewise.
49734         * io/statfs.c: Likewise.
49735         * io/statfs64.c: Likewise.
49736         * io/statvfs.c: Likewise.
49737         * io/statvfs64.c: Likewise.
49738         * io/symlink.c: Likewise.
49739         * io/symlinkat.c: Likewise.
49740         * io/ttyname.c: Likewise.
49741         * io/ttyname_r.c: Likewise.
49742         * io/umask.c: Likewise.
49743         * io/unlink.c: Likewise.
49744         * io/unlinkat.c: Likewise.
49745         * io/utime.c: Likewise.
49746         * io/utimensat.c: Likewise.
49747         * io/write.c: Likewise.
49748         * io/xmknod.c: Likewise.
49749         * io/xmknodat.c: Likewise.
49750         * io/xstat.c: Likewise.
49751         * io/xstat64.c: Likewise.
49752         * login/getpt.c: Likewise.
49753         * login/grantpt.c: Likewise.
49754         * login/unlockpt.c: Likewise.
49755         * math/e_acoshl.c: Likewise.
49756         * math/e_acosl.c: Likewise.
49757         * math/e_asinl.c: Likewise.
49758         * math/e_atan2l.c: Likewise.
49759         * math/e_atanhl.c: Likewise.
49760         * math/e_coshl.c: Likewise.
49761         * math/e_expl.c: Likewise.
49762         * math/e_fmodl.c: Likewise.
49763         * math/e_gammal_r.c: Likewise.
49764         * math/e_hypotl.c: Likewise.
49765         * math/e_j0l.c: Likewise.
49766         * math/e_j1l.c: Likewise.
49767         * math/e_jnl.c: Likewise.
49768         * math/e_lgammal_r.c: Likewise.
49769         * math/e_log10l.c: Likewise.
49770         * math/e_log2l.c: Likewise.
49771         * math/e_logl.c: Likewise.
49772         * math/e_powl.c: Likewise.
49773         * math/e_rem_pio2l.c: Likewise.
49774         * math/e_sinhl.c: Likewise.
49775         * math/e_sqrtl.c: Likewise.
49776         * math/fclrexcpt.c: Likewise.
49777         * math/fedisblxcpt.c: Likewise.
49778         * math/feenablxcpt.c: Likewise.
49779         * math/fegetenv.c: Likewise.
49780         * math/fegetexcept.c: Likewise.
49781         * math/fegetround.c: Likewise.
49782         * math/feholdexcpt.c: Likewise.
49783         * math/fesetenv.c: Likewise.
49784         * math/fesetround.c: Likewise.
49785         * math/feupdateenv.c: Likewise.
49786         * math/fgetexcptflg.c: Likewise.
49787         * math/fraiseexcpt.c: Likewise.
49788         * math/fsetexcptflg.c: Likewise.
49789         * math/ftestexcept.c: Likewise.
49790         * math/k_cosl.c: Likewise.
49791         * math/k_rem_pio2l.c: Likewise.
49792         * math/k_sinl.c: Likewise.
49793         * math/k_tanl.c: Likewise.
49794         * math/s_asinhl.c: Likewise.
49795         * math/s_atanl.c: Likewise.
49796         * math/s_cbrtl.c: Likewise.
49797         * math/s_erfl.c: Likewise.
49798         * math/s_expm1l.c: Likewise.
49799         * math/s_log1pl.c: Likewise.
49800         * math/s_tanhl.c: Likewise.
49801         * misc/acct.c: Likewise.
49802         * misc/brk.c: Likewise.
49803         * misc/chflags.c: Likewise.
49804         * misc/chroot.c: Likewise.
49805         * misc/fchflags.c: Likewise.
49806         * misc/fgetxattr.c: Likewise.
49807         * misc/flistxattr.c: Likewise.
49808         * misc/fremovexattr.c: Likewise.
49809         * misc/fsetxattr.c: Likewise.
49810         * misc/fsync.c: Likewise.
49811         * misc/ftruncate.c: Likewise.
49812         * misc/futimes.c: Likewise.
49813         * misc/futimesat.c: Likewise.
49814         * misc/getdomain.c: Likewise.
49815         * misc/getdtsz.c: Likewise.
49816         * misc/gethostid.c: Likewise.
49817         * misc/gethostname.c: Likewise.
49818         * misc/getloadavg.c: Likewise.
49819         * misc/getpagesize.c: Likewise.
49820         * misc/getsysstats.c: Likewise.
49821         * misc/getxattr.c: Likewise.
49822         * misc/gtty.c: Likewise.
49823         * misc/ioctl.c: Likewise.
49824         * misc/lgetxattr.c: Likewise.
49825         * misc/listxattr.c: Likewise.
49826         * misc/llistxattr.c: Likewise.
49827         * misc/lremovexattr.c: Likewise.
49828         * misc/lsetxattr.c: Likewise.
49829         * misc/lutimes.c: Likewise.
49830         * misc/madvise.c: Likewise.
49831         * misc/mincore.c: Likewise.
49832         * misc/mlock.c: Likewise.
49833         * misc/mlockall.c: Likewise.
49834         * misc/mmap.c: Likewise.
49835         * misc/mprotect.c: Likewise.
49836         * misc/msync.c: Likewise.
49837         * misc/munlock.c: Likewise.
49838         * misc/munlockall.c: Likewise.
49839         * misc/munmap.c: Likewise.
49840         * misc/preadv.c: Likewise.
49841         * misc/preadv64.c: Likewise.
49842         * misc/ptrace.c: Likewise.
49843         * misc/pwritev.c: Likewise.
49844         * misc/pwritev64.c: Likewise.
49845         * misc/readv.c: Likewise.
49846         * misc/reboot.c: Likewise.
49847         * misc/remap_file_pages.c: Likewise.
49848         * misc/removexattr.c: Likewise.
49849         * misc/revoke.c: Likewise.
49850         * misc/select.c: Likewise.
49851         * misc/setdomain.c: Likewise.
49852         * misc/setegid.c: Likewise.
49853         * misc/seteuid.c: Likewise.
49854         * misc/sethostid.c: Likewise.
49855         * misc/sethostname.c: Likewise.
49856         * misc/setregid.c: Likewise.
49857         * misc/setreuid.c: Likewise.
49858         * misc/setxattr.c: Likewise.
49859         * misc/sstk.c: Likewise.
49860         * misc/stty.c: Likewise.
49861         * misc/swapoff.c: Likewise.
49862         * misc/swapon.c: Likewise.
49863         * misc/sync.c: Likewise.
49864         * misc/syncfs.c: Likewise.
49865         * misc/syscall.c: Likewise.
49866         * misc/truncate.c: Likewise.
49867         * misc/ualarm.c: Likewise.
49868         * misc/usleep.c: Likewise.
49869         * misc/ustat.c: Likewise.
49870         * misc/utimes.c: Likewise.
49871         * misc/vhangup.c: Likewise.
49872         * misc/writev.c: Likewise.
49873         * posix/_exit.c: Likewise.
49874         * posix/alarm.c: Likewise.
49875         * posix/execve.c: Likewise.
49876         * posix/fexecve.c: Likewise.
49877         * posix/fork.c: Likewise.
49878         * posix/fpathconf.c: Likewise.
49879         * posix/getaddrinfo.c: Likewise.
49880         * posix/getegid.c: Likewise.
49881         * posix/geteuid.c: Likewise.
49882         * posix/getgid.c: Likewise.
49883         * posix/getgroups.c: Likewise.
49884         * posix/getlogin.c: Likewise.
49885         * posix/getlogin_r.c: Likewise.
49886         * posix/getpgid.c: Likewise.
49887         * posix/getpid.c: Likewise.
49888         * posix/getppid.c: Likewise.
49889         * posix/getresgid.c: Likewise.
49890         * posix/getresuid.c: Likewise.
49891         * posix/getsid.c: Likewise.
49892         * posix/getuid.c: Likewise.
49893         * posix/glob64.c: Likewise.
49894         * posix/nanosleep.c: Likewise.
49895         * posix/pathconf.c: Likewise.
49896         * posix/pause.c: Likewise.
49897         * posix/posix_madvise.c: Likewise.
49898         * posix/pread.c: Likewise.
49899         * posix/pread64.c: Likewise.
49900         * posix/pwrite.c: Likewise.
49901         * posix/pwrite64.c: Likewise.
49902         * posix/sched_getaffinity.c: Likewise.
49903         * posix/sched_getp.c: Likewise.
49904         * posix/sched_gets.c: Likewise.
49905         * posix/sched_primax.c: Likewise.
49906         * posix/sched_primin.c: Likewise.
49907         * posix/sched_rr_gi.c: Likewise.
49908         * posix/sched_setaffinity.c: Likewise.
49909         * posix/sched_setp.c: Likewise.
49910         * posix/sched_sets.c: Likewise.
49911         * posix/sched_yield.c: Likewise.
49912         * posix/setgid.c: Likewise.
49913         * posix/setlogin.c: Likewise.
49914         * posix/setpgid.c: Likewise.
49915         * posix/setresgid.c: Likewise.
49916         * posix/setresuid.c: Likewise.
49917         * posix/setsid.c: Likewise.
49918         * posix/setuid.c: Likewise.
49919         * posix/sleep.c: Likewise.
49920         * posix/spawni.c: Likewise.
49921         * posix/sysconf.c: Likewise.
49922         * posix/times.c: Likewise.
49923         * posix/wait.c: Likewise.
49924         * posix/wait3.c: Likewise.
49925         * posix/wait4.c: Likewise.
49926         * posix/waitpid.c: Likewise.
49927         * resolv/gai_sigqueue.c: Likewise.
49928         * resource/getpriority.c: Likewise.
49929         * resource/getrlimit.c: Likewise.
49930         * resource/getrusage.c: Likewise.
49931         * resource/nice.c: Likewise.
49932         * resource/setpriority.c: Likewise.
49933         * resource/setrlimit.c: Likewise.
49934         * resource/ulimit.c: Likewise.
49935         * rt/aio_cancel.c: Likewise.
49936         * rt/aio_fsync.c: Likewise.
49937         * rt/aio_read.c: Likewise.
49938         * rt/aio_sigqueue.c: Likewise.
49939         * rt/aio_suspend.c: Likewise.
49940         * rt/aio_write.c: Likewise.
49941         * rt/clock_getres.c: Likewise.
49942         * rt/clock_gettime.c: Likewise.
49943         * rt/clock_nanosleep.c: Likewise.
49944         * rt/clock_settime.c: Likewise.
49945         * rt/lio_listio.c: Likewise.
49946         * rt/mq_close.c: Likewise.
49947         * rt/mq_getattr.c: Likewise.
49948         * rt/mq_notify.c: Likewise.
49949         * rt/mq_open.c: Likewise.
49950         * rt/mq_receive.c: Likewise.
49951         * rt/mq_send.c: Likewise.
49952         * rt/mq_setattr.c: Likewise.
49953         * rt/mq_timedreceive.c: Likewise.
49954         * rt/mq_timedsend.c: Likewise.
49955         * rt/mq_unlink.c: Likewise.
49956         * rt/shm_open.c: Likewise.
49957         * rt/shm_unlink.c: Likewise.
49958         * rt/timer_create.c: Likewise.
49959         * rt/timer_delete.c: Likewise.
49960         * rt/timer_getoverr.c: Likewise.
49961         * rt/timer_gettime.c: Likewise.
49962         * rt/timer_settime.c: Likewise.
49963         * setjmp/__longjmp.c: Likewise.
49964         * setjmp/setjmp.c: Likewise.
49965         * signal/kill.c: Likewise.
49966         * signal/killpg.c: Likewise.
49967         * signal/raise.c: Likewise.
49968         * signal/sigaction.c: Likewise.
49969         * signal/sigaltstack.c: Likewise.
49970         * signal/sigblock.c: Likewise.
49971         * signal/sigignore.c: Likewise.
49972         * signal/sigintr.c: Likewise.
49973         * signal/signal.c: Likewise.
49974         * signal/sigpause.c: Likewise.
49975         * signal/sigpending.c: Likewise.
49976         * signal/sigqueue.c: Likewise.
49977         * signal/sigreturn.c: Likewise.
49978         * signal/sigset.c: Likewise.
49979         * signal/sigsetmask.c: Likewise.
49980         * signal/sigstack.c: Likewise.
49981         * signal/sigsuspend.c: Likewise.
49982         * signal/sigtimedwait.c: Likewise.
49983         * signal/sigvec.c: Likewise.
49984         * signal/sigwait.c: Likewise.
49985         * signal/sigwaitinfo.c: Likewise.
49986         * signal/sysv_signal.c: Likewise.
49987         * socket/accept.c: Likewise.
49988         * socket/accept4.c: Likewise.
49989         * socket/bind.c: Likewise.
49990         * socket/connect.c: Likewise.
49991         * socket/getpeername.c: Likewise.
49992         * socket/getsockname.c: Likewise.
49993         * socket/getsockopt.c: Likewise.
49994         * socket/isfdtype.c: Likewise.
49995         * socket/listen.c: Likewise.
49996         * socket/recv.c: Likewise.
49997         * socket/recvfrom.c: Likewise.
49998         * socket/recvmsg.c: Likewise.
49999         * socket/send.c: Likewise.
50000         * socket/sendmsg.c: Likewise.
50001         * socket/sendto.c: Likewise.
50002         * socket/setsockopt.c: Likewise.
50003         * socket/shutdown.c: Likewise.
50004         * socket/sockatmark.c: Likewise.
50005         * socket/socket.c: Likewise.
50006         * socket/socketpair.c: Likewise.
50007         * stdio-common/ctermid.c: Likewise.
50008         * stdio-common/cuserid.c: Likewise.
50009         * stdio-common/remove.c: Likewise.
50010         * stdio-common/rename.c: Likewise.
50011         * stdio-common/renameat.c: Likewise.
50012         * stdio-common/tempname.c: Likewise.
50013         * stdlib/getcontext.c: Likewise.
50014         * stdlib/makecontext.c: Likewise.
50015         * stdlib/setcontext.c: Likewise.
50016         * stdlib/swapcontext.c: Likewise.
50017         * stdlib/system.c: Likewise.
50018         * streams/fattach.c: Likewise.
50019         * streams/fdetach.c: Likewise.
50020         * streams/getmsg.c: Likewise.
50021         * streams/getpmsg.c: Likewise.
50022         * streams/putmsg.c: Likewise.
50023         * streams/putpmsg.c: Likewise.
50024         * sysdeps/unix/bsd/getpt.c: Likewise.
50025         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
50026         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
50027         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
50028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50029         Likewise.
50030         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
50031         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50032         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
50033         * sysvipc/msgctl.c: Likewise.
50034         * sysvipc/msgget.c: Likewise.
50035         * sysvipc/msgrcv.c: Likewise.
50036         * sysvipc/msgsnd.c: Likewise.
50037         * sysvipc/semctl.c: Likewise.
50038         * sysvipc/semget.c: Likewise.
50039         * sysvipc/semop.c: Likewise.
50040         * sysvipc/semtimedop.c: Likewise.
50041         * sysvipc/shmat.c: Likewise.
50042         * sysvipc/shmctl.c: Likewise.
50043         * sysvipc/shmdt.c: Likewise.
50044         * sysvipc/shmget.c: Likewise.
50045         * termios/tcdrain.c: Likewise.
50046         * termios/tcflow.c: Likewise.
50047         * termios/tcflush.c: Likewise.
50048         * termios/tcgetattr.c: Likewise.
50049         * termios/tcgetpgrp.c: Likewise.
50050         * termios/tcsendbrk.c: Likewise.
50051         * termios/tcsetattr.c: Likewise.
50052         * termios/tcsetpgrp.c: Likewise.
50053         * time/adjtime.c: Likewise.
50054         * time/clock.c: Likewise.
50055         * time/getitimer.c: Likewise.
50056         * time/gettimeofday.c: Likewise.
50057         * time/setitimer.c: Likewise.
50058         * time/settimeofday.c: Likewise.
50059         * time/stime.c: Likewise.
50060         * time/time.c: Likewise.
50062 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
50064         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
50065         /usr/old/bin.
50067         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
50068         instead of spaces.
50069         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
50071 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
50073         [BZ #14796]
50074         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
50075         FE_TONEAREST before applying Dekker multiplication and Knuth
50076         addition.  Clear inexact exceptions and check for exact zero
50077         results afterwards.
50078         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50079         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
50080         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50081         * math/libm-test.inc (fma_test): Add more tests.
50082         (fma_test_towardzero): Likewise.
50083         (fma_test_downward): Likewise.
50084         (fma_test_upward): Likewise.
50085         * sysdeps/generic/math_private.h (default_libc_fesetround): New
50086         function.
50087         (libc_fesetround): New macro.
50088         (libc_fesetroundf): Likewise.
50089         (libc_fesetroundl): Likewise.
50090         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
50091         function.
50092         (libc_fesetround_387): Likewise.
50093         (libc_fesetroundf): New macro.
50094         (libc_fesetround): Likewise.
50095         (libc_fesetroundl): Likewise.
50096         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
50097         function.
50098         (libc_fesetroundf): New macro.
50099         (libc_fesetround): Likewise.
50100         (libc_fesetroundl): Likewise.
50101         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
50102         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
50103         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
50104         libm_hidden_ver.
50105         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
50106         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
50107         libm_hidden_def.
50108         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
50109         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
50110         libm_hidden_ver.
50111         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
50112         libm_hidden_def.
50114         [BZ #3439]
50115         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
50116         integer constant usable in #if and use that to give value to enum
50117         constant.
50118         (FE_DIVBYZERO): Likewise.
50119         (FE_UNDERFLOW): Likewise.
50120         (FE_OVERFLOW): Likewise.
50121         (FE_INVALID): Likewise.
50122         (FE_INVALID_SNAN): Likewise.
50123         (FE_INVALID_ISI): Likewise.
50124         (FE_INVALID_IDI): Likewise.
50125         (FE_INVALID_ZDZ): Likewise.
50126         (FE_INVALID_IMZ): Likewise.
50127         (FE_INVALID_COMPARE): Likewise.
50128         (FE_INVALID_SOFTWARE): Likewise.
50129         (FE_INVALID_SQRT): Likewise.
50130         (FE_INVALID_INTEGER_CONVERSION): Likewise.
50131         (FE_TONEAREST): Likewise.
50132         (FE_TOWARDZERO): Likewise.
50133         (FE_UPWARD): Likewise.
50134         (FE_DOWNWARD): Likewise.
50135         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
50136         (FE_DIVBYZERO): Likewise.
50137         (FE_OVERFLOW): Likewise.
50138         (FE_UNDERFLOW): Likewise.
50139         (FE_INEXACT): Likewise.
50140         (FE_TONEAREST): Likewise.
50141         (FE_DOWNWARD): Likewise.
50142         (FE_UPWARD): Likewise.
50143         (FE_TOWARDZERO): Likewise.
50144         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
50145         (FE_UNDERFLOW): Likewise.
50146         (FE_OVERFLOW): Likewise.
50147         (FE_DIVBYZERO): Likewise.
50148         (FE_INVALID): Likewise.
50149         (FE_TONEAREST): Likewise.
50150         (FE_TOWARDZERO): Likewise.
50151         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
50152         (FE_OVERFLOW): Likewise.
50153         (FE_UNDERFLOW): Likewise.
50154         (FE_DIVBYZERO): Likewise.
50155         (FE_INEXACT): Likewise.
50156         (FE_TONEAREST): Likewise.
50157         (FE_TOWARDZERO): Likewise.
50158         (FE_UPWARD): Likewise.
50159         (FE_DOWNWARD): Likewise.
50160         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
50161         (FE_DIVBYZERO): Likewise.
50162         (FE_OVERFLOW): Likewise.
50163         (FE_UNDERFLOW): Likewise.
50164         (FE_INEXACT): Likewise.
50165         (FE_TONEAREST): Likewise.
50166         (FE_DOWNWARD): Likewise.
50167         (FE_UPWARD): Likewise.
50168         (FE_TOWARDZERO): Likewise.
50170 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
50172         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
50174 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
50176         * scripts/cross-test-ssh.sh (command): Use newlines to separate
50177         commands.  Quote $PWD.
50178         (blacklist_exports): Don't use remove_newlines.  Replace "declare
50179         -x" by "export".
50180         (remove_newlines): Remove.
50182 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
50184         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
50185         * stdlib/stdlib.h (atof): Moved to ...
50186         * include/bits/stdlib-float.h: Here.  New file.
50187         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
50188         * stdlib/bits/stdlib-float.h: New file.
50189         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
50190         -mno-sse -mno-mmx.
50191         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
50192         <xmmintrin.h>.
50194 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
50196         * conform/conformtest.pl (@headers): Add fenv.h.
50197         * conform/data/fenv.h-data: New file.
50198         * include/fenv.h [_ISOMAC]: Disable all contents of file except
50199         include of <math/fenv.h>.
50201         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
50202         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
50203         && !UNIX98].  Enables tests for XOPEN2K8.
50204         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
50205         POSIX2008]: Likewise.
50207         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
50208         (struct rusage): Do not expect type or its members.
50210         [BZ #3439]
50211         * math/math.h (FP_NAN): Define macro to integer constant usable in
50212         #if and use that to give value to enum constant.
50213         (FP_INFINITE): Likewise.
50214         (FP_ZERO): Likewise.
50215         (FP_SUBNORMAL): Likewise.
50216         (FP_NORMAL): Likewise.
50218 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
50220         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
50221         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
50222         arguments.
50224 2012-11-02  Roland McGrath  <roland@hack.frob.com>
50226         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
50227         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
50228         autoconf-time if not.
50229         * configure.in: Remove AC_PREREQ.
50231 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50233         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
50234         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
50235         of the internal implementation.
50237 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
50239         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
50240         except include of <misc/sys/syslog.h>.
50242 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
50244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
50245         function returns with a NULL context exit with zero.
50247 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50249         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
50251 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
50253         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
50254         (run_program_cmd): This.
50255         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
50256         (tst_langinfo): New variable.  Use it.
50258 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
50260         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
50261         floating point opcodes.
50263 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
50265         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
50266         variable.
50268         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
50270         * sysdeps/mach/hurd/powerpc: Remove directory.
50271         * sysdeps/mach/powerpc: Likewise.
50273 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
50275         * scripts/check-local-headers.sh: Ignore c++ headers.
50277 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
50279         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
50280         __libc_cleanup_region_start argument.
50282 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
50284         [BZ #14784]
50285         [BZ #14785]
50286         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
50287         x * y using scaling, not as x * y + z.
50288         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50289         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50290         * math/libm-test.inc (fma_test): Add more tests.
50291         (fma_test_towardzero): Likewise.
50292         (fma_test_downward): Likewise.
50293         (fma_test_upward): Likewise.
50295 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
50297         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
50299 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
50301         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
50302         New variable.
50304 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
50306         * rt/tst-shm.c (worker): Correct checking for mmap failure.
50308 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
50310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50311         Fix sort order.
50312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50313         Likewise.
50315 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50318         Fix the order of the list for glibc 2.17.
50319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50320         Likewise.
50322 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
50324         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50326 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
50328         [BZ #14610]
50329         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
50330         for low part of x being zero before using __atanl (y).
50331         * math/libm-test.inc (atan2_test): Add another test.
50333         * manual/install.texi (Configuring and compiling): Document
50334         general use of test-wrapper and test-wrapper-env.
50335         * INSTALL: Regenerated.
50337         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
50338         (__fma): Do not extract and scale down low bits on after-rounding
50339         systems when result rounded to normal precision would have normal
50340         exponent.
50341         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
50342         (__fmal): Do not extract and scale down low bits on after-rounding
50343         systems when result rounded to normal precision would have normal
50344         exponent.
50345         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
50346         (__fmal): Do not extract and scale down low bits on after-rounding
50347         systems when result rounded to normal precision would have normal
50348         exponent.
50349         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
50350         macro.
50351         (fma_test): Add more tests.
50352         (fma_test_towardzero): Likewise.
50353         (fma_test_downward): Likewise.
50354         (fma_test_upward): Likewise.
50356 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
50358         * sysdeps/i386/tininess.h: Renamed to ...
50359         * sysdeps/x86/tininess.h: This.
50360         * sysdeps/x86_64/tininess.h: Removed.
50362 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
50364         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
50365         input.  Use $(build-program-cmd).
50366         ($(objpfx)tst-array1-static.out): Likewise.
50367         ($(objpfx)tst-array2.out): Likewise.
50368         ($(objpfx)tst-array3.out): Likewise.
50369         ($(objpfx)tst-array4.out): Likewise.
50370         ($(objpfx)tst-array5.out): Likewise.
50371         ($(objpfx)tst-array5-static.out): Likewise.
50373 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
50375         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
50376         if defined.
50378         * nss/nsswitch.h (nss_interface_function): Provide new
50379         macro for use with NSS functions.
50380         * grp/initgroups.c: Use new macro.
50381         * nss/getXXbyYY.c: Likewise.
50382         * nss/getXXbyYY_r.c: Likewise.
50383         * nss/getXXent.c: Likewise.
50384         * nss/getXXent_r.c: Likewise.
50385         * sysdeps/posix/getaddrinfo.c: Likewise.
50387 2012-10-30  Andreas Jaeger  <aj@suse.de>
50389         * po/ru.po: Update Russion translation from translation project.
50391 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
50393         [BZ #14152]
50394         [BZ #14783]
50395         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
50396         result and shift together with sticky bit instead of replicating
50397         round-to-nearest rounding.
50398         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50399         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50400         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
50401         missing underflow exceptions.
50402         (fma_test_towardzero): Add more tests.
50403         (fma_test_downward): Likewise.
50404         (fma_test_upward): Likewise.
50406         [BZ #14047]
50407         * sysdeps/generic/tininess.h: New file.
50408         * sysdeps/i386/tininess.h: Likewise.
50409         * sysdeps/sh/tininess.h: Likewise.
50410         * sysdeps/x86_64/tininess.h: Likewise.
50411         * stdlib/tst-strtod-underflow.c: Likewise.
50412         * stdlib/tst-tininess.c: Likewise.
50413         * stdlib/strtod_l.c: Include <tininess.h>.
50414         (round_and_return): Do not set errno for exact underflow cases.
50415         Force an underflow exception when setting errno for underflow.
50416         Determine underflow based on rounding to normal precision if
50417         TININESS_AFTER_ROUNDING.
50418         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
50419         ERANGE for exact underflow cases.
50420         * stdlib/Makefile (tests): Add tst-tininess and
50421         tst-strtod-underflow.
50422         ($(objpfx)tst-tininess): Use $(link-libm).
50423         ($(objpfx)tst-strtod-underflow): Likewise.
50425 2012-10-30  Andreas Jaeger  <aj@suse.de>
50427         [BZ#14767]
50428         * elf/Makefile (tests): Remove conditional for have-initfini-array
50429         since this is now always required and the variable does not exist
50430         anymore.
50431         (tests-static): Likewise.
50432         (modules-names): Likewise.
50434         * po/eo.po: Add Esperanto translation from translation project.
50436         * elf/tst-array1.c (fini_array): Make writeable so that it can be
50437         merged with constructor/destructor.
50438         (init_array): Likewise.
50439         * elf/tst-array2dep.c (fini_array): Likewise.
50440         (init_array): Likewise.
50442 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
50444         * manual/message.texi: Delete @cartouche tags.
50446 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
50448         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
50449         EOPNOTSUPP.
50450         * sysdeps/mach/hurd/fsync.c: Likewise.
50452         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
50453         [_POSIX_REALTIME_SIGNALS]: Change condition to
50454         [_POSIX_REALTIME_SIGNALS > 0].
50456 2012-10-27  Andreas Jaeger  <aj@suse.de>
50458         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
50459         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
50460         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
50461         [__WORDSIZE != 64]: Likewise.
50463 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
50465         *  iconvdata/tst-table.sh: Remove ${SHELL}.
50466         *  iconvdata/tst-tables.sh: Likewise.
50468 2012-10-25  David S. Miller  <davem@davemloft.net>
50470         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50471         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
50472         of strtoull.
50474         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
50475         ifunc-impl-list.c
50476         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50477         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
50478         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
50479         file.
50481 2012-10-25  Roland McGrath  <roland@hack.frob.com>
50483         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50484         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
50485         __getdirentries.
50487 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
50488             Jim Blandy  <jimb@codesourcery.com>
50490         * scripts/cross-test-ssh.sh: New file.
50491         * manual/install.texi (Configuring and compiling): Document use of
50492         cross-test-ssh.sh.
50493         * INSTALL: Regenerated.
50495 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
50497         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
50498         EOPNOTSUPP.
50500 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
50502         * Makeconfig (run-program-prefix): Fix comment.
50504 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
50505             Jim Blandy  <jimb@codesourcery.com>
50507         * Makeconfig (test-wrapper): New variable,
50508         (test-wrapper-env): Likewise.
50509         [$(cross-compiling) = yes && $(test-wrapper) != ""]
50510         (run-built-tests): Define to yes.
50511         (run-program-prefix): Use $(test-wrapper).
50512         (built-program-cmd): Likewise.
50513         * Rules (make-test-out): Use $(test-wrapper-env) and
50514         $(host-built-program-cmd).
50515         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
50516         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
50517         tst-pathopt.sh.
50518         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
50519         $(test-wrapper-env) to tst-rtld-load-self.sh.
50520         ($(objpfx)order2.out): Use $(test-wrapper).
50521         ($(objpfx)tst-initorder.out): Likewise.
50522         ($(objpfx)tst-initorder2.out): Likewise.
50523         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
50524         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
50525         (test_wrapper_env): New variable.  Use it to run ld.so.
50526         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
50527         Use it to run ld.so.
50528         (test_wrapper_env): Likewise.
50529         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
50530         $(test-wrapper) to run-iconv-test.sh.
50531         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
50532         (ICONV): Use $test_wrapper.
50533         * posix/Makefile ($(objpfx)globtest.out): Pass
50534         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
50535         globtest.sh, not $(run-program-prefix).
50536         * posix/globtest.sh (run_via_rtld_prefix): New variable.
50537         (test_wrapper): Likewise.
50538         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
50539         set together with run_via_rtld_prefix.
50540         (run_program_prefix): Define in terms of test_wrapper and
50541         run_via_rtld_prefix.
50543 2012-10-24  Roland McGrath  <roland@hack.frob.com>
50545         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
50546         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
50547         Targets removed.
50549         [BZ #14743]
50550         * include/time.h: Remove librt_hidden_proto (clock_gettime).
50551         Declare __clock_getres, __clock_gettime, __clock_settime,
50552         __clock_nanosleep, and __clock_getcpuclockid.
50553         * rt/clock_gettime.c: Define __clock_gettime as an alias.
50554         Remove librt_hidden_def (clock_gettime).
50555         * sysdeps/unix/clock_gettime.c: Likewise.
50556         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
50557         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
50558         * rt/clock_getres.c: Define __clock_getres as an alias.
50559         * sysdeps/posix/clock_getres.c: Likewise.
50560         * rt/clock_settime.c: Define __clock_settime as an alias.
50561         * sysdeps/unix/clock_settime.c: Likewise.
50562         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
50563         * sysdeps/unix/clock_nanosleep.c: Likewise.
50564         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
50565         * rt/clock-compat.c: New file.
50566         * rt/Makefile (librt-routines): Add clock-compat and move
50567         $(clock-routines) to ...
50568         (routines): ... here, new variable.
50569         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
50570         Don't add get_clockfreq here.
50571         * rt/Versions (libc: GLIBC_2.17): New version set.
50572         Add clock_* symbols here.
50573         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
50574         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
50575         (GLIBC_2.17): Add clock_* symbols.
50576         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
50577         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
50578         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
50579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50580         Likewise.
50581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50582         Likewise.
50583         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
50584         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
50585         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
50586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
50587         * NEWS: Mention the move.
50589         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
50590         Use __open, __read, __close rather than their public counterparts.
50591         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50592         (__get_clockfreq_via_cpuinfo): Likewise.
50593         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
50594         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
50596         * config.h.in (HAVE_IFUNC): New #undef.
50597         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
50598         was successful.
50599         * configure: Regenerated.
50601 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
50603         * configure.in: Move READELF check to start of file.
50604         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
50605         libc_cv_asm_gnu_indirect_function in the process.
50606         * configure: Regenerated.
50608 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
50610         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
50611         send the output to /dev/null.
50612         (libc_cv_cc_with_libunwind): Likewise.
50613         (libc_cv_as_noexecstack): Likewise.
50614         * configure: Regenerate.
50616 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
50618         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
50620         * posix/globtest.sh (TMPDIR): Do not set.
50621         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
50622         (testout): Likewise.
50624 2012-10-24  Andreas Jaeger  <aj@suse.de>
50626         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
50627         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
50628         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
50629         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
50630         posix_fadvise64, posix_fallocate64.
50632         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
50633         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
50634         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
50635         Likewise.
50636         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
50637         Likewise.
50638         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
50640         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
50641         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
50642         <bits/fcntl-linux.h>.
50643         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
50645         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
50646         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
50647         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
50648         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
50649         [__WORDSIZE != 64]: Likewise.
50651 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
50653         * Makeconfig (run-built-tests): New variable.
50654         * Rules [$(cross-compiling) = yes]: Change condition to
50655         [$(run-built-tests) = no].
50656         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
50657         to [$(run-built-tests) = yes].
50658         * elf/Makefile [$(cross-compiling) = no]: Likewise
50659         * grp/Makefile [$(cross-compiling) = no]: Likewise.
50660         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
50661         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
50662         * intl/Makefile [$(cross-compiling) = no]: Likewise.
50663         * io/Makefile [$(cross-compiling) = no]: Likewise.
50664         * libio/Makefile [$(cross-compiling) = no]: Likewise.
50665         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
50666         * misc/Makefile [$(cross-compiling) = no]: Likewise.
50667         * posix/Makefile [$(cross-compiling) = no]: Likewise.
50668         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
50669         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
50670         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
50671         * string/Makefile [$(cross-compiling) = no]: Likewise.
50673         * posix/Makefile ($(objpfx)globtest.out): Pass
50674         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
50675         $(rtld-installed-name).
50676         * posix/globtest.sh (elf_objpfx): Remove variable.
50677         (rtld_installed_name): Likewise.
50678         (library_path): Likewise.
50679         (run_program_prefix): New variable.  Use for running globtest
50680         binary.
50682 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
50683             Joseph Myers  <joseph@codesourcery.com>
50685         * Makeconfig (host-built-program-cmd): New variable.
50686         * elf/Makefile (tst-stackguard1-ARGS): Use
50687         $(host-built-program-cmd).
50688         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
50689         (tst-spawn-ARGS): Likewise.
50690         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
50692 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
50693             Jim Blandy  <jimb@codesourcery.com>
50695         * Makeconfig (run-via-rtld-prefix): New variable.
50696         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
50697         (built-program-cmd): Likewise.
50699 2012-10-22  Andreas Jaeger  <aj@suse.de>
50701         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
50702         __O_RSYNC if it exists, otherwise to O_SYNC.
50704 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
50705             Joseph Myers  <joseph@codesourcery.com>
50707         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
50708         /dev/null.
50709         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
50710         from /dev/null
50711         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
50712         /dev/null.
50714 2012-10-22  Andreas Jaeger  <aj@suse.de>
50716         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
50717         Define always.
50718         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
50720         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50721         bits/fcntl-linux.h.
50723         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
50724         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
50726         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
50727         to __O_LARGEFILE.
50728         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
50729         to __O_LARGEFILE.
50731 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
50732             Joseph Myers  <joseph@codesourcery.com>
50734         * config.make.in (NM): New variable.
50736 2012-10-21  Andreas Jaeger  <aj@suse.de>
50738         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
50739         definitions and declarations that are provided by
50740         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
50742 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
50744         [BZ #14683]
50745         * elf/Makefile (tests-static): Add tst-leaks1-static.
50746         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
50747         ($(objpfx)tst-leaks1-static): New rule.
50748         ($(objpfx)tst-leaks1-static-mem): Likewise.
50749         (tst-leaks1-static-ENV): New macro.
50750         * elf/dl-open.c (dl_open_worker): Check the main application
50751         only if SHARED is defined.
50752         * elf/tst-leaks1-static.c: New file.
50754 2012-10-20  Andreas Jaeger  <aj@suse.de>
50756         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
50757         generic values for Linux.
50758         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
50759         and declarations that are provided by <bits/fcntl-linux.h> and
50760         include <bits/fcntl-linux.h>.
50761         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50762         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50764 2012-10-20  Roland McGrath  <roland@hack.frob.com>
50766         * io/fcntl.h: Move include of <bits/types.h> to the top and
50767         include it unconditionally.
50769 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
50771         * wcsmbs/Makefile (tests-ifunc): New variable.
50772         (tests): Add $(tests-ifunc).
50773         * wcsmbs/test-wcschr-ifunc.c: New file.
50774         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
50775         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
50776         * wcsmbs/test-wcslen-ifunc.c: Likewise.
50777         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
50778         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
50780         * string/Makefile (tests-ifunc): New variable.
50781         (tests): Add $(tests-ifunc).
50782         * string/test-memccpy.c (TEST_NAME): New macro.
50783         * string/test-memchr.c (TEST_NAME): Likewise.
50784         * string/test-memcmp.c (TEST_NAME): Likewise.
50785         * string/test-memcpy.c (TEST_NAME): Likewise.
50786         * string/test-memmem.c (TEST_NAME): Likewise.
50787         * string/test-memmove.c (TEST_NAME): Likewise.
50788         * string/test-memset.c (TEST_NAME): Likewise.
50789         * string/test-rawmemchr.c (TEST_NAME): Likewise.
50790         * string/test-stpcpy.c (TEST_NAME): Likewise.
50791         * string/test-stpncpy.c (TEST_NAME): Likewise.
50792         * string/test-strcasecmp.c (TEST_NAME): Likewise.
50793         * string/test-strcasestr.c (TEST_NAME): Likewise.
50794         * string/test-strcat.c (TEST_NAME): Likewise.
50795         * string/test-strchr.c (TEST_NAME): Likewise.
50796         * string/test-strcmp.c(TEST_NAME): Likewise.
50797         * string/test-strcpy.c (TEST_NAME): Likewise.
50798         * string/test-strcspn.c (TEST_NAME): Likewise.
50799         * string/test-strlen.c (TEST_NAME): Likewise.
50800         * string/test-strncasecmp.c (TEST_NAME): Likewise.
50801         * string/test-strncmp.c (TEST_NAME): Likewise.
50802         * string/test-strncpy.c (TEST_NAME): Likewise.
50803         * string/test-strnlen.c (TEST_NAME): Likewise.
50804         * string/test-strpbrk.c (TEST_NAME): Likewise.
50805         * string/test-strrchr.c (TEST_NAME): Likewise.
50806         * string/test-strspn.c (TEST_NAME): Likewise.
50807         * string/test-strstr.c (TEST_NAME): Likewise.
50808         * string/test-bcopy-ifunc.c: New file.
50809         * string/test-bzero-ifunc.c: Likewise.
50810         * string/test-memccpy-ifunc.c: Likewise.
50811         * string/test-memchr-ifunc.c: Likewise.
50812         * string/test-memcmp-ifunc.c: Likewise.
50813         * string/test-memcpy-ifunc.c: Likewise.
50814         * string/test-memmem-ifunc.c: Likewise.
50815         * string/test-memmove-ifunc.c: Likewise.
50816         * string/test-mempcpy-ifunc.c: Likewise.
50817         * string/test-memset-ifunc.c: Likewise.
50818         * string/test-rawmemchr-ifunc.c: Likewise.
50819         * string/test-stpcpy-ifunc.c: Likewise.
50820         * string/test-stpncpy-ifunc.c: Likewise.
50821         * string/test-strcasecmp-ifunc.c: Likewise.
50822         * string/test-strcasestr-ifunc.c: Likewise.
50823         * string/test-strcat-ifunc.c: Likewise.
50824         * string/test-strchr-ifunc.c: Likewise.
50825         * string/test-strchrnul-ifunc.c: Likewise.
50826         * string/test-strcmp-ifunc.c: Likewise.
50827         * string/test-strcpy-ifunc.c: Likewise.
50828         * string/test-strcspn-ifunc.c: Likewise.
50829         * string/test-strlen-ifunc.c: Likewise.
50830         * string/test-strncasecmp-ifunc.c: Likewise.
50831         * string/test-strncat-ifunc.c: Likewise.
50832         * string/test-strncmp-ifunc.c: Likewise.
50833         * string/test-strncpy-ifunc.c: Likewise.
50834         * string/test-strnlen-ifunc.c: Likewise.
50835         * string/test-strpbrk-ifunc.c: Likewise.
50836         * string/test-strrchr-ifunc.c: Likewise.
50837         * string/test-strspn-ifunc.c: Likewise.
50838         * string/test-strstr-ifunc.c: Likewise.
50840         * debug/Makefile (tests-ifunc): New variable.
50841         (tests): Add $(tests-ifunc).
50842         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
50843         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
50844         * debug/test-stpcpy_chk-ifunc.c: New file.
50845         * debug/test-strcpy_chk-ifunc.c: Likewise.
50847 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50849         [BZ #13601]
50850         * elf/dl-load.c (open_verify): Retry read if the entire ELF
50851         header is not read in.
50853 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
50855         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
50856         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
50857         directly.  Pass built executable to script as
50858         $(built-program-cmd).
50859         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
50860         $testprogram without using LD_LIBRARY_PATH and $ldso.
50862         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
50863         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
50864         $(rtld-installed-name).
50865         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
50866         (rtld_installed_name): Likewise.
50867         (library_path): Likewise.
50868         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
50869         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
50870         $(run-program-prefix) to tst-tables.sh.
50871         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
50872         it to run tst-table-from and tst-table-to.
50873         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
50874         Pass it to tst-table.sh.
50875         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
50876         $(run-program-prefix) to tst-gettext.sh.
50877         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
50878         tst-translit.sh.
50879         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
50880         tst-gettext2.sh.
50881         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
50882         to run tst-gettext.
50883         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
50884         to run tst-gettext2.
50885         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
50886         to run tst-translit.
50887         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
50888         $(run-program-prefix) to tst-mtrace.sh.
50889         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
50890         to run tst-mtrace.
50891         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
50892         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
50893         $(rtld-installed-name).
50894         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
50895         (rtld_installed_name): Likewise.
50896         (run_program_prefix): New variable.  Use it to run wordexp-test.
50898         * Makeconfig (ARCH): Remove all definitions.
50899         (machine): Likewise.
50900         [ARCH]: Remove conditional code.
50901         [!objdir]: Give error.
50902         [!objdir] (objpfx): Remove.
50903         [!objdir] (common-objpfx): Likewise.
50904         [!objdir] (common-objdir): Likewise.
50905         * configure.in (config_makefile): Remove.  Hardcode Makefile in
50906         AC_CONFIG_FILES call.
50907         * configure: Regenerated.
50909         [BZ #13888]
50910         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
50911         or TMPDIR.
50912         (testout): Likewise.
50914         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
50915         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
50916         $(rtld-installed-name).
50917         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
50918         (rtld_installed_name): Likwise.
50919         (runit): Remove function.
50920         (run_getconf): New variable,  Use it for running getconf binary.
50922 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
50924         [BZ #14716]
50925         * string/test-memmem.c (check_result): New function.
50926         (do_one_test): Use it.
50927         (check1): New function.
50928         (test_main): Use it.
50930 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
50932         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
50934 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
50936         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
50937         (_G_LSEEK64): Likewise.
50938         (_G_MMAP64): Likewise.
50939         (_G_FSTAT64): Likewise.
50940         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
50941         (_G_LSEEK64): Likewise.
50942         (_G_MMAP64): Likewise.
50943         (_G_FSTAT64): Likewise.
50944         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
50945         unconditional.  Call __mmap64 directly.
50946         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
50947         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
50948         __lseek64 directly.
50949         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
50950         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
50951         __mmap64 directly.
50952         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
50953         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
50954         __lseek64 directly.
50955         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
50956         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
50957         __lseek64 directly.
50958         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
50959         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
50960         __lseek64 directly.
50961         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
50962         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
50963         __fxstat64 directly.
50964         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
50965         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
50966         unconditional.
50967         (freopen64) [!_G_OPEN64]: Remove conditional code.
50968         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
50969         unconditional.
50970         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
50971         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
50972         unconditional.
50973         (ftello64) [!_G_LSEEK64]: Remove conditional code.
50974         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
50975         unconditional.
50976         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
50977         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
50978         unconditional.
50979         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
50980         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
50981         unconditional.
50982         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
50983         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
50984         unconditional.
50985         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
50986         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
50987         unconditional.
50988         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
50990 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50992         [BZ #12140]
50993         * manual/memory.texi (Malloc Tunable Parameters): Add note
50994         about free list pointers overwriting some perturb bytes.
50995         Wording suggested by Roland McGrath.
50997 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
50999         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
51000         (lgamma_test): Likewise.
51001         (tgamma_test): Likewise.
51003 2012-10-16  Florian Weimer  <fweimer@redhat.com>
51005         [BZ #14700]
51006         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
51007         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
51009 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
51011         * NEWS: Mention BZ #14716.
51012         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
51013         when removing AVAILABLE1_USES_J macro.
51015 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
51017         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
51018         (__bswap_64): __uint64_t for unsigned 64-bit int.
51020 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
51022         * include/string.h (memmem): Declare libc hidden alias.
51023         * string/memmem.c (memmem): Define libc hidden alias.
51024         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
51025         __read, __close instead of open, read, close.
51027 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
51029         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
51030         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
51031         global and hidden.
51032         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
51033         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
51034         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
51035         Likewise.
51036         (__rawmemchr_sse2): Likewise.
51037         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
51038         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
51039         (__strchr_sse2): Likewise.
51040         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
51041         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
51042         (__strcasecmp_sse2): Likewise.
51043         (__strncasecmp_sse2): Likewise.
51044         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
51045         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
51046         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
51047         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
51048         (__strrchr_sse2): Likewise.
51049         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
51050         ifunc-impl-list.c.
51051         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
51052         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
51053         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
51054         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51055         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
51056         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
51057         * sysdeps/x86_64/multiarch/memset.S: Likewise.
51058         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
51059         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
51060         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
51061         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
51062         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
51063         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
51064         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
51065         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
51066         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
51067         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
51068         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
51069         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
51070         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
51071         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
51072         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
51073         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
51074         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
51075         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
51076         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51077         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
51078         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
51079         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
51080         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
51082         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
51083         global and hidden.
51084         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
51085         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
51086         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
51087         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
51088         Likewise.
51089         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
51090         Likewise.
51091         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
51092         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
51093         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
51094         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
51095         ifunc-impl-list.c.
51096         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
51097         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
51098         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
51099         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
51100         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
51101         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
51102         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
51103         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
51104         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
51105         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
51106         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
51107         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
51108         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
51109         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
51110         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
51111         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51112         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
51113         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
51114         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
51115         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
51116         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51117         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
51118         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
51119         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
51120         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51121         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
51122         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
51123         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
51124         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
51125         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
51126         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
51127         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
51128         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
51129         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
51130         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
51131         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
51132         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
51133         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
51134         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
51135         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
51136         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
51138         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
51139         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
51140         * include/ifunc-impl-list.h: New file.
51141         * misc/ifunc-impl-list.c: Likewise.
51142         * misc/Makefile (routines): Add ifunc-impl-list.
51143         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
51144         * string/test-string.h: Include <ifunc-impl-list.h>.
51145         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
51146         TEST_NAME]: New variables.
51147         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
51148         are defined.
51149         (test_init): Call __libc_ifunc_impl_list to initialize
51150         func_list if TEST_IFUNC and TEST_NAME are defined.
51152         * string/Makefile (strop-tests): Add bcopy and bzero.
51153         * string/test-bcopy.c: New file.
51154         * string/test-bzero.c: Likewise.
51155         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
51156         defined.
51157         * string/test-memset.c: Support bzero test if TEST_BZERO is
51158         defined.
51159         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
51160         __libc_memmove.
51161         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
51162         __libc_memset.
51163         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
51164         of memset.
51166 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
51168         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
51169         * configure: Regenerated.
51171         * Makeconfig (+link-static-before-libc): Don't include
51172         $(link-static-libc).
51174         * libio/libio.h (_IO_pos_t): Remove.
51176 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
51178         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
51179         McGrath.
51181 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
51183         * crypt/crypt-entry.c: Include fips-private.h.
51184         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
51185         * crypt/md5c-test.c (main): Tolerate disabled MD5.
51186         * sysdeps/unix/sysv/linux/fips-private.h: New file.
51187         * sysdeps/generic/fips-private.h: New file, dummy fallback.
51189 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
51191         * crypt/crypt-private.h: Include stdbool.h.
51192         (_ufc_setup_salt_r): Return bool.
51193         * crypt/crypt-entry.c: Include errno.h.
51194         (__crypt_r): Return NULL with EINVAL for bad salt.
51195         * crypt/crypt_util.c (bad_for_salt): New.
51196         (_ufc_setup_salt_r): Check that salt is long enough and within
51197         the specified alphabet.
51198         * crypt/badsalttest.c: New file.
51199         * crypt/Makefile (tests): Add it.
51200         ($(objpfx)badsalttest): New.
51202 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
51204         * NEWS: Add entry for BZ #14602.
51206 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
51208         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
51209         type-generic.
51210         * math/libm-test.inc: Update comment listing what functions and
51211         macros are tested.
51212         (isgreater_test): New function.
51213         (isgreaterequal_test): Likewise.
51214         (isless_test): Likewise.
51215         (islessequal_test): Likewise.
51216         (islessgreater_test): Likewise.
51217         (isunordered_test): Likewise.
51218         (main): Call the new functions.
51220 2012-10-09  Roland McGrath  <roland@hack.frob.com>
51222         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
51223         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
51224         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
51225         * sysdeps/i386/configure: Regenerated.
51226         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
51227         * sysdeps/mach/configure: Regenerated.
51228         * sysdeps/mach/hurd/configure: Regenerated.
51229         * sysdeps/powerpc/configure: Regenerated.
51230         * sysdeps/powerpc/powerpc32/configure: Regenerated.
51231         * sysdeps/powerpc/powerpc64/configure: Regenerated.
51232         * sysdeps/s390/s390-32/configure: Regenerated.
51233         * sysdeps/s390/s390-64/configure: Regenerated.
51234         * sysdeps/sh/configure: Regenerated.
51235         * sysdeps/sparc/configure: Regenerated.
51236         * sysdeps/unix/sysv/linux/configure: Regenerated.
51237         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
51238         * sysdeps/x86_64/configure: Regenerated.
51240         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
51241         defined.  Don't check if MAP is NULL.
51243 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
51245         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
51246         (_G_stat64): Likewise.
51247         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
51248         (_G_stat64): Likewise.
51249         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
51250         instead of struct _G_stat64.
51251         * libio/fileops.c (mmap_remap_check): Likewise.
51252         (decide_maybe_mmap): Likewise.
51253         (_IO_new_file_seekoff): Likewise.
51254         (_IO_file_stat): Likewise.
51255         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
51256         _G_off64_t.
51257         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
51258         instead of struct _G_stat64.
51259         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
51261 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
51263         [BZ #14602]
51264         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
51265         Replace with ...
51266         (CHECK_EOL): New macro.
51267         (two_way_short_needle): Check beginning of haystack for EOL.  Use
51268         CHECK_EOL.
51269         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
51270         Replace with CHECK_EOL.
51271         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
51272         Replace with CHECK_EOL.
51274 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
51276         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
51277         type-generic.
51278         * math/libm-test.inc: Update comment listing what functions and
51279         macros are tested.
51280         (finite_test): New function.
51281         (isinf_test): Likewise.
51282         (isnan_test): Likewise.
51283         (fpclassify_test): Test subnormal input.
51284         (isfinite_test): Likewise.
51285         (isnormal_test): Likewise.
51286         (main): Call the new functions.
51288 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
51290         [BZ #14660]
51291         * Makerules (%.dynsym): Force C locale when running
51292         $(OBJDUMP) --dynamic-syms.
51294 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
51296         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
51297         <stdint.h>.
51299 2012-10-06  David S. Miller  <davem@davemloft.net>
51301         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
51302         upper 32-bits of the length value in %o2 since we use branch-on-register
51303         tests which consider the entire 64-bit register.
51305 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
51307         * string/test-strstr.c (check2): Add a test for page boundary.
51309 2012-10-05  David S. Miller  <davem@davemloft.net>
51311         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
51312         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
51313         file.
51314         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
51315         sysdep_routines.
51316         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
51317         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
51318         and bzero when HWCAP_SPARC_CRYPTO is present.
51320 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
51322         [BZ #14602]
51323         * string/test-strstr.c (check2): New function.
51324         (test_main): Call check2.
51326         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
51327         and bug-strchr1.
51328         * string/bug-strcasestr1.c (do_test): Moved to ...
51329         * string/test-strcasestr.c (check1): Here.  New function.
51330         (do_one_test): Break out result checking code into ...
51331         (check_result): This.  New function.
51332         (do_one_test): Call check_result.
51333         (test_main): Call check1.
51334         * string/bug-strchr1.c (do_test): Moved to ...
51335         * string/test-strchr.c (check1): Here.  New function.
51336         (do_one_test): Break out result checking code into ...
51337         (check_result): This.  New function.
51338         (do_one_test): Call check_result.
51339         (test_main): Call check1.
51340         * string/bug-strstr1.c (main): Moved to ...
51341         * string/test-strstr.c (check1): Here.  New function.
51342         (do_one_test): Break out result checking code into ...
51343         (check_result): This.  New function.
51344         (do_one_test): Call check_result.
51345         (test_main): Call check1.
51346         * string/bug-strcasestr1.c: Removed.
51347         * string/bug-strchr1.c: Likewise.
51348         * string/bug-strstr1.c: Likewise.
51350         * elf/Makefile (dl-routines): Add hwcaps.
51351         * elf/dl-support.c (_dl_important_hwcaps): Removed.
51352         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
51353         (_dl_important_hwcaps): Moved to ...
51354         * elf/dl-hwcaps.c: Here.  New file.
51355         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
51357         [BZ #14557]
51358         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
51359         if IS_IN_rtld isn't defined.
51361         * elf/dl-support.c (_dl_sysinfo_map): New.
51362         Include "get-dynamic-info.h" and "setup-vdso.h".
51363         (_dl_non_dynamic_init): Call setup_vdso.
51364         * elf/dynamic-link.h: Don't include <assert.h>.
51365         (elf_get_dynamic_info): Moved to ...
51366         * elf/get-dynamic-info.h: Here.  New file.
51367         * elf/dynamic-link.h: Include "get-dynamic-info.h".
51368         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
51369         * elf/setup-vdso.h: Here.  New file.
51370         * elf/rtld.c: Include "setup-vdso.h".
51371         (dl_main): Call setup_vdso.
51373 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
51375         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
51376         creal in comment listing functions tested.  List finite, isinf,
51377         isnan, isless, islessequal, isgreater, isgreaterequal,
51378         islessgreater, isunordered, lgamma_r and pow10 as functions and
51379         macros not tested.  Mention which functions not tested are aliases
51380         for other functions.  Fix typo.  Note that signs of NaNs are not
51381         tested.
51383         * scripts/config.guess: Update from config.git.
51384         * scripts/config.sub: Likewise.
51386 2012-10-04  Roland McGrath  <roland@hack.frob.com>
51388         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
51389         * misc/madvise.c (madvise): Renamed to __madvise.
51390         Make madvise a weak alias.
51391         * include/sys/mman.h: Declare __madvise.
51392         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
51393         * sysdeps/unix/syscalls.list
51394         (madvise): Make __madvise the strong name, and madvise a weak alias.
51395         * sysdeps/unix/sysv/linux/syscalls.list
51396         (madvise, mmap): Remove redundant entries.
51397         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
51398         * malloc/malloc.c (mtrim): Likewise.
51399         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
51401 2012-10-03  Roland McGrath  <roland@hack.frob.com>
51403         * sysdeps/mach/hurd/dl-cache.c: File removed.
51404         * config.h.in (USE_LDCONFIG): New #undef.
51405         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
51406         * configure: Regenerated.
51407         * elf/Makefile (dl-routines): Add dl-cache only under
51408         [$(use-ldconfig) = yes].
51409         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
51410         cache on [USE_LDCONFIG].
51411         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
51412         [USE_LDCONFIG].
51413         * elf/rtld.c (dl_main): Likewise.
51415 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
51417         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
51418         _SC_LEVEL4_CACHE_LINESIZE.
51420 2012-10-03  Roland McGrath  <roland@hack.frob.com>
51422         * sysdeps/unix/bsd/confstr.h: File removed.
51424 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
51426         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
51427         sys/sdt-config.h.
51429 2012-10-02  Roland McGrath  <roland@hack.frob.com>
51431         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
51432         Make 'mapoff' field ElfW(Off) rather than off_t.
51434 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
51436         * nscd/Makefile: Remove nscd-cflags and all its users.
51437         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
51438         (CFLAGS-nonlib): Add compiler flags for nscd modules.
51440         [BZ #10631]
51441         * malloc.c (malloc_printerr): Clarify error message.
51443 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
51445         [BZ #14648]
51446         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51447         Set bit_FMA_Usable if FMA is supported.
51448         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
51449         macro.
51450         (bit_FMA4_Usable): Updated.
51451         (index_FMA_Usable): New macro.
51452         (CPUID_FMA): Likewise
51453         (HAS_FMA): Defined with bit_FMA_Usable.
51455 2012-10-01  Roland McGrath  <roland@hack.frob.com>
51457         * bits/types.h (__swblk_t): Type removed.
51458         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
51459         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
51460         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51461         (__SWBLK_T_TYPE): Likewise.
51462         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
51463         (__SWBLK_T_TYPE): Likewise.
51464         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51465         (__SWBLK_T_TYPE): Likewise.
51466         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51467         (__SWBLK_T_TYPE): Likewise.
51469 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
51470             Honza Horak <hhorak@redhat.com>
51472         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
51473         (xdr_mapname): Use YPMAXMAP as maxsize.
51474         (xdr_peername): Use YPMAXPEER as maxsize.
51475         (xdr_keydat): Use YPAXRECORD as maxsize.
51476         (xdr_valdat): Use YPMAXRECORD as maxsize.
51478 2012-10-01  Roland McGrath  <roland@hack.frob.com>
51480         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
51482         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
51483         * csu/init-first.c: ... here.
51484         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
51485         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
51486         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
51487         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
51488         * sysdeps/i386/init-first.c: File removed.
51489         * sysdeps/sh/init-first.c: File removed.
51491 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
51493         [BZ #14645]
51494         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
51495         if x * y might underflow to zero and z is zero.
51496         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51497         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51498         * math/libm-test.inc (min_subnorm_value): New variable.
51499         (fma_test): Add more tests.
51500         (fma_test_towardzero): Likewise.
51501         (fma_test_downward): Likewise
51502         (fma_test_upward): Likewise.
51503         (initialize): Set min_subnorm_value.
51505 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
51507         [BZ #14638]
51508         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
51509         0 + 0.
51510         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
51511         mode for addition resulting in exact zero.
51512         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
51513         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
51514         exact 0 + 0.
51515         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
51516         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51517         * math/libm-test.inc (fma_test): Add more tests.
51518         (fma_test_towardzero): New function.
51519         (fma_test_downward): Likewise.
51520         (fma_test_upward): Likewise.
51521         (main): Call the new functions.
51523 2012-09-28  David S. Miller  <davem@davemloft.net>
51525         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
51527 2012-09-28  Roland McGrath  <roland@hack.frob.com>
51529         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
51530         instead of SIGALRM.
51532         * sysdeps/gnu/_G_config.h: Moved to ...
51533         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
51534         * sysdeps/mach/hurd/_G_config.h: Moved to ...
51535         * sysdeps/generic/_G_config.h: ... here.
51537         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
51539         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
51541         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
51542         Conditionalize target on [libnss_test1.so-version].
51544         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
51546         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
51547         (elfobjdir): Move out of conditionals.
51549         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
51550         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
51551         (__nss_lookup_function): Conditionalize label remove_from_tree on
51552         [!DO_STATIC_NSS || SHARED], matching its only use.
51554 2012-09-28  David S. Miller  <davem@davemloft.net>
51556         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
51557         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
51558         file.
51559         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
51560         sysdep_routines.
51561         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
51562         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
51563         when HWCAP_SPARC_CRYPTO is present.
51565 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
51567         * io/tst-mknodat.c: Create a FIFO instead of a socket.
51569 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
51571         [BZ #6530]
51572         * stdio-common/vfprintf.c (process_string_arg): Revert
51573         2000-07-22 change.
51575 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
51577         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
51578         for testcase.
51579         * stdio-common/tst-sprintf.c: Include <locale.h>
51580         (main): Test sprintf's handling of incomplete multibyte
51581         characters.
51583 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
51585         * elf/dl-runtime.c (VERSYMIDX): Removed.
51586         * elf/dl-version.c (VERSYMIDX): Likewise.
51587         * elf/do-rel.h (VERSYMIDX): Likewise.
51588         (VALIDX): Likewise.
51589         * elf/dynamic-link.h (VERSYMIDX): Likewise.
51590         * elf/rtld.c (VALIDX): Likewise.
51591         (ADDRIDX): Likewise.
51592         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
51593         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
51594         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
51595         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
51596         (VALIDX): Likewise.
51597         (ADDRIDX): Likewise.
51599 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
51601         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
51603 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
51605         [BZ #11438]
51606         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
51607         to global scope.
51608         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
51609         addresses are in the same scope as 192.0.2/24.
51610         * posix/gai.conf: Document new scope table defaults.
51612 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51614         [BZ #5298]
51615         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
51616         for ftell.  Compute offsets from write pointers instead.
51617         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
51619 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51621         [BZ #14543]
51622         * libio/Makefile (tests): New test case tst-fseek.
51623         * libio/tst-fseek.c: New test case to verify that fseek/ftell
51624         combination works in wide mode.
51625         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
51626         state when the external buffer state changes.
51628 2012-09-27  David S. Miller  <davem@davemloft.net>
51630         [BZ #14376]
51631         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
51632         pass reloc->r_addend in as the 'high' argument to
51633         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
51635         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51637 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
51639         * rt/tst-aio2.c: Include <pthread.h>.
51640         * rt/tst-aio3.c: Likewise.
51642 2012-09-27  Steve Ellcey  <sellcey@mips.com>
51644         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
51646 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
51648         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
51649         contents on [SHARED].
51651 2012-09-26  Marek Polacek  <polacek@redhat.com>
51653         [BZ #14530]
51654         [BZ #13741]
51655         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
51656         for C++ and GCC <4.3 as well as for non GCC compilers.
51658 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
51660         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51662 2012-09-25  Roland McGrath  <roland@hack.frob.com>
51664         * Makefile.in (all, install): Declare with .PHONY.
51665         Reported by Michael Hope <michael.hope@linaro.org>.
51667 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51669         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
51670         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
51671         system header.
51672         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
51673         Likewise.
51674         (sydep_routines): Add the new and the internal functions.
51675         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
51676         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
51677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
51678         (GLIBC_2.17): Add the new function.
51679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
51680         (GLIBC_2.17): Likewise.
51681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
51682         (GLIBC_2.17): Likewise.
51683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
51684         (GLIBC_2.17): Likewise.
51685         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
51687 2012-09-25  Alan Modra  <amodra@gmail.com>
51689         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
51690         Add release barrier before setting once_control to say
51691         initialisation is done.  Add hints on lwarx.  Use macro in
51692         place of isync.
51693         (clear_once_control): Add release barrier.
51695 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
51697         [BZ #13629]
51698         * math/s_clog.c (__clog): Handle more values close to |z| = 1
51699         specially.
51700         * math/s_clog10.c (__clog10): Likewise.
51701         * math/s_clog10f.c (__clog10f): Likewise.
51702         * math/s_clog10l.c (__clog10l): Likewise.
51703         * math/s_clogf.c (__clogf): Likewise.
51704         * math/s_clogl.c (__clogl): Likewise.
51705         * math/Makefile (libm-calls): Add x2y2m1.
51706         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
51707         (__x2y2m1): Likewise.
51708         (__x2y2m1l): Likewise.
51709         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
51710         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
51711         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
51712         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
51713         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
51714         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
51715         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
51716         * sysdeps/i386/fpu/libm-test-ulps: Update.
51717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51719         [BZ #14621]
51720         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
51721         int as type of variable DEPTH.
51722         (glob): Use size_t instead of int as type of variables NEWCOUNT
51723         and OLD_PATHC.
51725 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51727         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
51728         Add s_sincosf-sse2.
51729         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
51730         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
51731         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
51732         macros for using routine as __sincosf_ia32.
51733         Use macro for function declaration and weak_alias.
51734         * sysdeps/i386/fpu/libm-test-ulps: Update.
51736         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
51737         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51739         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
51740         subnormal argument.
51741         * math/s_cexpf.c (__cexpf): Likewise.
51742         * math/s_csinf.c (__csinf): Likewise.
51743         * math/s_csinhf.c (__csinhf): Likewise.
51744         * math/s_ctanf.c (__ctanf): Likewise.
51745         * math/s_ctanhf.c (__ctanhf): Likewise.
51746         * math/s_ccosh.c (__ccoshf): Likewise.
51747         * math/s_cexp.c (__cexpl): Likewise.
51748         * math/s_csin.c (__csin): Likewise.
51749         * math/s_csinh.c (__csinh): Likewise.
51750         * math/s_ctan.c (__ctan): Likewise.
51751         * math/s_ctanh.c (ctanh): Likewise.
51752         * math/s_ccoshl.c (__ccoshl): Likewise.
51753         * math/s_cexpl.c (__cexpl): Likewise.
51754         * math/s_csinl.c (__csinl): Likewise.
51755         * math/s_csinhl.c (__csinhl): Likewise.
51756         * math/s_ctanl.c (__ctanl): Likewise.
51757         * math/s_ctanhl.c (__ctanhl): Likewise.
51759 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
51761         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
51762         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
51763         (_IO_off_t): Define to __off_t, not _G_off_t.
51764         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
51765         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
51766         (_IO_wint_t): Define to wint_t, not _G_wint_t.
51767         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
51768         type of __dummy and __dummy2 fields.
51769         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
51770         (_G_ssize_t): Likewise.
51771         (_G_off_t): Likewise.
51772         (_G_pid_t): Likewise.
51773         (_G_uid_t): Likewise.
51774         (_G_wchar_t): Likewise.
51775         (_G_wint_t): Likewise.
51776         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
51777         (_G_ssize_t): Likewise.
51778         (_G_off_t): Likewise.
51779         (_G_pid_t): Likewise.
51780         (_G_uid_t): Likewise.
51781         (_G_wchar_t): Likewise.
51782         (_G_wint_t): Likewise.
51783         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
51784         (_G_ssize_t): Likewise.
51785         (_G_off_t): Likewise.
51786         (_G_pid_t): Likewise.
51787         (_G_uid_t): Likewise.
51788         (_G_wchar_t): Likewise.
51789         (_G_wint_t): Likewise.
51791 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51793         * malloc/arena.c: Include malloc-sysdep.h.
51794         (shrink_heap): Use check_may_shrink_heap to decide if madvise
51795         is sufficient to shrink the heap or an unmap is needed.
51796         * sysdeps/generic/malloc-sysdep.h: New file.  Define
51797         new function check_may_shrink_heap.
51798         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
51799         new function check_may_shrink_heap.
51801 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51803         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
51804         comments.
51806 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
51808         * catgets/test-gencat.sh: Add "set -e".
51809         * elf/tst-pathopt.sh: Likewise.
51810         * grp/tst_fgetgrent.sh: Likewise.
51811         * iconvdata/run-iconv-test.sh: Likewise.
51812         * intl/tst-gettext.sh: Likewise.
51813         * intl/tst-gettext2.sh: Likewise.
51814         * intl/tst-gettext4.sh: Likewise.
51815         * intl/tst-gettext6.sh: Likewise.
51816         * intl/tst-translit.sh: Likewise.
51817         * io/ftwtest-sh: Likewise.
51818         * libio/test-freopen.sh: Likewise.
51819         * malloc/tst-mtrace.sh: Likewise.
51820         * posix/globtest.sh: Likewise.
51821         * posix/tst-getconf.sh: Likewise.
51822         * posix/wordexp-tst.sh: Likewise.
51823         * stdio-common/tst-printf.sh: Likewise.
51824         * stdio-common/tst-unbputc.sh: Likewise.
51825         * stdlib/tst-fmtmsg.sh: Likewise.
51826         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
51827         * catgets/Makefile: Do not specify -e option when running
51828         testsuite shell scripts.
51829         * elf/Makefile: Likewise.
51830         * grp/Makefile: Likewise.
51831         * iconvdata/Makefile: Likewise.
51832         * intl/Makefile: Likewise.
51833         * io/Makefile: Likewise.
51834         * libio/Makefile: Likewise.
51835         * malloc/Makefile: Likewise.
51836         * posix/Makefile: Likewise.
51837         * stdio-common/Makefile: Likewise.
51838         * stdlib/Makefile: Likewise.
51839         * sysdeps/x86_64/Makefile: Likewise.
51841         * io/ftwtest-sh: Add copyright header.
51842         * posix/globtest.sh: Likewise.
51843         * posix/tst-getconf.sh: Likewise.
51844         * posix/wordexp-tst.sh: Likewise.
51845         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
51847 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
51849         [BZ #13679]
51850         * Makeconfig (+link): Defined as $(+link-static) if
51851         $(build-shared) isn't yes.
51852         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
51853         isn't yes.
51854         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
51856         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
51858         [BZ #14562]
51859         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
51860         new chunk size with MALLOC_ALIGN_MASK.
51862 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
51864         [BZ #5044]
51865         * stdio-common/printf_fphex.c: Include <stdbool.h> and
51866         <rounding-mode.h>.
51867         (__printf_fphex): Determine rounding using get_rounding_mode and
51868         round_away.
51869         * stdio-common/tst-printf-round.c (struct hex_test): New
51870         structure.
51871         (hex_tests): New variable.
51872         (test_hex_in_one_mode): New function.
51873         (do_test): Also run tests for hex float output.
51875 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
51877         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
51878         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
51879         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
51880         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
51881         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
51882         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
51883         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
51884         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
51886 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
51888         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
51889         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
51890         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
51891         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
51893 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
51895         [BZ #14579]
51896         * elf/rtld.c (dl_main): Limit the check for self loading to normal
51897         mode only.
51898         * elf/tst-rtld-load-self.sh: New test.
51899         * elf/Makefile: Run it.
51901 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
51903         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
51904         (tst-writev-ENV): Remove.
51905         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
51907 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
51909         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
51911 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
51913         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
51914         unconditional.
51915         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
51916         Likewise.
51917         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
51918         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
51919         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
51920         Likewise.
51922 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
51924         [BZ #14587]
51925         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
51926         * config.make.in (have-cpp-asm-debuginfo): Removed.
51927         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
51928         * configure: Regenerated.
51930 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
51932         [BZ #5044]
51933         * stdio-common/printf_fp.c: Include <stdbool.h> and
51934         <rounding-mode.h>.
51935         (___printf_fp): Determine rounding using get_rounding_mode and
51936         round_away.
51937         * stdio-common/tst-printf-round.c: New file.
51938         * stdio-common/Makefile (tests): Add tst-printf-round.
51939         (link-libm): New variable.
51940         ($(objpfx)tst-printf-round): Depend in $(link-libm).
51942 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
51944         [BZ #14576]
51945         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
51946         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
51947         Likewise.
51948         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
51949         Likewise.
51951 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
51953         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
51954         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
51955         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
51956         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
51958 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
51960         [BZ #14518]
51961         * include/rounding-mode.h: New file.
51962         * sysdeps/generic/get-rounding-mode.h: Likewise.
51963         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
51964         * stdlib/strtod_l.c: Include <rounding-mode.h>.
51965         (MAX_VALUE): New macro.
51966         (MIN_VALUE): Likewise.
51967         (overflow_value): New function.
51968         (underflow_value): Likewise.
51969         (round_and_return): Use overflow_value and underflow_value to
51970         determine return values in overflow and underflow cases.  Use
51971         round_away to determine rounding depending on rounding mode.
51972         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
51973         determine return values in overflow and underflow cases.
51974         * stdlib/tst-strtod-round.c: Include <fenv.h>.
51975         (struct test_results): New structure.
51976         (struct test): Use struct test_results to store expected results
51977         for all rounding modes.
51978         (TEST): Include expected results for all rounding modes.
51979         (test_in_one_mode): New function.
51980         (do_test): Use test_in_one_mode to compute and check results.
51981         Check results for all rounding modes.
51982         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
51983         $(link-libm).
51985 2012-12-09  Allan McRae  <allan@archlinux.org>
51987         * sysdeps/i386/fpu/libm-test-ulps: Update
51989 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
51991         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
51992         (_G_int32_t): Likewise.
51993         (_G_uint16_t): Likewise.
51994         (_G_uint32_t): Likewise.
51995         (_G_HAVE_BOOL): Likewise.
51996         (_G_HAVE_ATEXIT): Likewise.
51997         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
51998         (_G_HAVE_IO_FILE_OPEN): Likewise.
51999         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
52000         (_G_int32_t): Likewise.
52001         (_G_uint16_t): Likewise.
52002         (_G_uint32_t): Likewise.
52003         (_G_HAVE_BOOL): Likewise.
52004         (_G_HAVE_ATEXIT): Likewise.
52005         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52006         (_G_HAVE_IO_FILE_OPEN): Likewise.
52007         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
52008         (_G_int32_t): Likewise.
52009         (_G_uint16_t): Likewise.
52010         (_G_uint32_t): Likewise.
52011         (_G_HAVE_BOOL): Likewise.
52012         (_G_HAVE_ATEXIT): Likewise.
52013         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52014         (_G_HAVE_IO_FILE_OPEN): Likewise.
52016 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
52018         * csu/libc-tls.c: Update copyright years.
52020 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
52022         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
52023         [!_G_USING_THUNKS]: Remove conditional code.
52024         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
52025         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
52027         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
52028         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
52029         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52030         (_G_VTABLE_LABEL_PREFIX): Likewise.
52031         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52032         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52033         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52034         (_G_VTABLE_LABEL_PREFIX): Likewise.
52035         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
52036         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52037         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52038         (_G_VTABLE_LABEL_PREFIX): Likewise.
52039         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
52041 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
52043         * libio/Makefile: Include ../Makeconfig before tests.
52044         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
52045         only if $(build-shared) is yes.
52047         * iconv/gconv_db.c: Update copyright years.
52049 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52051         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
52052         unwind info if defined PIC. Fix special cases description.
52053         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
52055         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
52056         DP_HI_MASK entry.
52057         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
52059 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
52061         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
52063         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
52064         is NULL.
52066         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
52067         (LDLIBS-tst-chk4): This.
52068         (LDFLAGS-tst-chk5): Renamed to ...
52069         (LDLIBS-tst-chk5): This.
52070         (LDFLAGS-tst-chk6): Renamed to ...
52071         (LDLIBS-tst-chk6): This.
52072         (LDFLAGS-tst-lfschk4): Renamed to ...
52073         (LDLIBS-tst-lfschk4): This.
52074         (LDFLAGS-tst-lfschk5): Renamed to ...
52075         (LDLIBS-tst-lfschk5): This.
52076         (LDFLAGS-tst-lfschk6): Renamed to ...
52077         (LDLIBS-tst-lfschk6): This.
52079         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
52080         on $(common-objpfx)soversions.mk.
52082 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
52084         [BZ #10014]
52085         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
52086         example host name.
52088 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
52090         * malloc/arena.c (arena_get_retry): New function that gets
52091         another arena for the caller to try its request on.
52092         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
52093         current arena cannot fulfill the request.
52094         (__libc_memalign): Likewise.
52095         (__libc_memalign): Likewise.
52096         (__libc_pvalloc): Likewise.
52097         (__libc_calloc): Likewise.
52099 2012-09-05  John Tobey  <john.tobey@gmail.com>
52101         [BZ #13542]
52102         * manual/arith.texi (Operations on Complex): Fix description
52103         of carg branch cut.
52105 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
52107         [BZ #10014]
52108         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
52109         host name.
52111         [BZ #10038]
52112         * manual/memory.texi (Memory): Make order of menu items match
52113         order of sections.
52115 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52117         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
52118         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
52119         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
52121 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52123         * csu/libc-tls.c (static_dtv): Renamed to ...
52124         (_dl_static_dtv): This.  Make it global.
52125         (_dl_initial_dtv): Removed.
52126         (__libc_setup_tls): Updated.
52127         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
52128         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
52129         DL_INITIAL_DTV.
52131 2012-09-06  Petr Machata  <pmachata@redhat.com>
52133         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
52134         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
52135         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
52136         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
52138 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52140         [BZ #14545]
52141         * csu/libc-tls.c (_dl_initial_dtv): New variable.
52142         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
52143         freeing dtv[-1].
52145 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52147         [BZ #14544]
52148         * Makeconfig (link-static-before-libc): Replace $(+prector)
52149         with $(+prectorT).
52150         (link-static-after-libc): Replace $(+postctor) with
52151         $(+postctorT).
52152         (link-bounded): Replace $(+prector)/$(+postctor) with
52153         $(+prectorT)/$(+postctorT).
52154         (+prectorT): New macro.
52155         (+postctorT): Likewise.
52157 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
52159         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
52160         (round_str): Handle values above the maximum for IBM long double
52161         as inexact.
52162         * stdlib/tst-strtod-round.c (tests): Regenerated.
52164 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52166         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
52167         assembler flag.
52168         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
52169         zarch_nohighgprs around the zarch optimized routines.
52170         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
52171         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
52172         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
52173         for zarch.
52175 2012-09-05  David S. Miller  <davem@davemloft.net>
52177         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52179         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
52180         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
52181         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
52182         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52183         entries.
52185 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52187         * malloc/arena.c: Fold copyright years.
52188         * malloc/mcheck.c, malloc/memusage.c: Likewise.
52190 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52192         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
52194 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52196         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
52198 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52200         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
52201         change internal state upon failure.
52203 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52205         * malloc/mcheck.c (mcheck_check_all): Fix typo.
52206         * malloc/memusage.c (mmap): Likewise.
52207         (mmap64, mremap): Likewise.  Adjust name in comment.
52209 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52211         * libio/fileops.c: Fix typos in comments.
52212         * libio/oldfileops.c: Likewise.
52213         * libio/wfileops.c: Likewise.
52215 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52217         [BZ #1349]
52218         * malloc/Makefile (tests): Add tst-malloc-usable test case.
52219         (tst-malloc-usable-ENV): Set environment for test case.
52220         * malloc/hooks.c (malloc_check_get_size): New function to get
52221         requested size.
52222         * malloc/malloc.c (musable): Use malloc_check_get_size.
52223         * malloc/tst-malloc-usable.c: New test case.
52225 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
52227         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
52229 2012-09-05  Allan McRae  <allan@archlinux.org>
52231         [BZ #13966]
52232         * configure.in (CXX_SYSINCLUDES): Use compiler output to
52233         determine header location.
52234         * configure: Regenerated.
52236 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
52238         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
52239         float format.
52240         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
52241         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
52242         format.
52243         (test): Regenerate.
52245 2012-09-04  David S. Miller  <davem@davemloft.net>
52247         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
52248         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
52249         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
52251 2012-09-04  Florian Weimer  <fweimer@redhat.com>
52253         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
52254         failures.
52256         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
52258 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
52260         [BZ #9914]
52261         * libio/iogetdelim.c: Include <limits.h>.
52262         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
52263         + len + 1 would overflow.
52265 2012-09-03  Andreas Jaeger  <aj@suse.de>
52267         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52268         * sysdeps/i386/fpu/libm-test-ulps: Update.
52270 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52272         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
52273         Add s_sinf-sse2, s_conf-sse2.
52275         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
52276         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
52277         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
52278         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
52280         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
52281         for using routine as __sinf_ia32.
52282         Use macro for function declaration and weak_alias.
52283         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
52284         for using routine as __cosf_ia32.
52285         Use macro for function declaration and weak_alias.
52287         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
52288         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
52290         * sysdeps/x86_64/fpu/s_sinf.S: New file.
52291         * sysdeps/x86_64/fpu/s_cosf.S: New file.
52292         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52294         * math/libm-test.inc (cos_test): Add more test cases.
52295         (sin_test): Likewise.
52296         (sincos_test): Likewise.
52298 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52300         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
52301         (IFUNC_RESOLVE): Make pointers to the specialized implementations
52302         hidden.
52303         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
52305 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
52307         [BZ #14538]
52308         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
52309         first element of the GOT.
52310         (elf_machine_load_address): Return the difference between
52311         the runtime address of _DYNAMIC and elf_machine_dynamic ().
52313 2012-09-01  Allan McRae  <allan@archlinux.org>
52315         [BZ #13412]
52316         * configure.in (AWK): Require gawk version 3.0 or later.
52317         * configure: Regenerated.
52319 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
52321         * sysdeps/unix/sysv/linux/kernel-features.h
52322         (__ASSUME_POSIX_CPU_TIMERS): Remove.
52323         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
52324         [__NR_clock_getres]: Make code unconditional.
52325         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
52326         (clock_getcpuclockid): Remove code left unreachable by removal of
52327         conditionals.
52328         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
52329         code unconditional.
52330         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
52331         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
52332         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
52333         Make code unconditional.
52334         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
52335         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
52336         * sysdeps/unix/sysv/linux/clock_settime.c
52337         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
52338         conditional code.
52339         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
52340         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
52342 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
52344         [BZ #14476]
52345         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
52346         scripts/test-installation.pl.
52348         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
52349         and $ld_so_version if it is set.
52351 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52353         [BZ #14516]
52354         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
52355         failure if reading from procfs failed.
52356         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
52358 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
52360         * sysdeps/unix/sysv/linux/kernel-features.h
52361         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
52362         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
52363         Remove conditional code.
52364         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52365         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
52366         Remove conditional code.
52367         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52368         * sysdeps/unix/sysv/linux/i386/fxstat.c
52369         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
52370         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52371         * sysdeps/unix/sysv/linux/i386/fxstatat.c
52372         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
52373         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52374         * sysdeps/unix/sysv/linux/i386/lxstat.c
52375         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
52376         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52377         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
52378         Remove conditional code.
52379         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52380         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
52381         Remove conditional code.
52382         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52383         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
52384         <kernel-features.h>.
52385         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
52386         Remove.
52387         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
52388         Remove conditional code.
52389         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52390         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
52391         Remove conditional.
52393 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
52395         [BZ #5400]
52396         * NEWS: Add fixed bug number.
52398 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
52400         [BZ #14519]
52401         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
52402         underflowing exponent in case of negative sign.
52403         * stdlib/tst-strtod-round-data: Add more tests.
52404         * stdlib/tst-strtod-round.c (tests): Regenerated.
52406         [BZ #3479]
52407         * stdlib/strtod_l.c (NDIG): Remove.
52408         (HEXNDIG): Likewise.
52409         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
52410         smallest representable value.
52411         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
52412         lie within an exact representation of 1/2 ulp of the result.
52413         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
52414         unconditionally.
52415         (TENS_P9_IDX): Define unconditionally.
52416         (TENS_P9_SIZE): Likewise.
52417         (TENS_P10_IDX): Likewise.
52418         (TENS_P10_SIZE): Likewise.
52419         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
52420         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
52421         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
52422         entries for 10^2^13 and 10^2^14.
52423         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
52424         (TENS_P13_IDX): Define.
52425         (TENS_P13_SIZE): Likewise.
52426         (TENS_P14_IDX): Likewise.
52427         (TENS_P14_SIZE): Likewise.
52428         (_fpioconst_pow10): Change array size to
52429         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
52430         unconditional.
52431         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
52432         1024]: Add entries for 10^2^13 and 10^2^14.
52433         [LAST_POW10 > _LAST_POW10]: Remove #error.
52434         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
52435         (_fpioconst_pow10): Change array size to
52436         FPIOCONST_POW10_ARRAY_SIZE.
52437         * stdlib/gen-fpioconst.c: New file.
52438         * stdlib/gen-tst-strtod-round.c: Likewise.
52439         * stdlib/tst-strtod-round-data: Likewise.
52440         * stdlib/tst-strtod-round.c: Likewise.
52441         * stdlib/Makefile (tests): Add tst-strtod-round.
52443         [BZ #14459]
52444         * stdlib/strtod_l.c: Include <stdint.h>.
52445         (NDEBUG): Do not define.
52446         (round_and_return): Change EXPONENT parameter to type intmax_t.
52447         Rearrange calculations to avoid internal overflow possibilities.
52448         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
52449         Rearrange calculations to avoid internal overflow possibilities.
52450         Assert that number fits inside MPNSIZE limbs.
52451         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
52452         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
52453         calculations and add assertions to avoid internal overflow
52454         possibilities.  Add casts to avoid signed/unsigned operations.
52455         * stdlib/tst-strtod-overflow.c: New file.
52456         * stdlib/Makefile (tests): Add tst-strtod-overflow.
52458 2012-08-25  Marek Polacek  <polacek@redhat.com>
52460         * time/time.h: Fix some typos in comments.
52462 2012-08-23  Roland McGrath  <roland@hack.frob.com>
52464         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
52465         * posix/tst-rfc3484-2.c: Likewise.
52466         * posix/tst-rfc3484-3.c: Likewise.
52468 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
52470         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
52471         (EF_ARM_ABI_FLOAT_HARD): Likewise.
52473 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
52475         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
52476         #include of fxstatat64.c.
52478 2012-08-22  Roland McGrath  <roland@hack.frob.com>
52480         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
52481         * shadow/getspent_r.c: Likewise.
52482         * shadow/getspnam.c: Likewise.
52483         * shadow/getspnam_r.c: Likewise.
52484         * gshadow/getsgent.c: Likewise.
52485         * gshadow/getsgent_r.c: Likewise.
52486         * gshadow/getsgnam.c: Likewise.
52487         * gshadow/getsgnam_r.c: Likewise.
52488         * inet/getnetbyad.c: Likewise.
52489         * inet/getnetbyad_r.c: Likewise.
52490         * inet/getnetbynm.c: Likewise.
52491         * inet/getnetbynm_r.c: Likewise.
52492         * inet/getnetent.c: Likewise.
52493         * inet/getnetent_r.c: Likewise.
52494         * inet/getproto.c: Likewise.
52495         * inet/getproto_r.c: Likewise.
52496         * inet/getprtent.c: Likewise.
52497         * inet/getprtent_r.c: Likewise.
52498         * inet/getprtname.c: Likewise.
52499         * inet/getprtname_r.c: Likewise.
52500         * inet/getrpcbyname.c: Likewise.
52501         * inet/getrpcbyname_r.c: Likewise.
52502         * inet/getrpcbynumber.c: Likewise.
52503         * inet/getrpcbynumber_r.c: Likewise.
52504         * inet/getrpcent.c: Likewise.
52505         * inet/getrpcent_r.c: Likewise.
52506         * inet/getaliasent.c: Likewise.
52507         * inet/getaliasent_r.c: Likewise.
52508         * inet/getaliasname.c: Likewise.
52509         * inet/getaliasname_r.c: Likewise.
52510         * nscd/getgrgid_r.c: Likewise.
52511         * nscd/getgrnam_r.c: Likewise.
52512         * nscd/gethstbyad_r.c: Likewise.
52513         * nscd/gethstbynm3_r.c: Likewise.
52514         * nscd/getpwnam_r.c: Likewise.
52515         * nscd/getpwuid_r.c: Likewise.
52516         * nscd/getsrvbynm_r.c: Likewise.
52517         * nscd/getsrvbypt_r.c: Likewise.
52518         * nscd/gai.c: Likewise.
52520         * configure.in (build_nscd): New substituted variable, set
52521         by --disable-build-nscd and defaults to $use_nscd.
52522         * configure: Regenerated.
52523         * config.make.in (build-nscd): New substituted variable.
52524         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
52525         Change conditional to require [$(build-nscd) = yes] as well.
52526         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
52528         [BZ# 13696]
52529         * configure.in (use_nscd): New substituted variable, set by
52530         --disable-nscd.  If enabled, define USE_NSCD.
52531         * configure: Regenerated.
52532         * config.h.in: Add USE_NSCD.
52533         * config.make.in (use-nscd): New substituted variable.
52534         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
52535         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
52536         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
52537         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
52538         (CFLAGS-getgrnam_r.c): Likewise.
52539         (CFLAGS-initgroups.c): Likewise.
52540         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
52541         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
52542         Variables removed.
52543         * inet/getnetgrent_r.c
52544         (nscd_setnetgrent): New function, broken out of ...
52545         (setnetgrent): ... here.  Call it.
52546         (innetgr): Conditionalize nscd bits on [USE_NSCD].
52547         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
52548         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
52549         * nscd/Makefile (routines, aux): Move definitions after include of
52550         Makeconfig.  Conditionalize on [$(use-nscd) != no].
52551         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
52552         Conditionalize on [USE_NSCD].
52553         (is_nscd, nscd_init_cb): Likewise.
52554         (nss_load_library): Conditionalize init callback on [USE_NSCD].
52555         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
52556         * nss/nss_db/db-init.c: Likewise.
52557         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
52558         [USE_NSCD].
52559         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
52560         (make_request): Use it.
52561         (cache_valid_p): New function.
52562         (__check_pf): Use it.
52563         * NEWS: Add item for --disable-nscd.
52565 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
52567         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
52568         to support sed >= 4.2.1-20-ga9bf076.
52569         * configure: Regenerated.
52571 2012-08-22  Roland McGrath  <roland@hack.frob.com>
52573         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
52574         Conditionalize whole body on [IREL].
52576 2012-08-22  Jeff Law <law@redhat.com>
52578         [BZ #14505]
52579         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
52580         if the family is PF_UNSPEC.
52582 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
52584         * Makerules (lib-version): Rename from V.
52585         (install-lib-nosubdir): Change V to lib-version.
52587 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
52589         [BZ #14252]
52590         * powerpc32/power6/wcschr.c: New file.
52591         * powerpc32/power6/wcscpy.c: New file.
52592         * powerpc32/power6/wcsrchr.c: New file.
52593         * powerpc64/power6/wcschr.c: New file.
52594         * powerpc64/power6/wcscpy.c: New file.
52595         * powerpc64/power6/wcsrchr.c: New file.
52597 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
52599         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
52600         (two_way_short_needle): Use it.
52601         * string/strstr.c (AVAILABLE1_USES_J): Define.
52602         * string/strcasestr.c: Likewise.
52604         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
52605         array references.
52606         * string/strcasestr.c (TOLOWER): Make side-effect safe.
52608         [BZ #11607]
52609         * NEWS: Add an entry.
52610         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
52611         define their defaults.
52612         (two_way_short_needle): Detect end-of-string on-the-fly.
52613         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
52614         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
52615         * string/bug-strcasestr1.c: New test.
52616         * string/Makefile: Run it.
52618 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
52620         [BZ #11607]
52621         * string/str-two-way.h (two_way_short_needle): Optimize matching of
52622         the first character.
52624 2012-08-21  Roland McGrath  <roland@hack.frob.com>
52626         * csu/elf-init.c (__libc_csu_irel): Function removed.
52627         * csu/libc-start.c (apply_irel): New function.
52628         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
52630 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
52632         * sysdeps/unix/sysv/linux/kernel-features.h
52633         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
52634         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
52635         <kernel-features.h>.
52636         [__NR_fadvise64_64]: Make code unconditional.
52637         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
52638         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
52639         !__NR_fadvise64_64)]: Likewise.
52640         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
52641         !__NR_fadvise64_64))]: Likewise.
52642         [__NR_fadvise64]: Make code unconditional.
52643         [!__NR_fadvise64]: Remove conditional code.
52644         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
52645         <kernel-features.h>.
52646         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
52647         unconditional.
52648         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
52649         conditional code.
52650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
52651         not include <kernel-features.h>.
52652         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
52653         unconditional.
52654         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
52655         conditional code.
52656         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
52657         include <kernel-features.h>.
52658         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
52659         unconditional.
52660         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
52661         conditional code.
52663 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
52665         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
52666         slight instruction rearrangements per scrollpipe analysis.
52667         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
52669 2012-08-20  Roland McGrath  <roland@hack.frob.com>
52671         * manual/syslog.texi (syslog; vsyslog, closelog):
52672         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
52673         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
52675         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
52676         DSOCAPS to match condition on defining it.
52678 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
52680         * sysdeps/unix/sysv/linux/kernel-features.h
52681         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
52682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
52683         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
52684         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
52685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
52686         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
52687         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
52688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
52689         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
52690         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
52692         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
52693         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
52695         * sysdeps/unix/sysv/linux/kernel-features.h
52696         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
52697         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
52698         unconditional.
52699         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52700         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
52701         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
52702         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52703         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
52704         Make code unconditional.
52705         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52706         (__mmap64) [!__NR_mmap2]: Likewise.
52707         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
52708         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
52709         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52710         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
52711         [__NR_mmap2]: Make code unconditional.
52712         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52713         (__mmap64) [!__NR_mmap2]: Likewise.
52715 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52717         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
52719 2012-08-18  Andreas Jaeger  <aj@suse.de>
52721         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
52723 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
52725         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
52726         * include/unistd.h (__have_sock_cloexec): Likewise.
52727         (__have_pipe2): Likewise.
52728         (__have_dup3): Likewise.
52730 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
52732         [BZ #9685]
52733         * include/unistd.h (__have_pipe2): Change define into an extern int.
52734         (__have_dup3): Likewise.
52735         * socket/have_sock_cloexec.c: Include fcntl.h.
52736         (__have_pipe2): New variable.
52737         (__have_dup3): Likewise.
52739 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
52741         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
52743 2012-08-17  Marek Polacek  <polacek@redhat.com>
52745         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
52746         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
52748 2012-08-17  Roland McGrath  <roland@hack.frob.com>
52750         * configure.in: Add AC_SUBST for sysheaders.
52751         * configure: Regenerated.
52752         * config.make.in (sysheaders): New substituted variable.
52754         * sysdeps/unix/mkfifo.c: Moved ...
52755         * sysdeps/posix/mkfifo.c: ... here.
52756         * sysdeps/unix/mkfifoat.c: Moved ...
52757         * sysdeps/posix/mkfifoat.c: ... here.
52759         * sysdeps/unix/utime.c: Moved ...
52760         * sysdeps/posix/utime.c: ... here.
52762         * sysdeps/unix/time.c: Moved ...
52763         * sysdeps/posix/time.c: ... here.
52764         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
52765         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
52767         * sysdeps/unix/nice.c: Moved ...
52768         * sysdeps/posix/nice.c: ... here.
52770         * sysdeps/unix/alarm.c: Moved ...
52771         * sysdeps/posix/alarm.c: ... here.
52773         * intl/Makefile ($(codeset_mo)): Depend on the input file.
52775 2012-08-17  Jeff Law <law@redhat.com>
52777         * intl/Makefile (codeset_mo): New variable.
52778         ($(codeset_mo)): New target.
52779         (tst-codeset.out): Depend on that.  Remove explicit rule.
52780         (tst-gettext3.out, tst-gettext5.out): Likewise.
52781         (LOCPATH-ENV, tst-codeset-ENV): New variables.
52782         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
52783         * intl/tst-codeset.sh: Remove.
52784         * intl/tst-gettext3.sh: Likewise.
52785         * intl/tst-gettext5.sh: Likewise.
52787 2012-08-17  Roland McGrath  <roland@hack.frob.com>
52789         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
52790         * sysdeps/unix/syscalls.list: ... here.
52792         * sysdeps/posix/getaddrinfo.c
52793         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
52794         (gaiconf_init, gaiconf_reload): Use them.
52795         [!_STATBUF_ST_NSEC]
52796         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
52797         Define using time_t rather than struct timespec.
52799         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
52800         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
52801         Macros removed.
52802         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
52803         [!NO_THREADS].
52804         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
52805         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
52806         Likewise.
52808         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
52809         __libc_cleanup_push argument.
52811         * bits/param.h: New file.
52812         * misc/sys/param.h: New file.
52813         * include/sys/param.h: New file.
52814         * misc/Makefile (headers): Add bits/param.h.
52815         * sysdeps/generic/sys/param.h: File removed.
52816         * sysdeps/unix/sysv/linux/bits/param.h: New file.
52817         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
52818         * sysdeps/mach/hurd/bits/param.h: New file.
52819         * sysdeps/mach/hurd/sys/param.h: File removed.
52821         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
52822         last change.
52824         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
52825         [_IO_MTSAFE_IO].
52826         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
52827         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
52828         New macros.
52830         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
52831         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
52832         rather than -D_IO_MTSAFE_IO conditionally.
52833         * stdio-common/Makefile (CPPFLAGS): Likewise.
52834         * wcsmbs/Makefile (CPPFLAGS): Likewise.
52835         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
52836         Use $(libio-mtsafe).
52837         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
52838         of -D_IO_MTSAFE_IO.
52839         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
52840         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
52841         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
52842         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
52843         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
52844         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
52845         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
52846         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
52847         (CFLAGS-fread_u_chk.c): Likewise.
52848         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
52849         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
52850         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
52851         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
52852         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
52853         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
52854         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
52855         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
52856         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
52858         * libio/Makefile: Test [$(libc-reentrant) = yes]
52859         instead of [$(filter %REENTRANT, $(defines)) nonempty].
52861         * Makeconfig
52862         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
52863         * sysdeps/pthread/configure: File removed.
52864         * sysdeps/pthread/Makeconfig: New file.
52865         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
52866         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
52868 2012-08-16  Gary Benson  <gbenson@redhat.com>
52870         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
52871         unmapping the first object in a namespace.
52873 2012-08-16  Roland McGrath  <roland@hack.frob.com>
52875         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
52876         (__internal_setnetgrent): ... this.  Add internal_function to
52877         definition.  Add libc_hidden_def.
52878         (setnetgrent): Update caller.
52879         (internal_endnetgrent): Renamed to ...
52880         (__internal_endnetgrent): ... this.  Add internal_function to
52881         definition.  Add libc_hidden_def.
52882         (endnetgrent): Update caller.
52883         (internal_getnetgrent_r): Renamed to ...
52884         (__internal_getnetgrent_r): ... this.  Add internal_function to
52885         definition.  Add libc_hidden_def.
52886         (__getnetgrent_r): Update caller.
52887         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
52889 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
52891         * stdlib/longlong.h: Update from GCC.
52893 2012-08-16  Roland McGrath  <roland@hack.frob.com>
52895         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
52896         on _QL, which is set by umul_ppmm but never used.
52897         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
52898         variables, which are set by GMP macros but never used.
52899         * stdio-common/_itowa.c (_itowa): Likewise.
52900         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
52901         * stdlib/mod_1.c (mpn_mod_1): Likewise.
52903 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
52905         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
52906         struct La_sh_regs is not constant.
52907         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
52908         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
52909         and struct La_sparc64_regs are not constant.
52911 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
52913         * sysdeps/unix/sysv/linux/kernel-features.h
52914         (__ASSUME_POSIX_TIMERS): Remove.
52915         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
52916         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52917         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
52918         Make code unconditional.
52919         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52920         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
52921         Make code unconditional.
52922         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52923         * sysdeps/unix/sysv/linux/clock_nanosleep.c
52924         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
52925         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52926         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
52927         Make code unconditional.
52928         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52929         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
52930         (__libc_missing_posix_timers): Remove.
52932 2012-08-15  Roland McGrath  <roland@hack.frob.com>
52934         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
52935         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
52937         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
52939         * elf/dl-sym.c: Include <stdlib.h>.
52941         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
52942         constants, which avoids warnings in 32-bit builds.
52944         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
52945         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
52947         * misc/lseek.c: File moved to ...
52948         * io/lseek.c: ... here.
52950         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
52952         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
52953         shifting LEN more than 31 bits at once.
52955 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52957         [BZ #14195]
52958         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
52959         segmentation fault for a case of two empty input strings.
52960         * string/test-strncasecmp.c (check1): Renamed to...
52961         (bz12205): ...this.
52962         (bz14195): Add new testcase for two empty input strings and N > 0.
52963         (test_main): Call new testcase, adapt for renamed function.
52965 2012-08-15  Andreas Jaeger  <aj@suse.de>
52967         [BZ #14090]
52968         * crypt/md5test2.c: New test, based on test supplied by Serge
52969         Belyshev <belyshev@depni.sinp.msu.ru>.
52970         * crypt/Makefile (xtests): Add md5test-giant..
52971         * crypt/Makefile ($(objpfx)md5test-giant): Add.
52973 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
52975         [BZ #14090]
52976         * crypt/md5.c (md5_process_block): Don't assume the buffer
52977         length is less than 2**32.
52978         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
52979         length is less than 2**64.
52981 2012-08-15  Roland McGrath  <roland@hack.frob.com>
52983         * string/str-two-way.h: Include <sys/param.h>.
52984         (MAX): Macro removed.
52986         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
52987         Move #define and #undef of memmove to just before and after
52988         including <string.h>.
52990         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
52991         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
52992         and after including <string.h>.  Move declarations of
52993         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
52994         to before #include "string/memmove.c".
52996         * include/dirent.h: Declare __getdirentries.
52998         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
52999         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
53001 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
53003         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
53004         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
53005         * sysdeps/i386/configure: Regenerated.
53006         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
53007         STABS_CURRENT_FILE, and STABS_FUN.
53008         (END): Remove call to STABS_FUN_END.
53009         (STABS_CURRENT_FILE1): Delete.
53010         (STABS_CURRENT_FILE): Likewise.
53011         (STABS_FUN): Likewise.
53012         (STABS_FUN_END): Likewise.
53013         (STABS_FUN2): Likewise.
53014         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
53015         * sysdeps/x86_64/configure: Regenerated.
53017 2012-08-14  Roland McGrath  <roland@hack.frob.com>
53019         * elf/dl-open.c: Include <atomic.h>.
53020         * elf/dl-lookup.c: Likewise.
53022 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
53024         * sysdeps/unix/sysv/linux/kernel-features.h
53025         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
53026         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
53027         unconditionally.
53028         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
53029         unconditionally.
53030         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
53031         condition on __ASSUME_CLONE_THREAD_FLAGS.
53033 2012-08-14  Andreas Jaeger  <aj@suse.de>
53035         * sysdeps/i386/fpu/libm-test-ulps: Update.
53037 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
53039         * include/atomic.h (atomic_exchange_and_add): Split into ...
53040         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
53041         New atomic macros.
53043 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
53045         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53047 2012-08-13  Jeff Law <law@redhat.com>
53049         * manual/stdio.texi (snprintf): Clarify handling of the trailing
53050         null byte in the output string.
53052 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
53054         * sysdeps/unix/sysv/linux/kernel-features.h
53055         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
53056         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
53057         (__ASSUME_ARG_MAX_STACK_BASED): Define.
53058         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
53059         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
53060         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
53061         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
53063 2012-08-09  Jeff Law <law@redhat.com>
53065         [BZ #13939]
53066         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
53067         When avoid_arena is set, don't retry in the that arena.  Pick the
53068         next one, whatever it might be.
53069         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
53070         (arena_lock): Pass in new parameter to arena_get2.
53071         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
53072         arena_get2.
53073         (__libc_malloc): Unify retrying after main arena failure with
53074         __libc_memalign version.
53075         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
53077 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
53079         [BZ #14166]
53080         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
53081         to __redirect_strstr.
53082         (__strstr_sse42): Use typeof __redirect_strstr.
53083         (__strstr_ia32): Likewise.
53084         (__libc_strstr): New prototype.
53085         (strstr): Renamed to ...
53086         (__libc_strstr): This.
53087         (strstr): New strong alias of __libc_strstr.
53088         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
53089         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
53090         __redirect_time.
53091         Include <time.h>.
53092         (__libc_time): New prototype.
53093         (time_ifunc): Replace time with __libc_time.
53094         (time): New strong alias and hidden definition of __libc_time.
53095         (__GI_time): Remove strong alias.
53096         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
53097         Include <stddef.h>.
53098         (memmove): Redefined to __redirect_memmove.
53099         (__memmove_sse2): Use typeof __redirect_memmove.
53100         (__memmove_ssse3): Likewise.
53101         (__memmove_ssse3_back): Likewise.
53102         (__libc_memmove): New prototype.
53103         (memmove): Renamed to ...
53104         (__libc_memmove): This.
53105         (memmove): New strong alias of __libc_memmove.
53107 2012-08-08  Mark Salter  <msalter@redhat.com>
53109         * elf/elf.h
53110         (R_MN10300_TLS_GD): Define.
53111         (R_MN10300_TLS_LD): Likewise.
53112         (R_MN10300_TLS_LDO): Likewise.
53113         (R_MN10300_TLS_GOTIE): Likewise.
53114         (R_MN10300_TLS_IE): Likewise.
53115         (R_MN10300_TLS_LE): Likewise.
53116         (R_MN10300_TLS_DTPMOD): Likewise.
53117         (R_MN10300_TLS_DTPOFF): Likewise.
53118         (R_MN10300_TLS_TPOFF): Likewise.
53119         (R_MN10300_SYM_DIFF): Likewise.
53120         (R_MN10300_ALIGN): Likewise.
53121         (R_MN10300_NUM): Update.
53123 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
53125         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
53126         Remove.
53128 2012-08-08  Roland McGrath  <roland@hack.frob.com>
53130         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
53132         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
53133         sysdeps/unix -> sysdeps/posix move.
53134         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
53136 2012-08-07      Allan McRae     <allan@archlinux.org>
53138         [BZ #14303]
53139         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
53140         (SUNOS_CPP): Likewise.
53141         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
53142         not found.
53143         (open_input): Call CPP using execvp.
53145 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
53147         * sysdeps/unix/sysv/linux/kernel-features.h
53148         (__ASSUME_PROT_GROWSUPDOWN): Remove.
53149         (__ASSUME_NO_CLONE_DETACHED): Likewise.
53150         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
53151         (__ASSUME_WAITID_SYSCALL): Likewise.
53152         * sysdeps/unix/sysv/linux/dl-execstack.c
53153         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
53154         code unconditional.
53155         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
53156         conditional code.
53157         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
53158         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
53159         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
53160         code.
53161         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
53162         unconditional.
53163         [__ASSUME_WAITID_SYSCALL]: Likewise.
53164         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
53166 2012-08-07  Roland McGrath  <roland@hack.frob.com>
53168         * sysdeps/unix/closedir.c: Renamed to ...
53169         * sysdeps/posix/closedir.c: ... here.
53170         * sysdeps/unix/dirfd.c: Renamed to ...
53171         * sysdeps/posix/dirfd.c: ... here.
53172         * sysdeps/unix/dirstream.h: Renamed to ...
53173         * sysdeps/posix/dirstream.h: ... here.
53174         * sysdeps/unix/fdopendir.c: Renamed to ...
53175         * sysdeps/posix/fdopendir.c: ... here.
53176         * sysdeps/unix/opendir.c: Renamed to ...
53177         * sysdeps/posix/opendir.c: ... here.
53178         * sysdeps/unix/readdir.c: Renamed to ...
53179         * sysdeps/posix/readdir.c: ... here.
53180         * sysdeps/unix/readdir_r.c: Renamed to ...
53181         * sysdeps/posix/readdir_r.c: ... here.
53182         * sysdeps/unix/rewinddir.c: Renamed to ...
53183         * sysdeps/posix/rewinddir.c: ... here.
53184         * sysdeps/unix/seekdir.c: Renamed to ...
53185         * sysdeps/posix/seekdir.c: ... here.
53186         * sysdeps/unix/telldir.c: Renamed to ...
53187         * sysdeps/posix/telldir.c: ... here.
53188         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
53189         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
53190         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
53191         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
53193         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
53194         * bits/fcntl.h: ... here.
53196         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
53197         not 0.
53198         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
53199         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
53200         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
53201         (struct flock): Move l_start, l_len to the beginning.
53202         Use __pid_t for l_pid.
53203         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
53204         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
53205         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
53206         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
53207         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
53208         [__USE_LARGEFILE64] (struct flock64): New type.
53209         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
53211         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
53212         * bits/dirent.h: ... here.
53214         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
53215         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
53217 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
53219         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53220         Change from 2.6.0 to 2.6.16.
53221         * sysdeps/unix/sysv/linux/configure: Regenerated.
53222         * sysdeps/unix/sysv/linux/kernel-features.h
53223         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
53224         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
53225         version.
53226         (__ASSUME_UTIMES): Likewise.
53227         (__ASSUME_CLONE_STOPPED): Remove.
53228         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
53229         architectures, not kernel version.
53230         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
53231         (__ASSUME_NO_CLONE_DETACHED): Likewise.
53232         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
53233         (__ASSUME_WAITID_SYSCALL): Likewise.
53234         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
53235         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
53236         * README: State 2.6.16 as minimum Linux kernel version.  Do not
53237         refer to older versions.
53239 2012-08-06  Roland McGrath  <roland@hack.frob.com>
53241         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
53242         Define alphasort64 as an alias.
53243         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
53244         Define versionsort64 as an alias.
53245         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
53246         Define scandir64 as an alias.
53247         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
53248         Define scandirat64 as an alias.
53249         * dirent/alphasort64.c (alphasort64):
53250         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
53251         * dirent/versionsort64.c: Likewise.
53252         * dirent/scandir64.c: Likewise.
53253         * dirent/scandirat64.c: Likewise.
53254         * sysdeps/wordsize-64/alphasort.c: File removed.
53255         * sysdeps/wordsize-64/alphasort64.c: File removed.
53256         * sysdeps/wordsize-64/scandir.c: File removed.
53257         * sysdeps/wordsize-64/scandir64.c: File removed.
53258         * sysdeps/wordsize-64/scandirat.c: File removed.
53259         * sysdeps/wordsize-64/scandirat64.c: File removed.
53260         * sysdeps/wordsize-64/versionsort.c: File removed.
53261         * sysdeps/wordsize-64/versionsort64.c: File removed.
53262         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
53263         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
53264         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
53265         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
53266         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
53267         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
53268         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
53269         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
53271         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
53272         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
53273         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
53274         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53275         [defined __arch64__ || defined __sparcv9]
53276         (__INO_T_MATCHES_INO64_T): New macro.
53277         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
53278         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
53279         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
53280         * sysdeps/unix/sysv/linux/bits/dirent.h
53281         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
53282         (_DIRENT_MATCHES_DIRENT64): New macro.
53284         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
53285         Define lockf64 as an alias.
53286         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
53287         Define fseeko64 as an alias.
53288         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
53289         Define ftello64 as an alias.
53290         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
53291         Define _IO_fgetpos64 and fgetpos64 as aliases.
53292         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
53293         Define _IO_fsetpos64 and fsetpos64 as aliases.
53294         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
53295         Conditionalize body on this.
53296         * libio/fseeko64.c: Likewise.
53297         * libio/ftello64.c: Likewise.
53298         * libio/iofgetpos64.c: Likewise.
53299         * libio/iofsetpos64.c: Likewise.
53300         * sysdeps/wordsize-64/lockf.c: File removed.
53301         * sysdeps/wordsize-64/lockf64.c: File removed.
53302         * sysdeps/wordsize-64/fseeko.c: File removed.
53303         * sysdeps/wordsize-64/fseeko64.c: File removed.
53304         * sysdeps/wordsize-64/ftello.c: File removed.
53305         * sysdeps/wordsize-64/ftello64.c: File removed.
53306         * sysdeps/wordsize-64/iofgetpos.c: File removed.
53307         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
53308         * sysdeps/wordsize-64/iofsetpos.c: File removed.
53309         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
53310         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
53311         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
53312         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
53313         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
53314         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
53315         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
53316         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
53317         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
53318         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
53319         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
53321         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
53322         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
53323         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
53324         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53325         [defined __arch64__ || defined __sparcv9]
53326         (__OFF_T_MATCHES_OFF64_T): New macro.
53327         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
53328         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
53329         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53330         (__OFF_T_MATCHES_OFF64_T): New macro.
53332 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
53334         * stdlib/secure-getenv.c (__secure_getenv): Replace
53335         GLIBC_2_16 with GLIBC_2_17.
53337 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
53339         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
53340         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
53342 2012-08-03  David S. Miller  <davem@davemloft.net>
53344         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53346 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
53348         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
53349         Remove.
53350         (__ASSUME_CORRECT_SI_PID): Likewise.
53351         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
53352         (__ASSUME_TMPFS_NAME): Likewise.
53353         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
53354         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
53355         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
53356         (HAVE_AUX_SECURE): Make definition unconditional.
53357         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
53358         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
53360 2012-08-03  Roland McGrath  <roland@hack.frob.com>
53362         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
53363         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
53364         * sysdeps/mach/hurd/eloop-threshold.h: New file.
53365         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
53366         __eloop_threshold instead of SYMLOOP_MAX.
53368         * sysdeps/generic/eloop-threshold.h: New file.
53369         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
53370         of MAXSYMLINKS.
53371         * elf/chroot_canon.c (chroot_canon): Likewise.
53373 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
53375         [BZ #13717]
53376         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53377         Change to 2.6.0 everywhere.
53378         * sysdeps/unix/sysv/linux/configure: Regenerated.
53379         * sysdeps/unix/sysv/linux/kernel-features.h
53380         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
53381         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
53382         kernel versions.
53383         (__ASSUME_POSIX_TIMERS): Define unconditionally.
53384         (__ASSUME_FUTEX_REQUEUE): Remove.
53385         (__ASSUME_STATFS64): Define unconditionally.
53386         (__ASSUME_AT_SECURE): Likewise.
53387         (__ASSUME_CORRECT_SI_PID): Likewise.
53388         (__ASSUME_TGKILL): Define without depending on kernel version for
53389         i386.
53390         (__ASSUME_UTIMES): Likewise.
53391         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
53392         kernel version.
53393         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
53394         (__ASSUME_TMPFS_NAME): Likewise.
53395         * README: Update reference to Linux kernel versions.
53397 2012-08-02  Marek Polacek  <polacek@redhat.com>
53399         [BZ# 14150]
53400         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
53401         libc_cv_asm_type_prefix with %.
53402         * configure: Regenerated.
53403         * include/libc-symbols.h: Remove comment about
53404         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
53405         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
53406         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
53407         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
53408         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
53409         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
53410         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
53411         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
53412         * elf/tst-unique2mod1.c: Likewise.
53413         * elf/tst-unique1mod2.c: Likewise.
53414         * elf/tst-unique1mod1.c: Likewise.
53415         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
53416         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
53417         Replace ASM_TYPE_DIRECTIVE with .type.
53418         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53419         * sysdeps/i386/sysdep.h: Likewise.
53420         * sysdeps/x86_64/sysdep.h: Likewise.
53421         * sysdeps/sh/sysdep.h: Likewise.
53422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53423         Do not define ASM_TYPE_DIRECTIVE.
53424         * sysdeps/powerpc/sysdep.h: Likewise.
53425         * sysdeps/powerpc/powerpc32/sysdep.h:
53426         Replace ASM_TYPE_DIRECTIVE with .type.
53427         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
53428         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
53429         * sysdeps/i386/fpu/e_powf.S: Likewise.
53430         * sysdeps/i386/fpu/e_expl.S: Likewise.
53431         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53432         * sysdeps/i386/fpu/e_acosh.S: Likewise.
53433         * sysdeps/i386/fpu/e_pow.S: Likewise.
53434         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
53435         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53436         * sysdeps/i386/fpu/s_expm1.S: Likewise.
53437         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
53438         * sysdeps/i386/fpu/e_log2.S: Likewise.
53439         * sysdeps/i386/fpu/e_log2l.S: Likewise.
53440         * sysdeps/i386/fpu/e_scalb.S: Likewise.
53441         * sysdeps/i386/fpu/e_powl.S: Likewise.
53442         * sysdeps/i386/fpu/e_log10f.S: Likewise.
53443         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
53444         * sysdeps/i386/fpu/e_logl.S: Likewise.
53445         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
53446         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
53447         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
53448         * sysdeps/i386/fpu/e_log2f.S: Likewise.
53449         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53450         * sysdeps/i386/fpu/e_log.S: Likewise.
53451         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53452         * sysdeps/i386/fpu/e_logf.S: Likewise.
53453         * sysdeps/i386/fpu/e_log10l.S: Likewise.
53454         * sysdeps/i386/fpu/e_atanh.S: Likewise.
53455         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
53456         * sysdeps/i386/fpu/e_log10.S: Likewise.
53457         * sysdeps/i386/fpu/s_frexp.S: Likewise.
53458         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53459         * sysdeps/i386/fpu/s_asinh.S: Likewise.
53460         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
53461         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53462         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
53463         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
53464         * sysdeps/i386/i686/strtok.S: Likewise.
53465         * sysdeps/i386/i386-mcount.S: Likewise.
53466         * sysdeps/i386/strtok.S: Likewise.
53467         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
53468         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53469         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53470         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53471         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
53472         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53473         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
53474         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
53475         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53476         * sysdeps/x86_64/_mcount.S: Likewise.
53477         * sysdeps/x86_64/strtok.S: Likewise.
53478         * sysdeps/sh/_mcount.S: Likewise.
53480 2012-08-01  Roland McGrath  <roland@hack.frob.com>
53482         * libio/iofopen.c: Include <fcntl.h>.
53483         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
53484         (_IO_fopen64, fopen64): Define as aliases.
53485         * libio/iofopen64.c: Include <fcntl.h>.
53486         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
53487         Conditionalize body on this.
53488         * sysdeps/wordsize-64/iofopen.c: File removed.
53489         * sysdeps/wordsize-64/iofopen64.c: File removed.
53491 2012-08-01  Marek Polacek  <polacek@redhat.com>
53493         * libc/Makeconfig: Use elf in place of binfmt-subdir.
53494         Use dlfcn directly instead of a variable.
53495         (binfmt-subdir): Do not define.
53496         (dlfcn): Likewise.
53498 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
53500         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
53501         Remove all definitions.
53502         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
53503         <kernel-features.h>.
53504         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
53505         (miss_F_GETOWN_EX): Remove all definitions.
53506         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
53507         macro definition.
53508         [!__ASSUME_FCNTL64]: Remove conditional code.
53509         [__ASSUME_FCNTL64]: Make code unconditional.
53510         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
53511         <kernel-features.h>.
53512         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
53513         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
53514         (lockf64) [__NR_fcntl64]: Make code unconditional.
53515         (lockf64) [__ASSUME_FCNTL64]: Likewise.
53517         * sysdeps/unix/sysv/linux/kernel-features.h
53518         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
53519         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
53520         Make code unconditional.
53521         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
53522         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
53523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
53524         [__NR_vfork]: Make code unconditional.
53525         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
53526         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
53527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
53528         [__NR_vfork]: Make code unconditional.
53529         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
53530         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
53532 2012-08-01  Roland McGrath  <roland@hack.frob.com>
53534         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
53535         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
53537         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53538         Define mkstemp64 as an alias.
53539         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53540         Define mkstemps64 as an alias.
53541         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53542         Define mkostemp64 as an alias.
53543         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53544         Define mkostemps64 as an alias.
53545         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
53546         Conditionalize body on this.
53547         * misc/mkostemp64.c: Likewise.
53548         * misc/mkostemps64.c: Likewise.
53549         * misc/mkstemps64.c: Likewise.
53550         * sysdeps/wordsize-64/mkstemp64.c: File removed.
53551         * sysdeps/wordsize-64/mkostemp64.c: File removed.
53552         * sysdeps/wordsize-64/mkostemp.c: File removed.
53553         * sysdeps/wordsize-64/mkstemp.c: File removed.
53554         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
53555         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
53556         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
53557         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
53559         [BZ #14138]
53560         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
53561         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
53562         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
53563         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
53565         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
53566         compat_symbol macros from <shlib-compat.h> rather than the underlying
53567         default_symbol_version and symbol_version macros, so that DEFAULT
53568         lines in shlib-versions are respected.
53569         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
53571 2012-08-01  Florian Weimer  <fweimer@redhat.com>
53573         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
53574         Declare with warn_unused_result.
53575         (setgid, setregid, setegid, setresgid): Likewise.
53576         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
53577         Likewise.
53578         * WUR-REPORT: Remove set*id functions.
53580 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
53582         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
53584 2012-07-31  Roland McGrath  <roland@hack.frob.com>
53586         [BZ #10191]
53587         * include/sys/socket.h (__libc_accept, __libc_accept4):
53588         Add attribute_hidden.
53589         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
53591         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
53592         use of PTR_MANGLE.
53593         * inet/getnetgrent_r.c (setup): Likewise.
53595         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
53597 2012-07-31  David S. Miller  <davem@davemloft.net>
53599         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53601 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
53603         [BZ #13629]
53604         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
53605         value between 1.0 and 2.0 and smaller part has absolute value less
53606         than 1.0.
53607         * math/s_clog10.c (__clog10): Likewise.
53608         * math/s_clog10f.c (__clog10f): Likewise.
53609         * math/s_clog10l.c (__clog10l): Likewise.
53610         * math/s_clogf.c (__clogf): Likewise.
53611         * math/s_clogl.c (__clogl): Likewise.
53612         * math/libm-test.inc (clog_test): Add more tests.
53613         (clog10_test): Likewise.
53614         * sysdeps/i386/fpu/libm-test-ulps: Update.
53615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53617 2012-07-31  Florian Weimer  <fweimer@redhat.com>
53619         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
53620         Exit with zero in case no suitable GID is found, and write a
53621         message to standard error.
53623 2012-07-30  Roland McGrath  <roland@hack.frob.com>
53625         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
53626         rather than to 1.
53627         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
53628         (MAXPATHLEN): Removed.
53629         (NOGROUP, NODEV): New macros.
53630         (setbit, clrbit, isset, isclr): New macros.
53631         (howmany, roundup, powerof2): New macros.
53632         (DEV_BSIZE): New macro.
53634         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
53635         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
53637         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
53638         definition on [!__NO_LONG_DOUBLE_MATH].
53640         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
53641         PTR_MANGLE and PTR_DEMANGLE.
53643         * socket/accept4.c (accept4): Rename to __libc_accept4.
53644         Define accept4 as a weak alias.
53646         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
53647         on [_DIRENT_HAVE_D_TYPE].
53648         * io/ftw.c (ftw_dir): Likewise.
53650         * io/xmknod.c (__xmknod): Don't check PATH for being null.
53652         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
53654         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
53655         Use the BSD numbers rather than the arbitrary ones we had.
53656         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
53657         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
53658         (SIGXCPU, SIGXFSZ): New macros.
53659         (_NSIG): Now 32.
53661         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
53662         initializer on [_LIBC_REENTRANT].
53664         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
53665         definitions inside [_POSIX_MAPPED_FILES].
53667         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
53669         * dirent/opendir.c: Include <fcntl.h>.
53671         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
53672         (__libc_getspecific): Likewise.
53673         (__libc_key_create): Likewise.
53675         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
53676         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
53677         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
53678         (tmpfile64): Define as alias.
53679         * sysdeps/wordsize-64/tmpfile.c: File removed.
53680         * sysdeps/wordsize-64/tmpfile64.c: File removed.
53681         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
53682         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
53684         * stdio-common/vfscanf.c: Include <stdbool.h>.
53685         * nss/makedb.c: Likewise.
53686         * stdio-common/_i18n_number.h: Likewise.
53687         * argp/argp-help.c: Likewise.
53688         * posix/wordexp.c: Likewise.
53689         * sysdeps/posix/spawni.c: Likewise.
53690         * nss/nss_files/files-initgroups.c: Likewise.
53691         * stdio-common/reg-modifier.c: Include <stdlib.h>.
53692         * nss/nss_files/files-initgroups.c: Likewise.
53693         * nss/nss_db/db-netgrp.c: Likewise.
53694         * nss/nss_db/db-initgroups.c: Likewise.
53695         * io/fchmodat.c: Include <sys/stat.h>.
53697         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
53698         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
53700         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
53701         [HAVE_MMAP].
53703         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
53704         Add multiple inclusion protection.
53706 2012-07-27  David S. Miller  <davem@davemloft.net>
53708         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53710 2012-07-27  Gary Benson  <gbenson@redhat.com>
53712         [BZ #14298]
53713         * elf/rtld.c: Include <stap-probe.h>.
53714         (dl_main): Added static probes "init_start" and "init_complete".
53715         * elf/dl-load.c: Include <stap-probe.h>.
53716         (lose): Take new parameter "nsid".
53717         Added static probe "map_failed".
53718         (_dl_map_object_from_fd): Pass namespace id to lose.
53719         Added static probe "map_start".
53720         (open_verify): Pass namespace id to lose.
53721         * elf/dl-open.c: Include <stap-probe.h>.
53722         (dl_open_worker) Added static probes "map_complete", "reloc_start"
53723         and "reloc_complete".
53724         * elf/dl-close.c: Include <stap-probe.h>.
53725         (_dl_close_worker): Added static probes "unmap_start" and
53726         "unmap_complete".
53727         * elf/rtld-debugger-interface.txt: New file documenting the above.
53729 2012-07-26  Roland McGrath  <roland@hack.frob.com>
53731         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
53732         rather than a string variable.
53733         * sunrpc/rpc_main.c (h_output): Likewise.
53734         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
53736 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
53738         * inet/check_native.c: New file.
53740 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
53742         [BZ #13629]
53743         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
53744         if larger part has absolute value 1.0.
53745         * math/s_clog10.c (__clog10): Likewise.
53746         * math/s_clog10f.c (__clog10f): Likewise.
53747         * math/s_clog10l.c (__clog10l): Likewise.
53748         * math/s_clogf.c (__clogf): Likewise.
53749         * math/s_clogl.c (__clogl): Likewise.
53750         * math/libm-test.inc (clog_test): Add more tests.
53751         (clog10_test): Likewise.
53752         * sysdeps/i386/fpu/libm-test-ulps: Update.
53753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53755         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
53756         (pltexit): Likewise.
53757         (La_regs): Likewise.
53758         (La_retval): Likewise.
53759         (int_retval): Likewise.
53760         Update #error for removed macros to refer only to definitions in
53761         tst-audit.h.
53762         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
53763         macro.
53764         (pltexit): Likewise.
53765         (La_regs): Likewise.
53766         (La_retval): Likewise.
53767         (int_retval): Likewise.
53768         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
53769         macro.
53770         (pltexit): Likewise.
53771         (La_regs): Likewise.
53772         (La_retval): Likewise.
53773         (int_retval): Likewise.
53774         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
53775         macro.
53776         (pltexit): Likewise.
53777         (La_regs): Likewise.
53778         (La_retval): Likewise.
53779         (int_retval): Likewise.
53780         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
53781         macro.
53782         (pltexit): Likewise.
53783         (La_regs): Likewise.
53784         (La_retval): Likewise.
53785         (int_retval): Likewise.
53786         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
53787         macro.
53788         (pltexit): Likewise.
53789         (La_regs): Likewise.
53790         (La_retval): Likewise.
53791         (int_retval): Likewise.
53792         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
53793         macro.
53794         (pltexit): Likewise.
53795         (La_regs): Likewise.
53796         (La_retval): Likewise.
53797         (int_retval): Likewise.
53798         * sysdeps/generic/tst-audit.h: Update comment to refer only to
53799         macro definitions in tst-audit.h.
53800         * sysdeps/i386/tst-audit.h: New file.
53801         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
53802         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
53803         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
53804         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
53805         * sysdeps/sh/tst-audit.h: Likewise.
53806         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
53807         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
53808         * sysdeps/x86_64/tst-audit.h: Likewise.
53810 2012-07-26  Andreas Jaeger  <aj@suse.de>
53812         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
53813         ptrace.
53815         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
53816         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
53817         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
53818         PTRACE_O_MASK.
53819         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
53820         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
53821         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
53823         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
53824         value.
53826         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
53827         _sigsys.
53828         (si_call_addr, si_syscall, si_arch): Define new macro.
53829         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
53830         _sigsys.
53831         (si_call_addr, si_syscall, si_arch): Define new marcro.
53832         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
53833         _sigsys.
53834         (si_call_addr, si_syscall, si_arch): Define new macro.
53835         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
53836         _sigsys.
53837         (si_call_addr, si_syscall, si_arch): Define new macro.
53839 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
53841         [BZ #13717]
53842         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53843         Change to 2.4.21 where previously 2.4.1.
53844         * sysdeps/unix/sysv/linux/configure: Regenerated.
53845         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
53846         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
53847         Linux kernel version.
53848         (__ASSUME_STD_AUXV): Remove.
53849         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
53850         kernel version.
53851         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
53852         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
53853         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
53854         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
53855         (__ASSUME_NETLINK_SUPPORT): Likewise.
53856         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
53857         (__no_netlink_support): Remove conditional definition.
53858         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
53859         Remove.
53860         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
53861         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
53862         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
53863         (if_nameindex_ioctl): Remove.
53864         (if_nameindex_netlink): Do not handle __no_netlink_support.
53865         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
53866         code.
53867         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
53868         Remove conditional code.
53869         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
53870         code.
53871         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
53872         unconditional.
53873         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
53874         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
53875         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
53876         Remove.
53877         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
53878         [!__ASSUME_STD_AUXV]: Remove conditional code.
53879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
53880         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
53881         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
53882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
53883         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
53884         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
53885         code.
53886         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
53887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
53888         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
53889         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
53890         conditional code.
53891         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
53892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
53893         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
53894         code.
53895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
53896         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
53897         conditional code.
53898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
53899         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
53900         code unconditional.
53901         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53902         conditional code.
53903         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53904         unconditional.
53905         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53906         conditional code.
53907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53908         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53909         unconditional.
53910         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53911         conditional code.
53912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
53913         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
53914         code unconditional.
53915         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53916         conditional code.
53917         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53918         unconditional.
53919         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53920         conditional code.
53921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
53922         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
53923         code unconditional.
53924         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53925         conditional code.
53926         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53927         unconditional.
53928         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53929         conditional code.
53931 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
53933         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
53934         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
53935         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
53936         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
53937         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
53938         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
53939         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
53940         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
53941         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
53942         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
53943         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
53944         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
53945         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
53946         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
53947         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
53948         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
53949         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
53950         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
53951         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
53952         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
53953         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
53954         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
53955         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
53957 2012-07-25  Florian Weimer  <fweimer@redhat.com>
53959         * Versions.def: Add GLIBC_2.17.
53960         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
53961         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
53962         Introduce __libc_secure_getenv.
53963         * stdlib/Versions (2.17): Add secure_getenv
53964         (GLIBC_PRIVATE): Add __libc_secure_getenv.
53965         * stdlib/secure-getenv.c: Rename __secure_getenv to
53966         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
53967         symbol __secure_getenv for GLIBC_2.0.
53968         * stdlib/tst-secure-getenv.c: New.
53969         * stdlib/Makefile (tests): Add testcase.
53970         * manual/startup.texi (Environment Access): Document
53971         secure_getenv.
53972         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
53973         __libc_secure_getenv.
53974         * inet/ruserpass.c (ruserpass): Likewise.
53975         * malloc/mtrace.c (mtrace): Likewise.
53976         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
53977         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
53978         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
53979         * sysdeps/posix/tempname.c: Likewise.  Evaluate
53980         HAVE_SECURE_GETENV.
53981         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
53982         __secure_getenv to __libc_secure_getenv.
53983         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
53984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53985         Likewise.
53986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53987         Likewise.
53988         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
53989         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
53990         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
53991         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
53992         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
53993         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
53994         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
53996 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
53998         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
53999         (struct La_i86_retval): Likewise.
54000         (struct La_x86_64_regs): Likewise.
54001         (struct La_x86_64_retval): Likewise.
54002         (struct La_x32_regs): Likewise.
54003         (struct La_x32_retval): Likewise.
54004         (struct La_ppc32_regs): Likewise.
54005         (struct La_ppc32_retval): Likewise.
54006         (struct La_ppc64_regs): Likewise.
54007         (struct La_ppc64_retval): Likewise.
54008         (struct La_sh_regs): Likewise.
54009         (struct La_sh_retval): Likewise.
54010         (struct La_s390_32_regs): Likewise.
54011         (struct La_s390_32_retval): Likewise.
54012         (struct La_s390_64_regs): Likewise.
54013         (struct La_s390_64_retval): Likewise.
54014         (struct La_sparc32_regs): Likewise.
54015         (struct La_sparc32_retval): Likewise.
54016         (struct La_sparc64_regs): Likewise.
54017         (struct La_sparc64_retval): Likewise.
54018         (struct audit_ifaces): Remove architecture-specific pltenter and
54019         pltexit members.
54020         * sysdeps/i386/ldsodefs.h: New file.
54021         * sysdeps/powerpc/ldsodefs.h: Likewise.
54022         * sysdeps/s390/ldsodefs.h: Likewise.
54023         * sysdeps/sh/ldsodefs.h: Likewise.
54024         * sysdeps/sparc/ldsodefs.h: Likewise.
54025         * sysdeps/x86_64/ldsodefs.h: Likewise.
54027 2012-07-25  Marek Polacek  <polacek@redhat.com>
54029         [BZ #6808]
54030         * math/libm-test.inc (yn_test): Add another test.
54031         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
54032         to ERANGE when the result is +-Inf.
54033         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
54034         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
54035         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
54036         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
54038 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
54040         * conform/data/time.h-data (NULL): Use macro-constant.  Require
54041         equal to 0.
54042         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
54043         clock_t.
54044         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
54046 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
54048         * configure.in <sysdeps resolving>: Correct printing
54049         Implies_before.
54050         * configure: Regenerate.
54052 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
54054         * math/w_ilogb.c: Include <limits.h>.
54055         * math/w_ilogbl.c: Likewise.
54057 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
54059         * manual/lang.texi (__va_copy): Document primarily as ISO C99
54060         va_copy.  Document allowing for unavailable va_copy only as
54061         pre-C99 compatibility.
54062         * manual/string.texi (Copying and Concatenation): Use va_copy
54063         instead of __va_copy in concat example.
54065 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
54067         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
54068         (__sendto): Use create_address_port.  Initialize APORT and deallocate
54069         it if not null.
54071         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
54072         with O_NOLINK passed to __file_name_lookup.
54074         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
54075         with O_NOLINK passed to __file_name_lookup.
54077         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
54078         negative N or less than NGIDS.
54080         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
54081         type to string_t.  Set ERANGE as errno and return it if NAME is not big
54082         enough.  Use memcpy instead of strncpy.
54084 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
54086         * elf/Makefile (check-data): Remove.
54087         (localplt.data): New vpath directive.
54088         ($(objpfx)check-localplt.out): Use localplt.data from vpath
54089         instead of $(check-data).
54090         * scripts/data/localplt-generic.data: Move to ...
54091         * sysdeps/generic/localplt.data: ... here.
54092         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
54093         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
54094         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
54095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
54096         ... here.
54097         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
54098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
54099         ... here.
54100         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
54101         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
54102         ... here.
54103         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
54104         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
54105         ... here.
54106         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
54107         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
54108         ... here.
54109         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
54110         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
54111         ... here.
54113 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54115         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
54116         PPC32 and PPC64 files.
54117         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
54118         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
54120 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54122         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
54123         __makecontext_ret to ...
54124         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
54125         ... here and call exit if uc_link is NULL.  New file.
54126         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
54127         __makecontext_ret.S.
54128         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
54129         __makecontext_ret to ...
54130         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
54131         ... here and call exit if uc_link is NULL.  New file.
54132         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
54133         __makecontext_ret.S.
54135 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54137         * elf/elf.h (R_390_IRELATIVE): New definition.
54138         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
54139         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
54140         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
54141         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
54142         (elf_machine_lazy_rel): Likewise.
54143         * sysdeps/s390/dl-irel.h: New file.
54144         * sysdeps/s390/s390-64/memcpy.S: New asm code.
54145         * sysdeps/s390/s390-64/memset.S: New asm code.
54146         * sysdeps/s390/s390-64/memcmp.S: New asm code.
54147         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
54148         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
54149         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
54150         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
54151         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
54152         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
54153         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
54154         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
54155         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
54156         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
54157         * sysdeps/s390/s390-32/memcpy.S: New asm code.
54158         * sysdeps/s390/s390-32/memset.S: New asm code.
54159         * sysdeps/s390/s390-32/memcmp.S: New asm code.
54161 2012-07-17  Marek Polacek  <polacek@redhat.com>
54163         [BZ #14349]
54164         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
54165         * sysdeps/s390/s390-64/configure.in: Likewise.
54166         * sysdeps/sparc/configure.in: Likewise.
54167         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
54168         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
54169         * sysdeps/i386/configure.in: Likewise.
54170         * sysdeps/x86_64/configure.in: Likewise.
54171         * sysdeps/sh/configure.in: Likewise.
54172         * sysdeps/s390/s390-32/configure: Regenerated.
54173         * sysdeps/s390/s390-64/configure: Likewise.
54174         * sysdeps/x86_64/configure: Likewise.
54175         * sysdeps/sh/configure: Likewise.
54176         * sysdeps/powerpc/powerpc64/configure: Likewise.
54177         * sysdeps/powerpc/powerpc32/configure: Likewise.
54178         * sysdeps/sparc/configure: Likwise.
54179         * sysdeps/i386/configure: Likewise.
54181         * elf/dl-open.c: Comment fixes.
54183 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
54185         * Makefile [CXX] (check-data): Remove.
54186         [CXX] (c++-types.data): New vpath directive.
54187         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
54188         vpath.  Do not allow for C++ type data being missing.
54189         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
54190         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
54191         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
54192         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
54193         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
54194         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
54195         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
54196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
54197         ... here.
54198         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
54199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
54200         ... here.
54201         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
54202         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
54203         ... here.
54204         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
54205         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
54206         ... here.
54207         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
54208         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
54209         ... here.
54210         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
54211         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
54212         ... here.
54213         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
54214         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
54215         ... here.
54216         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
54217         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
54219         * elf/tls-macros.h (TLS_LE): Move architecture-specific
54220         definitions to architecture-specific files.
54221         (TLS_IE): Likewise.
54222         (TLS_LD): Likewise.
54223         (TLS_GD): Likewise.
54224         * sysdeps/i386/tls-macros.h: New file.
54225         * sysdeps/powerpc/tls-macros.h: Likewise.
54226         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
54227         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
54228         * sysdeps/sh/tls-macros.h: Likewise.
54229         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
54230         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
54231         * sysdeps/x86_64/tls-macros.h: Likewise.
54233 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
54235         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
54236         zero value for regular exit case.
54238         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
54239         (__start_context): Preserve zero value for regular exit case.
54241 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
54242             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54244         * manual/setjmp.texi (setcontext): Clarify normal process
54245         termination when uc_link is the null pointer.
54246         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
54247         exit call.
54249 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
54251         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
54252         preprocessor.  Test for each exception mask separately.
54254 2012-07-16  Andreas Jaeger  <aj@suse.de>
54256         * po/ru.po: Update from translation team.
54258 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
54260         * conform/data/string.h-data (NULL): Use macro-constant.  Require
54261         equal to 0.
54262         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
54263         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
54264         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
54265         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
54266         [ISO || ISO99 || ISO11] (*_t): Do not allow.
54268 2012-07-13  Andreas Jaeger  <aj@suse.de>
54270         * po/fr.po: Update from translation team.
54272 2012-07-12  Marek Polacek  <polacek@redhat.com>
54274         [BZ #14173]
54275         * math/libm-test.inc (yn_test): Add test for BZ #14173.
54276         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
54277         loop condition.
54279 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
54281         [BZ #13717]
54282         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54283         Change to 2.4.1 where previously 2.4.0.
54284         * sysdeps/unix/sysv/linux/configure: Regenerated.
54285         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
54286         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
54287         version.
54288         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
54289         (__ASSUME_AT_CLKTCK): Remove.
54290         (__ASSUME_AT_PAGESIZE): Likewise.
54291         (__ASSUME_AT_XID): Likewise.
54292         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
54293         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
54294         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
54295         unconditionally.
54296         (HAVE_AUX_PAGESIZE): Likewise.
54297         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
54298         [__ASSUME_AT_CLKTCK]: Make code unconditional.
54299         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
54301 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
54303         [BZ #14307]
54304         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
54305         the temporary buffer used to invoke __gethostbyname2_r,
54306         __gethostbyaddr_r and gethostbyname4_r to make room for struct
54307         host_data / struct gaih_addrtuple.
54308         * resolv/nss_dns/dns-host.c (global scope): Move definition of
54309         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
54310         header file nss/nsswitch.h.
54311         * nss/nsswitch.h (global scope): Add definition of implementation
54312         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
54313         resolv/nss_dns/dns-host.c).
54315 2012-07-11  Andreas Jaeger  <aj@suse.de>
54317         * po/fr.po: Update from translation team.
54319         * po/sv.po: Update from translation team
54320         * po/fr.po: Another update from translation team.
54322 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54324         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
54325         for subnormals or multiply small sinh result by itself.
54326         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54327         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54329 2012-07-11  David S. Miller  <davem@davemloft.net>
54331         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54333 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
54335         [BZ #14347]
54336         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
54337         (INTERNAL_MARK): Shift it here.
54339 2012-07-10  Marek Polacek  <polacek@redhat.com>
54341         [BZ #14151]
54342         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
54343         libc_cv_asm_global_directive with .globl.
54344         * configure: Regenerated.
54345         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
54346         with .globl.
54347         * sysdeps/i386/configure: Regenerated.
54348         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
54349         with .globl.
54350         * sysdeps/x86_64/configure: Regenerated.
54351         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
54352         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
54353         * elf/tst-unique2mod2.c: Likewise.
54354         * elf/tst-unique2mod1.c: Likewise.
54355         * elf/tst-unique1mod2.c: Likewise.
54356         * elf/tst-unique1mod1.c: Likewise.
54357         * sysdeps/s390/s390-32/sysdep.h: Likewise.
54358         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
54359         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54360         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
54361         * sysdeps/mach/sysdep.h: Likewise.
54362         * sysdeps/i386/sysdep.h: Likewise.
54363         * sysdeps/i386/i386-mcount.S: Likewise.
54364         * sysdeps/x86_64/_mcount.S: Likewise.
54365         * sysdeps/x86_64/sysdep.h: Likewise.
54366         * sysdeps/sh/_mcount.S: Likewise.
54367         * sysdeps/sh/sysdep.h: Likewise.
54368         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
54369         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
54370         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
54371         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54372         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
54373         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
54374         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
54375         * locale/localeinfo.h: Likewise.
54376         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
54377         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
54379 2012-07-09  Roland McGrath  <roland@hack.frob.com>
54381         [BZ #14336]
54382         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
54383         system".
54384         * manual/message.texi (The Uniforum approach): Likewise.
54385         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
54386         (glibc iconv Implementation): Likewise.
54388 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
54390         [BZ #14337]
54391         * math/s_clog.c (__clog): Avoid scaling a value down where that
54392         could result in underflow.
54393         * math/s_clog10.c (__clog10): Likewise.
54394         * math/s_clog10f.c (__clog10f): Likewise.
54395         * math/s_clog10l.c (__clog10l): Likewise.
54396         * math/s_clogf.c (__clogf): Likewise.
54397         * math/s_clogl.c (__clogl): Likewise.
54398         * math/libm-test.inc (clog_test): Add more tests.
54399         (clog10_test): Likewise.
54400         * sysdeps/i386/fpu/libm-test-ulps: Update.
54401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54403 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
54405         [BZ #14283]
54406         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
54407         by 7 not 8 to examine high bit of fractional part.
54409         [BZ #14042]
54410         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
54411         for call to __mcount_internal.
54412         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
54413         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
54414         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
54416 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
54418         [BZ #14154]
54419         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
54420         approximation for values within 0x1p-13f of an odd multiple of
54421         pi/4.
54422         * math/libm-test.inc (tan_test): Do not allow spurious underflow
54423         exception.  Add more tests.
54424         * sysdeps/i386/fpu/libm-test-ulps: Update.
54426         [BZ #6778]
54427         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
54428         inputs and return -1 for them.  Do not check for +Inf in case not
54429         reachable for +Inf.
54430         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
54431         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
54432         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
54433         and return -1 for them.  Do not check for +Inf in case not
54434         reachable for +Inf.
54435         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
54436         define.
54437         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
54438         and return -1 for them.  Do not check for +Inf in case not
54439         reachable for +Inf.
54440         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
54441         spurious underflow.
54442         * sysdeps/i386/fpu/libm-test-ulps: Update.
54443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54445 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
54447         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
54449 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
54451         [BZ #14157]
54452         [BZ #14331]
54453         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
54454         could result in spurious underflow.  Scale down values above
54455         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
54456         * math/s_csqrtf.c (__csqrtf): Likewise.
54457         * math/s_csqrtl.c (__csqrtl): Likewise.
54458         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
54459         spurious underflow.
54460         * sysdeps/i386/fpu/libm-test-ulps: Update.
54461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54463 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
54465         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
54466         xopen-msg.sed.
54467         * catgets/xopen-msg.awk: New file.
54468         * catgets/xopen-msg.sed: Removed.
54470         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
54471         po2text.sed.
54472         * intl/po2test.awk: New file.
54473         * intl/po2test.sed: Removed.
54475 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
54477         [BZ #14328]
54478         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
54479         or multiply small sinh result by itself.
54480         * math/s_ctanf.c (__ctanf): Likewise.
54481         * math/s_ctanh.c (__ctanh): Likewise.
54482         * math/s_ctanhf.c (__ctanhf): Likewise.
54483         * math/s_ctanhl.c (__ctanhl): Likewise.
54484         * math/s_ctanl.c (__ctanl): Likewise.
54485         * math/libm-test.inc (ctan_test_tonearest): New function.
54486         (ctan_test_towardzero): Likewise.
54487         (ctan_test_downward): Likewise.
54488         (ctan_test_upward): Likewise.
54489         (ctanh_test_tonearest): Likewise.
54490         (ctanh_test_towardzero): Likewise.
54491         (ctanh_test_downward): Likewise.
54492         (ctanh_test_upward): Likewise.
54493         (main): Call these new functions.
54494         * sysdeps/i386/fpu/libm-test-ulps: Update.
54495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54497 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
54499         * .gitignore: Delete /ports entry.
54501 2012-07-03  Andreas Jaeger  <aj@suse.de>
54503         * po/bg.po: Update from translation team.
54504         * po/cs.po: Likewise.
54505         * po/de.po: Likewise.
54506         * po/hr.po: Likewise.
54507         * po/nl.pl: Likewise.
54508         * po/pl.po: Likewise.
54509         * po/vi.po: Likewise.
54511 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
54513         * Makeconfig [!+link] (+link-before-libc): New variable.
54514         [!+link] (+link-after-libc): Likewise.
54515         [!+link] (+link-tests): Likewise.
54516         [!+link] (+link): Define in terms of $(+link-before-libc) and
54517         $(+link-after-libc).
54518         [!+link-static] (+link-static-before-libc): New variable.
54519         [!+link-static] (+link-static-after-libc): Likewise.
54520         [!+link-static] (+link-static-tests): Likewise.
54521         [!+link-static] (+link-static): Define in terms of
54522         $(+link-static-before-libc) and $(+link-static-after-libc).
54523         [build-shared] (link-libc-before-gnulib): New variable.
54524         [build-shared] (link-libc-tests): Likewise.
54525         [build-shared] (link-libc): Define in terms of
54526         $(link-libc-before-gnulib).
54527         [!build-shared] (link-libc-tests): New variable.
54528         (link-libc-static-tests): New variable.
54529         [!gnulib] (gnulib-arch): New variable.
54530         [!gnulib] (gnulib-tests): Likewise.
54531         [!gnulib] (static-gnulib-arch): Likewise.
54532         [!gnulib] (static-gnulib-tests): Likewise.
54533         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
54534         Define with "=" instead of ":=".
54535         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
54536         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
54537         * Rules (binaries-all-notests): New variable.
54538         (binaries-all-tests): Likewise.
54539         (binaries-static-notests): Likewise.
54540         (binaries-static-tests): Likewise.
54541         (binaries-all): Define using $(binaries-all-notests) and
54542         $(binaries-all-tests).
54543         (binaries-static): Define using $(binaries-static-notests) and
54544         $(binaries-static-tests).
54545         (binaries-shared-tests): New variable.
54546         (binaries-shared-notests): Likewise.
54547         (binaries-shared): Remove variable.
54548         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
54549         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
54550         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
54551         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
54552         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
54553         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
54554         * elf/Makefile (sln-modules): New variable.
54555         (extra-objs): Add $(sln-modules:=.o).
54556         (ldconfig-modules): Add static-stubs.
54557         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
54558         * elf/static-stubs.c: New file.
54560         [BZ #14283]
54561         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
54562         by 7 not 8 to examine high bit of fractional part.  Use volatile
54563         variables when splitting into final array of floats if
54564         __FLT_EVAL_METHOD__ != 0.
54565         * math/libm-test.inc (cos_test): Add another test.
54566         (sin_test): Likewise.
54567         * sysdeps/i386/fpu/libm-test-ulps: Update.
54569         [BZ #14273]
54570         * math/libm-test.inc (cosh_test): Add more tests.
54572         * version.h (RELEASE): Set to "development".
54573         (VERSION): Set to "2.16.90".
54575 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
54577         * NEWS: Update copyright. Remove last-updated date.
54578         Mention math library bug fixes and timezone data changes.
54579         * README: Mention GNU/Hurd, x32, and HPPA support status.
54581 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
54583         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
54585 2012-06-27  Andreas Jaeger  <aj@suse.de>
54587         * manual/contrib.texi (Contributors): Add Samuel Thibault.
54589 2012-06-25  Andreas Jaeger  <aj@suse.de>
54591         * sysdeps/s390/fpu/libm-test-ulps: Update.
54593 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
54594             Thomas Schwinge  <thomas@codesourcery.com>
54596         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
54597         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
54598         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
54599         fanotify_mark.
54601 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
54603         * sysdeps/mach/start.c: Remove file.
54604         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
54605         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
54606         * sysdeps/sh/init-first.c: Likewise.
54608         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
54609         registers for frame unwinding purposes, add CFI directives.
54610         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
54611         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
54612         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
54613         Likewise.
54615         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
54616         __fortify_fail returning.
54617         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
54619         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
54620         sysdeps/sh/____longjmp_chk.S.
54621         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
54622         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
54623         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
54624         (gen-as-const-headers): Append sigaltstack-offsets.sym.
54626         * sysdeps/sh/abort-instr.h: New file.
54627         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
54628         process in case exit returns.
54630         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
54631         initialize the GOT register before use.
54633         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
54634         calculation of ARGC > 4.
54636         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
54637         meaningful names to some local labels.
54639 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
54640             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54642         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
54643         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
54644         (__arch_compare_and_exchange_val_16_acq): Likewise.
54645         (__arch_compare_and_exchange_val_32_acq): Likewise.
54646         (atomic_exchange_and_add): Fix gUSA sequence.
54647         (atomic_add): Likewise.
54648         (atomic_add_negative): Likewise.
54649         (atomic_add_zero): Likewise.
54650         (atomic_bit_test_set): Likewise.
54652 2012-06-22  Andreas Schwab  <schwab@redhat.com>
54654         [BZ #13579]
54655         * include/link.h (struct link_map): Add l_free_initfini.
54656         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
54657         l_initfini.
54658         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
54659         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
54660         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
54661         set.
54663 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
54665         * configure.in: Use AC_LANG_SOURCE.
54666         * configure: Regenerate.
54668 2012-06-22  Roland McGrath  <roland@hack.frob.com>
54670         * configure.in (libc_cv_localstatedir): New substituted variable.
54671         * configure: Regenerated.
54672         * config.make.in (localstatedir): New variable, substituted from
54673         libc_cv_localstatedir.
54674         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
54675         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
54676         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
54677         * sysdeps/gnu/configure: Regenerated.
54679 2012-06-21  Jeff Law  <law@redhat.com>
54681         [BZ #14277]
54682         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
54683         free.  Simplify list management for _LIBC case.
54685 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
54687         [BZ #14273]
54688         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
54689         Clear sign bit of 64-bit integer value before comparing against
54690         overflow value.
54692         * sysdeps/mach/configure: Regenerated.
54694 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
54696         [BZ #14278]
54697         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
54699 2012-06-21  Jeff Law  <law@redhat.com>
54701         [BZ #13882]
54702         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
54703         uint16_t for elements in the "seen" array to avoid char overflows.
54704         * elf/dl-fini.c (_dl_sort_fini): Likewise.
54705         * elf/dl-open.c (dl_open_worker): Likewise.
54707 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
54709         * scripts/list-sources.sh: Scan PORTS for translations.
54710         * po/libc.pot: Regenerated.
54712 2012-06-21  Andreas Jaeger  <aj@suse.de>
54714         [BZ #12194]
54715         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
54716         warning.
54717         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
54718         * bits/byteswap-16.h (__bswap_16): Likewise.
54719         * bits/byteswap.h (__bswap_constant_16): Likewise.
54721 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
54723         [BZ #14117]
54724         * sysdeps/i386/fpu_control.h: Removed.
54725         * sysdeps/x86_64/fpu_control.h: Moved to ...
54726         * sysdeps/x86/fpu_control.h: Here.
54728         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
54729         (_FPU_SETCW): Likewise.
54731 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
54733         [BZ #14117]
54734         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
54735         * sysdeps/x86/fpu/bits/mathinline.h: This.
54736         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
54738         [BZ #14050]
54739         [BZ #14117]
54740         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
54741         functions if __x86_64__ is defined.
54743 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
54745         * string/endian.h: Add !__ASSEMBLER__ condition for including
54746         conversion interfaces.
54748 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
54750         [BZ #14241]
54751         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
54752         of ABS(x) in calculating zero to negative powers other than odd
54753         integers.
54754         * math/libm-test.inc (pow_test): Add more tests.
54756 2012-06-15  Andreas Jaeger  <aj@suse.de>
54758         * manual/contrib.texi (Contributors): Update entry of Liubov
54759         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
54760         Machado Filho.
54762 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
54764         * string/string.h: Add __wur to GNU version of strerror_r.
54766 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
54768         [BZ #14229]
54769         * string/Makefile (tests): Add tst-strtok_r.
54770         * string/tst-strtok_r.c: New file.
54771         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
54772         RAX_LP/RDX_LP on SAVE_PTR.
54774 2012-06-14  Roland McGrath  <roland@hack.frob.com>
54776         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
54778 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
54780         * libm_test.inc (csqrt_test): Allow more spurious underflow
54781         exceptions.
54782         (j0_test): Likewise.
54783         (j1_test): Likewise.
54784         (y0_test): Likewise.
54785         (y1_test): Likewise.
54787 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
54789         * po/Makefile (libc.pot): Use UTF-8 charset.
54791 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
54793         [BZ #14210]
54794         Suppress sign-conversion warning from FD_SET.
54795         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
54796         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
54797         not unsigned long int.
54798         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
54800 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
54802         [BZ #14050]
54803         [BZ #14117]
54804         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
54805         __extern_always_inline instead of __extern_inline.
54806         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
54807         (__signbit): Likewise.
54808         (__signbitl): Support C++ namespace.
54809         (lrintf): New inline function.
54810         (lrint): Likewise.
54811         (llrintf): Likewise.
54812         (llrint): Likewise.
54813         (fmaxf): Likewise.
54814         (fmax): Likewise.
54815         (fminf): Likewise.
54816         (fmin): Likewise.
54817         (rint): Likewise.
54818         (rintf): Likewise.
54819         (ceil): Likewise.
54820         (ceilf): Likewise.
54821         (floor): Likewise.
54822         (floorf): Likewise.
54823         (nearbyint): Likewise.
54824         (nearbyintf): Likewise.
54826 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
54828         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
54829         non-default versions.
54831 2012-06-11  Roland McGrath  <roland@hack.frob.com>
54833         [BZ #14218]
54834         * manual/argp.texi (Argp): Reword argp_parse description slightly.
54836 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
54838         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
54839         (FE_UPWARD, FE_DOWNWARD): Don't define.
54840         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
54841         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
54843         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
54844         reading it.
54845         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
54846         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54848 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54850         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
54851         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
54852         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
54853         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
54855 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
54857         [BZ #14117]
54858         * sysdeps/i386/fpu/bits/fenv.h: Removed.
54859         * sysdeps/i386/fpu/Implies: New file.
54860         * sysdeps/x86_64/fpu/Implies: Likewise.
54861         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
54862         * sysdeps/x86/fpu/bits/fenv.h: This.
54864         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
54865         __SSE_MATH__.
54867 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54869         [BZ #14134]
54870         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
54871         character 0xffff that matches the last element of the
54872         conversion table.
54874 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54876         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
54877         fmodl commit.
54879 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54881         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
54882         values higher than 25.6283.
54884 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54886         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
54887         subnormal exponent extraction and add some __builtin_expect.
54888         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
54889         Fix for subnormal mantissa calculation.
54891 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
54893         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
54894         cpu2 is -1 and errno is not ENOSYS.
54896 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
54898         [BZ #14117]
54899         * sysdeps/i386/i486/bits/string.h: Renamed to ...
54900         * sysdeps/x86/bits/string.h: This.
54901         * sysdeps/x86_64/bits/string.h: Removed.
54903         * sysdeps/i386/i486/bits/string.h: Define inline functions only
54904         if not compiling for x86-64, but compiling for >= i486.
54906         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
54907         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
54909         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
54910         New macro from Linux kernel 3.4.0.
54911         (FP_XSTATE_MAGIC2): Likewise.
54912         (FP_XSTATE_MAGIC2_SIZE): Likewise.
54913         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
54914         (struct _fpx_sw_bytes): New struct.
54915         (struct _xsave_hdr): Likewise.
54916         (struct _ymmh_state): Likewise.
54917         (struct _xstate): Likewise.
54919         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
54920         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
54921         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
54922         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
54923         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
54924         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
54926         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
54927         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
54928         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
54929         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
54930         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
54931         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
54933 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54935         [BZ #13743]
54936         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
54937         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
54938         (sysdep_headers): Include sys/platform/ppc.h.
54939         * sysdeps/powerpc/test-gettimebase.c: Test for
54940         __ppc_get_timebase() to catch future ISA opcode/insn changes.
54941         * manual/Makefile (appendices): Include platform.texi.
54942         * manual/contrib.texi (Contributors): Update @node pointers.
54943         * manual/maint.texi (Maintenance): Likewise.
54944         (Platform): New node.
54945         * manual/platform.texi: New file.  Document the new features.
54947 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54948             Jakub Jelinek  <jakub@redhat.com>
54950         [BZ #14188]
54951         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
54952         where __builtin_expect is unavailable.
54954 2012-06-03  David S. Miller  <davem@davemloft.net>
54956         * stdlib/longlong.h: Updated from GCC.
54958 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
54960         [BZ #14042]
54961         * sysdeps/powerpc/powerpc32/mcount.c: New file.
54962         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
54963         __mcount_internal.
54964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
54965         (GLIBC_2.16): Likewise.
54967 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
54969         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
54971 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
54973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
54974         (default-abi): New variable.
54975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
54976         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
54977         variable.
54978         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
54979         Likewise.
54980         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
54981         Likewise.
54982         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
54983         Likewise.
54985         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
54986         definition.  Document in comment.
54988 2012-06-01  David S. Miller  <davem@davemloft.net>
54990         * stdlib/longlong.h: Updated from GCC.
54992 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
54994         [BZ #14117]
54995         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
54996         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
54997         sys/debugreg.h sys/io.h here.
54998         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
54999         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
55000         sys/io.h.
55001         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
55002         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
55003         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
55004         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
55005         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
55006         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
55008         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
55009         Define only if __x86_64__ is defined.
55011 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
55013         [BZ #14048]
55014         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
55015         Use int64_t for variable i.
55016         * math/libm-test.inc (fmod_test): Add more tests.
55018         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
55019         z computation is not scheduled after fetestexcept.
55020         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
55021         Use math_force_eval instead of asm to ensure calculation scheduled
55022         before exception test.
55023         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
55024         Ensure a1 + u.d computation is not scheduled after fetestexcept.
55026 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
55028         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
55029         computation is not scheduled after fetestexcept.
55031 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
55033         [BZ #14117]
55034         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
55035         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
55037 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55039         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
55040         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
55042 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
55044         [BZ #14117]
55045         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
55046         <bits/wordsize.h>.
55047         (__WCHAR_MIN): Support __WORDSIZE == 64.
55048         (__WCHAR_MAX): Likewise.
55050         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
55051         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
55053         [BZ #14183]
55054         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
55055         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
55057         [BZ #14117]
55058         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
55059         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
55061         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
55062         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
55064         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
55065         Defined to 1 if __x86_64__ isn't defined.
55066         (_STAT_VER_LINUX_OLD): New.
55067         (st_atime): Remove duplicate.
55068         (st_mtime): Likewise.
55069         (st_ctime): Likewise.
55071 2012-05-31  David S. Miller  <davem@davemloft.net>
55073         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
55074         entries.
55076 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
55078         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
55079         gen-libm-test.pl.
55081         [BZ #14132]
55082         * elf/dl-reloc.c: Include <_itoa.h>.
55083         (_dl_reloc_bad_type): Remove use of INTUSE.
55084         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
55085         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
55086         * stdio-common/psiginfo.c (psiginfo): Likewise.
55087         * stdio-common/psignal.c (psignal): Likewise.
55088         * string/strsignal.c (strsignal): Likewise.
55089         * include/signal.h (_sys_siglist): Declare hidden proto.
55090         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
55091         INTVARDEF with libc_hidden_data_def.
55092         * stdio-common/itoa-udigits.c: Likewise.
55093         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
55094         (_itoa_lower_digits_internal): Remove declaration.
55095         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
55096         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
55097         (_sys_sigabbrev_internal): Remove aliases.
55098         (_sys_siglist): Define hidden alias.
55100 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
55102         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55103         bits/sysctl.h.
55105 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
55107         [BZ #14117]
55108         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
55109         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
55111         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
55112         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
55113         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
55114         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
55115         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
55116         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
55118         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
55119         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
55120         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
55122         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
55123         with __addr.
55124         (insw): Likewise.
55125         (insl): Likewise.
55126         (outsb): Likewise.
55127         (outsw): Likewise.
55128         (outsl): Likewise.
55130         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
55131         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
55132         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
55134         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
55135         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
55136         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
55137         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
55138         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
55139         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
55141         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
55142         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
55144         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
55145         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
55147         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
55148         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
55149         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
55151         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
55152         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
55153         to ...
55154         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
55156         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
55157         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
55158         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
55160         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
55161         for x86-64.
55162         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
55164 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
55166         * math/math.h (M_El): Use two more decimal places.
55167         (M_LOG2El): Likewise.
55168         (M_LOG10El): Likewise.
55169         (M_LN2l): Likewise.
55170         (M_LN10l): Likewise.
55171         (M_PIl): Likewise.
55172         (M_PI_2l): Likewise.
55173         (M_PI_4l): Likewise.
55174         (M_1_PIl): Likewise.
55175         (M_2_PIl): Likewise.
55176         (M_2_SQRTPIl): Likewise.
55177         (M_SQRT2l): Likewise.
55178         (M_SQRT1_2l): Likewise.
55180 2012-05-31  David S. Miller  <davem@davemloft.net>
55182         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
55183         values between float registers.
55184         * sysdeps/sparc/sparc64/memset.S: Likewise.
55185         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
55187 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
55189         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
55190         -D_FORTIFY_SOURCE=1.
55191         (CPPFLAGS-tst-longjmp_chk.c): Define.
55192         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
55193         (CPPFLAGS-tst-longjmp_chk2.c): Define.
55194         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
55195         CFLAGS-tst-wchar-h.c.
55197 2012-05-31  Marek Polacek  <polacek@redhat.com>
55199         [BZ #14132]
55200         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
55201         __endmntent_internal): Remove declaration.
55202         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
55203         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
55204         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
55206 2012-05-30  David S. Miller  <davem@davemloft.net>
55208         * sysdeps/sparc/sparc32/soft-fp/q_util.c
55209         (___Q_simulate_exceptions): Use real FP ops rather than writing
55210         into the %fsr.
55211         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
55212         Likewise.
55214 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55216         [BZ #14117]
55217         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
55218         * sysdeps/x86/bits/xtitypes.h: This.
55220         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
55221         * sysdeps/x86/bits/wordsize.h: This.
55223         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
55224         * sysdeps/x86/bits/huge_vall.h: This.
55226         * sysdeps/i386/bits/select.h: Removed.
55227         * sysdeps/x86_64/bits/select.h: Renamed to ...
55228         * sysdeps/x86/bits/select.h: This.
55230         * sysdeps/i386/bits/setjmp.h: Removed.
55231         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
55232         * sysdeps/x86/bits/setjmp.h: This.
55234         * sysdeps/i386/bits/mathdef.h: Removed.
55235         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
55236         * sysdeps/x86/bits/mathdef.h: This.
55238 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
55240         [BZ #14132]
55241         * include/sys/socket.h (__connect_internal)
55242         (__libc_sa_len_internal): Remove declaration.
55243         (__connect, __libc_sa_len): Declare hidden_proto.
55244         (SA_LEN): Remove use of INTUSE.
55245         * socket/connect.c: Add libc_hidden_def.
55246         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
55247         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
55248         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
55249         alias.
55250         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
55251         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
55252         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
55253         of adding _internal alias.
55255 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55257         [BZ #14117]
55258         * sysdeps/i386/bits/link.h: Removed.
55259         * sysdeps/i386/bits/linkmap.h: Likewise.
55260         * sysdeps/x86_64/bits/link.h: Renamed to ...
55261         * sysdeps/x86/bits/link.h: This.
55262         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
55263         * sysdeps/x86/bits/linkmap.h: This.
55265         * sysdeps/i386/bits/endian.h: Removed.
55266         * sysdeps/x86_64/bits/endian.h: Renamed to ...
55267         * sysdeps/x86/bits/endian.h: This.
55269         * sysdeps/i386/bits/byteswap.h: Removed.
55270         * sysdeps/i386/bits/byteswap-16.h: Likewise.
55271         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
55272         * sysdeps/x86/bits/byteswap.h: This.
55273         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
55274         * sysdeps/x86/bits/byteswap-16.h: This.
55275         * sysdeps/i386/Implies: Add x86.
55276         * sysdeps/x86_64/Implies: Likewise.
55278 2012-05-30  David S. Miller  <davem@davemloft.net>
55280         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
55281         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
55282         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
55283         (FP_TRAPPING_EXCEPTIONS): Define.
55284         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
55285         (FP_TRAPPING_EXCEPTIONS): Define.
55286         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
55287         subnormals only when inexact has been signalled or underflow
55288         exceptions are enabled.
55289         (_FP_PACK_CANONICAL): Likewise.
55291 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55293         [BZ #14183]
55294         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
55295         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
55297 2012-05-30  Richard Henderson  <rth@twiddle.net>
55299         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
55300         with #ifndef NOT_IN_libc.
55302         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
55303         marked to avoid plt entry.
55305 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55307         [BZ #14112]
55308         * Makeconfig (default-abi): New macro.
55309         (abi-includes): Likewise.
55310         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
55311         $(abi-$(default-abi)-lib-soname) for soname if defined.
55312         ($(common-objpfx)gnu/lib-names.stmp): Generate from
55313         abi-variants.
55314         * Makefile (installed-stubs): Likewise.
55315         * include/stubs-biarch.h: Removed.
55316         * scripts/lib-names.awk: Only handle one library at a time.
55317         * scripts/soversions.awk: Remove WORDSIZE support.
55318         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
55319         entries.
55320         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
55321         Removed.
55322         (syscall-list-default-condition): Likewise.
55323         (syscall-list-default-condition): Likewise.
55324         (syscall-list-includes): Likewise.
55325         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
55326         syscall-list-* with abi-*.  Handle undefined abi-variants.
55327         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
55328         * sysdeps/unix/sysv/linux/i386/Implies: New file.
55329         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
55330         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
55331         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
55332         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
55333         Removed.
55334         (syscall-list-32-options): Likewise.
55335         (syscall-list-32-condition): Likewise.
55336         (syscall-list-64-options): Likewise.
55337         (syscall-list-64-condition): Likewise.
55338         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
55339         macro.
55340         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
55341         Renamed to ...
55342         (abi-*): This.
55343         (abi-64-ld-soname): New macro.
55344         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
55345         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
55346         Renamed to ...
55347         (abi-*): This.
55348         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
55349         * sysdeps/x86_64/x32/shlib-versions: Likewise.
55351 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
55353         * sysdeps/unix/sysv/linux/kernel-features.h
55354         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
55355         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
55356         include <kernel-features.h>.
55357         [!__NR_ftruncate64]: Remove conditional code.
55358         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55359         [__NR_ftruncate64]: Make code unconditional.
55360         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55361         * sysdeps/unix/sysv/linux/truncate64.c: Do not
55362         include <kernel-features.h>.
55363         [!__NR_ftruncate64]: Remove conditional code.
55364         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55365         [__NR_ftruncate64]: Make code unconditional.
55366         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
55368         include <kernel-features.h>.
55369         [!__NR_ftruncate64]: Remove conditional code.
55370         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55371         [__NR_ftruncate64]: Make code unconditional.
55372         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
55374         include <kernel-features.h>.
55375         [!__NR_ftruncate64]: Remove conditional code.
55376         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55377         [__NR_ftruncate64]: Make code unconditional.
55378         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55380         * configure.in (libc_cv_fpie): Weaken to a compile test using
55381         LIBC_TRY_CC_OPTION.
55382         * configure: Regenerated.
55384 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55386         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
55387         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
55388         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
55389         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
55390         Refreshed.
55391         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
55392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
55393         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
55394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
55395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
55396         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
55397         Refreshed.
55399 2012-05-27  David S. Miller  <davem@davemloft.net>
55401         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
55402         (___Q_zero): New.
55403         (__Q_simulate_exceptions): Return void.  Change to simulate
55404         exceptions by writing into the %fsr.
55405         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
55406         (__Qp_handle_exceptions): Likewise.
55407         (numbers): Delete.
55408         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
55409         __Qp_handle_exceptions.
55410         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
55411         __Qp_handle_exceptions.
55412         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
55413         as unused and give dummy FP_RND_NEAREST initializer.
55414         (FP_INHIBIT_RESULTS): Define.
55415         (___Q_simulate_exceptions): Update declaration.
55416         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
55417         formatting.
55418         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
55419         as unused and give dummy FP_RND_NEAREST initializer.
55420         (__Qp_handle_exceptions): Update declaration.
55421         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
55422         formatting.
55424 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
55426         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
55427         the temporary FPU control word.
55428         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
55429         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
55430         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
55431         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
55432         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
55433         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
55434         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
55435         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
55436         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
55437         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
55438         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55440 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55442         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
55443         fields.
55445 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
55447         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
55448         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
55449         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
55450         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
55451         Likewise.
55452         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
55453         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
55454         Likewise.
55456 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
55458         * po/h.po: Update from translation team.
55460 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
55462         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
55464         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
55465         handling of denormals.
55466         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
55467         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
55468         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
55469         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
55470         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55471         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
55472         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
55473         Likewise.
55475 2012-05-26  Marek Polacek  <polacek@redhat.com>
55477         [BZ #14152]
55478         * math/libm-test.inc (fma_test): Don't always expect underflow
55479         exception.
55481 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55483         [BZ #12416]
55484         * elf/tst-execstack.c: Include stackinfo.h.
55485         (do_test): Adjust test case to ensure that pthread_getattr_np
55486         behaviour remains the same after marking stack executable.
55488 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
55490         * sysdeps/unix/sysv/linux/kernel-features.h
55491         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
55492         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
55493         kernel-features.h.
55494         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
55495         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
55496         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
55497         kernel-features.h.
55498         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
55499         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
55501 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
55503         * configure.in: Define the default includes to being none.
55504         * configure: Regenerated.
55506 2012-05-25  Roland McGrath  <roland@hack.frob.com>
55508         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
55509         * sysdeps/x86_64/setjmp.S: Likewise.
55510         * sysdeps/i386/bsd-setjmp.S: Likewise.
55511         * sysdeps/i386/bsd-_setjmp.S: Likewise.
55512         * sysdeps/i386/setjmp.S: Likewise.
55513         * sysdeps/i386/__longjmp.S: Likewise.
55514         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
55515         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
55517         * include/stap-probe.h: New file.
55518         * configure.in: Handle --enable-systemtap.
55519         * configure: Regenerated.
55520         * config.h.in (USE_STAP_PROBE): New #undef.
55521         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
55522         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
55523         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
55525 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
55527         [BZ #13717]
55528         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
55529         to 2.4.0 where earlier.
55530         * sysdeps/unix/sysv/linux/configure: Regenerated.
55531         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
55532         <kernel-features.h>.
55533         [__ASSUME_32BITUIDS]: Make code unconditional.
55534         [!__ASSUME_32BITUIDS]: Remove conditional code.
55535         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
55536         <kernel-features.h>.
55537         [__ASSUME_32BITUIDS]: Make code unconditional.
55538         [!__ASSUME_32BITUIDS]: Remove conditional code.
55539         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
55540         [__ASSUME_32BITUIDS]: Make code unconditional.
55541         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
55542         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
55543         <kernel-features.h>.
55544         [__ASSUME_32BITUIDS]: Make code unconditional.
55545         [!__ASSUME_32BITUIDS]: Remove conditional code.
55546         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
55547         <kernel-features.h>.
55548         [__ASSUME_32BITUIDS]: Make code unconditional.
55549         [!__ASSUME_32BITUIDS]: Remove conditional code.
55550         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
55551         <kernel-features.h>.
55552         [__ASSUME_32BITUIDS]: Make code unconditional.
55553         [!__ASSUME_32BITUIDS]: Remove conditional code.
55554         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
55555         <kernel-features.h>.
55556         [__ASSUME_32BITUIDS]: Make code unconditional.
55557         [!__ASSUME_32BITUIDS]: Remove conditional code.
55558         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
55559         <kernel-features.h>.
55560         [__ASSUME_32BITUIDS]: Make code unconditional.
55561         [!__ASSUME_32BITUIDS]: Remove conditional code.
55562         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
55563         <kernel-features.h>.
55564         [__ASSUME_32BITUIDS]: Make code unconditional.
55565         [!__ASSUME_32BITUIDS]: Remove conditional code.
55566         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
55567         <kernel-features.h>.
55568         [__ASSUME_32BITUIDS]: Make code unconditional.
55569         [!__ASSUME_32BITUIDS]: Remove conditional code.
55570         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
55571         <kernel-features.h>.
55572         [__ASSUME_32BITUIDS]: Make code unconditional.
55573         [!__ASSUME_32BITUIDS]: Remove conditional code.
55574         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
55575         <kernel-features.h>.
55576         [__ASSUME_32BITUIDS]: Make code unconditional.
55577         [!__ASSUME_32BITUIDS]: Remove conditional code.
55578         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
55579         <kernel-features.h>.
55580         [__ASSUME_32BITUIDS]: Make code unconditional.
55581         [!__ASSUME_32BITUIDS]: Remove conditional code.
55582         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
55583         <kernel-features.h>.
55584         [__NR_setresgid] (__setresgid): Do not declare.
55585         [__ASSUME_32BITUIDS]: Make code unconditional.
55586         [!__ASSUME_32BITUIDS]: Remove conditional code.
55587         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
55588         <kernel-features.h>.
55589         [__NR_setresuid] (__setresuid): Do not declare.
55590         [__ASSUME_32BITUIDS]: Make code unconditional.
55591         [!__ASSUME_32BITUIDS]: Remove conditional code.
55592         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
55593         <kernel-features.h>.
55594         [__ASSUME_32BITUIDS]: Make code unconditional.
55595         [!__ASSUME_32BITUIDS]: Remove conditional code.
55596         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
55597         <kernel-features.h>.
55598         [__ASSUME_32BITUIDS]: Make code unconditional.
55599         [!__ASSUME_32BITUIDS]: Remove conditional code.
55600         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
55601         <kernel-features.h>.
55602         [__ASSUME_32BITUIDS]: Make code unconditional.
55603         [!__ASSUME_32BITUIDS]: Remove conditional code.
55604         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
55605         <kernel-features.h>.
55606         [__ASSUME_32BITUIDS]: Make code unconditional.
55607         [!__ASSUME_32BITUIDS]: Remove conditional code.
55608         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
55609         <kernel-features.h>.
55610         [__ASSUME_32BITUIDS]: Make code unconditional.
55611         [!__ASSUME_32BITUIDS]: Remove conditional code.
55612         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
55613         <kernel-features.h>.
55614         [__ASSUME_32BITUIDS]: Make code unconditional.
55615         [!__ASSUME_32BITUIDS]: Remove conditional code.
55616         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
55617         <kernel-features.h>.
55618         [__ASSUME_32BITUIDS]: Make code unconditional.
55619         [!__ASSUME_32BITUIDS]: Remove conditional code.
55620         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
55621         <kernel-features.h>.
55622         [__ASSUME_32BITUIDS]: Make code unconditional.
55623         [!__ASSUME_32BITUIDS]: Remove conditional code.
55624         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
55625         <kernel-features.h>.
55626         [__ASSUME_32BITUIDS]: Make code unconditional.
55627         [!__ASSUME_32BITUIDS]: Remove conditional code.
55628         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
55629         <kernel-features.h>.
55630         [__ASSUME_32BITUIDS]: Make code unconditional.
55631         [!__ASSUME_32BITUIDS]: Remove conditional code.
55632         * sysdeps/unix/sysv/linux/kernel-features.h
55633         (__ASSUME_SETRESUID_SYSCALL): Remove.
55634         (__ASSUME_SETRESGID_SYSCALL): Likewise.
55635         (__ASSUME_32BITUIDS): Likewise.
55636         (__ASSUME_LDT_WORKS): Likewise.
55637         (__ASSUME_O_DIRECTORY): Likewise.
55638         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
55639         architecture but not kernel version.
55640         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
55641         (__ASSUME_MMAP2_SYSCALL): Likewise.
55642         (__ASSUME_STAT64_SYSCALL): Likewise.
55643         (__ASSUME_IPC64): Likewise.
55644         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
55645         <kernel-features.h>.
55646         [__ASSUME_32BITUIDS]: Make code unconditional.
55647         [!__ASSUME_32BITUIDS]: Remove conditional code.
55648         * sysdeps/unix/sysv/linux/opendir.c: Do not include
55649         <kernel-features.h>.
55650         [__ASSUME_O_DIRECTORY]: Make code unconditional.
55651         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
55652         132096]: Remove conditional code.
55653         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
55654         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
55655         <kernel-features.h>.
55656         [__ASSUME_32BITUIDS]: Make code unconditional.
55657         [!__ASSUME_32BITUIDS]: Remove conditional code.
55658         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
55659         <kernel-features.h>.
55660         [__ASSUME_32BITUIDS]: Make code unconditional.
55661         [!__ASSUME_32BITUIDS]: Remove conditional code.
55662         * sysdeps/unix/sysv/linux/setegid.c: Do not include
55663         <kernel-features.h>.
55664         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
55665         unconditional.
55666         (__setresgid): Do not declare.
55667         [__ASSUME_32BITUIDS]: Make code unconditional.
55668         [!__ASSUME_32BITUIDS]: Remove conditional code.
55669         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
55670         <kernel-features.h>.
55671         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
55672         unconditional.
55673         (__setresuid): Do not declare.
55674         [__ASSUME_32BITUIDS]: Make code unconditional.
55675         [!__ASSUME_32BITUIDS]: Remove conditional code.
55676         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
55677         <kernel-features.h>.
55678         [__ASSUME_32BITUIDS]: Make code unconditional.
55679         [!__ASSUME_32BITUIDS]: Remove conditional code.
55680         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
55681         <kernel-features.h>.
55682         [__ASSUME_32BITUIDS]: Make code unconditional.
55683         [!__ASSUME_32BITUIDS]: Remove conditional code.
55685 2012-05-25  Richard Henderson  <rth@twiddle.net>
55687         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
55688         dl_hwcap to ifunc resolver.
55689         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
55690         elf_ifunc_invoke.
55691         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
55692         dl_hwcap to ifunc resolver.
55693         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
55695 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
55697         [BZ #14153]
55698         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
55699         for |x| <= 2**-26, not 2**-57.
55700         * math/libm-test.inc (acos_test): Do not allow spurious underflow
55701         exception.
55703 2012-05-24  Jeff Law  <law@redhat.com>
55705         * stdio-common/Makefile (tests): Add bug25.
55706         * stdio-common/bug25.c: New test.
55708 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
55710         [BZ #13576]
55711         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
55712         multiple of MALLOC_ALIGNMENT in size.
55713         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
55715 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
55717         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
55718         Require >= 256.
55719         (FILENAME_MAX): Use macro-int-constant.
55720         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
55721         (_IOFBF): Use macro-int-constant.
55722         (_IOLBF): Likewise.
55723         (_IONBF): Likewise.
55724         (SEEK_CUR): Likewise.
55725         (SEEK_END): Likewise.
55726         (SEEK_SET): Likewise.
55727         (TMP_MAX): Likewise.
55728         (EOF): Use macro-int-constant.  Require < 0.
55729         (NULL): Use macro-constant.  Require == 0.
55730         (stdin): Require type to be FILE *.
55731         (stdout): Likewise.
55732         (stderr): Likewise.
55733         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
55734         macro-int-constant.
55735         (EXIT_SUCCESS): Likewise.
55736         (NULL): Use macro-constant.  Require == 0.
55737         (RAND_MAX): Use macro-int-constant.
55738         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
55739         [C99-based standards] (strtof): Require function.
55740         [C99-based standards] (strtold): Likewise.
55741         [C99-based standards] (strtoll): Likewise.
55742         [C99-based standards] (strtoull): Likewise.
55743         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
55744         [ISO || ISO99 || ISO11] (limits.h): Likewise.
55745         [ISO || ISO99 || ISO11] (math.h): Likewise.
55746         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
55747         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
55748         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55750 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
55752         [BZ #14132]
55753         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
55754         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
55755         * intl/dgettext.c (DCGETTEXT): Likewise.
55756         * intl/gettext.c (DCGETTEXT): Likewise.
55757         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
55758         * posix/regex_internal.h (gettext): Likewise.
55759         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
55760         Remove declaration.
55761         * include/argz.h (__argz_count_internal)
55762         (__argz_stringify_internal): Remove declaration.
55763         (__argz_count, __argz_stringify): Declare hidden proto.
55764         * intl/dcgettext.c: Remove use of INTDEF.
55765         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
55766         * string/argz-stringify.c: Likewise.
55767         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
55768         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
55769         Declare hidden proto.
55770         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
55771         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
55772         Declare hidden proto.
55773         * include/stdio.h (__asprintf_internal): Don't declare.
55774         (__asprintf): Don't define as macro.  Declare hidden proto.
55775         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
55776         (__fsetlocking): Declare hidden proto.
55777         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
55778         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
55779         hidden proto.
55780         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
55781         (_IO_setlinebuf): Remove use of INTUSE.
55782         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
55783         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
55784         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
55785         Remove declaration.
55786         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
55787         (_IO_do_flush): Remove use of INTUSE.
55788         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
55789         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
55790         (_IO_adjust_column, _IO_least_wmarker)
55791         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
55792         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
55793         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
55794         (_IO_default_doallocate, _IO_wdefault_doallocate)
55795         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
55796         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
55797         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
55798         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
55799         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
55800         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
55801         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
55802         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
55803         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
55804         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
55805         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
55806         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
55807         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
55808         proto.
55809         (_IO_flush_all_internal, _IO_adjust_column_internal)
55810         (_IO_default_uflow_internal, _IO_default_finish_internal)
55811         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
55812         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
55813         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
55814         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
55815         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
55816         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
55817         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
55818         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
55819         (_IO_file_close_internal, _IO_file_close_it_internal)
55820         (_IO_file_underflow_internal, _IO_file_overflow_internal)
55821         (_IO_file_init_internal, _IO_file_attach_internal)
55822         (_IO_file_fopen_internal, _IO_file_read_internal)
55823         (_IO_file_sync_internal, _IO_file_seek_internal)
55824         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
55825         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
55826         (_IO_str_underflow_internal, _IO_str_overflow_internal)
55827         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
55828         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
55829         (_IO_list_all_internal, _IO_link_in_internal)
55830         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
55831         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
55832         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
55833         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
55834         (_IO_do_write_internal, _IO_padn_internal)
55835         (_IO_getline_info_internal, _IO_getline_internal)
55836         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
55837         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
55838         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
55839         (_IO_vfscanf_internal, _IO_vfprintf_internal)
55840         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
55841         (_IO_init_internal, _IO_un_link_internal): Don't declare.
55842         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
55843         with libc_hidden_ver, remove use of INTUSE.
55844         * libio/genops.c: Likewise.
55845         * libio/freopen.c: Likewise.
55846         * libio/freopen64.c: Likewise.
55847         * libio/iofclose.c: Likewise.
55848         * libio/iofdopen.c: Likewise.
55849         * libio/iofflush.c: Likewise.
55850         * libio/iofflush_u.c: Likewise.
55851         * libio/iofgets.c: Likewise.
55852         * libio/iofgets_u.c: Likewise.
55853         * libio/iofopen.c: Likewise.
55854         * libio/iofopncook.c: Likewise.
55855         * libio/iofread.c: Likewise.
55856         * libio/iofread_u.c: Likewise.
55857         * libio/ioftell.c: Likewise.
55858         * libio/iofwrite.c: Likewise.
55859         * libio/iogetline.c: Likewise.
55860         * libio/iogets.c: Likewise.
55861         * libio/iogetwline.c: Likewise.
55862         * libio/iopadn.c: Likewise.
55863         * libio/iopopen.c: Likewise.
55864         * libio/ioseekoff.c: Likewise.
55865         * libio/ioseekpos.c: Likewise.
55866         * libio/iosetbuffer.c: Likewise.
55867         * libio/iosetvbuf.c: Likewise.
55868         * libio/ioungetc.c: Likewise.
55869         * libio/ioungetwc.c: Likewise.
55870         * libio/iovdprintf.c: Likewise.
55871         * libio/iovsprintf.c: Likewise.
55872         * libio/iovsscanf.c: Likewise.
55873         * libio/memstream.c: Likewise.
55874         * libio/obprintf.c: Likewise.
55875         * libio/oldfileops.c: Likewise.
55876         * libio/oldiofclose.c: Likewise.
55877         * libio/oldiofdopen.c: Likewise.
55878         * libio/oldiofopen.c: Likewise.
55879         * libio/oldiopopen.c: Likewise.
55880         * libio/oldstdfiles.c: Likewise.
55881         * libio/putc.c: Likewise.
55882         * libio/setbuf.c: Likewise.
55883         * libio/setlinebuf.c: Likewise.
55884         * libio/stdfiles.c: Likewise.
55885         * libio/strops.c: Likewise.
55886         * libio/vasprintf.c: Likewise.
55887         * libio/vscanf.c: Likewise.
55888         * libio/vsnprintf.c: Likewise.
55889         * libio/vswprintf.c: Likewise.
55890         * libio/wfiledoalloc.c: Likewise.
55891         * libio/wfileops.c: Likewise.
55892         * libio/wgenops.c: Likewise.
55893         * libio/wmemstream.c: Likewise.
55894         * libio/wstrops.c: Likewise.
55895         * libio/__fpurge.c: Likewise.
55896         * libio/__fsetlocking.c: Likewise.
55897         * assert/assert.c: Likewise.
55898         * debug/fgets_chk.c: Likewise.
55899         * debug/fgets_u_chk.c: Likewise.
55900         * debug/fread_chk.c: Likewise.
55901         * debug/fread_u_chk.c: Likewise.
55902         * debug/gets_chk.c: Likewise.
55903         * debug/obprintf_chk.c: Likewise.
55904         * debug/vasprintf_chk.c: Likewise.
55905         * debug/vdprintf_chk.c: Likewise.
55906         * debug/vsnprintf_chk.c: Likewise.
55907         * debug/vsprintf_chk.c: Likewise.
55908         * malloc/mtrace.c: Likewise.
55909         * misc/error.c: Likewise.
55910         * misc/syslog.c: Likewise.
55911         * stdio-common/asprintf.c: Likewise.
55912         * stdio-common/fxprintf.c: Likewise.
55913         * stdio-common/getw.c: Likewise.
55914         * stdio-common/isoc99_fscanf.c: Likewise.
55915         * stdio-common/isoc99_scanf.c: Likewise.
55916         * stdio-common/isoc99_vfscanf.c: Likewise.
55917         * stdio-common/isoc99_vscanf.c: Likewise.
55918         * stdio-common/isoc99_vsscanf.c: Likewise.
55919         * stdio-common/printf-prs.c: Likewise.
55920         * stdio-common/printf_fp.c: Likewise.
55921         * stdio-common/printf_fphex.c: Likewise.
55922         * stdio-common/printf_size.c: Likewise.
55923         * stdio-common/putw.c: Likewise.
55924         * stdio-common/scanf.c: Likewise.
55925         * stdio-common/sprintf.c: Likewise.
55926         * stdio-common/tmpfile.c: Likewise.
55927         * stdio-common/vfprintf.c: Likewise.
55928         * stdio-common/vfscanf.c: Likewise.
55929         * stdlib/strfmon_l.c: Likewise.
55930         * sunrpc/openchild.c: Likewise.
55931         * sunrpc/xdr_stdio.c: Likewise.
55932         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
55933         * sysdeps/mach/hurd/tmpfile.c: Likewise.
55935 2012-05-24  Roland McGrath  <roland@hack.frob.com>
55937         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
55939         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
55940         in the third column, to generate for the shared library an IFUNC
55941         that uses _dl_vdso_vsym.
55942         * Makerules (COMPILE.c, compile-stdin.c): New variables.
55943         * Makeconfig (object-suffixes-noshared): New variable.
55945         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
55946         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
55947         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
55948         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
55950         [BZ #14132]
55951         * include/sys/time.h (__gettimeofday): Remove macro.
55952         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
55953         * time/gettimeofday.c (__gettimeofday): Remove #undef.
55954         Remove INTDEF.
55955         (__gettimeofday): Add libc_hidden_def.
55956         (gettimeofday): Add libc_hidden_weak.
55957         * sysdeps/mach/gettimeofday.c: Likewise.
55958         * sysdeps/posix/gettimeofday.c: Likewise.
55959         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
55960         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
55961         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
55962         (__gettimeofday_internal): Remove strong_alias.
55963         (__gettimeofday): Add libc_hidden_def.
55964         (gettimeofday): Add libc_hidden_weak.
55965         * sysdeps/unix/syscalls.list (gettimeofday):
55966         Remove __gettimeofday_internal alias.
55968 2012-05-24  Daniel Jacobowitz  <drow@false.org>
55969             H.J. Lu  <hongjiu.lu@intel.com>
55971         [BZ #12495]
55972         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
55973         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
55974         (largebin_index_32_big): New.
55975         (largebin_index): Use it for 16-byte alignment.
55976         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
55977         correction with front_misalign.
55979 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
55981         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
55982         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
55983         Likewise.
55984         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
55985         Likewise.
55986         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
55987         Likewise.
55988         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
55989         Likewise.
55990         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
55991         Likewise.
55992         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
55993         Likewise.
55994         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
55995         Likewise.
55996         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
55997         Likewise.
55998         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
55999         Likewise.
56000         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
56001         Likewise.
56002         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
56003         Likewise.
56004         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
56005         Likewise.
56007         * scripts/data/c++-types-x32-linux-gnu.data: New file.
56008         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
56010 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
56012         [BZ #10846]
56013         [BZ #14036]
56014         * math/libm-test.inc (exp_test): Add test from bug 14036.
56015         (pow_test): Add test from bug 10846.
56017         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
56018         and other flags.
56019         (special_function): Do not include flags in test name.
56020         (parse_args): Likewise.
56021         * sysdeps/i386/fpu/libm-test-ulps: Update.
56022         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56023         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56024         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56027         * math/gen-libm-test.pl (%beautify): Add entries for underflow
56028         exceptions.
56029         * math/libm-test.inc ("Philosophy"): Update comment about
56030         exception testing.
56031         (UNDERFLOW_EXCEPTION): New macro.
56032         (UNDERFLOW_EXCEPTION_OK): Likewise.
56033         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
56034         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
56035         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
56036         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
56037         (INVALID_EXCEPTION_OK): Update value.
56038         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
56039         (OVERFLOW_EXCEPTION_OK): Likewise.
56040         (IGNORE_ZERO_INF_SIGN): Likewise.
56041         (test_exceptions): Handle underflow exceptions.
56042         (acos_test): Update for underflow exception expectations.
56043         (cexp_test): Likewise.
56044         (clog_test): Likewise.
56045         (clog10_test): Likewise.
56046         (csqrt_test): Likewise.
56047         (ctan_test): Likewise.
56048         (ctanh_test): Likewise.
56049         (exp_test): Likewise.
56050         (exp10_test): Likewise.
56051         (exp2_test): Likewise.
56052         (expm1_test): Likewise.
56053         (fma_test): Likewise.
56054         (j0_test): Likewise.
56055         (jn_test): Likewise.
56056         (nexttoward_test): Likewise.
56057         (pow_test): Likewise.
56058         (scalbn_test): Likewise.
56059         (scalbln_test): Likewise.
56060         (tan_test): Likewise.
56061         (y1_test): Likewise.
56062         * sysdeps/i386/fpu/libm-test-ulps: Update.
56063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56065 2012-05-23  David S. Miller  <davem@davemloft.net>
56067         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
56068         (__libc_sigaction): Remove unused local variables.
56070 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
56072         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
56074 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
56076         mktime: avoid signed integer overflow
56077         * time/mktime.c (__mktime_internal): Do not mishandle the case
56078         where diff == INT_MIN.
56080         mktime: simplify computation of average
56081         * time/mktime.c (ranged_convert): Use new time_t_avg function
56082         instead of rolling our own (probably-slower) code.
56084         mktime: do not assume signed right shift propagates sign bit
56085         * time/mktime.c (isdst_differ): New static function.
56086         (__mktime_internal): No need to normalize tm_isdst now.
56087         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
56088         tm_isdst values.
56090         mktime: merge another wrapv change from gnulib
56091         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
56092         from some compilers.
56094         mktime: remove incorrect attempt at unusual arithmetics
56095         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
56096         The code didn't really work on such machines anyway.
56097         (TYPE_MINIMUM): Assume two's complement.
56098         (twos_complement_arithmetic): Verify that long_int and time_t
56099         are two's complement (or unsigned, in the latter case).
56101         mktime: check signed shifts on long_int and time_t, too
56102         * time/mktime.c (SHR): Check that shifts work as desired
56103         on the types long_int and time_t too, as SHR is used on
56104         such types.
56106         mktime: do not assume 'long' is wide enough
56107         * time/mktime.c (verify): Move decl up.
56108         (long_int): New type.
56109         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
56110         to remove assumption in the code that 'long' is wide enough to
56111         store year values.  This assumption is not true on x32 and on
56112         some non-glibc platforms.
56114         mktime: merge wrapv change from gnulib
56115         * time/mktime.c (WRAPV): New macro.
56116         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
56117         (guess_time_tm, __mktime_internal): Do not assume that signed
56118         integer overflow wraps around; modern compilers generate code
56119         where this assumption is no longer valid.
56121 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
56123         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
56124         Replace "jmp L(pseudo_end)" with "ret".
56125         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
56126         Likewise.
56128 2012-05-23  Andreas Jaeger  <aj@suse.de>
56130         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
56131         * sysdeps/unix/sysv/linux/poll.c: Remove file.
56133 2012-05-23  Andreas Jaeger  <aj@suse.de>
56134             Maximilian Attems  <max@stro.at>
56136         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
56137         New macros.
56139 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
56141         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
56142         code so that pseudo_end is just ret and the stack pointer is
56143         correct also for static library in error case.
56145 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
56147         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
56148         move to syscalls.list.
56149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
56150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
56151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
56152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
56154         * manual/install.texi (Running make install): Do not mention Linux
56155         kernel version for which pt_chown is not needed.
56156         (Linux): Do not mention problems with nscd with 2.0 kernels.
56157         * INSTALL: Regenerated.
56159 2012-05-23  Andreas Jaeger  <aj@suse.de>
56161         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
56162         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
56163         macro.
56164         * sysdeps/unix/sysv/linux/s390/bits/mman.h
56165         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56166         * sysdeps/unix/sysv/linux/sh/bits/mman.h
56167         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56168         * sysdeps/unix/sysv/linux/i386/bits/mman.h
56169         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56170         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
56171         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56172         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
56173         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56174         * sysdeps/unix/sysv/linux/bits/in.h
56175         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
56177 2012-05-22  Roland McGrath  <roland@hack.frob.com>
56179         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
56180         (PREPARE_VERSION): Just use assert instead, it will be elided
56181         under [NDEBUG] anyway.
56183 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56185         * sysdeps/unix/sysv/linux/Makefile: Include
56186         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
56187         (sysdep_routines): Remove sysctl.
56188         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
56189         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
56190         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
56191         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
56192         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
56194 2012-05-22  Andreas Jaeger  <aj@suse.de>
56196         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
56197         that pseudo_end is just ret and the stack pointer is correct also
56198         for static library in error case.
56200 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
56202         [BZ #14122]
56203         * nss/nsswitch.c (defconfig_entries): New variable.
56204         (__nss_database_lookup): Don't leak defconfig entries.
56205         (nss_parse_service_list): Don't leak on error paths.
56206         (free_database_entries): New function.
56207         (free_defconfig): New function.
56208         (free_mem): Move common code to free_database_entries.
56210 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56212         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
56213         Add arch_prctl.
56214         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
56216         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
56217         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
56218         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
56219         New macro.
56220         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
56221         (INTERNAL_SYSCALL_TYPES): Likewise.
56222         (LOAD_ARGS_TYPES_[1-6]): Likewise.
56223         (LOAD_REGS_TYPES_[1-6]): Likewise.
56224         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
56225         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
56227 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56229         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
56230         copysignl for GLIBC_2_0.
56231         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
56232         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
56233         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
56234         logbl for GLIBC_2_0.
56235         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
56236         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
56238 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56240         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
56241         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
56243         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
56244         Use "neg %eax".
56246         * time/mktime.c: Update copyright years.
56248 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
56250         mktime: merge comment-quoting-style change from gnulib
56251         * time/mktime.c: Quote 'like this' in comments.
56252         The GNU coding standards suggest that we no longer quote `like this',
56253         as "`" and "'" are typically rendered asymmetrically nowadays.
56254         The typical gnulib style is to quote 'like this' when quoting
56255         code, and "like this" when quoting English.
56257         * time/mktime.c (compile-command): Add "-I.".
56259         mktime: merge mktime-internal.h change from gnulib
56260         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
56262         mktime: merge time_r change from gnulib
56263         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
56265         mktime: merge DEBUG change from gnulib
56266         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
56267         case system <time.h> has a #define.
56269         mktime: merge <sys/types.h> change from gnulib
56270         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
56271         since <time.t> is now guaranteed to define time_t.
56273         mktime: merge HAVE_CONFIG_H change from gnulib
56274         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
56276 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56278         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
56279         Use "neg %eax".
56281         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
56282         __rlim_t cast.
56283         (struct rusage): Use anonymous union to pad each field to
56284         __syscall_slong_t.
56286 2012-05-21  David S. Miller  <davem@davemloft.net>
56288         * Makefules (o-iterator): Remove .s cases.
56289         (compile-command.s): Delete.
56290         (COMPILE.s): Delete.
56291         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
56293 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
56295         * configure.in (libc_cv_predef_stack_protector): Only consider
56296         "foobar" and "__stack_chk_fail" lines in libc_undefs.
56297         * configure: Regenerated.
56299 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
56301         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
56302         New macro.  Use R*LP on int and pointer.
56303         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
56304         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
56305         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
56306         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
56308         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
56309         [__WORDSIZE_TIME64_COMPAT32] instead of
56310         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
56311         (struct utmp): Likewise.
56312         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
56313         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
56314         Renamed to ...
56315         (__WORDSIZE_TIME64_COMPAT32): This.
56316         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
56317         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
56318         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
56319         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
56320         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
56321         (__WORDSIZE_TIME64_COMPAT32): New macro.
56323 2012-05-21  Andreas Jaeger  <aj@suse.de>
56325         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
56326         only if [SHARED]. Add prototype for __wcschr_ia32.
56328 2012-05-21  Roland McGrath  <roland@hack.frob.com>
56330         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
56331         of %rbp unmolested in the jmp_buf while mangling the low bits.
56332         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
56333         unmolested high bits of %rbp while demangling the low bits.
56334         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
56336 2012-05-21  Andreas Jaeger  <aj@suse.de>
56338         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
56339         * sunrpc/svc_simple.c: Use it for registerrpc.
56340         * sunrpc/xcrypt.c: Use it for passwd2des.
56342         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
56344 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
56346         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
56347         Don't define if [__SYSCALL_WORDSIZE != 32].
56348         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
56349         New macro.
56351 2012-05-21  Bruno Haible  <bruno@clisp.org>
56352             Andreas Jaeger  <aj@suse.de>
56354         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
56355         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
56356         inptr and inend for must_buffer_ch.
56357         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
56358         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
56359         * stdio-common/Makefile (tests): Remove bug15.
56360         (bug15-ENV): Remove macro.
56361         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
56362         anymore.
56364 2012-05-19  Andreas Jaeger  <aj@suse.de>
56365             Roland McGrath  <roland@hack.frob.com>
56367         * manual/contrib.texi: Completely rewritten. It contains now an
56368         alphabetical list of contributors and their contributions.
56370 2012-05-21  Richard Henderson  <rth@twiddle.net>
56372         * misc/getauxval.c (__getauxval): Use unsigned long int.
56373         * misc/sys/auxv.h: Include <sys/cdefs.h>.
56374         (getauxval): Use unsigned long int.
56376 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
56378         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
56380 2012-05-21  Roland McGrath  <roland@hack.frob.com>
56382         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
56383         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
56384         __alignof__ (long double).
56386 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56388         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56390 2012-05-20  Richard Henderson  <rth@twiddle.net>
56392         * misc/getauxval.c: New file.
56393         * misc/sys/auxv.h: New file.
56394         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
56395         (routines): Add getauxval.
56396         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
56397         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
56398         * elf/dl-sysdep.c (_dl_auxv): Remove.
56399         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
56400         * elf/dl-support.c (_dl_auxv): New variable.
56401         (_dl_aux_init): Initialize it.
56402         * manual/startup.texi (Auxiliary Vector): New node.
56403         * sysdeps/generic/bits/hwcap.h: New file.
56404         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
56405         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
56406         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
56407         * sysdeps/sparc/sysdep.h: ... here.  Include it.
56408         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
56409         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
56410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56411         Update.
56412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
56413         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
56414         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
56415         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
56416         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
56417         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
56418         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
56419         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
56421 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56425 2012-05-19  David S. Miller  <davem@davemloft.net>
56427         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56429 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
56431         [BZ #14123]
56432         * math/s_ccosh.c: Include <float.h>
56433         (__ccosh): Avoid internal overflow calculating sinh and cosh
56434         values before multiplying by sin and cos values.
56435         * math/s_ccoshf.c: Likewise.
56436         * math/s_ccoshl.c: Likewise.
56437         * math/s_csin.c: Likewise.
56438         * math/s_csinf.c: Likewise.
56439         * math/s_csinl.c: Likewise.
56440         * math/s_csinh.c: Likewise.
56441         * math/s_csinhf.c: Likewise.
56442         * math/s_csinhl.c: Likewise.
56443         * math/libm-test.inc (ccos_test): Add more tests.
56444         (ccosh_test): Likewise.
56445         (csin_test): Likewise.
56446         (csinh_test): Likewise.
56447         * sysdeps/i386/fpu/libm-test-ulps: Update.
56448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56450 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
56452         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
56453         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
56455         * sysdeps/x86_64/x32/_itoa.h: Add comment.
56457 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
56459         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
56460         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
56461         * sysdeps/powerpc/soft-fp/Versions: Likewise.
56462         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
56463         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
56464         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
56465         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
56466         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
56467         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
56468         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
56469         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
56470         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
56471         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
56472         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
56473         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
56474         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
56475         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
56476         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
56477         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
56478         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
56479         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
56480         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
56481         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
56482         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
56483         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
56484         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
56485         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
56486         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
56487         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
56488         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
56489         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
56491 2012-05-18  Andreas Jaeger  <aj@suse.de>
56493         * csu/.gitignore: Delete.
56495 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
56497         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
56498         (timex): Use __syscall_slong_t.
56500 2012-05-18  Andreas Jaeger  <aj@suse.de>
56501             Carlos O'Donell  <carlos_odonell@mentor.com>
56503         * manual/install.texi (Configuring and compiling): Update
56504         description about files modified in the source directory.
56505         * INSTALL: Regenerated.
56507 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
56509         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
56510         value.  Use "or" to set return value to -1.
56511         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
56512         negate return value.
56514 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56516         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
56517         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
56518         failure if the compiler has Graphite support disabled.
56519         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
56520         Likewise.
56521         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
56522         (CFLAGS-memmove.c): Likewise.
56523         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
56524         Likewise.
56526 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
56528         * sysdeps/x86_64/x32/_itoa.h: New file.
56530         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
56531         getdents system call only if kernel and user dirents have the
56532         same d_ino and d_off.
56534         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
56535         LLONG_MAX != LONG_MAX.
56536         (_itoa_word): Use _ITOA_WORD_TYPE on value.
56537         (_fitoa_word): Likewise.
56539         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
56540         years.
56541         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
56542         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
56543         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
56545         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
56546         include <bits/wordsize.h>.  Check __x86_64__ instead of
56547         __WORDSIZE.
56548         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
56549         if __x86_64__ is defined.  Use anonymous union on fpstate.
56551         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
56552         anonymous union.
56554 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
56556         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
56557         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
56558         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
56559         Refer to _rtld_local_ro instead of _rtld_global_ro.
56560         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
56561         Likewise.
56562         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
56563         Likewise.
56564         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
56565         Likewise.
56566         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
56567         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
56568         of _rtld_global, and rtld_progname instead of _dl_argv[0].
56570         [BZ #10882]
56571         * sysdeps/powerpc/powerpc32/dl-machine.c
56572         (__elf_machine_runtime_setup) [PROF]: Don't reference
56573         _dl_prof_resolve.
56575 2012-05-18  Andreas Jaeger  <aj@suse.de>
56577         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
56578         function only available for GCCs before 3.4 since GCC 3.4
56579         introduced a builtin.
56580         (lrint): Likewise.
56581         (llrintf): Likewise.
56582         (llrint): Likewise.
56583         (fmaxf): Likewise.
56584         (fmax): Likewise.
56585         (fminf): Likewise.
56586         (fmin): Likewise.
56587         (rint): Likewise.
56588         (rintf): Likewise.
56589         (nearbyint): Likewise.
56590         (nearbyintf): Likewise.
56591         (ceil): Likewise.
56592         (ceilf): Likewise.
56593         (floor): Likewise.
56594         (floorf): Likewise.
56596 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
56598         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
56599         on both fields and cast pointer to __syscall_ulong_t.
56601         * bits/types.h (__fsword_t): New type.
56602         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
56603         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
56604         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56605         (__FSWORD_T_TYPE): Likewise.
56606         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56607         (__FSWORD_T_TYPE): Likewise.
56608         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56609         (__FSWORD_T_TYPE): Likewise.
56610         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
56611         (__FSWORD_T_TYPE): Likewise.
56612         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
56613         __SWORD_TYPE with __fsword_t.
56614         (statfs64): Likewise.
56616 2012-05-17  David S. Miller  <davem@davemloft.net>
56618         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
56620 2012-05-17  Andreas Jaeger  <aj@suse.de>
56622         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
56623         warning.
56625 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
56627         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
56629 2012-05-17  Andreas Jaeger  <aj@suse.de>
56631         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
56632         when it is used.
56634 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
56636         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
56638 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
56640         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
56641         * sysdeps/x86_64/tst-mallocalign1.c: New file.
56643 2012-05-17  Andreas Jaeger  <aj@suse.de>
56644             Carlos O'Donell  <carlos_odonell@mentor.com>
56646         [BZ #14059]
56647         * sysdeps/x86_64/multiarch/init-arch.h
56648         (bit_YMM_Usable): Rename to...
56649         (bit_AVX_Usable): ... this.
56650         (bit_FMA4_Usable): New macro.
56651         (bit_XMM_state): New macro.
56652         (bit_YMM_state): New macro.
56653         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
56654         [__ASSEMBLER__] (index_AVX_Usable): ... this.
56655         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
56656         (CPUID_OSXSAVE): New macro.
56657         (CPUID_AVX): New macro.
56658         (CPUID_FMA4): New macro.
56659         (index_YMM_Usable): Rename to...
56660         (index_AVX_Usable): ... this.
56661         (HAS_AVX): Use HAS_ARCH_FEATURE.
56662         (HAS_FMA4): Likewise.
56663         (HAS_YMM_USABLE): Remove.
56664         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56665         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
56666         are present.
56667         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
56668         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
56669         * sysdeps/x86_64/multiarch/Makefile: Likewise.
56670         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
56671         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
56673 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
56675         * math/libm-test.c: Support platforms without multiple rounding modes.
56676         * math/bug-nextafter.c: Support platforms without FP exceptions.
56677         * math/bug-nexttoward.c: Likewise.
56678         * math/test-fenv.c: Likewise.
56679         * math/test-misc.c: Likewise.
56680         * stdlib/bug-getcontext.c: Likewise.
56682 2012-05-17  Andreas Jaeger  <aj@suse.de>
56684         * manual/examples/search.c (critter_cmp): Change signature to
56685         avoid warnings.
56686         * manual/string.texi (Collation Functions): Likewise.
56688 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56690         * bits/types.h: Fold copyright years.
56691         * bits/typesizes.h: Likewise.
56692         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
56693         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
56694         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
56695         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
56696         * time/time.h: Likewise.
56698 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
56700         [BZ #208]
56701         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
56702         in instead of returning them.  Return void.
56703         (__libc_mallinfo): Accumulate over all arenas.
56704         (__malloc_stats): Adjust for change in int_mallinfo interface.
56706 2012-05-16  Roland McGrath  <roland@hack.frob.com>
56708         [BZ #10375]
56709         * configure.in (NM): Add AC_CHECK_TOOL for it.
56710         (libc_extra_cflags): New substituted variable.
56711         Check for -fstack-protector being used implicitly.
56712         * configure: Regenerated.
56713         * config.make.in (config-extra-cflags): New variable,
56714         gets @libc_extra_cflags@.
56715         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
56717         [BZ #10375]
56718         * configure.in: Check for _FORTIFY_SOURCE being predefined.
56719         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
56720         * configure: Regenerated.
56721         * config.make.in (CPPUNDEFS): New substituted variable.
56722         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
56723         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
56724         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
56726 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56728         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
56729         (mq_attr): Use __syscall_slong_t.
56731 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56733         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
56734         Check __x86_64__ instead of __WORDSIZE.
56735         (_STAT_VER_LINUX): Likewise.
56736         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
56737         __syscall_ulong_t and __syscall_slong_t.
56738         (stat64): Likewise.
56740 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56742         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
56744 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56746         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
56748 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56750         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
56751         __syscall_ulong_t.
56753         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
56754         include <bits/wordsize.h>.  Check __x86_64__ instead of
56755         __WORDSIZE.
56756         (greg_t): Use "__extension__ long long int" if __x86_64__ is
56757         defined.
56758         (mcontext_t): Replace "unsigned long" with "unsigned long long".
56760         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
56761         include <bits/wordsize.h>.  Check __x86_64__ instead of
56762         __WORDSIZE.
56763         (user_regs_struct): Use "__extension__ unsigned long long"
56764         instead of "unsigned long" if __x86_64__ is defined.
56765         (user): Likewise.  Pad after pointer field if __ILP32__ is
56766         defined.
56768 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
56770         * configure.in (makeinfo): Require version 4.5 or later.  Allow
56771         versions 5 to 9.
56772         * configure: Regenerated.
56773         * manual/install.texi (texinfo): Increase version requirement to
56774         4.5 or later.
56775         * INSTALL: Regenerated.
56777         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
56779 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56781         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
56783         * sysdeps/x86_64/x32/ffs.c: New file.
56785         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
56786         __syscall_ulong_t.
56787         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
56788         defined.  Use __syscall_ulong_t.
56789         (shminfo): Use __syscall_ulong_t.
56790         (shm_info): Likewise.
56792         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
56793         __syscall_ulong_t.
56795         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
56796         <bits/wordsize.h>.
56797         (msgqnum_t): Use __syscall_ulong_t.
56798         (msglen_t): Likewise.
56799         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
56800         __syscall_ulong_t.
56802         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
56803         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
56805         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
56807         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
56808         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
56810         * sysvipc/sys/msg.h (msgbuf): Replace long int with
56811         __syscall_slong_t.
56813         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
56814         include <bits/wordsize.h>.  Check __x86_64__ instead of
56815         __WORDSIZE.
56817         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
56818         "unsigned long long int" if __x86_64__ is defined.
56819         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
56821         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
56822         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
56823         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
56825         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
56826         <stdint.h>.
56827         (GET_PC): Cast to uintptr_t first.
56828         (GET_FRAME): Likewise.
56829         (GET_STACK): Likewise.
56831         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
56832         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
56833         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
56834         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
56835         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
56836         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
56837         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
56838         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
56839         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
56840         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
56841         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
56842         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
56843         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
56844         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
56845         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
56846         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
56847         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
56848         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
56849         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
56850         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
56851         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
56852         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
56853         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
56854         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
56855         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
56856         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
56857         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
56858         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
56859         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
56861 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
56863         * Makerules (+depfiles): Also collect depfiles from .oS in
56864         $(extra-objs).
56865         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
56866         .oS, $(libnldbl-routines)).
56868         * Makerules (native-compile-mkdep-flags): Define.
56869         * sunrpc/Makefile (extra-objs): Add $(addprefix
56870         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
56871         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
56872         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
56873         calling $(make-target-directory).
56875 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56877         * bits/types.h (__snseconds_t): Removed.
56878         * time/time.h (struct timespec): Replace __snseconds_t with
56879         __syscall_slong_t.
56880         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
56881         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
56882         Likewise.
56883         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56884         (__SNSECONDS_T_TYPE): Likewise.
56885         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56886         (__SNSECONDS_T_TYPE): Likewise.
56887         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56888         (__SNSECONDS_T_TYPE): Likewise.
56890 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56892         * sysdeps/mach/hurd/bits/typesizes.h
56893         (__SYSCALL_SLONG_TYPE): New macro.
56894         (__SYSCALL_ULONG_TYPE): Likewise.
56896 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56898         * bits/types.h (__syscall_slong_t): New type.
56899         (__syscall_ulong_t): Likewise.
56901         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
56902         (__SYSCALL_ULONG_TYPE): Likewise.
56903         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56904         (__SYSCALL_SLONG_TYPE): Likewise.
56905         (__SYSCALL_ULONG_TYPE): Likewise.
56906         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56907         (__SYSCALL_SLONG_TYPE): Likewise.
56908         (__SYSCALL_ULONG_TYPE): Likewise.
56909         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56910         (__SYSCALL_SLONG_TYPE): Likewise.
56911         (__SYSCALL_ULONG_TYPE): Likewise.
56913 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56915         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
56916         Add sigaltstack-offsets.sym.
56917         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
56918         <sigaltstack-offsets.h>.
56919         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
56920         longjmp_msg pointer.
56921         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
56922         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
56923         signal stack.
56924         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
56926 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
56928         * elf/stackguard-macros.h: Remove file.
56929         * sysdeps/generic/stackguard-macros.h: New file.
56930         * sysdeps/i386/stackguard-macros.h: Likewise.
56931         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
56932         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
56933         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
56934         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
56935         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
56936         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
56937         * sysdeps/x86_64/stackguard-macros.h: Likewise.
56938         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
56939         <elf/stackguard-macros.h>.
56941         [BZ #14109]
56942         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
56943         __aligned__ in attribute.
56944         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
56945         (gregset_t): Likewise.
56947 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56949         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
56950         * sysdeps/x86_64/64/Implies-after: Here.  New file.
56951         * sysdeps/x86_64/x32/Implies-after: New file.
56953 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56955         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
56956         and access return value for _dl_profile_fixup.  Use R10_LP to
56957         load frame size.
56959 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56961         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
56963 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56965         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
56966         * sysdeps/x86_64/x32/sysdep.h: New file.
56968 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56970         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
56971         * sysdeps/x86_64/setjmp.S: Likewise.
56973 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56975         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
56976         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
56977         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
56978         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
56979         remove unused global constant.
56981 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
56983         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
56984         include of <not-cancel.h>.
56986 2012-05-15  Roland McGrath  <roland@hack.frob.com>
56988         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
56990 2012-05-15  Jeff Law  <law@redhat.com>
56991             Andreas Jaeger  <aj@suse.de>
56993         [BZ #13594]
56994         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
56995         out from...
56996         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
56997         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
56998         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
56999         code changing __hst_map_handle.map.
57001 2012-05-15  Roland McGrath  <roland@hack.frob.com>
57003         * configure.in (sysnames): Look for Implies-before and Implies-after
57004         files.
57005         * configure: Regenerated.
57007 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57009         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
57010         8-byte data alignment with LP_SIZE alignment.
57012 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57014         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
57015         into R10_LP.
57017 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57019         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
57021 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57023         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
57024         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
57025         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
57026         Likewise.
57027         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
57029 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57031         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
57032         (stackinfo_sub_sp): Likewise.
57034 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57036         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
57037         RAX_LP.
57039 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57041         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
57042         into R*_LP.
57044 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57046         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
57047         sizes into R*_LP.
57049 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57051         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
57053 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57055         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
57056         into R11_LP and load __x86_64_shared_cache_size_half into
57057         R8_LP.
57059 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57061         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
57062         R8_LP.
57064 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57066         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
57067         logb for POWER7.
57068         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
57069         logbf for POWER7.
57070         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
57071         logbl for POWER7.
57072         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
57073         powerpc32/power7/fpu/s_logb.c via #include.
57074         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
57075         powerpc32/power7/fpu/s_logbf.c via #include.
57076         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
57077         powerpc32/power7/fpu/s_logbl.c via #include.
57079 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
57081         * README.libm: Remove file.
57083 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57085         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
57086         count for x32.  Use R*_LP and omit operand-size suffix.
57088 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57090         * shlib-versions: Move x86_64-.*-linux.* entries to ...
57091         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
57092         * sysdeps/x86_64/x32/shlib-versions: New file.
57094 2012-05-14  Roland McGrath  <roland@hack.frob.com>
57096         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
57097         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
57098         Use _dl_fatal_printf instead.
57100 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
57102         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
57103         set if not set by the user.  Do not allow for being unset.
57104         * sysdeps/unix/sysv/linux/configure: Regenerated.
57106 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57108         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
57109         the `q' suffix from lea and replace .quad with ASM_ADDR.
57111 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57113         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
57114         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
57115         instead of $17.
57116         (PTR_DEMANGLE): Likewise.
57118 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57120         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
57121         (LP_OP): Likewise.
57122         (ASM_ADDR): Likewise.
57123         (RAX_LP): Likewise.
57124         (RBP_LP): Likewise.
57125         (RBX_LP): Likewise.
57126         (RCX_LP): Likewise.
57127         (RDI_LP): Likewise.
57128         (RSI_LP): Likewise.
57129         (RSP_LP): Likewise.
57130         (R8_LP): Likewise.
57131         (R9_LP): Likewise.
57132         (R10_LP): Likewise.
57133         (R10_LP): Likewise.
57134         (R11_LP): Likewise.
57135         (R12_LP): Likewise.
57136         (R13_LP): Likewise.
57137         (R14_LP): Likewise.
57138         (R15_LP): Likewise.
57140 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57142         * sysdeps/x86_64/x32/dl-machine.h: New file.
57144 2012-05-14  Andreas Jaeger  <aj@suse.de>
57146         * manual/Makefile (subdir): Remove export of subdir.
57147         (all): Remove target.
57148         (.PHONY): Remove all from list.
57149         (mkinstalldirs): Remove.
57150         (.PHONY): Remove installdirs from list.
57151         ($(inst_infodir)/libc.info): Use make-target-directory.
57152         (installdirs): Remove.
57153         (subdir_%): Remove.
57154         (glibc-targets): Remove.
57155         (lib): Remove.
57156         (stubs): Remove.
57157         ($(objpfx)stubs ../po/manual.pot): Remove.
57158         ($(objpfx)stamp%): Remove.
57159         (make-target-directory): Remove.
57160         (subdir_install): Remove.
57161         (routines): Remove.
57162         (aux): Remove.
57163         (sources): Remove.
57164         (objects): Remove.
57165         (headers): Remove.
57167         [BZ #13750]
57168         * manual/.gitignore: Remove, it's not needed anymore.
57169         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
57170         all files in it.
57171         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
57172         directory.
57173         (texis): Renamed to $(objpfx)texis.
57174         (texis-path): New, contains path to generated files.
57175         (chapters.%): Use texis-path for complete path, add extra argument
57176         libc-texinfo.sh.
57177         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
57178         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
57179         (summary,texi, stamp-summary): Use complete path of
57180         files. Generate files in build dir.
57181         (dir-add.texi): Build in build dir.
57182         (libm-err.texi,stamp-libm-err): Likewise.
57183         (version.texi, stamp-version): Likewise.
57184         (.%c.texi): Likewise.
57185         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
57186         (mostlyclean): Remove target.
57187         (realclean): Remove target.
57188         (generated): Add new variable with contents from mostlyclean and
57189         realclean, remove entries duplicated in common-mostlyclean, add
57190         stamp-libm-err and stamp-version.
57191         (generated-dirs): Add libc directory.
57192         ($(inst_infodir)/libc.info): Install files from build dir.
57194         * manual/install.texi (Configuring and compiling): Adjust since
57195         the info files are not part of the tar ball anymore.
57197 2012-05-14  Andreas Jaeger  <aj@suse.de>
57199         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
57200         variable.
57202 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
57204         [BZ #13717]
57205         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
57206         to 2.2.0 where earlier.
57207         * sysdeps/unix/sysv/linux/configure: Regenerated.
57208         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
57209         Remove conditional code.
57210         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
57211         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
57212         Remove conditional code.
57213         [!__NR_lchown]: Likewise.
57214         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
57215         [__NR_lchown]: Likewise.
57216         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
57217         comment referencing __ASSUME_LCHOWN_SYSCALL.
57218         * sysdeps/unix/sysv/linux/i386/sigaction.c
57219         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57220         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57221         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
57222         Remove conditional code.
57223         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
57224         (__protocol_available): Remove #if 0 code.
57225         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
57226         conditional code.
57227         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
57228         * sysdeps/unix/sysv/linux/kernel-features.h
57229         (__ASSUME_GETCWD_SYSCALL): Don't define.
57230         (__ASSUME_REALTIME_SIGNALS): Likewise.
57231         (__ASSUME_PREAD_SYSCALL): Likewise.
57232         (__ASSUME_PWRITE_SYSCALL): Likewise.
57233         (__ASSUME_POLL_SYSCALL): Likewise.
57234         (__ASSUME_LCHOWN_SYSCALL): Likewise.
57235         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
57236         non-SPARC.
57237         (__ASSUME_SIOCGIFNAME): Don't define.
57238         (__ASSUME_MSG_NOSIGNAL): Likewise.
57239         (__ASSUME_SENDFILE): Define unconditionally.
57240         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
57241         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
57242         conditional code.
57243         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
57244         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
57245         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
57246         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
57247         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
57248         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
57249         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
57250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
57251         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57252         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
57254         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57255         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
57257         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57258         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
57260         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57261         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
57263         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57264         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
57266         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57267         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
57269         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57270         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
57272         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57273         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57274         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
57275         Remove conditional code.
57276         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57277         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
57278         Remove conditional code.
57279         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57280         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
57281         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
57282         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
57283         Remove conditional code.
57284         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57285         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
57286         Remove conditional code.
57287         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57288         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
57289         Remove conditional code.
57290         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57291         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
57292         Remove conditional code.
57293         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57294         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
57295         Remove conditional code.
57296         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57297         * sysdeps/unix/sysv/linux/sh/pwrite64.c
57298         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57299         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57300         * sysdeps/unix/sysv/linux/sigaction.c
57301         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57302         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57303         * sysdeps/unix/sysv/linux/sigpending.c
57304         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57305         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57306         * sysdeps/unix/sysv/linux/sigprocmask.c
57307         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57308         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57309         * sysdeps/unix/sysv/linux/sigsuspend.c
57310         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57311         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57312         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
57313         (__libc_missing_rt_sigs): Remove.
57314         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
57315         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
57316         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
57317         Remove conditional code.
57318         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
57319         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
57320         return 1.
57321         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
57322         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
57323         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
57324         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
57326 2012-05-14  Andreas Jaeger  <aj@suse.de>
57328         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
57329         it's not used in glibc.
57330         (__coshm1): Likewise.
57331         (__acosh1p): Likewise.
57332         (__sgn): Likewise.
57334         * manual/string.texi (Copying and Concatenation): Add missing
57335         variable in concat example.
57336         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
57338 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57340         [BZ #14103]
57341         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
57342         __builtin_clzl with __builtin_clzll.
57344 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57346         [BZ #14104]
57347         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
57348         libc_freeres_ptr.
57350 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57352         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
57353         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
57354         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
57355         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
57357 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
57359         * NEWS: Update ia64 info.
57361 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
57363         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
57364         used as bcopy.
57366 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
57368         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
57369         * sysdeps/unix/syscalls.list (dup3): Likewise.
57370         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
57371         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
57373 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
57375         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
57376         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
57378 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
57380         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
57381         thread pointer.
57382         (TLS_IE): Use mov/add instead of movq/addq to load thread
57383         pointer.
57384         (TLS_GD_PREFIX): New.
57385         (TLS_GD): Use it.
57387 2012-05-11  David S. Miller  <davem@davemloft.net>
57389         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
57390         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
57391         (_FPU_SETCW): Likewise.
57393 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57395         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
57396         is 32-byte aligned.
57398 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
57400         [BZ #11837]
57401         * iconvdata/gb18030.c: Update tables.
57402         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
57403         characters specially.
57404         (BODY for TO_LOOP): Add encoding of missing ranges.
57406 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
57408         [BZ #13673]
57409         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
57410         * sysdeps/mach/hurd/dup3.c: Likewise.
57411         * sysdeps/mach/hurd/readlinkat.c: Likewise.
57412         * sysdeps/powerpc/memmove.c:: Likewise.
57414 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57416         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
57417         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
57419 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57421         * elf/elf.h (R_X86_64_RELATIVE64): New.
57422         (R_X86_64_NUM): Updated.
57423         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
57424         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
57425         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
57426         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
57427         tst-quad1pie tst-quad2pie
57428         (modules-names): Add tst-quadmod1 tst-quadmod2.
57429         ($(objpfx)tst-quad1): New dependency.
57430         ($(objpfx)tst-quad2): Likewise.
57431         ($(objpfx)tst-quad1pie): Likewise.
57432         ($(objpfx)tst-quad2pie): Likewise.
57433         * sysdeps/x86_64/tst-quad1.c: New file.
57434         * sysdeps/x86_64/tst-quad1pie.c: New file.
57435         * sysdeps/x86_64/tst-quad2.c: Likewise.
57436         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
57437         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
57438         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
57439         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
57440         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
57442 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57444         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
57445         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
57446         * streams/stropts.h (t_scalar_t): Define type.
57448         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
57449         (_PATH_PRESERVE): Set to "/var/lib".
57450         (_PATH_RWHODIR): Set to "/var/spool/rwho".
57452         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
57453         instead of int.
57455         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
57456         if __dir_mkfile succeeded.
57458         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
57459         checking for _hurd_dtablesize.  Unlock it right after having
57460         finished _hurd_dtable allocation.
57462 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57464         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
57465         * sysdeps/mach/hurd/configure: Regenerated.
57466         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
57467         special-casing to...
57468         * sysdeps/gnu/configure.in: ... this new file.
57469         * sysdeps/unix/sysv/linux/configure: Regenerated.
57470         * sysdeps/gnu/configure: New generated file.
57472         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
57473         for Linux: use nsec instead of usec, as well as:
57474         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
57475         members of type struct timespec.
57476         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
57477         New macros.
57478         (struct stat64): Likewise.
57479         (_STATBUF_ST_NSEC): New macro.
57480         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
57482         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
57483         __strtoul_internal rather than strtoul.
57485 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57487         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
57488         and reject them.
57490 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57492         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
57493         which preserves existing values.
57494         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
57496 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57498         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
57499         TIMEOUT values.  Return EINVAL for NFDS values either negative or
57500         greater than FD_SETSIZE.
57502 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57504         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
57505         allocated, call __vm_protect to finish enabling the existing space, and
57506         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
57507         allocate the remainder.
57509 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57511         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
57512         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
57514 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57516         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
57517         sysdeps/mach/hurd/readlink.c.
57519         * posix/tst-sysconf.c (posix_options): Only use
57520         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
57521         _POSIX_SYNCHRONIZED_IO when they are defined
57522         * sysdeps/mach/hurd/bits/posix_opt.h:
57523         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
57524         (_XOPEN_REALTIME): Undefine macro.
57525         (_XOPEN_REALTIME_THREADS): Undefine macro.
57526         (_XOPEN_SHM): Undefine macro.
57527         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
57528         macro to -1.
57529         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
57530         macro to -1.
57531         (_POSIX_ASYNC_IO): Undefine macro.
57532         (_POSIX_PRIORITIZED_IO): Undefine macro.
57533         (_POSIX_SPIN_LOCKS): Define macro to -1.
57535         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
57536         SA_NODEFER, SA_RESETHAND.
57537         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
57538         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
57539         F_DUPFD_CLOEXEC.
57541 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57543         * elf/Makefile (pldd-modules): Define unconditionally.
57545 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57547         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
57549 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57551         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
57552         Return ENOENT when name is empty.
57553         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
57555 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57557         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
57559         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
57561 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57563         Fix mlock in all cases except non-readable pages.
57564         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
57565         instead of VM_PROT_ALL as parameter to __vm_wire function.
57567         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
57568         (__mkdir): When path is `/', just fail with EEXIST.
57569         * sysdeps/mach/hurd/mkdirat.c: Likewise.
57571 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57573         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
57574         <sys/uio.h> (for writev).
57575         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
57576         and <sys/param.h> (for MIN).
57578 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57580         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
57581         REQUESTED_TIME.  Properly set the remaining time and return EINTR
57582         if interrupted.
57584 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57586         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
57587         Depend on against $(link-rpcuserlibs).
57589 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57591         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
57592         (__libc_stack_end): Do not use attribute_relro.
57593         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
57594         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
57595         to libthread-provided value.
57596         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
57597         attribute_relro.
57599 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57601         [BZ #3748]
57602         * bits/libc-lock.h (__libc_once_get): New macro.
57603         * sysdeps/mach/bits/libc-lock.h: Likewise.
57604         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
57605         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
57606         instead of using implementation details.
57608         * libio/fileops.c: Unconditionally include <kernel-features.h>.
57609         * libio/freopen.c: Likewise.
57610         * libio/freopen64.c: Likewise.
57611         * misc/syslog.c: Likewise.
57612         * nscd/connections.c: Likewise.
57613         * nscd/netgroupcache.c: Likewise.
57614         * sysdeps/posix/getcwd.c: Likewise.
57616 2012-05-10  Roland McGrath  <roland@hack.frob.com>
57618         * math/w_ilogbf.c: Add #include <limits.h>.
57620 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57622         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
57623         path instead of returning without unlocking.
57625         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
57626         immediate-write ioctls.
57627         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
57629 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57631         * sysdeps/mach/hurd/i386/init-first.c (init): Use
57632         __builtin_frame_address instead of making assumptions about the
57633         location of the return address relative to DATA.  Force early load of
57634         the return address.
57635         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
57636         __builtin_frame_address.
57638         dup3 for GNU Hurd.
57639         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
57640         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
57641         implement dup3 and do some further code clean-ups.
57642         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
57643         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
57645 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57647         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
57649         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
57650         HURD_CRITICAL_END around holding _hurd_dtable_lock.
57651         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
57652         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
57653         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
57654         d->port.lock.
57656         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
57657         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
57658         when handler == SIG_ERR, not when handler != SIG_ERR.
57660 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57662         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
57663         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
57664         definitions.
57666         accept4 for GNU Hurd.
57667         * include/sys/socket.h (__libc_accept4): New prototype.
57668         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
57669         to implement __libc_accept4.
57670         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
57671         __libc_accept4.
57672         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
57674         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
57675         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
57676         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
57677         signal-defines.sym.
57679 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57681         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
57683 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57685         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
57686         assertion on O_CLOEXEC flag.
57687         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
57688         * hurd/intern-fd.c: Likewise.
57689         * hurd/port2fd.c: Likewise.
57691 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57693         [BZ #3906]
57694         * bits/in.h (IPV6_PKTINFO): Define new macro.
57695         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
57697 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57699         [BZ #13954]
57700         [BZ #13955]
57701         [BZ #13956]
57702         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
57703         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57704         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
57705         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
57706         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57707         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
57708         * math/libm-test.inc (logb_test) : Additional logb tests.
57710 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
57711             Andreas Jaeger  <aj@suse.de>
57713         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
57714         * configure: Regenerated.
57715         * config.h.in (LINK_OBSOLETE_RPC): New macro.
57716         * config.make.in (link-obsolete-rpc): New substituted variable.
57717         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
57718         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
57719         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
57720         (shared-only-routines): Don't set it under [link-obsolete-rpc],
57721         so that libc.a contains the symbols.
57722         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
57723         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
57724         * sunrpc/auth_none.c: Likewise.
57725         * sunrpc/auth_unix.c: Likewise.
57726         * sunrpc/authdes_prot.c: Likewise.
57727         * sunrpc/authuxprot.c: Likewise.
57728         * sunrpc/clnt_gen.c: Likewise.
57729         * sunrpc/clnt_perr.c: Likewise.
57730         * sunrpc/clnt_raw.c: Likewise.
57731         * sunrpc/clnt_simp.c: Likewise.
57732         * sunrpc/clnt_tcp.c: Likewise.
57733         * sunrpc/clnt_udp.c: Likewise.
57734         * sunrpc/clnt_unix.c: Likewise.
57735         * sunrpc/des_crypt.c: Likewise.
57736         * sunrpc/des_soft.c: Likewise.
57737         * sunrpc/get_myaddr.c: Likewise.
57738         * sunrpc/key_call.c: Likewise.
57739         * sunrpc/key_prot.c: Likewise.
57740         * sunrpc/netname.c: Likewise.
57741         * sunrpc/pm_getmaps.c: Likewise.
57742         * sunrpc/pm_getport.c: Likewise.
57743         * sunrpc/pmap_clnt.c: Likewise.
57744         * sunrpc/pmap_prot.c: Likewise.
57745         * sunrpc/pmap_prot2.c: Likewise.
57746         * sunrpc/pmap_rmt.c: Likewise.
57747         * sunrpc/publickey.c: Likewise.
57748         * sunrpc/rpc_cmsg.c: Likewise.
57749         * sunrpc/rpc_common.c: Likewise.
57750         * sunrpc/rpc_dtable.c: Likewise.
57751         * sunrpc/rpc_prot.c: Likewise.
57752         * sunrpc/rpc_thread.c: Likewise.
57753         * sunrpc/rtime.c: Likewise.
57754         * sunrpc/svc.c: Likewise.
57755         * sunrpc/svc_auth.c: Likewise.
57756         * sunrpc/svc_raw.c: Likewise.
57757         * sunrpc/svc_run.c: Likewise.
57758         * sunrpc/svc_tcp.c: Likewise.
57759         * sunrpc/svc_udp.c: Likewise.
57760         * sunrpc/svc_unix.c: Likewise.
57761         * sunrpc/svcauth_des.c: Likewise.
57762         * sunrpc/xcrypt.c: Likewise.
57763         * sunrpc/xdr.c: Likewise.
57764         * sunrpc/xdr_array.c: Likewise.
57765         * sunrpc/xdr_float.c: Likewise.
57766         * sunrpc/xdr_intXX_t.c: Likewise.
57767         * sunrpc/xdr_mem.c: Likewise.
57768         * sunrpc/xdr_rec.c: Likewise.
57769         * sunrpc/xdr_ref.c: Likewise.
57770         * sunrpc/xdr_sizeof.c: Likewise.
57771         * sunrpc/xdr_stdio.c: Likewise.
57773 2012-05-10  Roland McGrath  <roland@hack.frob.com>
57775         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
57776         change.  Update copyright years.
57778 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
57780         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
57782 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
57783             Joseph Myers  <joseph@codesourcery.com>
57784             Paul Pluzhnikov  <ppluzhnikov@google.com>
57786         [BZ #14012]
57787         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
57788         requiring rpcgen.
57789         [cross-compiling] (extra-libs): Likewise.
57790         [cross-compiling] (extra-libs-others): Likewise.
57791         [cross-compiling] (librpcsvc-routines): Likewise.
57792         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
57793         [cross-compiling] (omit-deps): Likewise.
57794         (sunrpc-CPPFLAGS): New variable.
57795         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
57796         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
57797         (cross-rpcgen-objs): New variable.
57798         (extra-objs): Append $(cross-rpcgen-objs).
57799         ($(cross-rpcgen-objs)): New rule.
57800         ($(objpfx)cross-rpcgen): Likewise.
57801         (rpcgen-cmd): Define to use $(built-program-file).  Expand
57802         comment.
57803         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
57804         ($(objpfx)x%.stmp): Likewise.
57805         * sunrpc/proto.h [IS_IN_build] (_): Define.
57806         [IS_IN_build] (_libc_intl_domainname): Likewise.
57808 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57810         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
57811         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
57812         and R_X86_64_TPOFF64.
57814 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
57816         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
57817         sysdeps/unix/sysv/syscalls.list.
57818         (stime): Likewise.
57819         (utime): Likewise.
57820         * sysdeps/unix/sysv/syscalls.list: Remove file.
57822 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
57824         [BZ #3440]
57825         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
57826         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
57827         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
57828         (__LC_IDENTIFICATION): Make these macros useful in #if
57829         expressions, as required by C99.
57831 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
57833         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
57834         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
57835         after this.
57837 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
57839         * stdlib/longlong.h: Updated from GCC.
57841 2012-05-09  Andreas Jaeger  <aj@suse.de>
57843         * nscd/nscd.c (run_modes): Make named enum, reorder so that
57844         default is first entry.
57845         (run_mode): Set type.
57846         (main): Remove informal message about syslog.
57847         (options): Fix typo.
57849         [BZ #14053]
57850         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
57851         to asm.
57852         (lrint): Likewise.
57853         (llrintf): Likewise.
57854         (llrint): Likewise.
57855         (rint): Likewise.
57856         (rintf): Likewise.
57857         (nearbyint): Likewise.
57858         (nearbyintf): Likewise.
57860 2012-05-09  Andreas Jaeger  <aj@suse.de>
57861             Pedro Alves  <palves@redhat.com>
57863         * nscd/nscd.c (run_mode): Use enum.
57864         (main): Cleanup coding style issue.
57866 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
57867             Andreas Jaeger  <aj@suse.de>
57869         * nscd/nscd.c (go_background): Replaced with...
57870         (run_mode): ... this.
57871         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
57872         (options): Add -F --foreground.
57873         (main): Implement it.
57874         (parse_opt): Parse it.
57876 2012-05-09  Andreas Jaeger  <aj@suse.de>
57878         [BZ #14083]
57879         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
57880         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
57881         -Wconversion warning.
57882         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
57883         Likewise.
57885 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
57887         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
57888         == 0.
57889         (LC_ALL): Use macro-int-constant.
57890         (LC_COLLATE): Likewise.
57891         (LC_CTYPE): Likewise.
57892         (LC_MESSAGES): Likewise.
57893         (LC_MONETARY): Likewise.
57894         (LC_NUMERIC): Likewise.
57895         (LC_TIME): Likewise.
57896         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
57897         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
57898         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57899         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
57900         Specify type.
57901         [C99-based standards] (float_t): Expect type.
57902         [C99-based standards] (double_t): Expect type.
57903         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
57904         type.
57905         [C99-based standards] (HUGE_VALL): Likewise.
57906         [C99-based standards] (INFINITY): Likewise.
57907         [C99-based standards] (NAN): Likewise.
57908         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
57909         [C99-based standards] (FP_NAN): Likewise.
57910         [C99-based standards] (FP_NORMAL): Likewise.
57911         [C99-based standards] (FP_SUBNORMAL): Likewise.
57912         [C99-based standards] (FP_ZERO): Likewise.
57913         [C99-based standards] (FP_FAST_FMA): Use
57914         optional-macro-int-constant.  Specify type.  Require == 1.
57915         [C99-based standards] (FP_FAST_FMAF): Likewise.
57916         [C99-based standards] (FP_FAST_FMAL): Likewise.
57917         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
57918         [C99-based standards] (FP_ILOGBNAN): Likewise.
57919         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
57920         Specify type.
57921         [C99-based standards] (MATH_ERREXCEPT): Likewise.
57922         [C99-based standards] (math_errhandling): Specify type.
57923         [ISO99 || ISO11] (signgam): Do not allow.
57924         [non-C99-based standards] (copysignf): Do not allow.
57925         [non-C99-based standards] (exp2f): Likewise.
57926         [non-C99-based standards] (log2f): Likewise.
57927         [non-C99-based standards] (modff): Allow.
57928         [non-C99-based standards] (erff): Do not allow.
57929         [non-C99-based standards] (erfcf): Likewise.
57930         [non-C99-based standards] (gammaf): Likewise.
57931         [non-C99-based standards] (hypotf): Likewise.
57932         [non-C99-based standards] (j0f): Likewise.
57933         [non-C99-based standards] (j1f): Likewise.
57934         [non-C99-based standards] (jnf): Likewise.
57935         [non-C99-based standards] (lgammaf): Likewise.
57936         [non-C99-based standards] (tgammaf): Likewise.
57937         [non-C99-based standards] (y0f): Likewise.
57938         [non-C99-based standards] (y1f): Likewise.
57939         [non-C99-based standards] (ynf): Likewise.
57940         [non-C99-based standards] (isnanf): Likewise.
57941         [non-C99-based standards] (acoshf): Likewise.
57942         [non-C99-based standards] (asinhf): Likewise.
57943         [non-C99-based standards] (atanhf): Likewise.
57944         [non-C99-based standards] (cbrtf): Likewise.
57945         [non-C99-based standards] (expm1f): Likewise.
57946         [non-C99-based standards] (ilogbf): Likewise.
57947         [non-C99-based standards] (log1pf): Likewise.
57948         [non-C99-based standards] (logbf): Likewise.
57949         [non-C99-based standards] (nextafterf): Likewise.
57950         [non-C99-based standards] (remainderf): Likewise.
57951         [non-C99-based standards] (rintf): Likewise.
57952         [non-C99-based standards] (scalbf): Likewise.
57953         [non-C99-based standards] (copysignl): Likewise.
57954         [non-C99-based standards] (exp2l): Likewise.
57955         [non-C99-based standards] (log2l): Likewise.
57956         [non-C99-based standards] (modfl): Allow.
57957         [non-C99-based standards] (erfl): Do not allow.
57958         [non-C99-based standards] (erfcl): Likewise.
57959         [non-C99-based standards] (gammal): Likewise.
57960         [non-C99-based standards] (hypotl): Likewise.
57961         [non-C99-based standards] (j0l): Likewise.
57962         [non-C99-based standards] (j1l): Likewise.
57963         [non-C99-based standards] (jnl): Likewise.
57964         [non-C99-based standards] (lgammal): Likewise.
57965         [non-C99-based standards] (tgammal): Likewise.
57966         [non-C99-based standards] (y0l): Likewise.
57967         [non-C99-based standards] (y1l): Likewise.
57968         [non-C99-based standards] (ynl): Likewise.
57969         [non-C99-based standards] (isnanl): Likewise.
57970         [non-C99-based standards] (acoshl): Likewise.
57971         [non-C99-based standards] (asinhl): Likewise.
57972         [non-C99-based standards] (atanhl): Likewise.
57973         [non-C99-based standards] (cbrtl): Likewise.
57974         [non-C99-based standards] (expm1l): Likewise.
57975         [non-C99-based standards] (ilogbl): Likewise.
57976         [non-C99-based standards] (log1pl): Likewise.
57977         [non-C99-based standards] (logbl): Likewise.
57978         [non-C99-based standards] (nextafterl): Likewise.
57979         [non-C99-based standards] (remainderl): Likewise.
57980         [non-C99-based standards] (rintl): Likewise.
57981         [non-C99-based standards] (scalbl): Likewise.
57982         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57983         [non-C99-based standards] (FP_*): Do not allow.
57984         [C99-based standards] (FP_*): Change to
57985         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
57986         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
57987         allow.
57988         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
57989         (SIG_ERR): Likewise.
57990         [X/Open-based standards] (SIG_HOLD): Likewise.
57991         (SIG_IGN): Likewise.
57992         (SIGABRT): Use macro-int-constant.  Specify type.  Require
57993         positive value.
57994         (SIGFPE): Likewise.
57995         (SIGILL): Likewise.
57996         (SIGINT): Likewise.
57997         (SIGSEGV): Likewise.
57998         (SIGTER): Likewise.
57999         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
58000         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
58001         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
58002         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
58003         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
58004         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
58005         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
58006         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
58007         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
58008         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
58009         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
58010         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
58011         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
58012         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
58013         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
58014         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
58015         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
58016         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
58017         [X/Open-based standards] (SIGTRAP): Likewise.
58018         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
58019         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
58020         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
58021         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
58022         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
58023         allow.
58025 2012-05-08  Ian Wienand  <ianw@vmware.com>
58027         [BZ #14080]
58028         * time/tzset.c (__tzset_parse_tz): Update default rules for
58029         daylight time changes in the Energy Policy Act of 2005.
58031 2012-05-09  Andreas Jaeger  <aj@suse.de>
58033         [BZ #13983]
58034         * elf/ldconfig.c (parse_conf): Change string to make clear that
58035         ldconfig only issued a warning if ld.so.conf does not exist.
58037 2012-05-08  David S. Miller  <davem@davemloft.net>
58039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
58040         movxtod instead of popping the value on the stack.
58042         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58044 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
58046         * config.h.in: Add HAVE_ARM_PCS_VFP.
58048 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
58050         [BZ #13979]
58051         * include/features.h: Warn if user requests __FORTIFY_SOURCE
58052         checking but the checks are disabled for any reason.
58054 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
58056         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
58057         and ELF64_R_TYPE with ELFW(R_TYPE).
58059 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
58061         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
58062         (ulimit): Likewise.
58064         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
58065         (settimeofday): Likewise.
58067 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
58069         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
58070         a struct th_u2 inside the union, and move tu_block/tu_code into
58071         a new th_u3 union of tu_block/tu_code inside of that.  Move
58072         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
58073         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
58074         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
58075         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
58076         (th_stuff): Change to th_u1.tu_stuff.
58077         (th_data): Define.
58078         (th_msg): Change to th_u1.th_u2.tu_data.
58080 2012-05-07  David S. Miller  <davem@davemloft.net>
58082         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58084         [BZ #14074]
58085         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
58086         (SETUP_PIC_REG): Use it.
58087         (SETUP_PIC_REG_LEAF): Use it.
58089 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
58091         [BZ #13885]
58092         [BZ #13923]
58093         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58094         USE_AS_EXPM1L.
58095         (EXPL_FINITE): Likewise.
58096         (FLDLOG): Likewise.
58097         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
58098         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
58099         e_expl.S.
58100         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58101         USE_AS_EXPM1L.
58102         (EXPL_FINITE): Likewise.
58103         (FLDLOG): Likewise.
58104         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
58105         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
58106         e_expl.S.
58107         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
58108         test of -max_value argument for long double.
58109         * sysdeps/i386/fpu/libm-test-ulps: Update.
58110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58112 2012-05-06  David S. Miller  <davem@davemloft.net>
58114         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
58115         quad soft-float symbols whose references which are compiler
58116         generated.
58117         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58119 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
58121         [BZ #13884]
58122         [BZ #13914]
58123         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58124         USE_AS_EXP10L.
58125         (EXPL_FINITE): Likewise.
58126         (FLDLOG): Likewise.
58127         (c0): Likewise.
58128         (c1): Likewise.
58129         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
58130         Adjust comments for base varying.
58131         (__expl_finite): Change alias to EXPL_FINITE.
58132         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
58133         e_expl.S.
58134         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
58135         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
58136         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
58137         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
58138         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58139         USE_AS_EXP10L.
58140         (EXPL_FINITE): Likewise.
58141         (FLDLOG): Likewise.
58142         (c0): Likewise.
58143         (c1): Likewise.
58144         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
58145         Adjust comments for base varying.
58146         (__expl_finite): Change alias to EXPL_FINITE.
58147         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
58148         tests for bugs.
58149         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58151         [BZ #14064]
58152         * math/libm-test.inc (check_float_internal): Correct ulp
58153         calculation for subnormal expected results.
58155 2012-05-06  Andreas Jaeger  <aj@suse.de>
58157         * Makeconfig (+math-flags): New, set to -frounding-math.
58158         (+cflags): Add +math-flags so that all of glibc gets compiled with
58159         it.
58161         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
58163 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
58165         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
58166         Disable one test.
58168         [BZ #13787]
58169         [BZ #13922]
58170         [BZ #14036]
58171         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
58172         (__ieee754_expl): Allow for and saturate large arguments.
58173         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
58174         (u_threshold): Likewise.
58175         (__exp): Call __ieee754_exp before checking for overflow and
58176         underflow.
58177         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
58178         (u_threshold): Likewise.
58179         (__expf): Call __ieee754_expf before checking for overflow and
58180         underflow.
58181         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
58182         (u_threshold): Likewise.
58183         (__expl): Call __ieee754_expl before checking for overflow and
58184         underflow.
58185         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
58186         (__ieee754_expl): Allow for and saturate large arguments.
58187         * math/libm-test.inc (exp_test): Add another test.  Do not allow
58188         missing overflow exception on overflow.
58189         (expm1_test): Do not allow missing overflow exception on overflow.
58191         * sysdeps/i386/fpu/e_expl.c: Move to ...
58192         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
58193         rather than using inline asm.
58194         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
58195         * sysdeps/x86_64/fpu/e_expl.S: Copy from
58196         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
58198         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
58199         (nice): Likewise.
58200         (poll): Likewise.
58201         (signal): Likewise.
58202         (time): Likewise.
58203         (times): Likewise.
58205 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
58207         * sysdeps/unix/syscalls.list (adjtime): Add entry from
58208         sysdeps/unix/common/syscalls.list.
58209         (fchmod): Likewise.
58210         (fchown): Likewise.
58211         (ftruncate): Likewise.
58212         (getrusage): Likewise.
58213         (gettimeofday): Likewise.
58214         (setpgid): Likewise.
58215         (setregid): Likewise.
58216         (setreuid): Likewise.
58217         (sigaction): Likewise.
58218         (truncate): Likewise.
58219         (vhangup): Likewise.
58220         * sysdeps/unix/common/syscalls.list: Remove file.
58221         * sysdeps/unix/bsd/Implies: Don't include unix/common.
58222         * sysdeps/unix/sysv/linux/Implies: Likewise.
58224 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
58226         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
58227         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
58228         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
58229         Moved to ...
58230         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
58231         Here.
58232         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
58233         to ...
58234         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
58235         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
58236         to ...
58237         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
58238         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
58239         to ...
58240         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
58241         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
58242         to ...
58243         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
58244         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
58245         to ...
58246         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
58247         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
58248         to ...
58249         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
58250         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
58251         to ...
58252         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
58253         Here.
58254         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
58255         to ...
58256         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
58257         Here.
58258         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
58259         to ...
58260         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
58261         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
58262         Moved to ...
58263         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
58264         Here.
58265         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
58266         to ...
58267         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
58269 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
58271         * sysdeps/unix/common/bits/dirent.h: Remove file.
58272         * sysdeps/unix/common/bits/fcntl.h: Likewise.
58274         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
58275         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
58276         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
58277         * sysdeps/unix/bsd/isatty.c: Likewise.
58278         * sysdeps/unix/bsd/tcdrain.c: Likewise.
58279         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
58280         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
58282 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58284         [BZ #13563]
58285         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
58286         long double comparison inaccuracies.
58287         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
58288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58290 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
58292         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
58293         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
58295 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
58297         [BZ #14049]
58298         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
58299         nonzero digits before rounding a hex value.
58300         * stdlib/tst-strtod.c (tests): Add another test.
58302 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58304         * sysdeps/s390/fpu/libm-test-ulps: Update.
58306 2012-05-03  Andreas Jaeger  <aj@suse.de>
58308         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
58309         does not get optimized out.
58310         (malloc_opt_barrier): New.
58312 2012-05-03  Andreas Jaeger  <aj@suse.de>
58313             Roland McGrath  <roland@hack.frob.com>
58315         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
58316         intermediate file deletion.
58317         (generated): Add .symlist files.
58319 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
58321         [BZ #13775]
58322         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
58323         Redirect under this condition.
58324         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
58325         [__USE_GNU] (__dprintf_chk): Not under this condition.
58326         [__USE_GNU] (__vdprintf_chk): Likewise.
58327         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
58328         under this condition.
58329         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
58330         [__USE_XOPEN2K8] (dprintf): Define under this condition.
58331         [__USE_XOPEN2K8] (vdprintf): Likewise.
58332         [__USE_GNU] (__dprintf_chk): Not under this condition.
58333         [__USE_GNU] (__vdprintf_chk): Likewise.
58334         [__USE_GNU] (dprintf): Likewise.
58335         [__USE_GNU] (vdprintf): Likewise.
58337 2012-05-03  Roland McGrath  <roland@hack.frob.com>
58339         * elf/Makefile (common-generated): Set this instead of generated for
58340         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
58341         $(all-built-dso)-derived lists.
58343 2012-05-03  Andreas Jaeger  <aj@suse.de>
58345         * sysdeps/i386/fpu/libm-test-ulps: Update.
58347         * FAQ: Removed.
58348         * FAQ.in: Likewise.
58349         * scripts/gen-FAQ.pl: Likewise.
58350         * manual/install.texi (Installation): Point to online location of
58351         FAQ.
58352         * Makefile (files-for-dist): Remove FAQ.
58353         (FAQ): Remove.
58355 2012-05-02  Allan McRae  <allan@archlinux.org>
58357         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
58358         (LDFLAGS-reldepmod5.so): Likewise.
58359         (LDFLAGS-reldep6mod1.so): Likewise.
58360         (LDFLAGS-reldep6mod4.so): Likewise.
58361         (LDFLAGS-reldep8mod3.so): Likewise.
58362         (LDFLAGS-unload4mod1.so): Likewise.
58363         (LDFLAGS-unload4mod2.so): Likewise.
58364         (LDFLAGS-tst-initorder): Likewise.
58365         (LDFLAGS-tst-initordera2.so): Likewise.
58366         (LDFLAGS-tst-initordera3.so): Likewise.
58367         (LDFLAGS-tst-initordera4.so): Likewise.
58368         (LDFLAGS-tst-initorderb2.so): Likewise.
58369         (LDFLAGS-noload): Likewise.
58370         (LDFLAGS-next): Likewise.
58371         (LDFLAGS-order2mod1.so): Likewise.
58372         (LDFLAGS-order2mod2.so): Likewise.
58373         (LDFLAGS-tst-initorder2): Likewise.
58374         (LDFLAGS-tst-initorder2a.so): Likewise.
58375         (LDFLAGS-tst-initorder2b.so): Likewise.
58376         (LDFLAGS-tst-initorder2c.so): Likewise.
58377         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
58379 2012-05-02  David S. Miller  <davem@davemloft.net>
58381         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58383 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
58385         [BZ #14055]
58386         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
58388 2012-05-02  Andreas Jaeger  <aj@suse.de>
58390         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
58391         since we manipulate rounding mode.
58392         (CPPFLAGS-test-idouble.c): Likewise.
58393         (CPPFLAGS-test-ifloat.c): Likewise.
58394         (CFLAGS-test-ldouble.c): Likewise.
58395         (CFLAGS-test-double.c): Likewise.
58396         (CFLAGS-test-float.c): Likewise.
58397         (CFLAGS-test-misc.c): Likewise.
58398         (CFLAGS-test-test-fenv.c): Likewise.
58400 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58402         [BZ #2550]
58403         [BZ #2570]
58404         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
58405         comparisons to determine direction to adjust input.
58407 2012-05-01  Roland McGrath  <roland@hack.frob.com>
58409         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
58410         output to the target.
58412         * scripts/localplt.awk: New file.
58413         * elf/Makefile ($(objpfx)check-localplt): Target removed.
58414         (check-localplt-CFLAGS): Variable removed.
58415         ($(all-built-dso:=.jmprel)): New static pattern rule.
58416         (generated): Add those targets.
58417         (localplt-built-dso): New variable.
58418         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
58420         * elf/check-localplt.c: File removed.
58422         * scripts/check-execstack.awk: New file.
58423         * elf/Makefile ($(objpfx)check-execstack): Target removed.
58424         (check-execstack-CFLAGS): Variable removed.
58425         ($(objpfx)check-execstack.h): Target removed.
58426         ($(objpfx)execstack-default): New target.
58427         (generated): Add that instead of check-execstack.h.
58428         ($(all-built-dso:=.phdr)): New static pattern rule.
58429         (generated): Add those targets.
58430         * elf/check-execstack.c: File removed.
58432         * scripts/check-textrel.awk: New file.
58433         * elf/Makefile ($(objpfx)check-textrel): Target removed.
58434         (check-textrel-CFLAGS): Variable removed.
58435         (all-built-dso): Use := to define.o
58436         ($(all-built-dso:=.dyn)): New static pattern rule.
58437         (generated): Add those targets.
58438         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
58439         * config.make.in (READELF): New substituted variable.
58440         * elf/check-textrel.c: File removed.
58442 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
58444         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
58445         allow.
58446         * conform/data/ctype.h-data [C99-based standards] (isblank):
58447         Expect function.
58448         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
58449         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
58450         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58451         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
58452         Specify type.  Require positive value.
58453         (EILSEQ): Likewise.
58454         (ERANGE): Likewise.
58455         [ISO || POSIX] (EILSEQ): Do not expect.
58456         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
58457         Specify type.  Require positive value.
58458         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
58459         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
58460         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
58461         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
58462         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
58463         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
58464         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
58465         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
58466         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
58467         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
58468         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
58469         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
58470         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
58471         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
58472         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
58473         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
58474         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
58475         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
58476         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
58477         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
58478         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
58479         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
58480         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
58481         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
58482         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
58483         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
58484         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
58485         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
58486         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
58487         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
58488         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
58489         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
58490         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
58491         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
58492         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
58493         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
58494         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
58495         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
58496         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
58497         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
58498         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
58499         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
58500         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
58501         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
58502         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
58503         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
58504         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
58505         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
58506         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
58507         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
58508         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
58509         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
58510         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
58511         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
58512         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
58513         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
58514         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
58515         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
58516         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
58517         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
58518         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
58519         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
58520         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
58521         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
58522         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
58523         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
58524         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
58525         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
58526         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
58527         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
58528         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
58529         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
58530         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
58531         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
58532         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
58533         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
58534         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
58535         Require >= 2.
58536         (FLT_ROUNDS): Expect as macro, not constant.
58537         (FLT_MANT_DIG): Use macro-int-constant.
58538         (DBL_MANT_DIG): Likewise.
58539         (LDBL_MANT_DIG): Likewise.
58540         (FLT_DIG): Likewise.
58541         (DBL_DIG): Likewise.
58542         (LDBL_DIG): Likewise.
58543         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
58544         (DBL_MIN_EXP): Likewise.
58545         (LDBL_MIN_EXP): Likewise.
58546         (FLT_MAX_EXP): Use macro-int-constant.
58547         (DBL_MAX_EXP): Likewise.
58548         (LDBL_MAX_EXP): Likewise.
58549         (FLT_MAX_10_EXP): Likewise.
58550         (DBL_MAX_10_EXP): Likewise.
58551         (LDBL_MAX_10_EXP): Likewise.
58552         (FLT_MAX): Use macro-constant.
58553         (DBL_MAX): Likewise.
58554         (LDBL_MAX): Likewise.
58555         (FLT_EPSILON): Use macro-constant.  Give upper bound.
58556         (DBL_EPSILON): Likewise.
58557         (LDBL_EPSILON): Likewise.
58558         (FLT_MIN): Likewise.
58559         (DBL_MIN): Likewise.
58560         (LDBL_MIN): Likewise.
58561         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
58562         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
58563         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
58564         [ISO11] (FLT_HAS_SUBNORM): Likewise.
58565         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
58566         [ISO11] (DBL_DECIMAL_DIG): Likewise.
58567         [ISO11] (FLT_DECIMAL_DIG): Likewise.
58568         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
58569         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
58570         [ISO11] (FLT_TRUE_MIN): Likewise.
58571         [ISO11] (LDBL_TRUE_MIN): Likewise.
58572         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58573         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
58574         (SCHAR_MIN): Use macro-int-constant.  Specify type.
58575         (SCHAR_MAX): Likewise.
58576         (UCHAR_MAX): Likewise.
58577         (CHAR_MIN): Likewise.
58578         (CHAR_MAX): Likewise.
58579         (MB_LEN_MAX): Use macro-int-constant.
58580         (SHRT_MIN): Use macro-int-constant.  Specify type.
58581         (SHRT_MAX): Likewise.
58582         (USHRT_MAX): Likewise.
58583         (INT_MAX): Likewise.
58584         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
58585         bound negative.
58586         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
58587         bound with "U".
58588         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
58589         bound with "L".
58590         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
58591         bound negative.  Suffix upper bound with "L".
58592         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
58593         bound with "UL".
58594         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
58595         Specify type.
58596         [C99-based standards] (LLONG_MAX): Likewise.
58597         [C99-based standards] (ULLONG_MAX): Likewise.
58598         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
58599         == 0.
58600         [ISO11] (max_align_t): Require type.
58601         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58603         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
58604         from $CFLAGS, without defining away __attribute__ calls.
58605         (checknamespace): Use $CFLAGS_namespace.
58607         * conform/conformtest.pl (@keywords): Only include C99 keywords
58608         for standards based on C99 or C11.
58610         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
58611         Disable tests.
58612         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
58613         UNIX98]: Likewise.
58615         * conform/conformtest.pl: Handle "macro-int-constant" and test for
58616         usability of symbols in #if.
58618         * conform/conformtest.pl: If macro or constant types start
58619         "promoted:", expect the symbol to be of the following type
58620         promoted by the integer promotions.
58622         * conform/conformtest.pl: Parse all "constant" and "macro" lines
58623         in one place.  Also handle "macro-constant".
58625         * conform/conformtest.pl: Only accept expected macro values with
58626         "==".  Parse all "macro" lines in one place.
58627         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
58629         * conform/conformtest.pl: Handle braced types on "constant" lines
58630         instead of handling "typed-constant".
58631         * conform/data/signal.h-data: Use "constant" instead of
58632         "typed-constant".
58634         * conform/conformtest.pl: Handle "optional-" at start of lines in
58635         one place rather than duplicating several cases.  Handle each
58636         format of "macro" line with initial "optional-".
58638         * conform/conformtest.pl: Only accept expected constant or
58639         optional-constant values with "==".  Parse all "constant" lines in
58640         one place.  Parse all "optional-constant" lines in one place.
58641         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
58642         * conform/data/fmtmsg.h-data: Likewise.
58643         * conform/data/netinet/in.h-data: Likewise.
58644         * conform/data/tar.h-data: Likewise.
58645         * conform/data/limits.h-data: Use "==" form on "constant" and
58646         "optional-constant" lines.
58648         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
58649         Use -std=c99 for XOPEN2K.
58650         (@knownproblems): Remove.
58651         (newtoken): Don't check %isknown.
58653         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
58654         Do not expect macro.
58655         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
58656         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
58657         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
58658         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
58659         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
58660         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
58661         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
58662         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
58663         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
58664         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
58665         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
58666         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
58667         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
58668         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
58669         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
58670         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
58671         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
58672         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
58673         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
58674         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
58675         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
58676         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
58677         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
58678         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
58679         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
58680         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
58681         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
58682         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
58683         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
58684         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
58685         [XPG3] (acosh): Likewise.
58686         [XPG3] (asinh): Likewise.
58687         [XPG3] (atanh): Likewise.
58688         [XPG3] (cbrt): Likewise.
58689         [XPG3] (expm1): Likewise.
58690         [XPG3] (ilogb): Likewise.
58691         [XPG3] (log1p): Likewise.
58692         [XPG3] (logb): Likewise.
58693         [XPG3] (nextafter): Likewise.
58694         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
58695         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
58696         [XPG3] (remainder): Likewise.
58697         [XPG3] (rint): Likewise.
58698         [XPG3 || XPG4 || UNIX98] (round): Likewise.
58699         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
58700         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
58701         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
58702         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
58703         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
58704         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
58705         [UNIX98 || XOPEN2K] (scalb): Expect.
58706         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
58707         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
58708         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
58709         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
58710         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
58711         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
58712         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
58713         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
58714         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
58715         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
58716         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
58717         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
58718         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
58719         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
58720         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
58721         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
58722         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
58723         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
58724         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
58725         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
58726         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
58727         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
58728         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
58729         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
58730         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
58731         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
58732         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
58733         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
58734         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
58735         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
58736         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
58737         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
58738         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
58739         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
58740         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
58741         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
58742         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
58743         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
58744         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
58745         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
58746         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
58747         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
58748         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
58749         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
58750         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
58751         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
58752         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
58753         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
58754         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
58755         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
58756         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
58757         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
58758         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
58759         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
58760         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
58761         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
58762         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
58763         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
58764         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
58765         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
58766         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
58767         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
58768         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
58769         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
58770         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
58771         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
58772         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
58773         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
58774         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
58775         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
58776         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
58777         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
58778         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
58779         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
58780         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
58781         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
58782         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
58783         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
58784         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
58785         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
58786         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
58787         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
58788         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
58789         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
58790         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
58791         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
58792         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
58793         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
58794         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
58795         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
58796         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
58797         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
58798         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
58799         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
58800         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
58801         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
58802         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
58803         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
58804         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
58805         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
58806         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
58807         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
58808         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
58809         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
58810         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
58811         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
58812         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
58813         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
58814         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
58815         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
58816         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
58817         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
58818         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
58819         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
58820         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
58821         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
58822         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
58823         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
58824         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
58825         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
58826         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
58827         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
58828         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
58829         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
58830         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
58831         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
58832         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
58833         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
58834         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
58835         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
58836         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
58837         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
58838         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
58839         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
58840         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
58841         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
58842         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
58844         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
58845         _XOPEN_SOURCE_EXTENDED for XPG4.
58847         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
58849         * Makeconfig (localtime): Remove variable.
58850         (inst_localtime-file): Likewise.
58852 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
58854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
58855         Update.
58856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58857         Update.
58858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
58859         Update.
58860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
58861         Update.
58862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
58863         Update.
58864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
58865         Update.
58866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58867         Update.
58868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
58869         Update.
58870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
58871         Update.
58873 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
58875         [BZ #2550]
58876         [BZ #2570]
58877         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
58878         comparisons to determine direction to adjust input.
58879         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
58880         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
58881         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
58882         Likewise.
58883         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
58884         Likewise.
58885         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
58886         Likewise.
58887         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
58888         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
58889         Likewise.
58890         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
58891         Likewise.
58892         * math/libm-test.inc (nexttoward_test): Add more tests.
58894 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
58896         [BZ #14040]
58897         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
58898         in version GLIBC_2.1, not GLIBC_2.0.
58899         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
58900         Likewise.
58902 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
58904         [BZ #13942]
58905         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
58906         (1 - x) * (1 + x).
58907         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
58908         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
58909         * math/libm-test.inc (acos_test): Add more tests.
58910         (asin_test): Likewise.
58911         * sysdeps/i386/fpu/libm-test-ulps: Update.
58912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58914         [BZ #14034]
58915         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
58916         of square root.
58917         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
58918         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
58919         * math/libm-test.inc (acos_test_tonearest): New function.
58920         (acos_test_towardzero): Likewise.
58921         (acos_test_downward): Likewise.
58922         (acos_test_upward): Likewise.
58923         (asin_test_tonearest): Likewise.
58924         (asin_test_towardzero): Likewise.
58925         (asin_test_downward): Likewise.
58926         (asin_test_upward): Likewise.
58927         (main): Call the new functions.
58928         * sysdeps/i386/fpu/libm-test-ulps: Update.
58929         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58931         [BZ #13884]
58932         [BZ #13924]
58933         * math/e_exp10.c: Include <float.h>.
58934         (__ieee754_exp10): Handle underflow here rather than multiplying
58935         large negative argument by M_LN10.
58936         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
58937         of __ieee754_expf.
58938         * math/e_exp10l.c: Include <float.h>.
58939         (__ieee754_exp10l): Handle underflow here rather than multiplying
58940         large negative argument by M_LN10l.
58941         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
58942         spurious overflow exception on underflow.
58944 2012-04-29  Marek Polacek  <polacek@redhat.com>
58946         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
58947         (__fortify_function): New macro.
58948         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
58949         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
58950         __extern_always_inline.
58951         * libio/bits/stdio2.h: Likewise.
58952         * libio/bits/stdio.h: Likewise.
58953         * string/string.h: Likewise.
58954         * string/bits/string3.h: Likewise.
58955         * include/stdio.h: Likewise.
58956         * stdlib/bits/stdlib.h: Likewise.
58957         * stdlib/stdlib.h: Likewise.
58958         * rt/bits/mqueue2.h: Likewise.
58959         * rt/mqueue.h: Likewise.
58960         * posix/bits/unistd.h: Likewise.
58961         * posix/unistd.h: Likewise.
58962         * io/bits/poll2.h: Likewise.
58963         * io/bits/fcntl2.h: Likewise.
58964         * io/fcntl.h: Likewise.
58965         * io/sys/poll.h: Likewise.
58966         * misc/bits/syslog.h: Likewise.
58967         * misc/bits/syslog-ldbl.h: Likewise.
58968         * misc/sys/syslog.h: Likewise.
58969         * socket/bits/socket2.h: Likewise.
58970         * socket/sys/socket.h: Likewise.
58971         * debug/tst-chk1.c: Likewise.
58972         * wcsmbs/bits/wchar2.h: Likewise.
58973         * wcsmbs/bits/wchar-ldbl.h: Likewise.
58974         * wcsmbs/wchar.h: Likewise.
58976 2012-04-29  Andreas Jaeger  <aj@suse.de>
58978         * Makerules (tests): Remove enable-check-abi protection.
58979         (check-abi-warn): Remove.
58980         (check-abi-%): Remove check-abi-warn usage.
58982         * configure.in: Remove check-abi configure option.
58983         * configure: Regenerated.
58984         * config.make.in (enable-check-abi): Remove.
58986 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
58988         [BZ #14033]
58989         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
58990         double functions to double *_finite functions.
58992         [BZ #13941]
58993         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
58994         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
58995         LDBL_MIN_EXP.
58996         * stdio-common/Makefile (tests): Add tst-sprintf3.
58997         * stdio-common/tst-sprintf3.c: New file.
58999         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
59000         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
59002 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
59004         * conform/conformtest.pl: Remove duplicate typed-constant
59005         handling.
59007 2012-04-28  David S. Miller  <davem@davemloft.net>
59009         * Makerules (%.abilist): Add vpath on sysdep_dirs.
59010         (check-abi-%): Remove AWK script prerequisite and explicit
59011         abilist directory.
59012         (check-abi): Rewrite to just diff the symlist with the abilist.
59013         (config-tls, config-abi-config): Delete, no longer used.
59014         (update-abi-%): Remove AWK script and explicit abilist directory.
59015         (update-abi): Rewrite to simply compare and conditionally copy the
59016         symlist and the sysdep abilist file.  Remove update-abi-config
59017         checks.
59018         * abilist/ld.abilist: Remove.
59019         * abilist/libBrokenLocale.abilist: Remove.
59020         * abilist/libanl.abilist: Remove.
59021         * abilist/libcrypt.abilist: Remove.
59022         * abilist/libdl.abilist: Remove.
59023         * abilist/librt.abilist: Remove.
59024         * abilist/libthread_db.abilist: Remove.
59025         * abilist/libutil.abilist: Remove.
59026         * scripts/extract-abilist.awk: Remove.
59027         * scripts/merge-abilist.awk: Remove.
59028         * sysdeps/generic/libcidn.abilist: New file.
59029         * sysdeps/generic/libnss_compat.abilist: New file.
59030         * sysdeps/generic/libnss_db.abilist: New file.
59031         * sysdeps/generic/libnss_dns.abilist: New file.
59032         * sysdeps/generic/libnss_files.abilist: New file.
59033         * sysdeps/generic/libnss_hesiod.abilist: New file.
59034         * sysdeps/generic/libnss_nis.abilist: New file.
59035         * sysdeps/generic/libnss_nisplus.abilist: New file.
59036         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
59037         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
59038         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
59039         file.
59040         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
59041         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
59042         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
59043         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
59044         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
59045         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
59046         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
59047         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
59048         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
59049         file.
59050         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
59051         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
59052         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
59053         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
59054         file.
59055         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
59056         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
59057         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
59058         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
59059         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
59060         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
59061         file.
59062         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
59063         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
59064         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
59065         file.
59066         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
59067         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
59068         New file.
59069         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
59070         New file.
59071         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
59072         New file.
59073         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
59074         New file.
59075         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
59076         New file.
59077         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
59078         New file.
59079         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
59080         New file.
59081         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
59082         New file.
59083         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
59084         New file.
59085         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
59086         New file.
59087         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
59088         New file.
59089         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
59090         New file.
59091         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
59092         New file.
59093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
59094         file.
59095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
59096         New file.
59097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
59098         New file.
59099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
59100         file.
59101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
59102         New file.
59103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
59104         New file.
59105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
59106         file.
59107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
59108         New file.
59109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
59110         New file.
59111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
59112         New file.
59113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
59114         New file.
59115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
59116         New file.
59117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
59118         New file.
59119         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
59120         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
59121         file.
59122         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
59123         New file.
59124         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
59125         file.
59126         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
59127         file.
59128         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
59129         file.
59130         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
59131         file.
59132         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
59133         file.
59134         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
59135         New file.
59136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
59137         file.
59138         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
59139         file.
59140         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
59141         New file.
59142         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
59143         file.
59144         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
59145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
59146         file.
59147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
59148         New file.
59149         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
59150         file.
59151         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
59152         file.
59153         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
59154         file.
59155         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
59156         file.
59157         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
59158         file.
59159         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
59160         New file.
59161         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
59162         file.
59163         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
59164         file.
59165         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
59166         New file.
59167         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
59168         file.
59169         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
59170         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
59171         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
59172         file.
59173         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
59174         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
59175         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
59176         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
59177         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
59178         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
59179         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
59180         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
59181         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
59182         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
59183         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
59184         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
59185         file.
59186         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
59187         New file.
59188         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
59189         file.
59190         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
59191         file.
59192         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
59193         file.
59194         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
59195         file.
59196         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
59197         file.
59198         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
59199         New file.
59200         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
59201         New file.
59202         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
59203         file.
59204         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
59205         New file.
59206         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
59207         file.
59208         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
59209         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
59210         file.
59211         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
59212         New file.
59213         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
59214         file.
59215         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
59216         file.
59217         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
59218         file.
59219         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
59220         file.
59221         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
59222         file.
59223         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
59224         New file.
59225         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
59226         New file.
59227         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
59228         file.
59229         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
59230         New file.
59231         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
59232         file.
59234 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
59236         * conform/conformtest.pl: Fix typo in handling typed-constant from
59237         allow-header.
59239 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
59241         * README: Cut down references to pre-2.6 Linux kernels and
59242         Linuxthreads.  Update lists of configurations in libc and ports
59243         and sort alphabetically.  Say "or newer" with Linux kernel version
59244         requirements.
59246         * config.h.in [IS_IN_build]: Allow compiling without optimization.
59248 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59250         [BZ #887]
59251         * math/libm-test.inc (logb_test_downward): New test to expose
59252         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
59253         rounding mode.
59255 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
59257         [BZ #14027]
59258         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
59259         to be done.
59260         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
59261         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
59263 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
59265         * sysdeps/unix/i386/brk.S: Remove file.
59266         * sysdeps/unix/i386/dl-brk.S: Likewise.
59267         * sysdeps/unix/i386/pipe.S: Likewise.
59268         * sysdeps/unix/i386/sigreturn.S: Likewise.
59269         * sysdeps/unix/i386/syscall.S: Likewise.
59270         * sysdeps/unix/i386/vfork.S: Likewise.
59271         * sysdeps/unix/i386/wait.S: Likewise.
59273         * sysdeps/unix/common/tcsendbrk.c: Move to ...
59274         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
59276         * configure.in (arm*-none*): Do not allow without
59277         --enable-hacker-mode.
59278         (netbsd*): Remove case setting base_os.
59279         (386bsd*): Likewise.
59280         (freebsd*): Likewise.
59281         (bsdi*): Likewise.
59282         (osf*): Likewise.
59283         (sunos*): Likewise.
59284         (ultrix*): Likewise.
59285         (newsos*): Likewise.
59286         (dynix*): Likewise.
59287         (*bsd*): Likewise.
59288         (sysv*): Likewise.
59289         (isc*): Likewise.
59290         (esix*): Likewise.
59291         (sco*): Likewise.
59292         (minix*): Likewise.
59293         (irix4*): Likewise.
59294         (irix6*): Likewise.
59295         (solaris[2-9]*): Likewise.
59296         (none): Likewise.
59297         * configure: Regenerated.
59299 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59301         [BZ #11521]
59302         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
59303         overflow or cancellation in calculating denominator.
59304         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
59305         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
59306         down expression to avoid unexpected rounding in newer GCCs.
59307         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
59309 2012-04-26  David S. Miller  <davem@davemloft.net>
59311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
59312         long-double compat symbols.
59313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
59314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
59315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
59316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
59317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
59318         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
59319         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
59320         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
59321         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
59322         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
59323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
59324         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
59325         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
59327 2012-04-25  David S. Miller  <davem@davemloft.net>
59329         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
59330         HWCAP_* values only after the memory barriers have been defined.
59331         (atomic_full_barrier): Define.
59332         (atomic_read_barrier): Define.
59333         (atomic_write_barrier): Define.
59335 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59337         * shlib-versions: Add libgcc_s version information.
59338         * sysdeps/generic/libgcc_s.h: Remove.
59339         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
59340         libgcc_s.h.
59341         * sysdeps/gnu/unwind-resume.c: Likewise.
59342         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
59344 2012-04-25  David S. Miller  <davem@davemloft.net>
59346         * sysdeps/unix/sparc/brk.S: Delete.
59347         * sysdeps/unix/sparc/dl-brk.S: Delete.
59348         * sysdeps/unix/sparc/pipe.S: Delete.
59349         * sysdeps/unix/sparc/sysdep.S: Delete.
59350         * sysdeps/unix/sparc/sysdep.h: Delete.
59351         * sysdeps/unix/sparc/vfork.S: Delete.
59352         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
59353         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
59354         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
59355         (ret_ERRVAL, r0, r1, MOVE): Define.
59356         (JUMPTARGET): Remove.
59357         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
59358         sysdeps/unix/sparc/sysdep.h
59359         (ENTRY, END): Remove.
59360         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59362 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
59364         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
59365         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
59366         -DIS_IN_build.
59368         * timezone/README: Update upstream location and email address for
59369         tzcode and tzdata.
59370         * timezone/zdump.c: Update from tzcode 2012b.
59371         * timezone/zic.c: Likewise.
59373         * configure.in (libc_cv_as_needed): Remove test.
59374         * configure: Regenerated.
59375         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
59376         conditional definition.
59377         [$(have-as-needed) != yes] (no-as-needed): Likewise.
59378         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
59379         * config.make.in (have-as-needed): Remove variable.
59381 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59382             Paul Pluzhnikov  <ppluzhnikov@google.com>
59384         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
59385         strings correctly.
59387 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
59389         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
59390         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
59391         * sysdeps/sh/strlen.S: Likewise.
59393 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
59395         * sysdeps/unix/fork.S: Remove file.
59396         * sysdeps/unix/i386/fork.S: Likewise.
59397         * sysdeps/unix/sparc/fork.S: Likewise.
59399         * sysdeps/unix/system.c: Remove file.
59400         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
59402         * sysdeps/unix/getegid.S: Remove file.
59403         * sysdeps/unix/geteuid.S: Likewise.
59405 2012-04-24  Roland McGrath  <roland@hack.frob.com>
59407         * scripts/check-localplt.awk: New file.
59408         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
59409         of diff.
59410         * scripts/data/localplt-generic.data: Add a comment.
59412         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
59413         NODE when __dir_mkfile failed.
59414         * sysdeps/mach/hurd/symlinkat.c: Likewise.
59415         Reported by Ludovic Courtès <ludo@gnu.org>.
59417 2012-04-24  Andreas Jaeger  <aj@suse.de>
59419         * Makerules (common-clean): Also remove gen-as-const-headers
59420         files.
59422 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
59424         * Makerules (native-compile): Do not change working directory for
59425         build.  Use $(OUTPUT_OPTION) in command.
59426         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
59428 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59430         [BZ #13886]
59431         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
59432         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
59433         * math/libm-test.inc (floor_test): Add more tests.
59434         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
59436 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
59438         * sysdeps/unix/getdents.c: Remove file.
59439         * sysdeps/unix/sysv/getdents.c: Likewise.
59440         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
59442         * sysdeps/unix/syscalls.list (madvise): Add syscall from
59443         sysdeps/unix/mman/syscalls.list.
59444         (mmap): Likewise.
59445         (mprotect): Likewise.
59446         (msync): Likewise.
59447         (munmap): Likewise.
59448         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
59449         * sysdeps/unix/mman/syscalls.list: Remove.
59450         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
59452         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
59453         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
59454         * configure: Regenerated.
59455         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
59456         $(libgcc_s_suffix).
59457         * config.make.in (libgcc_s_suffix): Remove variable.
59459 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
59461         * sysdeps/unix/sysv/gethostname.c: Move to ...
59462         * sysdeps/posix/gethostname.c: ... here.
59464         * sysdeps/unix/execve.S: Remove file.
59466         * sysdeps/unix/_exit.S: Remove file.
59468 2012-04-23  Andreas Jaeger  <aj@suse.de>
59470         [BZ #13739]
59471         * manual/Makefile: Remove make dist support, there's no
59472         need for a stand-alone documentation tar ball.
59473         (TEXI2DVI): Define always, it's not in Makeconfig.
59474         (dist): Removed.
59475         (tar-it): Removed.
59476         (edition): Removed.
59477         (glibc-doc-$(edition).tar): Removed
59478         (%.Z): Removed.
59479         (%.gz): Removed.
59480         (%.uu): Removed.
59481         (ETAGS): Remove, it's in Makeconfig.
59482         (move-if-change): Remove, it's in Makeconfig.
59484 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
59486         [BZ #13970]
59487         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
59488         (strtod, strtof, strtold, strtol, strtoul, strtoq)
59489         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
59490         (strtod_l, strtof_l, strtold_l): Remove __wur.
59491         It is not necessarily an error to ignore strtol's return value.
59492         One can reliably look at the stored endptr to decide whether
59493         the number had valid syntax.
59495 2012-04-21  Andreas Jaeger  <aj@suse.de>
59497         [BZ #13739]
59498         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
59500 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
59502         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
59503         * sysdeps/unix/sysv/Versions: Remove file.
59505 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
59507         [BZ #13927]
59508         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59510 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
59512         [BZ #7064]
59513         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
59514         version from __vm86.
59516 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
59518         * sysdeps/unix/common/lxstat.c: Remove file.
59519         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
59521         * sysdeps/unix/sysv/Makefile: Remove file.
59523         * sysdeps/unix/sysv/direct.h: Remove file.
59525         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
59526         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
59527         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
59528         * sysdeps/unix/sysv/bits/signum.h: Likewise.
59529         * sysdeps/unix/sysv/bits/stat.h: Likewise.
59530         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
59531         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
59533         * sysdeps/unix/sysv/setrlimit.c: Remove file.
59535         * sysdeps/unix/xmknod.c: Remove file.
59536         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
59538         * sysdeps/unix/sysv/settimeofday.c: Remove file.
59540         * sysdeps/unix/sysv/i386/time.S: Remove file.
59542         * sysdeps/unix/fxstat.c: Remove file.
59543         * sysdeps/unix/xstat.c: Likewise.
59544         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
59546         * sysdeps/unix/sysv/sigaction.c: Remove file.
59548         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
59549         (sysdep_headers): Remove variable.
59550         [termio.h not in sysdep_headers] (generated): Likewise.
59551         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
59552         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
59553         * sysdeps/unix/sysv/tcdrain.c: Likewise.
59554         * sysdeps/unix/sysv/tcflow.c: Likewise.
59555         * sysdeps/unix/sysv/tcflush.c: Likewise.
59556         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
59557         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
59558         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
59559         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
59560         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
59562         * sysdeps/unix/siglist.c: Remove file.
59564         * sysdeps/unix/getppid.S: Remove file.
59566         * sysdeps/unix/mkdir.c: Remove file.
59567         * sysdeps/unix/rmdir.c: Likewise.
59569 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
59571         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
59572         ERR_MAX value.
59573         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
59574         errlist-compat value.
59576 2012-04-18  David S. Miller  <davem@davemloft.net>
59578         * sysdeps/generic/memcopy.h (reg_char): Delete.
59579         * debug/strcat_chk.c: Use char, not reg_char.
59580         * debug/strcpy_chk.c: Likewise.
59581         * debug/strncat_chk.c: Likewise.
59582         * debug/strncpy_chk.c: Likewise.
59583         * string/memchr.c: Likewise.
59584         * string/memrchr.c: Likewise.
59585         * string/rawmemchr.c: Likewise.
59586         * string/strcat.c: Likewise.
59587         * string/strchr.c: Likewise.
59588         * string/strchrnul.c: Likewise.
59589         * string/strcmp.c: Likewise.
59590         * string/strcpy.c: Likewise.
59591         * string/strncat.c: Likewise.
59592         * string/strncmp.c: Likewise.
59593         * string/strncpy.c: Likewise.
59595 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
59597         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
59598         __builtin_memcopy is called when src and dest ranges are known to not
59599         overlap.
59601 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
59603         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
59604         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
59605         fwd_align_merge macro call.
59606         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
59607         bwd_align_merge macro call.
59608         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
59610 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
59612         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
59613         bwd_align_merge macros.
59614         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
59615         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
59616         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
59618 2012-04-18  David S. Miller  <davem@davemloft.net>
59620         * sysdeps/sparc/sparc64/memcopy.h: Delete.
59622 2012-04-18  Andreas Jaeger  <aj@suse.de>
59624         [BZ# 6794]
59625         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
59626         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
59627         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
59629         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
59630         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
59631         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
59633         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
59634         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
59635         Adjust for changed ldbl-128 files.
59637         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
59638         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
59639         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
59641 2012-04-17  David S. Miller  <davem@davemloft.net>
59643         * sysdeps/sparc/sparc32/memcopy.h: Delete.
59645 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
59647         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
59648         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
59649         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
59650         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
59651         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
59652         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
59654 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59656         [BZ #6794]
59657         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
59658         * math/libm-test.inc: Add ilogb errno and exception tests.
59659         * math/w_ilogb.c: New file: ilogb wrapper.
59660         * math/w_ilogbf.c: New file: ilogbf wrapper.
59661         * math/w_ilogbl.c: New file: ilogbl wrapper.
59662         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
59663         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
59664         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
59665         exception being thrown with 0.0 as argument.
59666         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
59667         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
59668         exception being thrown with 0.0 as argument.
59669         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
59670         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
59671         exception being thrown with 0.0 as argument.
59672         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
59673         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
59674         exception being thrown with 0.0 as argument.
59675         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
59676         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
59677         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
59678         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
59679         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
59680         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
59681         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
59682         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
59683         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
59685 2012-04-17  Petr Baudis  <pasky@ucw.cz>
59687         * include/sys/uio.h: Change __vector to __iovec to avoid clash
59688         with altivec.
59690 2012-04-16  Marek Polacek  <polacek@redhat.com>
59692         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
59694 2012-04-16  Marek Polacek  <polacek@redhat.com>
59696         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
59697         operands of fdivp instruction.
59699 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
59701         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
59702         * elf/tst-auditmod3b.c: Likewise.
59703         * elf/tst-auditmod4b.c: Likewise.
59704         * elf/tst-auditmod5b.c: Likewise.
59705         * elf/tst-auditmod6b.c: Likewise.
59706         * elf/tst-auditmod6c.c: Likewise.
59707         * elf/tst-auditmod7b.c: Likewise.
59708         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
59709         * sysdeps/x86_64/preconfigure.in: Likewise.
59710         * sysdeps/x86_64/preconfigure: Regenerated.
59712 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
59714         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
59715         __ILP32__.
59717 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
59719         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59720         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
59722 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
59724         [BZ #13973]
59725         * locale/iso-639.def: Fix gl language name. Spotted by
59726         Yaron Shahrabani.
59728 2012-04-12  Roland McGrath  <roland@hack.frob.com>
59730         [BZ #2074]
59731         * libio/libio.h (__io_write_fn): Update comment.
59733 2012-04-12  Petr Baudis  <pasky@ucw.cz>
59735         [BZ #2074]
59736         * stdio.texi (Hook Functions): The user provided writer function
59737         is not allowed to return -1.
59739 2012-04-11  David S. Miller  <davem@davemloft.net>
59741         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59743 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
59745         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
59746         Add a leading slash to rtkaio.
59748 2012-04-11  Jim Meyering  <meyering@redhat.com>
59750         [BZ #11959]
59751         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
59752         It is not necessarily an error to ignore fwrite's return
59753         value.  One can reliably use ferror to test for errors after
59754         the fact.
59756 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
59758         * bits/types.h (__snseconds_t): New type.
59759         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
59761         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
59762         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59763         (__SNSECONDS_T_TYPE): Likewise.
59764         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59765         (__SNSECONDS_T_TYPE): Likewise.
59766         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59767         (__SNSECONDS_T_TYPE): Likewise.
59769 2012-04-10  Andreas Jaeger  <aj@suse.de>
59771         [BZ #2636]
59772         * manual/time.texi (Processor Time): Return type of times is
59773         elapsed real time since an arbitrary point in the past.
59774         (CPU Time): Move CLK_TCK from here...
59775         (Processor Time): ...to here.  Correct description.
59776         * manual/conf.texi (Constants for Sysconf): Correct description of
59777         _SC_CLK_TCK.
59779 2012-04-10  David S. Miller  <davem@davemloft.net>
59781         [BZ #13967]
59782         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
59783         where the is a gap between DT_REL(A) and DT_JMPREL.
59785 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
59787         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
59788         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
59789         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
59791 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59793         * elf/dl-support.c (_dl_inhibit_cache): New variable.
59794         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
59795         (dl_main): Handle --inhibit-cache.
59796         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
59797         _dl_inhibit_cache.
59798         * elf/dl-load.c (_dl_map_object): Use it.
59799         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
59801 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
59803         [BZ #13872]
59804         * sysdeps/i386/fpu/e_powl.S (p78): New object.
59805         (__ieee754_powl): Saturate large exponents rather than testing for
59806         overflow of y*log2(x).
59807         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59808         * math/libm-test.inc (pow_test): Do not permit spurious overflow
59809         exceptions.
59811         [BZ #11521]
59812         * math/s_ctan.c: Include <float.h>.
59813         (__ctan): Avoid internal overflow or cancellation in calculating
59814         denominator.
59815         * math/s_ctanf.c: Likewise.
59816         * math/s_ctanl.c: Likewise.
59817         * math/s_ctanh.c: Likewise.
59818         * math/s_ctanhf.c: Likewise.
59819         * math/s_ctanhl.c: Likewise.
59820         * math/libm-test.inc (ctan_test): Add more tests.
59821         (ctanh_test): Likewise.
59822         * sysdeps/i386/fpu/libm-test-ulps: Update.
59823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59825 2012-04-09  Andreas Jaeger  <aj@suse.de>
59827         [BZ #6894]
59828         * manual/filesys.texi (Directory Entries): Mention that d_namlen
59829         is an optional BSD extension.
59831         [BZ #10254]
59832         * manual/stdio.texi (Opening Streams): Document additional fopen
59833         parameters.
59835 2012-04-09  Roland McGrath  <roland@hack.frob.com>
59837         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
59838         %eax without telling the compiler.
59840 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
59842         [BZ # 13963]
59843         * manual/install.texi: Use sourceware.org.
59845 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
59847         [BZ #13873]
59848         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
59849         (__ieee754_pow): Generate overflow and underflow using huge*huge
59850         and tiny*tiny rather than just returning constant infinity or zero
59851         for large exponents.
59852         * math/libm-test.inc (pow_test): Require overflow exceptions for
59853         applicable cases of large exponents.
59855         [BZ #706]
59856         * sysdeps/i386/fpu/e_pow.S (p10): New object.
59857         (__ieee754_pow): Use iterative multiplication algorithm only for
59858         integer exponents with absolute value below 1024.  Check for odd
59859         integer exponents when using algorithm for real exponents.
59860         * math/libm-test.inc (pow_test): Add more tests.
59861         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59863 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
59865         [BZ #13705]
59866         * math/libm-test.inc (exp_test): Do not allow overflow exception
59867         on underflow test.
59869 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
59871         [BZ #13705]
59872         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
59873         instead of __kernel_standard_f.
59875 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
59877         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
59878         * sysdeps/x86_64/memset_chk.S: Likewise.
59880 2012-04-08  Andreas Jaeger  <aj@suse.de>
59882         [BZ #10153]
59883         * manual/startup.texi (Environment Access): Describe return value
59884         for putenv and setenv.
59886         [BZ #6895]
59887         * manual/filesys.texi (Directory Entries): Add description for
59888         DT_LNK.
59890         [BZ #6890]
59891         * manual/filesys.texi (Directory Entries): Clarify that it's file
59892         system not operating system in the description of DT_UNKNOWN.
59894         [BZ #6578]
59895         * manual/syslog.texi (closelog): Fix reference, it's openlog.
59897 2012-04-08  Stephen Compall  <s11@member.fsf.org>
59899         [BZ #6649]
59900         * manual/llio.texi (Opening and Closing Files): Add cross
59901         reference to explain mode argument.
59903 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
59905         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
59906         * sysdeps/x86_64/memset_chk.S: Likewise.
59908 2012-04-07  David S. Miller  <davem@davemloft.net>
59910         * elf/elf.h (R_SPARC_WDISP10): Define.
59911         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
59912         R_SPARC_SIZE32.
59913         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
59914         R_SPARC_SIZE64 and R_SPARC_H34.
59916 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
59918         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
59919         conditions and remove no longer applicable assertion.
59921 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
59923         * bits/byteswap.h: Include <features.h>.
59924         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
59925         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
59927 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
59929         * bits/byteswap.h (__bswap_16): Removed.
59930         Include <bits/byteswap-16.h> to get __bswap_16.
59931         * sysdeps/i386/bits/byteswap.h: Likewise.
59932         * sysdeps/s390/bits/byteswap.h: Likewise.
59933         * sysdeps/x86_64/bits/byteswap.h: Likewise.
59934         * bits/byteswap-16.h: New file.
59935         * sysdeps/i386/bits/byteswap-16.h: Likewise.
59936         * sysdeps/s390/bits/byteswap-16.h: Likewise.
59937         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
59938         * string/Makefile (headers): Add bits/byteswap-16.h.
59940 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
59942         [BZ #13895]
59943         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
59944         extra indirection.
59945         * nss/Makefile (tests-static, tests): Add tst-nss-static.
59946         * nss/tst-nss-static.c: New.
59948 2012-04-06  Robert Millan  <rmh@gnu.org>
59950         [BZ #6486]
59951         * manual/llio.texi (File Position Primitive): lseek
59952         refers to WHENCE when it really means OFFSET.
59954 2012-04-06  Andreas Jaeger  <aj@suse.de>
59956         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
59957         strncmp declarations.
59959         * abilist/libc.abilist: Add __poll and __ppoll.
59961 2012-04-05  David S. Miller  <davem@davemloft.net>
59963         * scripts/check-local-headers.sh: Accept a host triplet in the
59964         path matched by the exclude regexp.
59966         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
59967         definition.
59968         * sysdeps/powerpc/powerpc32/dl-machine.h
59969         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
59970         * sysdeps/s390/s390-32/dl-machine.h
59971         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
59972         * sysdeps/sparc/sparc32/dl-machine.h
59973         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
59974         * sysdeps/sparc/sparc64/dl-machine.h
59975         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
59977         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
59978         lazy binding.
59979         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
59980         undefined symbol errors.
59982         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
59983         DT_NEEDED entries.
59985 2012-04-05  Michael Matz  <matz@suse.de>
59987         [BZ #13592]
59988         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
59990 2012-04-05  Andreas Jaeger  <aj@suse.de>
59992         [BZ #13908]
59993         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
59994         comment.
59996 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59998         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
59999         which ROUND is no valid rounding mode.
60001 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60003         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
60004         read again.
60005         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
60007 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60009         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
60010         an exception using FPU order intentionally.
60012 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60014         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
60015         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
60016         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
60017         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
60019 2012-04-05  Simon Josefsson  <simon@josefsson.org>
60021         [BZ #12340]
60022         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
60023         EINVAL when BUFLEN is too smal.
60025 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
60027         [BZ #13553]
60028         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
60029         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
60031 2012-04-03  Andreas Jaeger  <aj@suse.de>
60033         [BZ #13938]
60034         * manual/setjmp.texi (System V contexts): Fix sentence.
60036         [BZ #13926]
60037         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
60038         New macro for this case.
60039         [!__GNUC__] (__bswap_64): New inline function for this case.
60040         * sysdeps/x86_64/bits/byteswap.h: Likewise.
60041         * bits/byteswap.h: Likewise.
60042         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
60043         ull, guard with __GLIBC_HAVE_LONG_LONG.
60045         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
60046         __GLIBC_HAVE_LONG_LONG.
60048         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
60049         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
60051 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
60053         [BZ #13691]
60054         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
60055         inptr and inend, rather than using last_ch.
60057 2012-04-02  David S. Miller  <davem@davemloft.net>
60059         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
60060         * stdio-common/printf-parse.h (read_int): Change return type to
60061         'int', return -1 on INT_MAX overflow.
60062         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
60063         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
60064         overflows INT_MAX.  Check for overflow of in-format-string precision
60065         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
60066         SIZE_MAX not INT_MAX for integer overflow test.
60067         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
60068         skip the construct in the format string but do not record anything.
60069         * stdio-common/bug22.c: Adjust to test both width/prevision
60070         INT_MAX overflow as well as total length INT_MAX overflow.  Check
60071         explicitly for proper errno values.
60073 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
60075         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
60076         CHAR_MAX.
60077         * string/test-strcmp.c [! WIDE]: Likewise.
60078         * time/tst-mktime2.c: Likewise for INT_MAX.
60079         * string/test-string.h: #include <sys/param.h> for MIN.
60081         * csu/init-first.c (__libc_init_first): Call __ctype_init.
60082         * sysdeps/i386/init-first.c (init): Likewise.
60083         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
60084         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
60085         * sysdeps/sh/init-first.c (init): Likewise.
60087 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
60089         * po/ru.po: Update from translation team.
60090         * po/vi.po: Likewise.
60092 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
60094         * resolv/nss_dns/dns-host.c: Merge copyright years.
60096 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60098         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
60099         Optimize memcpy with prefetch if
60100         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
60101         src, dst pointers have unequal 16 byte alignments.
60103 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60105         [BZ #13928]
60106         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
60107         from a CNAME entry and return the minimum ttl for the query.
60108         (gaih_getanswer_slice): Likewise.
60110 2012-03-30  Jeff Law  <law@redhat.com>
60112         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
60113         due to long keys.
60114         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
60115         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
60117         * resolv/nss_dns/dns-host.c: Update copyright year.
60119 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
60121         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
60122         requests to save a system call.  Fix check that all bytes are sent.
60124         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
60125         comments for sendmmsg.
60127 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60129         [BZ #13691]
60130         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
60131         with only 1 character between 0x0041 and 0x01b0.
60132         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
60133         * wcsmbs/tst-mbsnrtowcs.c: New file.
60135 2012-03-29  David S. Miller  <davem@davemloft.net>
60137         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
60138         small copies by hand.
60140 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60142         [BZ #13761]
60143         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
60144         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
60145         group memberships.
60147 2012-03-28  David S. Miller  <davem@davemloft.net>
60149         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
60150         that branches into memcpy.
60151         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
60152         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
60153         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
60154         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
60155         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
60156         bits.
60157         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
60158         implementation too.
60159         * sysdeps/sparc/mempcpy.S: New file.
60161         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
60162         the IFUNC routine in the libc case.
60163         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
60165         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
60166         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
60167         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
60168         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
60169         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
60170         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
60171         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
60172         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
60174         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
60175         loop to 256 bytes instead of 64 bytes and fix test signedness.
60177         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
60178         * sysdeps/sparc/sparc32/Makefile: rather than here...
60179         * sysdeps/sparc/sparc64/Makefile: and here.
60181 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
60183         * malloc/mallocbug.c: Avoid warnings about unused variables.
60185 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
60187         [BZ #13760]
60188         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
60189         in the right place. Discard and retry query if response is
60190         larger than input buffer size.
60192 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
60194         [BZ #369]
60195         [BZ #2678]
60196         [BZ #3866]
60197         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
60198         x for large integer exponent.
60199         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
60200         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
60201         sign of result as needed afterwards.
60202         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
60203         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
60204         result for underflowing pow the same as for overflow.
60205         (__kernel_standard_l): Handle powl overflow and underflow here
60206         rather than calling __kernel_standard.
60207         * math/libm-test.inc (pow_test): Add more tests.
60209         [BZ #3868]
60210         [BZ #13879]
60211         [BZ #13910]
60212         [BZ #13911]
60213         [BZ #13912]
60214         [BZ #13913]
60215         [BZ #13915]
60216         [BZ #13916]
60217         [BZ #13917]
60218         [BZ #13918]
60219         [BZ #13919]
60220         [BZ #13920]
60221         [BZ #13921]
60222         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
60223         * sysdeps/ieee754/k_standard.c: Include <float.h>.
60224         (__kernel_standard_l): New function.
60225         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
60226         __kernel_standard.
60227         * math/w_acosl.c (__acosl): Likewise.
60228         * math/w_asinl.c (__asinl): Likewise.
60229         * math/w_atan2l.c (__atan2l): Likewise.
60230         * math/w_atanhl.c (__atanhl): Likewise.
60231         * math/w_coshl.c (__coshl): Likewise.
60232         * math/w_exp10l.c (__exp10l): Likewise.
60233         * math/w_exp2l.c (__exp2l): Likewise.
60234         * math/w_fmodl.c (__fmodl): Likewise.
60235         * math/w_hypotl.c (__hypotl): Likewise.
60236         * math/w_j0l.c (__j0l, __y0l): Likewise.
60237         * math/w_j1l.c (__j1l, __y1l): Likewise.
60238         * math/w_jnl.c (__jnl, __ynl): Likewise.
60239         * math/w_lgammal.c (__lgammal): Likewise.
60240         * math/w_log10l.c (__log10l): Likewise.
60241         * math/w_log2l.c (__log2l): Likewise.
60242         * math/w_logl.c (__logl): Likewise.
60243         * math/w_powl.c (__powl): Likewise.
60244         * math/w_remainderl.c (__remainderl): Likewise.
60245         * math/w_scalbl.c (sysv_scalbl): Likewise.
60246         * math/w_sinhl.c (__sinhl): Likewise.
60247         * math/w_sqrtl.c (__sqrtl): Likewise.
60248         * math/w_tgammal.c (__tgammal): Likewise.
60249         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
60250         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
60251         * math/libm-test.inc (acos_test): Add more tests.
60252         (acosh_test): Likewise.
60253         (asin_test): Likewise.
60254         (atanh_test): Likewise.
60255         (exp_test): Likewise.
60256         (exp10_test): Likewise.
60257         (exp2_test): Likewise.
60258         (expm1_test): Likewise.
60259         (lgamma_test): Likewise.
60260         (log_test): Likewise.
60261         (log10_test): Likewise.
60262         (log1p_test): Likewise.
60263         (log2_test): Likewise.
60264         (pow_test): Do not allow some spurious overflow exceptions.
60265         (sqrt_test): Add more tests.
60266         (tgamma_test): Likewise.
60267         (y0_test): Likewise.
60268         (y1_test): Likewise.
60269         (yn_test): Likewise.
60271 2012-03-27  Anton Blanchard  <anton@samba.org>
60273         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
60274         MAP_HUGETLB.
60275         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60276         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60277         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60279 2012-03-27  David S. Miller  <davem@davemloft.net>
60281         * conform/Makefile: Run run-conformtest.sh using $(BASH).
60283         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
60284         have-as-vis3 check.
60286 2012-03-27  Andreas Jaeger  <aj@suse.de>
60288         * sysdeps/x86_64/elf/configure.in: Moved to ...
60289         * sysdeps/x86_64/configure.in: ... here.
60290         * sysdeps/x86_64/elf/start.S: Moved to ...
60291         * sysdeps/x86_64/start.S: ... here.
60292         * sysdeps/x86_64/elf/configure: Delete.
60294         * sysdeps/x86_64/configure.in: Merge contents from
60295         sysdeps/i386/configure.in (without i686 check).
60297         * sysdeps/i386/elf/Versions: Merge into ...
60298         * sysdeps/i386/Versions: ... this.
60299         * sysdeps/i386/elf/Versions: Delete file.
60300         * sysdeps/i386/elf/start.S: Moved to ...
60301         * sysdeps/i386/start.S: ...here.
60302         * sysdeps/i386/elf/configure.in: Merge into...
60303         * sysdeps/i386/configure.in: ...here.
60304         * sysdeps/i386/elf/configure.in: Delete file.
60305         * sysdeps/i386/elf/configure: Delete file.
60307         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
60308         * debug/backtracesyms.c: ... here.
60309         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
60310         * debug/backtracesymsfd.c: ... here.
60311         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
60312         * sysdeps/generic/ifunc-sel.h: ... here.
60314         * sysdeps/unix/i386/start.c: Delete file.
60315         * sysdeps/unix/sparc/start.c: Delete file.
60316         * sysdeps/unix/start.c: Delete file.
60318         * sysdeps/sh/elf/configure.in: Moved to ...
60319         * sysdeps/sh/configure.in: ... here.
60320         * sysdeps/sh/elf/start.S: Moved to ...
60321         * sysdeps/sh/start.S: ... here.
60322         * sysdeps/sh/elf/configure: Delete file.
60324         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
60325         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
60326         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
60327         * sysdeps/powerpc/powerpc64/entry.h: ... here.
60328         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
60329         * sysdeps/powerpc/powerpc64/start.S: here.
60330         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
60331         * sysdeps/powerpc/powerpc64/Makefile: ... this.
60332         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
60333         * sysdeps/powerpc/powerpc64/configure.in: ... this.
60334         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
60336         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
60337         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
60338         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
60339         * sysdeps/powerpc/powerpc32/start.S: ... here.
60340         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
60341         * sysdeps/powerpc/powerpc32/configure.in: ... this.
60342         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
60344         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
60345         * sysdeps/powerpc/ifunc-sel.h: ... here.
60346         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
60347         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
60349         * sysdeps/sparc/elf/configure.in: Moved to ...
60350         * sysdeps/sparc/configure.in: ... here.
60351         * sysdeps/sparc/elf/configure: Delete file.
60352         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
60353         * sysdeps/sparc/sparc32/start.S: ... here.
60354         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
60355         * sysdeps/sparc/sparc64/start.S: ... here.
60356         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
60357         * sysdeps/sparc/sparc32/Makefile: ... this.
60358         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
60359         * sysdeps/sparc/sparc64/Makefile: ... this.
60361         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
60362         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
60363         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
60364         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
60365         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
60366         * sysdeps/s390/s390-32/setjmp.S: ... here.
60367         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
60368         * sysdeps/s390/s390-32/configure.in: ... here.
60369         * sysdeps/s390/s390-32/elf/configure: Delete file.
60370         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
60371         * sysdeps/s390/s390-32/start.S: ... here.
60373         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
60374         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
60375         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
60376         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
60377         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
60378         * sysdeps/s390/s390-64/setjmp.S: ... here.
60379         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
60380         * sysdeps/s390/s390-64/configure.in: ... here
60381         * sysdeps/s390/s390-64/elf/configure: Delete file.
60382         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
60383         * sysdeps/s390/s390-64/start.S: ... here.
60384         * sysdeps/s390/s390-64/elf/configure: Delete.
60386         * configure.in: Remove support for elf directories in sysdeps.
60388         * configure: Regenerated.
60389         * sysdeps/i386/configure: Regenerated.
60390         * sysdeps/powerpc/powerpc32/configure: Regenerated.
60391         * sysdeps/powerpc/powerpc64/configure: Regenerated.
60392         * sysdeps/s390/s390-32/configure: Regenerated.
60393         * sysdeps/s390/s390-64/configure: Regenerated.
60394         * sysdeps/sh/configure: Regenerated.
60395         * sysdeps/sparc/configure: Regenerated.
60396         * sysdeps/x86_64/configure: Regenerated.
60398 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
60400         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60402         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
60403         denormal result into account.
60405 2012-03-25  Roland McGrath  <roland@hack.frob.com>
60407         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
60408         Reported by Allan McRae <allan@archlinux.org>.
60410 2012-03-23  Jeff Law  <law@redhat.com>
60412         * nss/getnssent.c (__nss_getent): Fix typo.
60414 2012-03-23  David S. Miller  <davem@davemloft.net>
60416         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60418 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
60420         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
60421         to pad to uint64_t for each field.
60422         (dl_tls_index): Replace unsigned long with uint64_t.
60424 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
60425         Paul Pluzhnikov  <ppluzhnikov@google.com>
60427         [BZ #6528]
60428         * grp/Makefile (otherlibs): Don't set it.
60429         * inet/Makefile (otherlibs): Likewise.
60430         * login/Makefile (otherlibs): Likewise.
60431         * nscd/Makefile (otherlibs): Likewise.
60432         * posix/Makefile (otherlibs): Likewise.
60433         * pwd/Makefile (otherlibs): Likewise.
60434         * rt/Makefile (otherlibs): Likewise.
60435         * sunrpc/Makefile (otherlibs): Likewise.
60436         * nss/Makefile (otherlibs): Likewise.
60437         Add libnss_files to routines and static-only-routines.
60438         ($(objpfx)getent): Remove rule.
60439         * resolv/Makefile: Add libnss_dns and libresolv to routines and
60440         static-only-routines.
60442 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
60444         [BZ #13892]
60445         * math/s_cexp.c: Include <float.h>.
60446         (__cexp): Handle exp result overflowing not necessarily
60447         overflowing both real and imaginary parts of result.
60448         * math/s_cexpf.c: Likewise.
60449         * math/s_cexpl.c: Likewise.
60450         * math/libm-test.inc (cexp_test): Add more tests.
60451         * sysdeps/i386/fpu/libm-test-ulps: Update.
60452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60454 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60456         * include/link.h (ELFW): New macro.
60457         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
60458         Replace ELF64_R_TYPE with ELFW(R_TYPE).
60460 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60462         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
60463         with uint64_t.
60465 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60467         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
60468         declaration.
60469         (struct La_x32_retval): Likewise.
60471 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60473         * sysdeps/x86_64/preconfigure.in: New file.
60474         * sysdeps/x86_64/preconfigure: New generated file.
60476 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
60478         [BZ #13824]
60479         * math/e_exp2l.c: Include <float.h>.
60480         (__ieee754_exp2l): Handle overflow and underflow cases
60481         separately.  Only pass fractional part of argument to
60482         __ieee754_expl.
60483         * math/libm-test.inc (exp2_test): Add more tests.
60485         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
60486         negating x to take absolute value.
60487         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
60488         Likewise.
60489         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
60490         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
60491         Likewise.
60492         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
60493         computing low part if x was negated.
60494         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
60496 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
60498         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
60499         la_x32_gnu_pltexit.
60500         (pltexit): Cast int_retval to ptrdiff_t.
60501         * elf/tst-auditmod3b.c: Likewise.
60502         * elf/tst-auditmod4b.c: Likewise.
60503         * elf/tst-auditmod5b.c: Likewise.
60504         * elf/tst-auditmod6b.c: Likewise.
60505         * elf/tst-auditmod6c.c: Likewise.
60506         * elf/tst-auditmod7b.c: Likewise.
60508         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
60509         and x32_gnu_pltexit.
60511         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
60512         __ELF_NATIVE_CLASS.
60513         (La_x32_regs): New macro.
60514         (La_x32_retval): Likewise.
60515         (la_x32_gnu_pltenter): New function prototype.
60516         (la_x32_gnu_pltexit): Likewise.
60518 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
60520         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
60521         exponent.
60523         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60525         * configure.in (libc_cv_cc_nofma): Check for option to disable
60526         generation of FMA instructions.
60527         * configure: Regenerate.
60528         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
60529         * sysdeps/ieee754/dbl-64/Makefile: New file.
60530         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
60531         Remove brandred-fma4.
60532         (CFLAGS-brandred-fma4.c): Remove.
60533         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
60534         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
60535         define.
60536         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
60537         define.
60539 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
60541         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
60542         LLONG_MAX != LONG_MAX.
60543         (_itoa_word): Use _ITOA_WORD_TYPE on value.
60544         (_fitoa_word): Likewise.
60545         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
60546         LLONG_MAX != LONG_MAX.
60547         * stdio-common/_itowa.h: Include <_itoa.h>.
60548         (_itowa_word): Use _ITOA_WORD_TYPE on value.
60549         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
60550         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
60551         only if not defined.
60552         (_ITOA_WORD_TYPE): Likewise.
60553         (_itoa_word): Use _ITOA_WORD_TYPE on value.
60554         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
60556 2012-03-21  David S. Miller  <davem@davemloft.net>
60558         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60560 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
60562         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
60563         of x86_64 when setting libc_cv_slibdir, libdir and
60564         libc_cv_localedir.
60565         * sysdeps/unix/sysv/linux/configure: Regenerated.
60567 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
60569         * manual/lang.texi (Old Varargs): Remove section.
60570         (How Variadic): Update menu.
60571         (va_start): Do not mention varargs.h.
60573 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
60574             Joseph Myers  <joseph@codesourcery.com>
60576         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
60577         link test.
60578         * configure: Regenerated.
60580 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
60582         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
60583         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
60584         conformtest.pl
60586 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
60588         * NOTES: Remove.
60589         * Makefile (files-for-dist): Remove NOTES.
60590         (NOTES): Remove rule.
60591         * README: Don't refer to NOTES.
60592         * manual/creature.texi: Don't include macros.texi.
60593         * manual/intro.texi (creature.texi): Remove comment referring to
60594         NOTES.
60596         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
60597         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
60598         * configure: Regenerated.
60599         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
60600         LIBC_TRY_CC_OPTION.
60601         (libc_cv_as_i686): Likewise.
60602         (libc_cv_cc_avx): Likewise.
60603         (libc_cv_cc_sse2avx): Likewise.
60604         (libc_cv_cc_fma4): Likewise.
60605         (libc_cv_cc_novzeroupper): Likewise.
60606         * sysdeps/i386/configure: Regenerated.
60608         [BZ #13883]
60609         * sysdeps/i386/fpu/s_cexp.S: Remove.
60610         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
60611         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
60612         * math/libm-test.inc (cexp_test): Add more tests.
60613         * sysdeps/i386/fpu/libm-test-ulps: Update.
60614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60616 2012-03-21  Allan McRae  <allan@archlinux.org>
60618         * timezone/Makefile: Do not install iso3166.tab and zone.tab
60620 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
60622         [BZ #13871]
60623         * math/w_exp2.c: Do not include <float.h>.
60624         (o_threshold, u_threshold): Remove.
60625         (__exp2): Calculate result before checking finiteness and calling
60626         __kernel_standard.
60627         * math/w_exp2f.c: Likewise.
60628         * math/w_exp2l.c: Likewise.
60629         * math/libm-test.inc (exp2_test): Require overflow exception for
60630         1e6 input.
60632         [BZ #3866]
60633         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
60634         range of signed 64-bit integers before using fistpll.  Remove
60635         checks for whether integers fit in mantissa bits.
60636         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
60637         the range of signed 32-bit integers before using fistpl.  Remove
60638         checks for whether integers fit in mantissa bits.
60639         * sysdeps/i386/fpu/e_powl.S (p64): New object.
60640         (__ieee754_powl): Test for y outside the range of signed 64-bit
60641         integers before using fistpll.  Reduce 64-bit values to 63-bit
60642         ones as needed.
60643         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
60644         divide-by-zero is raised for zero to large negative powers.
60645         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
60646         (__ieee754_powl): Test for y outside the range of signed 64-bit
60647         integers before using fistpll.  Reduce 64-bit values to 63-bit
60648         ones as needed.
60649         * math/libm-test.inc (pow_test): Add more tests.
60651 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60653         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
60654         <stdio-common/_itoa.h>.
60655         * debug/segfault.c: Likewise.
60656         * elf/dl-cache.c: Likewise.
60657         * elf/dl-minimal.c: Likewise.
60658         * elf/dl-misc.c: Likewise.
60659         * elf/dl-sysdep.c: Likewise.
60660         * elf/dl-version.c: Likewise.
60661         * elf/rtld.c: Likewise.
60662         * hurd/hurdsock.c: Likewise.
60663         * hurd/lookup-retry.c: Likewise.
60664         * malloc/malloc.c: Likewise.
60665         * malloc/mtrace.c: Likewise.
60666         * nscd/nscd_getgr_r.c: Likewise.
60667         * nscd/nscd_getpw_r.c: Likewise.
60668         * nscd/nscd_getserv_r.c: Likewise.
60669         * posix/getopt_init.c: Likewise.
60670         * posix/wordexp.c: Likewise.
60671         * stdio-common/_itoa.c: Likewise.
60672         * stdio-common/printf_fphex.c: Likewise.
60673         * stdio-common/vfprintf.c: Likewise.
60674         * string/_strerror.c: Likewise.
60675         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
60676         * sysdeps/i386/i686/hp-timing.h: Likewise.
60677         * sysdeps/mach/_strerror.c: Likewise.
60678         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
60679         * sysdeps/mach/hurd/sethostid.c: Likewise.
60680         * sysdeps/mach/hurd/xmknodat.c: Likewise.
60681         * sysdeps/mach/xpg-strerror.c: Likewise.
60682         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
60683         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
60684         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
60685         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
60686         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
60687         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
60688         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
60689         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
60690         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
60691         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
60692         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
60693         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
60694         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
60695         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
60696         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
60697         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
60698         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
60699         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
60700         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
60701         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
60702         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
60704         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
60706         * stdio-common/_itoa.h: Moved to ...
60707         * sysdeps/generic/_itoa.h: Here.
60709         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
60711         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
60712         instead of "_itoa.h" and "_itowa.h".
60713         * stdio-common/vfprintf.: Likewise.
60715 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60717         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
60718         <bits/wordsize.h>.
60719         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
60720         (__signbit): Likwise.
60721         (llrintf): Likwise.
60722         (llrint): Likwise.
60724 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60726         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
60727         __WORDSIZE != 64.
60729 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
60731         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
60732         OVERFLOW_EXCEPTION_OK.
60733         * math/libm-test.inc ("Philosophy"): Update comment about
60734         exception testing.
60735         (OVERFLOW_EXCEPTION): Define.
60736         (OVERFLOW_EXCEPTION_OK): Likewise.
60737         (INVALID_EXCEPTION_OK): Renumber.
60738         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
60739         (IGNORE_ZERO_INF_SIGN): Likewise.
60740         (test_exceptions): Handle FE_OVERFLOW.
60741         (exp10_test): Expect overflow exceptions.
60742         (exp2_test): Likewise.
60743         (expm1_test): Likewise.
60744         (nextafter_test): Likewise.
60745         (pow_test): Likewise.
60746         (scalbn_test): Likewise.
60747         (scalbln_test): Likewise.
60749 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60751         * sysdeps/x86_64/bits/atomic.h
60752         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
60753         64bit integer.
60754         (atomic_exchange_acq): Likewise.
60755         (__arch_exchange_and_add_body): Likewise.
60756         (__arch_add_body): Likewise.
60757         (atomic_add_negative): Likewise.
60758         (atomic_add_zero): Likewise.
60760 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60762         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
60763         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
60765 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60767         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
60768         Check __x86_64__ instead of __WORDSIZE.
60770 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60772         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
60774 2012-03-19  David S. Miller  <davem@davemloft.net>
60776         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60778         * sysdeps/sparc/fpu/fenv_private.h: New file.
60779         * sysdeps/sparc/fpu/math_private.h: Use it.
60780         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
60781         Remove.
60782         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
60783         (libc_feholdexcept_setroundl): Remove.
60784         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
60785         Remove.
60786         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
60787         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
60789 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60791         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
60792         int64_t instead of long int.
60793         (INSERT_WORDS64): Likwise.
60795 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60797         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
60798         _Unwind_GetCFA return to _Unwind_Ptr first.
60800 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
60802         [BZ #13629]
60803         * math/s_clog.c: Include <float.h>.
60804         (__clog): Scale large or subnormal inputs.
60805         * math/s_clogf.c: Likewise.
60806         * math/s_clogl.c: Likewise.
60807         * math/s_clog10.c: Include <float.h>.
60808         (M_LOG10_2): Define.
60809         (__clog10): Scale large or subnormal inputs.
60810         * math/s_clog10f.c: Likewise.
60811         * math/s_clog10l.c: Likewise.
60812         * math/libm-test.inc (clog_test): Add more tests.
60813         (clog10_test): Likewise.
60814         * sysdeps/i386/fpu/libm-test-ulps: Update.
60815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60817         [BZ #11451]
60818         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
60819         x and y.
60820         * math/libm-test.inc (atan2_test): Add another test.
60822         * Makerules (common-objdir-compile): Remove.
60823         * sysdeps/unix/Makefile (config-generated): Do not add
60824         $(unix-generated) to variable.
60825         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
60826         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
60827         Remove rule.
60828         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
60829         Likewise.
60830         [generic bits/local_lim.h] (before-compile): Do not append to
60831         variable.
60832         [generic bits/local_lim.h] (common-generated): Likewise.
60833         [generic sys/param.h] (before-compile): Do not append to variable.
60834         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
60835         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
60836         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
60837         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
60838         include.
60839         [generic sys/param.h] (sys/param.h-includes): Remove variable.
60840         [generic sys/param.h] (sys/param.h-includes): Remove rule.
60841         [generic sys/param.h] ($(addprefix
60842         $(common-objpfx),$(sys/param.h-includes))): Likewise.
60843         [generic sys/param.h] (common-generated): Do not append to
60844         variable.
60845         [generic sys/param.h] (sysdep_headers): Likewise.
60846         [generic bits/errno.h] (before-compile): Do not append to
60847         variable.
60848         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
60849         rule.
60850         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
60851         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
60852         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
60853         [generic bits/errno.h] (common-generated): Do not append to
60854         variable.
60855         [generic bits/ioctls.h] (before-compile): Do not append to
60856         variable.
60857         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
60858         rule.
60859         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
60860         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
60861         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
60862         rule.
60863         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
60864         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
60865         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
60866         [generic bits/ioctls.h] (common-generated): Do not append to
60867         variable.
60868         [generic sys/syscall.h] (syscall.h): Remove variable.
60869         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
60870         rule.
60871         [generic sys/syscall.h] (before-compile): Do not append to
60872         variable.
60873         [generic sys/syscall.h] (common-generated): Likewise.
60874         * sysdeps/unix/errnos-tmpl.c: Remove file.
60875         * sysdeps/unix/errnos.awk: Likewise.
60876         * sysdeps/unix/ioctls-tmpl.c: Likewise.
60877         * sysdeps/unix/ioctls.awk: Likewise.
60878         * sysdeps/unix/mk-local_lim.c: Likewise.
60879         * sysdeps/unix/snarf-ioctls: Likewise.
60881 2012-03-19  Richard Henderson  <rth@twiddle.net>
60883         * sysdeps/i386/fpu/fenv_private.h: New file.
60884         * sysdeps/i386/fpu/math_private.h: Use it.
60885         (math_opt_barrier, math_force_eval): Remove.
60886         (libc_feholdexcept_setround_53bit): Remove.
60887         (libc_feupdateenv_53bit): Remove.
60888         * sysdeps/x86_64/fpu/math_private.h: Likewise.
60889         (math_opt_barrier, math_force_eval): Remove.
60890         (libc_feholdexcept): Remove.
60891         (libc_feholdexcept_setround): Remove.
60892         (libc_fetestexcept, libc_fesetenv): Remove.
60893         (libc_feupdateenv_test): Remove.
60894         (libc_feupdateenv, libc_feholdsetround): Remove.
60895         (libc_feresetround): Remove.
60897         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
60898         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
60900         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
60901         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
60902         (libc_feupdateenv_testl): New.
60903         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
60904         (libc_feupdateenv_testf): New.
60905         (libc_feupdateenv): Use libc_feupdateenv_test.
60906         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
60907         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
60909         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
60910         (libc_feholdsetroundf, libc_feholdsetroundl): New.
60911         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
60912         (libc_feresetround_noex): New.
60913         (libc_feresetround_noexf): New.
60914         (libc_feresetround_noexl): New.
60915         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
60916         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
60917         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
60918         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
60919         SET_RESTORE_ROUND.
60920         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
60921         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
60922         (__cos): Likewise.
60923         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
60924         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
60925         SET_RESTORE_ROUND_NOEX.
60926         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
60927         SET_RESTORE_ROUND_NOEXF.
60928         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
60929         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
60930         (libc_feholdsetroundf): New.
60931         (libc_feresetround, libc_feresetroundf): New.
60933         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
60934         (libc_feholdexcept_setround_53bit): Convert from macro to function.
60935         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
60937         * sysdeps/generic/math_private.h: Include <fenv.h>.
60938         (default_libc_feholdexcept): New.
60939         (default_libc_feholdexcept_setround): New.
60940         (default_libc_fesetenv, default_libc_feupdateenv): New.
60941         (libc_feholdexcept): Only define if undefined.
60942         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
60943         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
60944         (libc_feholdexcept_setroundl): Likewise.
60945         (libc_feholdexcept_setround_53bit): Likewise.
60946         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
60947         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
60948         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
60949         (libc_feupdateenv_53bit): Likewise.
60950         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
60951         (libc_feholdexcept): Convert from macro to inline function.
60952         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
60953         (libc_fesetenv, libc_feupdateenv): Likewise.
60955         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
60956         not previously defined.
60957         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
60958         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
60959         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
60960         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
60961         * sysdeps/ieee754/flt-32/math_private.h: New file.
60962         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
60963         math_private.h below SET_FLOAT_WORD.
60964         (__isnan, __isinf_ns, __finite): Remove.
60965         (__isnanf, __isinf_nsf, __finitef): Remove.
60967 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
60969         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60971 2012-03-17  David S. Miller  <davem@davemloft.net>
60973         [BZ #6471]
60974         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
60975         for 2.16.
60977 2012-03-16  David S. Miller  <davem@davemloft.net>
60979         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
60980         warnings.
60982         [BZ #6471]
60983         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
60984         properly.
60985         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
60986         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
60987         sysdep_routines when subdir is sysvipc.
60988         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
60989         __getshmlba helper.
60991         * sysdeps/sparc/fpu/libm-test/ulps: Update.
60993 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60995         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
60996         [__LP64__].
60998 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61000         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
61001         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
61002         (__lround): Renamed to ...
61003         (__llround): This.  Replace long int with long long int.
61004         Define lround functions as aliases of llround functions.
61005         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
61007 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61009         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
61010         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
61011         adresses to uintptr_t.  Replace "long int" and "unsigned long
61012         int" with "greg_t" on va_arg.
61014 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61016         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
61017         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
61019         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
61020         Move e_machine check before EI_CLASS check.  Handle x32
61021         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
61022         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
61023         SKIP_EM_IA_64 and include
61024         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
61026         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
61027         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
61028         (add_system_dir): New macro.
61030         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
61031         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
61033 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
61035         [BZ #2551]
61036         [BZ #2552]
61037         [BZ #2553]
61038         [BZ #2554]
61039         [BZ #2562]
61040         [BZ #2563]
61041         [BZ #2565]
61042         [BZ #2566]
61043         [BZ #2576]
61044         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
61045         (y0): Likewise.
61046         * math/w_j0f.c (j0f): Likewise.
61047         (y0f): Likewise.
61048         * math/w_j0l.c (__j0l): Likewise.
61049         (__y0l): Likewise.
61050         * math/w_j1.c (j1): Likewise.
61051         (y1): Likewise.
61052         * math/w_j1f.c (j1f): Likewise.
61053         (y1f): Likewise.
61054         * math/w_j1l.c (__j1l): Likewise.
61055         (__y1l): Likewise.
61056         * math/w_jn.c (jn): Likewise.
61057         (yn): Likewise.
61058         * math/w_jnf.c (jnf): Likewise.
61059         (ynf): Likewise.
61060         * math/w_jnl.c (__jnl): Likewise.
61061         (__ynl): Likewise.
61062         * math/libm-test.inc (j0_test): Add more tests.
61063         (j1_test): Likewise.
61064         (jn_test): Likewise.  Add trailing semicolon to existing test.
61065         (y0_test): Likewise.
61066         (y1_test): Likewise.
61067         * sysdeps/i386/fpu/libm-test-ulps: Update.
61068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61070         [BZ #13851]
61071         [BZ #13854]
61072         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
61073         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
61074         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
61075         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
61076         (__tanl): Set errno for infinite argument.
61077         * sysdeps/i386/fpu/mptan.c: Remove.
61078         * sysdeps/i386/fpu/s_tan.S: Likewise.
61079         * sysdeps/i386/fpu/s_tanl.S: Likewise.
61080         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
61081         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
61082         * math/libm-test.inc (tan_test): Add more tests and enable more
61083         tests for double and long double.
61084         * sysdeps/i386/fpu/libm-test-ulps: Update.
61085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61087 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
61089         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
61090         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
61092 2012-03-16  Roland McGrath  <roland@hack.frob.com>
61094         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
61095         * configure.in: Use it for both main tree and add-ons.
61096         * configure: Regenerated.
61098 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61100         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
61102 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
61104         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
61105         in comment.
61107         [BZ #13851]
61108         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
61109         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
61110         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
61111         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
61112         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
61113         infinite argument.
61114         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
61115         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
61116         != 0 for prec == 2.
61117         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
61118         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
61119         * sysdeps/i386/fpu/s_cosl.S: Likewise.
61120         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
61121         * sysdeps/i386/fpu/s_sinl.S: Likewise.
61122         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
61123         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
61124         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
61125         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
61126         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
61127         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
61128         * math/libm-test.inc (cos_test): Add more tests and enable more
61129         tests for long double.
61130         (sin_test): Likewise.
61131         (sincos_test): Likewise.
61132         * sysdeps/i386/fpu/libm-test-ulps: Update.
61133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61135 2012-03-16  David S. Miller  <davem@davemloft.net>
61137         * sysdeps/sparc/fpu/math_private.h: New file.
61139 2012-03-15  David S. Miller  <davem@davemloft.net>
61141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
61142         file.
61143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
61144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
61145         file.
61146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
61147         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
61148         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
61149         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
61150         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
61151         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
61152         sysdep routines.
61153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
61155         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
61156         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
61158         * sysdeps/sparc/sparc-ifunc.h: New file.
61159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
61160         sparc-ifunc.h
61161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
61162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
61163         Likewise.
61164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
61165         Likewise.
61166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
61167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
61168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
61170         Likewise.
61171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
61172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
61173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
61174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
61175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
61176         Likewise.
61177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
61178         Likewise.
61179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
61180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
61181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
61182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
61183         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
61184         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
61185         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
61186         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
61187         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
61188         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
61189         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
61190         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
61191         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
61192         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
61193         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
61194         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
61195         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
61196         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
61197         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
61198         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
61199         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
61200         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
61201         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
61202         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
61204 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
61206         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
61207         scaling.
61208         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61210 2012-03-15  Andreas Jaeger  <aj@suse.de>
61212         [BZ #13852]
61213         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
61214         ieee754/flt-32 implementation for sin, cos and sincos.
61215         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
61216         * sysdeps/i386/fpu/s_cosf.S: Likewise.
61217         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
61218         * sysdeps/i386/fpu/s_sinf.S: Likewise.
61219         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
61220         ieee754/flt-32 implementation for tan.
61222         * math/libm-test.inc (cos_test): Enable some large input tests for
61223         float as well
61224         (sin_test): Likewise.
61225         (sincos_test): Likewise.
61226         (tan_test): Add tests for large input.
61228         * sysdeps/i386/fpu/libm-test-ulps: Update.
61230 2012-03-15  Andreas Jaeger  <aj@suse.de>
61232         [BZ #13658]
61233         * math/libm-test.inc (cos_test): Add more test cases.
61234         (sin_test): Likewise.
61235         (sincos_test): Likewise.
61237 2012-03-15  Andreas Jaeger  <aj@suse.de>
61239         [BZ #13837]
61240         * math/libm-test.inc (cos_test): Add a test case for large input
61241         value.
61242         (sin_test): Likewise.
61243         (sincos_test): Likewise.
61245 2012-03-15  Andreas Jaeger  <aj@suse.de>
61246             Joseph Myers  <joseph@codesourcery.com>
61248         [BZ #13658]
61249         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
61250         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
61251         * sysdeps/i386/fpu/branred.c: Likewise.
61252         * sysdeps/i386/fpu/dosincos.c: Likewise.
61253         * sysdeps/i386/fpu/mpa.c: Likewise.
61254         * sysdeps/i386/fpu/s_cos.S: Likewise.
61255         * sysdeps/i386/fpu/s_sin.S: Likewise.
61256         * sysdeps/i386/fpu/s_sincos.S: Likewise.
61257         * sysdeps/i386/fpu/sincos32.c: Likewise.
61259         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
61260         Define.
61261         (libc_feupdateenv_53bit): Define.
61262         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
61263         Define.
61264         (libc_feupdateenv_53bit): Define.
61266         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
61267         53 bit (without extend i386 double precision).
61269         * math/libm-test.inc (sincos_test): Add tests for large input.
61270         (sin): Likewise.
61271         (cos): Likewise.
61273         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
61275 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
61277         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61279 2012-03-15  David S. Miller  <davem@davemloft.net>
61281         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
61282         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
61283         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
61284         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
61285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
61286         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
61287         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
61288         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
61289         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
61290         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
61291         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
61292         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
61293         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
61294         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
61295         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
61296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
61297         file.
61298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
61299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
61300         file.
61301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
61302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
61303         file.
61304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
61305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
61306         file.
61307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
61308         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
61309         fmin/fmax sysdep routines.
61310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
61312 2012-03-14  David S. Miller  <davem@davemloft.net>
61314         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
61315         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
61316         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
61317         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
61318         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
61319         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
61320         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
61321         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
61322         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
61323         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
61324         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
61325         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
61326         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
61327         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
61328         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
61329         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
61330         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
61331         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
61332         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
61333         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
61334         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
61335         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
61336         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
61337         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
61338         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
61339         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
61340         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
61341         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
61342         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
61343         routines.
61344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
61345         file.
61346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
61347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
61348         file.
61349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
61350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
61351         file.
61352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
61353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
61354         file.
61355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
61356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
61357         file.
61358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
61359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
61360         file.
61361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
61362         file.
61363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
61364         file.
61365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
61366         file.
61367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
61368         New file.
61369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
61370         file.
61371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
61372         file.
61373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
61374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
61375         file.
61376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
61377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
61378         file.
61379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
61380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
61381         file.
61382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
61383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
61384         VIS3 routines.
61386         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
61387         New file.
61389         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61391         * sysdeps/sparc/configure.in: New file.
61392         * sysdeps/sparc/configure: Generate.
61393         * configure.in (libc_cv_sparc_as_vis3): Substitute.
61394         * configure: Regenerate.
61395         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
61396         * config.make.in (have-as-vis3): New.
61397         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
61398         available use -Av9d instead of -Av9a.
61399         * sysdeps/sparc/sparc64/Makefile: Likewise.
61400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
61401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
61402         New file.
61403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
61404         file.
61405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
61406         New file.
61407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
61408         file.
61409         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
61410         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
61411         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
61412         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
61413         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
61415         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
61416         fzeros/fnegs to load 0x80000000 into a float register instead of
61417         using the stack.
61418         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
61420 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
61422         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61423         bits/syscall.h.
61424         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
61425         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
61426         ($(inst_includedir)/bits/syscall.h): Remove rule.
61427         ($(objpfx)bits/syscall.d): Include instead of
61428         $(objpfx)syscall-list.d.
61429         (generated): Change syscall-list.h and syscall-list.d to
61430         bits/syscall.h and bits/syscall.d.
61432 2012-03-14  Roland McGrath  <roland@hack.frob.com>
61434         [BZ #13846]
61435         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
61437 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
61439         [BZ #13841]
61440         * math/s_csqrt.c: Include <float.h>.
61441         (__csqrt): Scale large or subnormal inputs.
61442         * math/s_csqrtf.c: Likewise.
61443         * math/s_csqrtl.c: Likewise.
61444         * math/libm-test.inc (csqrt_test): Add more tests.
61445         * sysdeps/i386/fpu/libm-test-ulps: Update.
61446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61448         [BZ #13840]
61449         * math/libm-test.inc (hypot_test): Add more tests.
61451 2012-03-13  David S. Miller  <davem@davemloft.net>
61453         [BZ #13840]
61454         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
61455         double-precision for the calculation instead of scaling.
61457 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
61459         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
61460         manipulate bits before adding and subtracting TWO52[sx].
61461         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
61462         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
61463         Likewise.
61464         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
61466 2012-03-13  David S. Miller  <davem@davemloft.net>
61468         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
61469         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
61470         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
61471         rtld-global-offsets.h
61472         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61474         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
61475         large parameters.
61477         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
61479         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
61480         'err' in the ifdef scope in which it is actually used.
61482         * nss/nss_db/db-init.c: Include string.h
61484 2012-03-12  David S. Miller  <davem@davemloft.net>
61486         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
61487         masking out of the most significant byte of random value used.
61488         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61489         Fix coding style in previous change.
61491         * sysdeps/unix/sysv/linux/kernel-features.h
61492         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
61493         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
61494         expression.
61495         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
61496         later.
61498 2012-03-11  David S. Miller  <davem@davemloft.net>
61500         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
61501         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
61502         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
61503         for 'resultvar' otherwise things get truncated on 64-bit.
61505         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61506         Fix masking out of the most significant byte of random value used.
61508         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61510 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
61512         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61514 2012-03-09  David S. Miller  <davem@davemloft.net>
61516         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
61517         variables with appropriate CPP guards.
61518         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
61519         from the frame pointer, not the stack pointer.  Correct layout
61520         comments.  Fix test on resulting framesize and the management of
61521         the outregs buffer for pltexit.  Preserve floating point return
61522         values across _dl_call_pltexit call.
61523         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
61524         framesize and the management of the outregs buffer for pltexit.
61525         Preserve floating point return values across _dl_call_pltexit
61526         call.
61527         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
61528         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
61529         (la_sparc64_gnu_pltexit): New functions.
61530         (print_exit): Fix format string for return register value.
61532 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
61534         * sunrpc/Makefile (others): Add rpcgen.
61535         ($(objpfx)rpcgen): Remove special build rule and dependency on
61536         libc.
61537         * sunrpc/rpcgen.c: New file.
61539 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
61541         [BZ #13673]
61542         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
61543         * stdio-common/bug-vfprintf-nargs.c: Likewise.
61544         * sysdeps/i386/crti.S: Likewise.
61545         * sysdeps/i386/crtn.S: Likewise.
61546         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
61547         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
61548         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
61549         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
61550         * sysdeps/sh/crti.S: Likewise.
61551         * sysdeps/sh/crtn.S: Likewise.
61552         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
61554         [BZ #13673]
61555         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
61556         with URL.
61557         * locale/programs/locfile-kw.gperf: Likewise.
61558         * locale/programs/charmap-kw.h: Regenerated.
61559         * locale/programs/locfile-kw.h: Likewise.
61561         [BZ #13673]
61562         * intl/plural.y: Replace FSF snail mail address with URL.
61563         * intl/plural.c: Regenerated.
61565 2012-03-09  Richard Henderson  <rth@twiddle.net>
61567         * include/math_private.h: Remove file.
61568         * math/math_private.h: Move file ...
61569         * sysdeps/generic/math_private.h: ... here.
61571         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
61572         * sysdeps/powerpc/fpu/math_private.h: Likewise.
61573         * sysdeps/x86_64/fpu/math_private.h: Likewise.
61575         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
61576         and <math_private.h>.
61577         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
61578         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
61579         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
61580         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
61581         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
61582         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
61583         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
61584         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61585         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61586         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61587         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61588         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
61589         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61590         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61591         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61592         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61593         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61594         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61595         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61596         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
61597         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61598         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61599         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61600         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61601         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
61602         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61603         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61604         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61605         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61606         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61607         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61608         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61609         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
61610         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
61611         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
61612         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61613         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
61614         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
61615         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
61616         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61617         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
61618         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
61619         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
61620         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
61621         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
61622         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
61623         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
61624         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
61625         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
61626         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
61627         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
61628         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
61629         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
61630         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
61631         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
61632         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
61633         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
61634         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
61635         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
61636         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
61637         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61638         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
61639         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61640         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
61641         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
61642         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
61643         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
61644         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
61645         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
61646         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
61647         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
61648         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
61649         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
61650         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
61651         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
61652         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
61653         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
61654         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
61655         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
61656         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
61657         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
61658         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
61659         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
61660         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
61661         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
61662         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
61663         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
61664         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
61665         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
61666         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
61667         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
61668         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
61669         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
61670         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
61671         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
61672         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
61673         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
61674         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
61675         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61676         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
61677         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
61678         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
61679         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
61680         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
61681         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
61682         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
61683         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
61684         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
61685         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
61686         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
61687         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
61688         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
61689         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
61690         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
61691         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
61692         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
61693         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
61694         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
61695         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
61696         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
61697         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
61698         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
61699         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
61700         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
61701         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
61702         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
61703         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
61704         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
61705         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
61706         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
61707         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
61708         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
61709         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
61710         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
61711         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
61712         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
61713         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
61714         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
61715         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
61716         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
61717         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
61718         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
61719         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
61720         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
61721         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
61722         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
61723         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
61724         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
61725         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
61726         * sysdeps/ieee754/k_standard.c: Likewise.
61727         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
61728         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
61729         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
61730         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
61731         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
61732         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
61733         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
61734         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
61735         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
61736         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
61737         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61738         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
61739         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
61740         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
61741         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
61742         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
61743         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
61744         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
61745         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
61746         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
61747         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
61748         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
61749         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
61750         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
61751         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
61752         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
61753         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
61754         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
61755         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
61756         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
61757         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
61758         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
61759         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
61760         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
61761         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
61762         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
61763         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
61764         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
61765         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
61766         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
61767         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
61768         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
61769         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
61770         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
61771         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
61772         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
61773         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
61774         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
61775         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
61776         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
61777         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
61778         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
61779         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
61780         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
61781         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
61782         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
61783         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
61784         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
61785         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
61786         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
61787         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
61788         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
61789         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
61790         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
61791         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
61792         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
61793         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
61794         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
61795         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
61796         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
61797         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
61798         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61799         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
61800         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
61801         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
61802         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
61803         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
61804         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
61805         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
61806         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
61807         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
61808         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
61809         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
61810         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
61811         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
61812         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
61813         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
61814         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
61815         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
61816         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
61817         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
61818         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
61819         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
61820         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
61821         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
61822         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
61823         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
61824         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
61825         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
61826         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
61827         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
61828         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
61829         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
61830         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
61831         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
61832         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
61833         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
61834         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
61835         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
61836         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
61837         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
61838         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
61839         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
61840         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
61841         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
61842         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
61843         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
61844         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
61845         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
61846         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
61847         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61848         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
61849         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
61850         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
61851         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
61852         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
61853         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
61854         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
61855         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
61856         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
61857         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
61858         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
61859         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
61860         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
61861         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
61862         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
61863         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
61864         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
61865         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
61866         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
61867         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
61868         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
61869         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
61870         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
61871         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
61872         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
61873         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
61874         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
61875         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
61876         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
61877         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
61878         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
61879         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
61880         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
61881         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
61882         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
61883         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
61884         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
61885         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
61886         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
61887         * sysdeps/ieee754/s_lib_version.c: Likewise.
61888         * sysdeps/ieee754/s_matherr.c: Likewise.
61889         * sysdeps/ieee754/s_signgam.c: Likewise.
61890         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
61891         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61892         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
61893         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
61894         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
61895         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
61896         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
61897         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
61898         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
61899         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
61900         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
61901         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
61902         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
61903         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
61904         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
61905         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
61906         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
61907         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
61908         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
61909         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
61910         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
61912 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
61914         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
61915         * sunrpc/rpc_main.c: Likewise.
61916         * sunrpc/rpc_svcout.c: Likewise.
61918 2012-03-09  David S. Miller  <davem@davemloft.net>
61920         * include/math_private.h: New file.
61922 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
61924         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
61925         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
61926         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
61927         from <bits/socket_type.h>.
61928         (enum __socket_type): Don't define here.
61929         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
61930         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61931         bits/socket_type.h.
61933         [BZ #13566]
61934         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
61935         checking __USE_GNU.
61937         * Makerules ($(inst_includedir)/%.h): New rule.
61938         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
61939         (install-others): Remove variable setting.
61940         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
61942 2012-03-08  Richard Henderson  <rth@twiddle.net>
61944         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
61945         from macro to inline function; merge with the
61946         !__LIBC_INTERNAL_MATH_INLINES version.
61947         (__ieee754_sqrtf): Likewise.
61949         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
61950         to inline function.
61951         (__rintf, __floor, __floorf): Likewise.
61953         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
61954         macro to inline function.
61955         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
61957         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
61958         not <math/math_private.h>.
61960 2012-03-08  David S. Miller  <davem@davemloft.net>
61962         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
61963         copyright year.
61964         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
61966 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
61968         * resolv/gai_misc.c (handle_requests): Fix struct timespec
61969         normalization.
61970         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
61971         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
61973 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
61975         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
61976         be defined individually, they must be defined as a block.  Define
61977         S for printing a string instead of hidint the different by using a
61978         macro for adding the 'l'.
61979         * stdio-common/tst-fphex-wide.c: Adjust.
61981 2012-03-07  Marek Polacek  <polacek@redhat.com>
61983         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
61985 2012-03-08  Marek Polacek  <polacek@redhat.com>
61987         [BZ #13806]
61988         * stdio-common/Makefile (tests): Add tst-fphex-wide.
61989         * stdio-common/tst-fphex.c: Define a few macros to make the
61990         test reusable.  Use them.
61991         * stdio-common/tst-fphex-wide.c: New file.
61993 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
61995         [BZ #6911]
61996         * manual/macros.texi (gnusystems): New macro.
61997         (nongnusystems): Likewise.
61998         (gnulinuxhurdsystems): Likewise.
61999         (gnuhurdsystems): Likewise..
62000         (gnulinuxsystems): Likewise.
62001         * manual/charset.texi: Use new macros or @theglibc{} to refer to
62002         variants of the GNU system, not "GNU system".
62003         * manual/conf.texi: Likewise.
62004         * manual/errno.texi: Likewise.  Update example of errno macro
62005         expansion.
62006         * manual/filesys.texi: Likewise.
62007         (getumask): Document as specific to GNU/Hurd.
62008         * manual/install.texi: Likewise.  Reword some references to
62009         GNU/Linux.
62010         * manual/intro.texi: Likewise.
62011         * manual/io.texi: Likewise.
62012         (File Name Portability): Detail which constraints are inapplicable
62013         to all GNU systems and which are only inapplicable to GNU/Hurd.
62014         * manual/job.texi: Likewise.
62015         * manual/llio.texi: Likewise.
62016         (O_NOCTTY): Document as present on GNU/Linux.
62017         * manual/maint.texi: Likewise.
62018         * manual/memory.texi: Likewise.
62019         * manual/pattern.texi: Likewise.
62020         * manual/pipe.texi: Likewise.
62021         * manual/process.texi: Likewise.
62022         * manual/resource.texi: Likewise.
62023         (RUSAGE_CHILDREN): Remove statement about specifying a particular
62024         child on GNU/Hurd.
62025         * manual/setjmp.texi: Likewise.
62026         * manual/signal.texi: Likewise.
62027         * manual/startup.texi: Likewise.
62028         * manual/stdio.texi: Likewise.
62029         * manual/terminal.texi: Likewise.
62030         (ONLCR): Document as POSIX.
62031         (OXTABS): Document availability on GNU/Linux as XTABS.
62032         (ONOEOT): Document availability separately from other bits.
62033         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
62034         * manual/time.texi: Likewise.
62035         * manual/users.texi: Likewise.
62036         * INSTALL: Regenerated.
62037         * sysdeps/gnu/errlist.c: Regenerated.
62039         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
62040         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
62041         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
62042         puts.
62043         * configure: Regenerated.
62045 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
62047         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
62048         default includes instead of AC_HEADER_CHECK.
62049         * sysdeps/i386/configure: Regenerated.
62051         [BZ #10716]
62052         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
62053         * math/s_cacoshf.c (__cacoshf): Likewise.
62054         * math/s_cacoshl.c (__cacoshl): Likewise.
62055         * math/s_casinh.c (__casinh): Set signs of result from argument.
62056         * math/s_casinhf.c (__casinhf): Likewise.
62057         * math/s_casinhl.c (__casinhl): Likewise.
62058         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
62059         (casinh_test): Add more tests.
62060         * sysdeps/i386/fpu/libm-test-ulps: Update.
62061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62063 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
62065         * po/zh_TW.po: Update from translation team.
62067         * login/Makefile (distribute): Remove variable.
62068         * catgets/Makefile: Likewise.
62069         * mach/Makefile: Likewise.
62070         * malloc/Makefile: Likewise.
62071         * misc/Makefile: Likewise.
62072         * iconv/Makefile: Likewise.
62073         * nscd/Makefile: Likewise.
62074         * hurd/Makefile: Likewise.
62075         * manual/Makefile: Likewise.
62076         * locale/Makefile: Likewise.
62077         * intl/Makefile: Likewise.
62078         * conform/Makefile: Likewise.
62079         * nss/Makefile: Likewise.
62080         * time/Makefile: Likewise.
62081         * soft-fp/Makefile: Likewise.
62082         * dirent/Makefile: Likewise.
62083         * gmon/Makefile: Likewise.
62084         * po/Makefile: Likewise.
62085         * rt/Makefile: Likewise.
62086         * socket/Makefile: Likewise.
62087         * math/Makefile: Likewise.
62088         * signal/Makefile: Likewise.
62089         * debug/Makefile: Likewise.
62090         * elf/Makefile: Likewise.
62091         * timezone/Makefile: Likewise.
62092         * stdlib/Makefile: Likewise.
62093         * iconvdata/Makefile: Likewise.
62094         * sunrpc/Makefile: Likewise.
62095         * io/Makefile: Likewise.
62096         * argp/Makefile: Likewise.
62097         * inet/Makefile: Likewise.
62098         * hesiod/Makefile: Likewise.
62099         * grp/Makefile: Likewise.
62100         * csu/Makefile: Likewise.
62101         * wctype/Makefile: Likewise.
62102         * crypt/Makefile: Likewise.
62103         * libio/Makefile: Likewise.
62104         * string/Makefile: Likewise.
62105         * nis/Makefile: Likewise.
62106         * resolv/Makefile: Likewise.
62107         * stdio-common/Makefile: Likewise.
62108         * wcsmbs/Makefile: Likewise.
62109         * dlfcn/Makefile: Likewise.
62110         * posix/Makefile: Likewise.
62112         [BZ #6959]
62113         * timezone/Makefile: Don't install timezone files, just the programs
62114         and scripts.
62116 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
62118         * nss/databases.def: Add missing gshadow entry.
62120         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
62122 2012-03-06  Marek Polacek  <polacek@redhat.com>
62124         [BZ #13726]
62125         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
62126         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
62127         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
62128         * stdio-common/tst-long-dbl-fphex.c: New file.
62130 2012-03-06  David S. Miller  <davem@davemloft.net>
62132         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62133         (set_obp_int): New function.
62134         (get_obp_int): New function.
62135         (__get_clockfreq_via_dev_openprom): Likewise.
62136         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
62137         Avoid unused variable warnings on 'val' and use builtin_expect.
62138         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
62139         __builtin_expect.
62140         (INLINE_CLONE_SYSCALL): Likewise.
62142 2012-03-05  David S. Miller  <davem@davemloft.net>
62144         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62146 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
62148         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62150         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
62151         only for |x| >= 40.
62152         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
62154 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
62156         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
62157         Replace gettimeofday with __vdso_gettimeofday.
62159         * sysdeps/unix/sysv/linux/x86_64/init-first.c
62160         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
62161         __vdso_clock_gettime and __vdso_getcpu.
62163         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
62164         time with __vdso_time.
62166 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
62168         * manual/lang.texi (size_t): Note types to which size_t may be
62169         equivalent with the GNU C Library, but do not describe when
62170         differences between them are significant.
62172 2012-03-05  Andreas Jaeger  <aj@suse.de>
62174         * sysdeps/i386/fpu/libm-test-ulps: Update.
62176 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
62178         [BZ #3976]
62179         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
62180         (__ieee754_pow): Save and restore rounding mode and use
62181         round-to-nearest for main computations.
62182         * math/libm-test.inc (pow_test_tonearest): New function.
62183         (pow_test_towardzero): Likewise.
62184         (pow_test_downward): Likewise.
62185         (pow_test_upward): Likewise.
62186         (main): Call the new functions.
62187         * sysdeps/i386/fpu/libm-test-ulps: Update.
62188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62190         [BZ #3976]
62191         * math/libm-test.inc (cosh_test_tonearest): New function.
62192         (cosh_test_towardzero): Likewise.
62193         (cosh_test_downward): Likewise.
62194         (cosh_test_upward): Likewise.
62195         (sinh_test_tonearest): Likewise.
62196         (sinh_test_towardzero): Likewise.
62197         (sinh_test_downward): Likewise.
62198         (sinh_test_upward): Likewise.
62199         (main): Call the new functions.
62200         * sysdeps/i386/fpu/libm-test-ulps: Update.
62201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62203 2012-03-05  Tom de Vries  <tom@codesourcery.com>
62205         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
62206         default stack guard is set in last bytes.
62207         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
62209 2012-03-05  Kees Cook  <keescook@chromium.org>
62211         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
62213         [BZ #13656]
62214         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
62215         possibly allocate from heap instead of stack.
62216         * stdio-common/bug-vfprintf-nargs.c: New file.
62217         * stdio-common/Makefile (tests): Add nargs overflow test.
62219 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
62221         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62223 2012-03-03  Marek Polacek  <polacek@redhat.com>
62225         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
62226         * math/math_private.h: Likewise.
62227         * stdlib/tst-strtod.c: Likewise.
62228         * sysdeps/i386/i486/bits/atomic.h: Likewise.
62229         * sysdeps/x86_64/bits/atomic.h: Likewise.
62231 2012-03-02  David S. Miller  <davem@davemloft.net>
62233         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
62234         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
62235         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
62236         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
62237         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
62238         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
62239         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
62240         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
62242 2012-03-02  Roland McGrath  <roland@hack.frob.com>
62244         [BZ #13792]
62245         * manual/examples/README: New file, says the example source files
62246         can be used under GPL>=2.
62247         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
62248         line containing just "*/".
62249         * manual/examples/add.c: Add copyright header (GPL>=2).
62250         * manual/examples/argp-ex1.c: Likewise.
62251         * manual/examples/argp-ex2.c: Likewise.
62252         * manual/examples/argp-ex3.c: Likewise.
62253         * manual/examples/argp-ex4.c: Likewise.
62254         * manual/examples/atexit.c: Likewise.
62255         * manual/examples/db.c: Likewise.
62256         * manual/examples/dir.c: Likewise.
62257         * manual/examples/dir2.c: Likewise.
62258         * manual/examples/execinfo.c: Likewise.
62259         * manual/examples/filecli.c: Likewise.
62260         * manual/examples/filesrv.c: Likewise.
62261         * manual/examples/fmtmsgexpl.c: Likewise.
62262         * manual/examples/genpass.c: Likewise.
62263         * manual/examples/inetcli.c: Likewise.
62264         * manual/examples/inetsrv.c: Likewise.
62265         * manual/examples/isockad.c: Likewise.
62266         * manual/examples/longopt.c: Likewise.
62267         * manual/examples/memopen.c: Likewise.
62268         * manual/examples/memstrm.c: Likewise.
62269         * manual/examples/mkfsock.c: Likewise.
62270         * manual/examples/mkisock.c: Likewise.
62271         * manual/examples/mygetpass.c: Likewise.
62272         * manual/examples/pipe.c: Likewise.
62273         * manual/examples/popen.c: Likewise.
62274         * manual/examples/rprintf.c: Likewise.
62275         * manual/examples/search.c: Likewise.
62276         * manual/examples/select.c: Likewise.
62277         * manual/examples/setjmp.c: Likewise.
62278         * manual/examples/sigh1.c: Likewise.
62279         * manual/examples/sigusr.c: Likewise.
62280         * manual/examples/stpcpy.c: Likewise.
62281         * manual/examples/strdupa.c: Likewise.
62282         * manual/examples/strftim.c: Likewise.
62283         * manual/examples/strncat.c: Likewise.
62284         * manual/examples/subopt.c: Likewise.
62285         * manual/examples/swapcontext.c: Likewise.
62286         * manual/examples/termios.c: Likewise.
62287         * manual/examples/testopt.c: Likewise.
62288         * manual/examples/testpass.c: Likewise.
62289         * manual/examples/timeval_subtract.c: Likewise.
62291         [BZ #13792]
62292         * manual/time.texi (Elapsed Time): Move timeval_subtract example
62293         function to ...
62294         * manual/timeval_subtract.c.texi: ... here, new file.
62296 2012-03-02  David S. Miller  <davem@davemloft.net>
62298         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
62300 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
62302         [BZ #3976]
62303         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
62304         (__sin): Save and restore rounding mode and use round-to-nearest
62305         for all computations.
62306         (__cos): Save and restore rounding mode and use round-to-nearest
62307         for all computations.
62308         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
62309         <fenv.h>.
62310         (tan): Save and restore rounding mode and use round-to-nearest for
62311         all computations.
62312         * math/libm-test.inc (cos_test_tonearest): New function.
62313         (cos_test_towardzero): Likewise.
62314         (cos_test_downward): Likewise.
62315         (cos_test_upward): Likewise.
62316         (sin_test_tonearest): Likewise.
62317         (sin_test_towardzero): Likewise.
62318         (sin_test_downward): Likewise.
62319         (sin_test_upward): Likewise.
62320         (tan_test_tonearest): Likewise.
62321         (tan_test_towardzero): Likewise.
62322         (tan_test_downward): Likewise.
62323         (tan_test_upward): Likewise.
62324         (main): Call the new functions.
62325         * sysdeps/i386/fpu/libm-test-ulps: Update.
62326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62328         [BZ #10135]
62329         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
62330         small n, then large n, before computing and testing k+n.
62331         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
62332         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
62333         Likewise.
62334         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
62335         Likewise.
62336         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
62337         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
62338         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
62339         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
62340         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
62341         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
62342         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
62343         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
62344         * math/libm-test.inc (scalbn_test): Add more tests.
62345         (scalbln_test): Likewise.
62347         * manual/filesys.texi (mode_t): Describe constraints on size and
62348         signedness, not exact equivalence to a particular type.
62349         (ino_t): Likewise.
62350         (ino64_t): Likewise.
62351         (dev_t): Likewise.
62352         (nlink_t): Likewise.
62353         (blkcnt_t): Likewise.
62354         (blkcnt64_t): Likewise.
62355         * manual/llio.texi (off_t): Likewise.
62357         [BZ #3976]
62358         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
62359         (__ieee754_exp): Save and restore rounding mode and use
62360         round-to-nearest for all computations.
62361         * math/libm-test.inc (exp_test_tonearest): New function.
62362         (exp_test_towardzero): Likewise.
62363         (exp_test_downward): Likewise.
62364         (exp_test_upward): Likewise.
62365         (main): Call the new functions.
62366         * sysdeps/i386/fpu/libm-test-ulps: Update.
62367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62369 2012-03-01  Chris Demetriou  <cgd@google.com>
62371         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
62372         have predictable order.
62374 2012-03-01  David S. Miller  <davem@davemloft.net>
62376         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
62378         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
62379         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
62380         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
62381         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
62383         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
62384         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
62385         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
62386         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
62387         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
62388         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
62389         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
62390         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
62391         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
62393         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62395         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
62396         * sysdeps/sparc/fpu/libm-test-ulps: to here.
62397         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
62399         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
62400         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
62401         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
62402         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
62403         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
62404         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
62405         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
62406         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
62407         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
62408         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
62409         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
62410         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
62411         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
62412         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
62413         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
62414         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62415         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
62416         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
62417         * sysdeps/sparc/elf/configure: Regenerated.
62419 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
62421         * configure.in (AS, LD): Require binutils 2.20 or later.
62422         * configure: Regenerated.
62423         * manual/install.texi (Tools for Compilation): Give binutils 2.20
62424         as required minimum version.
62425         * INSTALL: Regenerated.
62427         [BZ #2541]
62428         [BZ #4108]
62429         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
62430         before squaring exponent.
62431         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
62432         bottom long double and 27 bits of top long double before squaring
62433         exponent.
62434         * math/libm-test.inc (erfc_test): Add more tests.
62435         * sysdeps/i386/fpu/libm-test-ulps: Update.
62436         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62439 2012-03-01  Kai Tietz  <ktietz@redhat.com>
62441         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
62442         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
62443         containing bit-fields.
62444         * soft-fp/extended.h (_FP_UNION_E): Likewise.
62445         * soft-fp/single.h (_FP_UNION_S): Likewise.
62446         * soft-fp/double.h (_FP_UNION_D): Likewise.
62448 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
62450         [BZ #13786]
62451         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
62452         not include ../strcmp.S.
62453         [USE_AS_STRNCASECMP_L]: Likewise.
62454         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
62455         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
62456         * sysdeps/i386/i686/multiarch/strncase_l-c.c
62457         (__strncasecmp_l_ia32): Define as alias to
62458         __strncasecmp_l_nonascii.
62460         [BZ #5794]
62461         * math/libm-test.inc (expm1_test): Add test for bug 5794.
62462         * sysdeps/i386/fpu/libm-test-ulps: Update.
62463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62465         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
62466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62468 2012-02-29  Jeff Law  <law@redhat.com>
62470         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
62471         out of bounds read.
62473 2012-02-29  Marek Polacek  <polacek@redhat.com>
62475         [BZ #13706]
62476         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
62477         * elf/Makefile: Add rules to run tst-unused-dep.out.
62479 2012-02-28  David S. Miller  <davem@davemloft.net>
62481         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
62482         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
62483         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
62484         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
62485         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
62486         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
62488 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
62490         * math/libm-test.inc (llround_test): Move one test from
62491         lround_test.  Use TEST_f_L in moved test.
62492         (lround_test): Move misplaced test to llround_test.  Add testcase
62493         from bug 2561.
62495 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
62497         * sysdeps/x86_64/fpu/e_expf.S: New file.
62498         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
62500 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
62502         [BZ #13637]
62503         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
62504         of remain_len that may cause incomplete multi-byte character and
62505         false match.
62506         * posix/bug-regex33.c: New file.
62507         * posix/Makefile (tests): Add bug-regex33.
62509 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
62511         * manual/macros.texi: New file.
62512         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
62513         * manual/libc.texinfo: Include macros.texi.
62514         * manual/creatute.texi: Likewise.
62515         * manual/install.texi: Likewise.
62516         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
62517         @glibcadj{} in references to the GNU C Library.
62518         * manual/charset.texi: Likewise.
62519         * manual/conf.texi: Likewise.
62520         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
62521         when not using those macros.
62522         * manual/creature.texi: Likewise.
62523         * manual/crypt.texi: Likewise.
62524         * manual/errno.texi: Likewise.
62525         * manual/filesys.texi: Likewise.
62526         * manual/header.texi: Likewise.
62527         * manual/install.texi: Likewise.
62528         * manual/intro.texi: Likewise.
62529         * manual/io.texi: Likewise.
62530         * manual/job.texi: Likewise.
62531         * manual/lang.texi: Likewise.
62532         * manual/libc.texiinfo: Likewise.
62533         * manual/llio.texi: Likewise.
62534         * manual/locale.texi: Likewise.
62535         * manual/maint.texi: Likewise.
62536         * manual/math.texi: Likewise.
62537         * manual/memory.texi: Likewise.
62538         * manual/message.texi: Likewise.
62539         * manual/nss.texi: Likewise.
62540         * manual/pattern.texi: Likewise.
62541         * manual/process.texi: Likewise.
62542         * manual/resource.texi: Likewise.
62543         * manual/search.texi: Likewise.
62544         * manual/setjmp.texi: Likewise.
62545         * manual/signal.texi: Likewise.
62546         * manual/socket.texi: Likewise.
62547         * manual/startup.texi: Likewise.
62548         * manual/stdio.texi: Likewise.
62549         * manual/string.texi: Likewise.
62550         * manual/sysinfo.texi: Likewise.
62551         * manual/syslog.texi: Likewise.
62552         * manual/terminal.texi: Likewise.
62553         * manual/time.texi: Likewise.
62554         * manual/users.texi: Likewise.
62555         * INSTALL: Regenerated.
62556         * NOTES: Regenerated.
62557         * sysdeps/gnu/errlist.c: Regenerated.
62559 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
62561         * include/dirent.h: Include <dirstream.h> before
62562         <dirent/dirent.h>.
62564 2012-02-28  David S. Miller  <davem@davemloft.net>
62566         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
62567         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
62568         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
62569         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
62571 2012-02-27  David S. Miller  <davem@davemloft.net>
62573         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
62574         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
62575         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
62576         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
62578         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
62579         frame pointer instead of stack pointer relative arg slot.
62580         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
62581         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
62582         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
62584 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
62586         [BZ #3992]
62587         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
62589 2012-02-27  David S. Miller  <davem@davemloft.net>
62591         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
62592         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
62593         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
62594         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
62595         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
62596         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
62597         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
62598         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
62600 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
62602         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
62603         later.  Allow versions 5-9.
62604         * configure: Regenerated.
62605         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
62606         required minimum version and 4.6 as recommended version.  Do not
62607         mention bugs in GCC 2.7 and 2.8.
62608         * INSTALL: Regenerated.
62610 2012-02-27  David S. Miller  <davem@davemloft.net>
62612         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
62613         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
62614         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
62615         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
62616         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
62617         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
62618         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
62619         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
62621         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
62622         manipulate bits before adding and subtracting TWO112[sx].
62623         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
62625 2012-02-27  Roland McGrath  <roland@hack.frob.com>
62627         [BZ #13775]
62628         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
62629         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
62630         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
62631         being in POSIX, because they are in 1003.1-2008.
62633         * rt/tst-aio.c: Include <fcntl.h>.
62634         * rt/tst-aio7.c: Likewise.
62635         * rt/tst-aio64.c: Likewise.
62637         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
62639 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
62641         * manual/install.texi (--with-headers): Describe headers as
62642         interface headers, not private headers.
62643         (Specific advice for GNU/Linux systems): Describe use of headers
62644         from "make headers_install", not private headers from older
62645         kernels.
62646         * INSTALL: Regenerated.
62647         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
62648         Change to 2.6.19.
62649         * sysdeps/unix/sysv/linux/configure: Regenerated.
62651         * manual/llio.texi (fclean): Remove documentation.
62653         * manual/Makefile (libc-texi-generated): New variable.  Include
62654         version.texi.
62655         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
62656         $(libc-texi-generated), not duplicated list of files.
62657         (version.texi, stamp-version): New rules.
62658         (realclean): Remove $(libc-texi-generated), not individual files
62659         from that list.  Do not remove dir-add.texinfo.
62660         * manual/libc.texinfo: Comment out uses of edition numbers and
62661         references to printed manual.  Remove last-updated dates.
62662         (EDITION): Comment out.
62663         (ISBN): Likewise.
62664         (VERSION, UPDATED): Remove.
62665         (version.texi): Include.
62667 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
62669         * sysdeps/posix/spawni.c: Include <signal.h>.
62670         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
62671         * sysdeps/pthread/aio_fsync.c: Likewise.
62673 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
62675         * conform/Makefile (tests): Run only when not cross-compiling and
62676         when fast-check is not defined.
62678         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
62679         * conform/data/limits.h-data: Fixes for POSIX2008.
62680         * conform/run-conformtest.sh: Run all tests.
62681         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
62682         headers.
62683         * include/bits/dlfcn.h: Likewise.
62684         * include/langinfo.h: Likewise.
62685         * include/monetary.h: Likewise.
62686         * include/sys/poll.h: Likewise.
62688         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
62689         for __USE_GNU.
62690         * posix/spawn.h: Define __need_sigset_t.
62691         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
62692         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
62693         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
62694         to get sigevent_t only.
62695         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
62696         only for __USE_GNU.
62697         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62698         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
62699         process_vm_writev only for __USE_GNU.
62700         * termios/termios.h: Declare tcgetsid also for POSIX2008.
62702         * conform/Makefile: For now ignore errors from run-conformtest.
62703         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
62704         POSIX to avoid namespace pollution.  Don't prepend headers.
62705         * conform/data/aio.h-data: Fixes for POSIX testing.
62706         * conform/data/fcntl.h-data: Likewise.
62707         * conform/data/glob.h-data: Likewise.
62708         * conform/data/grp.h-data: Likewise.
62709         * conform/data/pthread.h-data: Likewise.
62710         * conform/data/pwd.h-data: Likewise.
62711         * conform/data/signal.h-data: Likewise.
62712         * conform/data/spawn.h-data: Likewise.
62713         * conform/data/stdio.h-data: Likewise.
62714         * conform/data/stdlib.h-data: Likewise.
62715         * conform/data/stropts.h-data: Likewise.
62716         * conform/data/sys/mman.h-data: Likewise.
62717         * conform/data/sys/stat.h-data: Likewise.
62718         * conform/data/sys/types.h-data: Likewise.
62719         * conform/data/sys/wait.h-data: Likewise.
62720         * conform/data/time.h-data: Likewise.
62721         * conform/data/unistd.h-data: Likewise.
62722         * conform/data/utime.h-data: Likewise.
62724         * io/sys/stat.h: fchmod was always in POSIX.
62725         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
62726         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
62727         * rt/aio.h: Define __need_timespec before including <time.h>.
62728         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
62729         struct.  Add forward declaration of pthread_attr_t and use it in
62730         sigevent.
62731         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
62732         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
62733         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
62734         always remove CLK_TCK definition.
62736 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
62738         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
62740 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
62742         * conform/run-conformtest.sh: New file.
62743         * conform/Makefile: Run run-conformtest for tests.
62744         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
62745         support.
62747         * conform/data/uchar.h-data: New file.
62748         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
62749         * conform/data/arpa/inet.h-data: Likewise.
62750         * conform/data/assert.h-data: Likewise.
62751         * conform/data/complex.h-data: Likewise.
62752         * conform/data/cpio.h-data: Likewise.
62753         * conform/data/ctype.h-data: Likewise.
62754         * conform/data/dirent.h-data: Likewise.
62755         * conform/data/dlfcn.h-data: Likewise.
62756         * conform/data/errno.h-data: Likewise.
62757         * conform/data/fcntl.h-data: Likewise.
62758         * conform/data/float.h-data: Likewise.
62759         * conform/data/fmtmsg.h-data: Likewise.
62760         * conform/data/fnmatch.h-data: Likewise.
62761         * conform/data/ftw.h-data: Likewise.
62762         * conform/data/glob.h-data: Likewise.
62763         * conform/data/grp.h-data: Likewise.
62764         * conform/data/iconv.h-data: Likewise.
62765         * conform/data/inttypes.h-data: Likewise.
62766         * conform/data/langinfo.h-data: Likewise.
62767         * conform/data/libgen.h-data: Likewise.
62768         * conform/data/limits.h-data: Likewise.
62769         * conform/data/locale.h-data: Likewise.
62770         * conform/data/math.h-data: Likewise.
62771         * conform/data/monetary.h-data: Likewise.
62772         * conform/data/mqueue.h-data: Likewise.
62773         * conform/data/ndbm.h-data: Likewise.
62774         * conform/data/net/if.h-data: Likewise.
62775         * conform/data/netdb.h-data: Likewise.
62776         * conform/data/netinet/in.h-data: Likewise.
62777         * conform/data/nl_types.h-data: Likewise.
62778         * conform/data/poll.h-data: Likewise.
62779         * conform/data/pthread.h-data: Likewise.
62780         * conform/data/pwd.h-data: Likewise.
62781         * conform/data/regex.h-data: Likewise.
62782         * conform/data/sched.h-data: Likewise.
62783         * conform/data/search.h-data: Likewise.
62784         * conform/data/semaphore.h-data: Likewise.
62785         * conform/data/setjmp.h-data: Likewise.
62786         * conform/data/signal.h-data: Likewise.
62787         * conform/data/spawn.h-data: Likewise.
62788         * conform/data/stdarg.h-data: Likewise.
62789         * conform/data/stdio.h-data: Likewise.
62790         * conform/data/stdlib.h-data: Likewise.
62791         * conform/data/string.h-data: Likewise.
62792         * conform/data/strings.h-data: Likewise.
62793         * conform/data/stropts.h-data: Likewise.
62794         * conform/data/sys/ipc.h-data: Likewise.
62795         * conform/data/sys/mman.h-data: Likewise.
62796         * conform/data/sys/msg.h-data: Likewise.
62797         * conform/data/sys/resource.h-data: Likewise.
62798         * conform/data/sys/select.h-data: Likewise.
62799         * conform/data/sys/sem.h-data: Likewise.
62800         * conform/data/sys/shm.h-data: Likewise.
62801         * conform/data/sys/socket.h-data: Likewise.
62802         * conform/data/sys/stat.h-data: Likewise.
62803         * conform/data/sys/statvfs.h-data: Likewise.
62804         * conform/data/sys/time.h-data: Likewise.
62805         * conform/data/sys/timeb.h-data: Likewise.
62806         * conform/data/sys/times.h-data: Likewise.
62807         * conform/data/sys/types.h-data: Likewise.
62808         * conform/data/sys/uio.h-data: Likewise.
62809         * conform/data/sys/un.h-data: Likewise.
62810         * conform/data/sys/utsname.h-data: Likewise.
62811         * conform/data/sys/wait.h-data: Likewise.
62812         * conform/data/syslog.h-data: Likewise.
62813         * conform/data/tar.h-data: Likewise.
62814         * conform/data/termios.h-data: Likewise.
62815         * conform/data/utime.h-data: Likewise.
62816         * conform/data/utmpx.h-data: Likewise.
62817         * conform/data/varargs.h-data: Likewise.
62818         * conform/data/wchar.h-data: Likewise.
62819         * conform/data/wctype.h-data: Likewise.
62820         * conform/data/wordexp.h-data: Likewise.
62822         * include/stropts.h: New file.
62823         * include/uchar.h: New file.
62824         * include/aio.h: Changes to allow conformtest.pl to use the headers.
62825         * include/assert.h: Likewise.
62826         * include/ctype.h: Likewise.
62827         * include/dirent.h: Likewise.
62828         * include/dlfcn.h: Likewise.
62829         * include/fcntl.h: Likewise.
62830         * include/fnmatch.h: Likewise.
62831         * include/glob.h: Likewise.
62832         * include/grp.h: Likewise.
62833         * include/libio.h: Likewise.
62834         * include/locale.h: Likewise.
62835         * include/math.h: Likewise.
62836         * include/net/if.h: Likewise.
62837         * include/netdb.h: Likewise.
62838         * include/netinet/in.h: Likewise.
62839         * include/pthread.h: Likewise.
62840         * include/pwd.h: Likewise.
62841         * include/regex.h: Likewise.
62842         * include/sched.h: Likewise.
62843         * include/search.h: Likewise.
62844         * include/setjmp.h: Likewise.
62845         * include/signal.h: Likewise.
62846         * include/stdio.h: Likewise.
62847         * include/stdlib.h: Likewise.
62848         * include/string.h: Likewise.
62849         * include/sys/cdefs.h: Likewise.
62850         * include/sys/mman.h: Likewise.
62851         * include/sys/msg.h: Likewise.
62852         * include/sys/resource.h: Likewise.
62853         * include/sys/select.h: Likewise.
62854         * include/sys/socket.h: Likewise.
62855         * include/sys/stat.h: Likewise.
62856         * include/sys/statvfs.h: Likewise.
62857         * include/sys/time.h: Likewise.
62858         * include/sys/times.h: Likewise.
62859         * include/sys/uio.h: Likewise.
62860         * include/sys/utsname.h: Likewise.
62861         * include/sys/wait.h: Likewise.
62862         * include/termios.h: Likewise.
62863         * include/time.h: Likewise.
62864         * include/ulimit.h: Likewise.
62865         * include/unistd.h: Likewise.
62866         * include/utime.h: Likewise.
62867         * include/wchar.h: Likewise.
62868         * include/wctype.h: Likewise.
62869         * include/wordexp.h: Likewise.
62871         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
62873         * time/time.h: TIME_UTC must be a macro.
62874         Make timespec_get available for ISO C11 only as well.
62876 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
62878         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
62879         Reported by Peng Haitao <penght@cn.fujitsu.com>.
62881 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
62883         * configure.in: Use -o not -a in test for unsupported multi-arch.
62885 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
62887         * manual/texinfo.tex: Update to version 2012-01-19.16.
62889 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
62891         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
62893 2012-02-24  Roland McGrath  <roland@hack.frob.com>
62895         [BZ #13738]
62896         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
62897         * manual/fdl-1.3.texi: New file.
62898         * manual/fdl-1.1.texi: File removed.
62900         [BZ #13738]
62901         * manual/libc.texinfo (FDL_VERSION): New @set.
62902         Use it for mention of FDL in cover text.
62903         (Documentation License): Use it in @include file name.
62905 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62906             Roland McGrath  <roland@hack.frob.com>
62908         [BZ #5461]
62909         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
62910         (not LONG_LONG_MAX and LONG_LONG_MIN.
62911         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
62912         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
62913         name.
62914         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
62916 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62918         [BZ #2547]
62919         [BZ #11365]
62920         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
62921         manipulate bits before adding and subtracting TWO23[sx].
62922         * math/libm-test.inc (nearbyint_test): Add more tests.
62924 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62926         [BZ #2548]
62927         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
62928         bits before adding and subtracting TWO23[sx].
62929         * math/libm-test.inc (rint_test): Add more tests.
62930         (rint_test_tonearest): Likewise.
62931         (rint_test_towardzero): Likewise.
62932         (rint_test_downward): Likewise.
62933         (rint_test_upward: Likewise.
62935 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62937         [BZ #10110]
62938         * include/stdc-predef.h: New file.  Extracted from features.h.
62939         * include/features.h: Include stdc-predef.h.
62940         * Makefile (headers): Add stdc-predef.h.
62941         * CONFORMANCE (Compiler limitations): Update.
62943 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62945         * manual/libc.texinfo (VERSION, UPDATED): Revert.
62947 2012-02-21  David S. Miller  <davem@davemloft.net>
62949         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
62950         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
62952 2012-02-20  David S. Miller  <davem@davemloft.net>
62954         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
62955         using a normal save/restore sequence, rather than allocating a
62956         dummy stack frame just to store a frame pointer and restore.
62957         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
62959 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
62961         * manual/install.texi: Fix stray word in line-wrapped comment.
62963 2012-02-20  David S. Miller  <davem@davemloft.net>
62965         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
62966         both binutils and gcc support GOTDATA.
62968         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
62969         "rd %pc" in the PIC register setup sequences.
62971         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
62972         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
62973         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
62974         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
62975         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
62976         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
62977         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62978         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
62979         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
62980         (SYSCALL_ERROR_HANDLER): Likewise.
62981         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
62982         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
62983         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
62984         (SYSCALL_ERROR_HANDLER): Likewise.
62986         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
62987         (HAVE_GCC_GOTDATA): New.
62988         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
62989         relocation support in both binutils and gcc.
62990         * sysdeps/sparc/elf/configure: Regenerate.
62992         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
62993         * sysdeps/sparc/sparc32/elf/configure: Delete.
62994         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
62995         * sysdeps/sparc/sparc64/elf/configure: Delete.
62996         * sysdeps/sparc/elf/configure.in: New file.
62997         * sysdeps/sparc/elf/configure: Generate.
62999         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
63000         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
63001         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
63002         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
63003         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
63005 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
63007         * manual/install.texi: Do not mention specific glibc version
63008         numbers.
63009         * manual/libc.texinfo (VERSION, UPDATED): Update.
63010         (@copying): Use @copyright{} and range of years.
63012 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
63014         [BZ #13695]
63015         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
63016         [crti.S not in sysdirs] (generated): Do not append.
63017         [crti.S not in sysdirs] (omit-deps): Likewise.
63018         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
63019         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
63020         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
63021         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
63022         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
63023         Likewise.
63024         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
63025         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
63026         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
63027         * csu/defs.awk: Remove file.
63028         * sysdeps/generic/initfini.c: Likewise.
63029         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
63030         variable.
63031         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
63032         Likewise.
63034 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
63036         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
63037         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
63038         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
63039         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
63040         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
63041         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
63042         <bits/epoll.h>.
63043         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
63044         (__EPOLL_PACKED): Define to empty if not defined by
63045         <bits/epoll.h>.
63046         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
63047         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63048         bits/epoll.h.
63050 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
63052         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
63053         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
63054         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
63055         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
63056         <bits/timerfd.h>.
63057         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
63058         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63059         bits/timerfd.h.
63061 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
63063         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
63064         in C locale.
63065         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63066         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
63067         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
63068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63070 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
63072         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
63073         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
63075 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
63077         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
63078         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
63079         defined.
63080         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
63081         Likewise.
63082         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
63083         entry for 2.16.
63085 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
63087         * math/w_acos.c: Use non-signaling floating-point comparisons.
63088         * math/w_acosf.c: Likewise.
63089         * math/w_acosh.c: Likewise.
63090         * math/w_acoshf.c: Likewise.
63091         * math/w_acoshl.c: Likewise.
63092         * math/w_acosl.c: Likewise.
63093         * math/w_asin.c: Likewise.
63094         * math/w_asinf.c: Likewise.
63095         * math/w_asinl.c: Likewise.
63096         * math/w_atanh.c: Likewise.
63097         * math/w_atanhf.c: Likewise.
63098         * math/w_atanhl.c: Likewise.
63099         * math/w_exp2.c: Likewise.
63100         * math/w_exp2f.c: Likewise.
63101         * math/w_exp2l.c: Likewise.
63102         * math/w_j0.c: Likewise.
63103         * math/w_j0f.c: Likewise.
63104         * math/w_j0l.c: Likewise.
63105         * math/w_j1.c: Likewise.
63106         * math/w_j1f.c: Likewise.
63107         * math/w_j1l.c: Likewise.
63108         * math/w_jn.c: Likewise.
63109         * math/w_jnf.c: Likewise.
63110         * math/w_log.c: Likewise.
63111         * math/w_log10.c: Likewise.
63112         * math/w_log10f.c: Likewise.
63113         * math/w_log10l.c: Likewise.
63114         * math/w_log2.c: Likewise.
63115         * math/w_log2f.c: Likewise.
63116         * math/w_log2l.c: Likewise.
63117         * math/w_logf.c: Likewise.
63118         * math/w_logl.c: Likewise.
63119         * math/w_sqrt.c: Likewise.
63120         * math/w_sqrtf.c: Likewise.
63121         * math/w_sqrtl.c: Likewise.
63122         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
63123         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
63124         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63125         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
63126         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
63128 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
63130         [BZ #9739]
63131         * manual/string.texi (strnlen): Use correct parameter name in
63132         equivalent expression.
63134 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
63136         [BZ #11174]
63137         * manual/users.texi (seteuid): Consistently use neweuid for
63138         argument name.
63140 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
63142         [BZ #13704]
63143         * manual/nss.texi (Services in the NSS configuration): Correct
63144         list of services in example configuration file.
63146 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
63148         [BZ #11322]
63149         * manual/arith.texi: Remove statements about negative zero
63150         behaving identically to zero.
63152 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
63154         [BZ #5993]
63155         * manual/install.texi: Do not document upgrading from libc5.
63157 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
63159         [BZ #4596]
63160         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
63162 2012-02-18  David S. Miller  <davem@davemloft.net>
63164         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
63165         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
63166         %o7 across the call.
63167         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
63168         instead.
63169         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
63170         SETUP_PIC_REG_LEAF.
63171         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63172         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
63173         * sysdeps/sparc/crtn.S: Likewise.
63175 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
63177         * aout/Makefile: Remove.
63179 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
63181         [BZ #13058]
63182         * manual/examples/argp-ex1.c (main): Format definition in GNU
63183         style.
63184         * manual/examples/argp-ex2.c (main): Likewise.
63185         * manual/examples/argp-ex3.c (main): Likewise.
63186         * manual/examples/argp-ex4.c (main): Likewise.
63187         * manual/examples/longopt.c (main): Use new-style prototype
63188         definition.
63189         * manual/examples/strncat.c (main): Specify return type and use
63190         (void) for arguments.
63191         * manual/examples/subopt.c (main): Use char **argv argument.
63193 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63195         [BZ #5077]
63196         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
63197         rounding modes.
63199 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
63201         [BZ #6907]
63202         * manual/string.texi (strchr): Change when strchrnul is
63203         recommended.
63205 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
63207         [BZ #174]
63208         * manual/locale.texi (setlocale): Document LOCPATH.
63210 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63212         [BZ #10210]
63213         * manual/process.texi (execle): Move @dots{} before last argument.
63215 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
63217         [BZ #12047]
63218         * manual/charset.texi (Generic Charset Conversion): Fix typo
63219         (LC_TYPE -> LC_CTYPE).
63221 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
63223         [BZ #5805]
63224         * manual/arith.texi (scalbn): Use @var{} on parameter names.
63225         (scalbnf): Likewise.
63226         (scalbnl): Likewise.
63227         (scalbln): Likewise.
63228         (scalblnf): Likewise.
63229         (scalblnl): Likewise.
63230         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
63231         (vwarnx): Likewise.
63232         (verr): Likewise.
63233         (verrx): Likewise.
63234         * manual/filesys.texi (telldir): Use braces around return type.
63235         * manual/llio.texi (mmap): Add space after comma.
63236         (mmap64): Likewise.
63237         * manual/math.texi (jn): Use @var{} on parameter names.
63238         (jnf): Likewise.
63239         (jnl): Likewise.
63240         (yn): Likewise.
63241         (ynf): Likewise.
63242         (ynl): Likewise.
63243         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
63244         line.
63245         * manual/resource.texi (ulimit): Use @dots{} instead of literal
63246         "...".
63247         (sched_get_priority_min): Remove semicolon on @deftypefun line.
63248         (sched_get_priority_max): Likewise.
63249         * manual/signal.texi (sigvec): Add space after comma.
63250         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
63251         names.
63252         (if_indextoname): Likewise.
63253         (if_freenameindex): Likewise.
63254         (sendto): Use ',' instead of '.' in prototype.
63255         * manual/startup.texi (syscall): Use @dots{} instead of literal
63256         "...".
63257         * manual/stdio.texi (__fpending): Separate initial words of
63258         paragraph from @deftypefun line.
63259         * manual/syslog.texi (syslog): Use @dots{} instead of literal
63260         "...".
63261         (vsyslog): Use @var{} on parameter names.
63262         * manual/terminal.texi (stty): Use @var{} on parameter names.
63263         * manual/users.texi (getutmp): Use @var{} on parameter names.
63264         (getutmpx): Likewise.
63266 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63268         [BZ #6884]
63269         * manual/stdio.texi (fopen): Fix typos in description of
63270         ",ccs=STRING".
63272 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
63274         [BZ #4026]
63275         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
63276         get clock_id definition.
63278 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
63280         [BZ #4822]
63281         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
63282         (madvise): Cast every argument to void on its own.
63284 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63286         [BZ #9902]
63287         * manual/startup.texi (Exit Status): Fix typo.
63289 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63291         [BZ #10140]
63292         * manual/examples/argp-ex1.c: Include <stdlib.h>.
63293         * manual/examples/argp-ex2.c: Likewise.
63294         * manual/examples/argp-ex3.c: Likewise.
63296 2012-02-16  Richard Henderson  <rth@redhat.com>
63298         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
63299         * sysdeps/s390/s390-32/initfini.c: Remove.
63300         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
63301         * sysdeps/s390/s390-64/initfini.c: Remove.
63303 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63305         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
63306         compiler output for sysdeps/generic/initfini.c.
63307         * sysdeps/sh/elf/initfini.c: Remove file.
63309 2012-02-16  David S. Miller  <davem@davemloft.net>
63311         [BZ #11494]
63312         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
63314         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
63315         * sysdeps/sparc/crti.S: New file.
63316         * sysdeps/sparc/crtn.S: New file.
63317         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
63318         * sysdeps/sparc/sparc64/Makefile: Likewise.
63320 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
63322         [BZ #3335]
63323         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
63325 2012-02-15  Roland McGrath  <roland@hack.frob.com>
63327         [BZ #4822]
63328         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
63330         * mach/devstream.c (cookie_io_functions_t): Macro removed.
63331         (write, read, close): Likewise.
63332         Patch by Aurelien Jarno <aurelien@aurel32.net>.
63334 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
63336         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
63337         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
63338         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
63339         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
63340         <bits/signalfd.h>.
63341         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
63342         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63343         bits/signalfd.h.
63345 2012-02-14  Marek Polacek  <polacek@redhat.com>
63347         * sysdeps/x86_64/crti.S: New file.
63348         * sysdeps/x86_64/crtn.S: New file.
63349         * sysdeps/x86_64/elf/initfini.c: Remove file.
63351 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
63353         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
63354         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
63355         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
63356         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
63357         <bits/inotify.h>.
63358         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
63359         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63360         bits/inotify.h.
63362 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
63364         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
63365         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
63366         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
63367         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
63368         <bits/eventfd.h>.
63369         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
63370         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63371         bits/eventfd.h.
63373 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
63375         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
63376         __feraiseexcept instead of feraiseexcept.
63378         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
63379         nanosleep invocations.
63380         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
63381         strings, and add error checking for a nanosleep invocations.
63383 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
63385         Replace FSF snail mail address with URLs, as per GNU coding standards.
63386         Most of the snail mail addresses were wrong anyway, and omitting
63387         them makes the source code easier to maintain.  Almost all of the
63388         changes are to license notices and to locale LC_IDENTIFICATION
63389         addresses, except for this one:
63390         * manual/libc.texinfo: In "Published by", give the FSF's URL,
63391         not its snail mail address.
63393 2012-02-09  Richard Henderson  <rth@twiddle.net>
63395         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
63396         of kernel-features.h.
63398         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
63400 2012-02-08  Marek Polacek  <polacek@redhat.com>
63402         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
63403         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
63404         * sysdeps/gnu/_G_config.h: Likewise.
63405         * sysdeps/generic/_G_config.h: Likewise.
63407 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
63409         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
63410         tests.
63411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63413         * sysdeps/powerpc/powerpc32/crti.S: New file.
63414         * sysdeps/powerpc/powerpc32/crtn.S: New file.
63415         * sysdeps/powerpc/powerpc64/crti.S: New file.
63416         * sysdeps/powerpc/powerpc64/crtn.S: New file.
63418         * Makeconfig (have-initfini): Don't set.
63419         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
63420         * configure.in (nopic_initfini): Don't substitute.
63421         * config.h.in (HAVE_INITFINI): Don't #undef.
63422         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
63423         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
63425 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
63427         Support crti.S and crtn.S provided directly by architectures.
63428         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
63429         [crti.S in sysdirs] (omit-deps): Likewise.
63430         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
63431         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
63432         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
63433         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
63434         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
63435         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
63436         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
63437         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
63438         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
63439         compiler output for sysdeps/generic/initfini.c.
63440         * sysdeps/i386/elf/Makefile: Remove file.
63441         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
63443 2012-02-07  Marek Polacek  <polacek@redhat.com>
63445         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
63446         * sysdeps/gnu/_G_config.h: Likewise.
63447         * sysdeps/mach/hurd/_G_config.h: Likewise.
63449 2012-02-07  Marek Polacek  <polacek@redhat.com>
63451         * math/Makefile (tests): Add tst-CMPLX2.
63452         * math/tst-CMPLX2.c: New file.
63454 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
63456         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
63458         * math/libm-test.inc (jn_test): Add missing L suffix.
63460 2012-02-06  Marek Polacek  <polacek@redhat.com>
63462         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
63463         * sysdeps/i386/fpu/e_powf.S: Likewise.
63464         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
63465         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
63466         * sysdeps/i386/fpu/e_acosh.S: Likewise.
63467         * sysdeps/i386/fpu/e_pow.S: Likewise.
63468         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
63469         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
63470         * sysdeps/i386/fpu/s_expm1.S: Likewise.
63471         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
63472         * sysdeps/i386/fpu/e_log2.S: Likewise.
63473         * sysdeps/i386/fpu/e_log2l.S: Likewise.
63474         * sysdeps/i386/fpu/e_scalb.S: Likewise.
63475         * sysdeps/i386/fpu/e_powl.S: Likewise.
63476         * sysdeps/i386/fpu/s_log1p.S: Likewise.
63477         * sysdeps/i386/fpu/e_log10f.S: Likewise.
63478         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
63479         * sysdeps/i386/fpu/e_logl.S: Likewise.
63480         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
63481         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
63482         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
63483         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
63484         * sysdeps/i386/fpu/e_log2f.S: Likewise.
63485         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
63486         * sysdeps/i386/fpu/e_log.S: Likewise.
63487         * sysdeps/i386/fpu/s_cexp.S: Likewise.
63488         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
63489         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
63490         * sysdeps/i386/fpu/e_logf.S: Likewise.
63491         * sysdeps/i386/fpu/e_log10l.S: Likewise.
63492         * sysdeps/i386/fpu/e_atanh.S: Likewise.
63493         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
63494         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
63495         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
63496         * sysdeps/i386/fpu/e_log10.S: Likewise.
63497         * sysdeps/i386/fpu/s_frexp.S: Likewise.
63498         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
63499         * sysdeps/i386/fpu/s_asinh.S: Likewise.
63500         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
63501         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
63502         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
63503         * sysdeps/i386/asm-syntax.h: Likewise.
63504         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
63505         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63506         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
63507         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
63508         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
63509         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
63510         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
63511         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
63512         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
63513         * sysdeps/powerpc/sysdep.h: Likewise.
63514         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
63515         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
63517 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
63519         [BZ #411]
63520         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
63522 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
63524         * sysdeps/i386/sysdep.h: Include <features.h>.
63525         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
63526         version.
63528 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
63530         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
63531         Define.
63532         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
63533         LOAD_PIC_REG_STR.
63535 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
63537         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
63538         (SETUP_PIC_REG): Use GET_PC_THUNK.
63539         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
63540         macro.
63542 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
63544         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
63545         for non-PIC compilation.
63546         (SETUP_PIC_REG): Add .p2align directive.
63547         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
63548         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
63549         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
63550         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
63551         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
63552         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
63553         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
63554         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
63555         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
63556         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
63557         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
63558         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
63559         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
63560         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
63561         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
63562         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
63563         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
63564         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
63565         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
63566         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
63567         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
63568         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
63569         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
63570         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
63571         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
63572         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
63573         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
63574         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
63575         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
63576         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
63577         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
63578         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
63579         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
63580         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
63581         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
63582         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
63583         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
63584         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
63585         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
63586         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
63587         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
63589 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
63591         * math/tst-CMPLX.c: Include <stdio.h>.
63593 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
63595         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
63596         float.
63597         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
63598         * sysdeps/sparc/bits/mathdef.h: Likewise.
63600 2012-01-31  Marek Polacek  <polacek@redhat.com>
63602         * libio/libio.h: Don't define _PARAMS.
63603         * locale/programs/config.h: Don't define PARAMS.
63604         * stdlib/strtol_l.c: Likewise.
63605         (__strtol_l): Remove PARAMS from the prototype.
63607 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
63609         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
63610         names.  Just use the correct names.  Remove unnecessary wrapper
63611         functions.
63612         * malloc/arena.c: Likewise.
63613         * malloc/hooks.c: Likewise.
63615         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
63616         ARENA_TEST says not to.  Simplify test for creation of a new arena.
63617         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
63619 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
63621         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
63622         into tail calls.
63623         (update_get_addr): New function.
63624         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
63625         GET_ADDR_MODULE parameter.
63627 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
63629         * crypt/cert.c: Remove __STDC__ conditionals.
63630         * crypt/crypt-entry.c: Likewise.
63631         * crypt/crypt_util.c: Likewise.
63632         * libio/filedoalloc.c: Likewise.
63633         * libio/fileops.c: Likewise.
63634         * libio/genops.c: Likewise.
63635         * libio/iofclose.c: Likewise.
63636         * libio/iofdopen.c: Likewise.
63637         * libio/iofopen.c: Likewise.
63638         * libio/iofopen64.c: Likewise.
63639         * libio/iogetdelim.c: Likewise.
63640         * libio/iopopen.c: Likewise.
63641         * libio/obprintf.c: Likewise.
63642         * libio/oldfileops.c: Likewise.
63643         * libio/oldiofclose.c: Likewise.
63644         * libio/oldiofdopen.c: Likewise.
63645         * libio/oldiofopen.c: Likewise.
63646         * libio/oldiopopen.c: Likewise.
63647         * libio/wfiledoalloc.c: Likewise.
63648         * libio/wgenops.c: Likewise.
63649         * locale/programs/xmalloc.c: Likewise.
63650         * misc/syslog.c: Likewise.
63651         * stdio-common/xbug.c: Likewise.
63652         * string/memchr.c: Likewise.
63653         * string/memcmp.c: Likewise.
63654         * string/memrchr.c: Likewise.
63655         * string/rawmemchr.c: Likewise.
63656         * sysdeps/posix/getcwd.c: Likewise.
63657         * time/strftime_l.c: Likewise.
63659 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
63661         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
63662         * config.make.in (config-cflags-sse2avx): Define.
63663         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
63664         Fix typo.
63666 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
63668         * scripts/config.guess: Update from upstream config git repository.
63669         * scripts/config.sub: Likewise.
63671 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
63673         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
63674         (EM_NUM): Update.
63675         (R_TILEPRO_*, R_TILEGX_*): New macros.
63677         * scripts/firstversions.awk: Fix bug in version range handling.
63679         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
63681         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
63683         * include/sys/epoll.h: New file.
63684         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
63685         libc_hidden_def.
63687 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
63689         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
63690         Avoid unnecessary __WORDSIZE == 64 test.
63691         (fmaxf): Use VEX format if possible.
63692         (fmax): Likewise.
63693         (fminf): Likewise.
63694         (fmin): Likewise.
63696         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
63697         * math/math_private.h: Remove libc_fegetround* and
63698         libc_fesetround*.
63699         * sysdeps/i386/configure.in: Check for -msse2avx.
63700         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
63701         also if SSE2AVX is defined.
63702         Remove libc_fegetround* and libc_fesetround*.
63703         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
63704         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
63705         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
63706         of HAS_YMM_USABLE.
63707         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
63708         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
63709         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
63710         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
63711         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
63713         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
63715 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63717         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
63718         size is not set.
63719         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
63721 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
63723         [BZ #13618]
63724         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
63725         relocation.
63726         * Makeconfig (libm): Define.
63727         * elf/Makefile: Add rules to build and run tst-relsort1.
63728         * elf/tst-relsort1.c: New file.
63729         * elf/tst-relsort1mod1.c: New file.
63730         * elf/tst-relsort1mod2.c: New file.
63732 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
63734         * math/s_ldexp.c: Remove __STDC__ conditionals.
63735         * math/s_ldexpf.c: Likewise.
63736         * math/s_ldexpl.c: Likewise.
63737         * math/s_nextafter.c: Likewise.
63738         * math/s_nexttowardf.c: Likewise.
63739         * math/s_significand.c: Likewise.
63740         * math/s_significandf.c: Likewise.
63741         * math/s_significandl.c: Likewise.
63742         * math/w_jnl.c: Likewise.
63743         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
63744         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
63745         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
63746         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
63747         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
63748         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
63749         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
63750         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
63751         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63752         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
63753         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
63754         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63755         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
63756         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
63757         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
63758         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
63759         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
63760         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
63761         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
63762         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
63763         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
63764         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
63765         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
63766         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63767         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
63768         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
63769         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
63770         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
63771         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
63772         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
63773         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
63774         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
63775         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
63776         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
63777         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
63778         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
63779         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
63780         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
63781         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
63782         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
63783         * sysdeps/ieee754/k_standard.c: Likewise.
63784         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
63785         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
63786         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
63787         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
63788         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
63789         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
63790         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
63791         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
63792         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
63793         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
63794         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
63795         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
63796         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
63797         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
63798         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
63799         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
63800         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
63801         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
63802         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
63803         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
63804         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
63805         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
63806         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
63807         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
63808         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
63809         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
63810         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
63811         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
63812         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
63813         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
63814         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
63815         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
63816         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
63817         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
63818         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
63819         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
63820         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
63821         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
63822         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
63823         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
63824         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
63825         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
63826         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
63827         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
63828         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
63829         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
63830         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
63831         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
63832         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
63833         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
63834         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
63835         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
63836         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
63837         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
63838         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
63839         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
63840         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
63841         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
63842         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
63843         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
63844         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
63845         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
63846         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
63847         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
63848         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
63849         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
63850         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
63851         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
63852         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
63853         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
63854         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
63855         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
63856         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
63857         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
63858         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
63859         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
63860         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
63861         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
63862         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
63863         * sysdeps/ieee754/s_matherr.c: Likewise.
63864         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
63865         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
63866         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
63867         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
63869 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
63871         * crypt/md5.h: Remove __STDC__ conditionals.
63872         * libio/libioP.h: Likewise.
63873         * locale/programs/config.h: Likewise.
63874         * sysdeps/generic/sysdep.h: Likewise.
63875         * sysdeps/i386/asm-syntax.h: Likewise.
63876         * sysdeps/s390/asm-syntax.h: Likewise.
63877         * sysdeps/unix/sysdep.h: Likewise.
63878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
63879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
63881 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
63883         * libio/libio.h: Remove __STDC__ conditionals.
63884         * malloc/obstack.h: Likewise.
63885         * math/complex.h: Likewise.
63886         * math/math.h: Likewise.
63887         * sysdeps/generic/_G_config.h: Likewise.
63888         * sysdeps/gnu/_G_config.h: Likewise.
63889         * sysdeps/mach/hurd/_G_config.h: Likewise.
63890         * sysdeps/powerpc/bits/mathdef.h: Likewise.
63891         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
63892         * sysdeps/sparc/bits/mathdef.h: Likewise.
63894 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
63896         [BZ #13583]
63897         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
63898         Clean up HAS_* macros.
63899         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
63900         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
63901         possible.
63902         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
63903         HAS_AVX.
63904         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
63905         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
63906         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
63907         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
63908         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
63910 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
63912         * elf/tst-unique3.cc (gets): Remove declaration.
63913         * elf/tst-unique3lib.cc (gets): Likewise.
63914         * elf/tst-unique3lib2.cc (gets): Likewise.
63915         * elf/tst-unique4.cc (gets): Likewise.
63917 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
63919         * include/stdio.h: Add C++ protection.  Add gets declarations and
63920         definitions.
63921         * debug/tst-chk1.c: Don't declare gets here.
63922         * stdio-common/tst-gets.c: Likewise.
63924 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
63926         * posix/glob: Remove directory.
63928 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
63930         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
63932 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
63934         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
63935         of the non-standard EPFNOSUPPORT.
63937 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63939         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
63940         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
63941         ANYWHERE set to 1 only on KERN_NO_SPACE error.
63943 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
63945         * wcsmbs/uchar.h: Test __STDC_VERSION__.
63947 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
63949         * nscd/aicache.c (addhstaiX): Do not cache negative results of
63950         transient errors.
63951         * nscd/grpcache.c (cache_addgr): Likewise.
63952         * nscd/hstcache.c (cache_addhst): Likewise.
63953         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63954         * nscd/pwdcache.c (cache_addpw): Likewise.
63955         * nscd/servicescache.c (cache_addserv): Likewise.
63957 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
63959         * malloc/malloc.c: Various cleanups.
63960         * malloc/hooks.c: Likewise.
63962         * stdlib/Makefile (tests): Add bug-fmtmsg1.
63963         * stdlib/bug-fmtmsg1.c: New file.
63965         * stdlib/fmtmsg.c (init): Add missing unlock.
63966         Patch by Peng Haitao <penght@cn.fujitsu.com>.
63968 2012-01-12  Marek Polacek  <polacek@redhat.com>
63970         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
63971         and _GNU_SOURCE.
63973 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
63975         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
63976         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
63977         macro to ensure uniqueness of label name.
63978         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
63979         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
63981 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
63983         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
63985         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
63986         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
63987         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
63988         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
63990 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
63992         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
63994         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
63995         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
63996         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
63998         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
64000         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
64001         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
64002         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
64003         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
64005         * math/bits/math-finite.h: Add ldexp support.
64007 2012-01-10  Marek Polacek  <polacek@redhat.com>
64009         * locale/programs/localedef.h (show_archive_content): Add noreturn
64010         attribute.
64012 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
64014         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
64016 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
64018         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
64020         * io/Makefile (headers): Add bits/poll2.h.
64022 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
64024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
64025         typo #include statement.
64027 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
64029         * include/sys/cdefs.h: Define __attribute_alloc_size.
64030         * catgets/gencat.c: Add alloc_size attribute and apply consistently
64031         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
64032         * elf/pldd.c: Likewise.
64033         * iconv/iconv_charmap.c: Likewise.
64034         * iconv/iconvconfig.c: Likewise.
64035         * iconv/strtab.c: Likewise.
64036         * locale/programs/locale.c: Likewise.
64037         * locale/programs/localedef.h: Likewise.
64038         * locale/programs/simple-hash.c: Likewise.
64039         * nscd/nscd.h: Likewise.
64040         * nss/makedb.c: Likewise.
64041         * sysdeps/generic/ldconfig.h: Likewise.
64042         * locale/programs/localedef.c: Remove xmalloc prototype.
64043         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
64045 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
64047         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
64048         appropriate.
64050 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
64052         * math/Makefile (tests): Add tst-CMPLX.
64053         * math/tst-CMPLX.c: New file.
64055         * math/complex.h (CMPLXL): Fix typo.
64057         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
64058         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
64059         GLIBC_2.16.
64060         * debug/tst-chk1.c: Add poll and ppoll tests.
64061         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
64062         * include/sys/poll.h: Add hidden proto for ppoll.
64063         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
64064         * sysdeps/mach/hurd/ppoll.c: Likewise.
64065         * io/ppoll.c: Likewise.
64066         * debug/poll_chk.c: New file.
64067         * debug/ppoll_chk.c: New file.
64068         * include/bits/poll2.h: New file.
64069         * io/bits/poll2.h: New file.
64071         [BZ #1350]
64072         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
64074         * configure.in: static is always set to yes.  Remove.
64075         * config.make.in: Don't set build-static.
64076         * Makeconfig: Remove use of build-static.
64077         * dlfcn/Makefile: Likewise.
64078         * elf/Makefile: Likewise.
64079         * math/Makefile: Likewise.
64080         * misc/Makefile: Likewise.
64081         * nptl/Makefile: Likewise.
64082         * sysdeps/mach/hurd/Makefile: Likewise.
64084         * configure.in: PWD_P is not used anymore.
64085         * config.make.in: Remove PWD_P entry.
64087         * configure.in: Remove last remnants of RANLIB.
64088         No need to check for signed size_t anymore.
64089         Don't set libc_commonpagesize and libc_relro_required here for Alpha
64090         and IA-64.
64091         Remove __builtin_expect test because we require at least gcc 3.4.
64092         * aclocal.m4: Likewise.
64094         * wcsmbs/mbrtoc16.c: Implement using towc function.
64095         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
64096         * wcsmbs/wcsmbsload.c: Likewise.
64097         * iconv/gconv_simple.c: Likewise.
64098         * iconv/gconv_int.h: Likewise.
64099         * iconv/gconv_builtin.h: Likewise.
64100         * iconv/iconv_prog.c: Remove CHAR16 handling.
64102         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
64104         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
64106         * configure.in: Remove --with-elf and --enable-bounded options.
64107         Dont set base_machine for ia64.  More non-ELF conditions removed.
64108         Remove testing and setting of leading underscore information.
64109         * config.make.in (build-bounded): Set to no.
64110         * config.h.in: Remove NO_UNDERSCORES entry.
64111         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
64112         them.
64113         * csu/start.c: Remove !NO_UNDERSCORE code.
64114         * locale/localeinfo.h: Likewise.
64115         * sysdeps/generic/machine-gmon.h: Likewise.
64116         * sysdeps/generic/sysdep.h: Likewise.
64117         * sysdeps/i386/sysdep.h: Likewise.
64118         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
64119         * sysdeps/mach/sysdep.h: Likewise.
64120         * sysdeps/s390/s390-32/sysdep.h: Likewise.
64121         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64122         * sysdeps/sh/sysdep.h: Likewise.
64123         * sysdeps/sparc/sparc32/alloca.S: Likewise.
64124         * sysdeps/unix/i386/sysdep.S: Likewise.
64125         * sysdeps/unix/sparc/start.c: Likewise.
64126         * sysdeps/unix/sparc/sysdep.S: Likewise.
64127         * sysdeps/unix/sparc/sysdep.h: Likewise.
64128         * sysdeps/unix/start.c: Likewise.
64129         * sysdeps/unix/x86_64/sysdep.S: Likewise.
64130         * sysdeps/x86_64/sysdep.h: Likewise.
64132 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
64134         [BZ #13553]
64135         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
64136         for non-gcc.
64137         * argp/argp-fmtstream.h: Use const instead __const.
64138         * argp/argp.h: Likewise.
64139         * assert/assert.h: Likewise.
64140         * bits/fenv.h: Likewise.
64141         * bits/sched.h: Likewise.
64142         * bits/sigset.h: Likewise.
64143         * bits/sigthread.h: Likewise.
64144         * catgets/nl_types.h: Likewise.
64145         * conform/data/pthread.h-data: Likewise.
64146         * crypt/crypt-private.h: Likewise.
64147         * crypt/crypt.h: Likewise.
64148         * crypt/crypt_util.c: Likewise.
64149         * ctype/ctype.h: Likewise.
64150         * debug/execinfo.h: Likewise.
64151         * debug/mbsnrtowcs_chk.c: Likewise.
64152         * debug/mbsrtowcs_chk.c: Likewise.
64153         * debug/wcsnrtombs_chk.c: Likewise.
64154         * debug/wcsrtombs_chk.c: Likewise.
64155         * debug/wcstombs_chk.c: Likewise.
64156         * dirent/dirent.h: Likewise.
64157         * dlfcn/dlfcn.h: Likewise.
64158         * elf/neededtest4.c: Likewise.
64159         * grp/grp.h: Likewise.
64160         * gshadow/gshadow.h: Likewise.
64161         * iconv/gconv.h: Likewise.
64162         * iconv/gconv_int.h: Likewise.
64163         * iconv/gconv_simple.c: Likewise.
64164         * iconv/iconv.h: Likewise.
64165         * iconv/loop.c: Likewise.
64166         * iconv/skeleton.c: Likewise.
64167         * include/aio.h: Likewise.
64168         * include/aliases.h: Likewise.
64169         * include/argz.h: Likewise.
64170         * include/arpa/inet.h: Likewise.
64171         * include/assert.h: Likewise.
64172         * include/dirent.h: Likewise.
64173         * include/dlfcn.h: Likewise.
64174         * include/execinfo.h: Likewise.
64175         * include/fcntl.h: Likewise.
64176         * include/fenv.h: Likewise.
64177         * include/glob.h: Likewise.
64178         * include/grp.h: Likewise.
64179         * include/libintl.h: Likewise.
64180         * include/mntent.h: Likewise.
64181         * include/netdb.h: Likewise.
64182         * include/pwd.h: Likewise.
64183         * include/rpc/netdb.h: Likewise.
64184         * include/sched.h: Likewise.
64185         * include/search.h: Likewise.
64186         * include/shadow.h: Likewise.
64187         * include/signal.h: Likewise.
64188         * include/stdio.h: Likewise.
64189         * include/stdlib.h: Likewise.
64190         * include/string.h: Likewise.
64191         * include/sys/socket.h: Likewise.
64192         * include/sys/stat.h: Likewise.
64193         * include/sys/statfs.h: Likewise.
64194         * include/sys/statvfs.h: Likewise.
64195         * include/sys/syslog.h: Likewise.
64196         * include/sys/time.h: Likewise.
64197         * include/sys/uio.h: Likewise.
64198         * include/time.h: Likewise.
64199         * include/unistd.h: Likewise.
64200         * include/utmp.h: Likewise.
64201         * include/wchar.h: Likewise.
64202         * include/wctype.h: Likewise.
64203         * inet/aliases.h: Likewise.
64204         * inet/arpa/inet.h: Likewise.
64205         * inet/netinet/ether.h: Likewise.
64206         * inet/netinet/in.h: Likewise.
64207         * intl/libintl.h: Likewise.
64208         * io/bits/fcntl2.h: Likewise.
64209         * io/fcntl.h: Likewise.
64210         * io/ftw.h: Likewise.
64211         * io/sys/poll.h: Likewise.
64212         * io/sys/stat.h: Likewise.
64213         * io/sys/statfs.h: Likewise.
64214         * io/sys/statvfs.h: Likewise.
64215         * io/utime.h: Likewise.
64216         * libio/bits/stdio.h: Likewise.
64217         * libio/bits/stdio2.h: Likewise.
64218         * libio/libio.h: Likewise.
64219         * libio/libioP.h: Likewise.
64220         * libio/stdio.h: Likewise.
64221         * locale/lc-ctype.c: Likewise.
64222         * locale/locale.h: Likewise.
64223         * login/utmp.h: Likewise.
64224         * malloc/arena.c: Likewise.
64225         * malloc/malloc.c: Likewise.
64226         * malloc/malloc.h: Likewise.
64227         * malloc/mcheck.c: Likewise.
64228         * malloc/mtrace.c: Likewise.
64229         * math/bits/mathcalls.h: Likewise.
64230         * math/fenv.h: Likewise.
64231         * math/math_private.h: Likewise.
64232         * misc/bits/error.h: Likewise.
64233         * misc/bits/syslog.h: Likewise.
64234         * misc/err.h: Likewise.
64235         * misc/error.h: Likewise.
64236         * misc/fstab.h: Likewise.
64237         * misc/mntent.h: Likewise.
64238         * misc/regexp.h: Likewise.
64239         * misc/search.h: Likewise.
64240         * misc/sgtty.h: Likewise.
64241         * misc/sys/mman.h: Likewise.
64242         * misc/sys/syslog.h: Likewise.
64243         * misc/sys/uio.h: Likewise.
64244         * misc/sys/xattr.h: Likewise.
64245         * misc/ttyent.h: Likewise.
64246         * nis/rpcsvc/ypclnt.h: Likewise.
64247         * nss/nss.h: Likewise.
64248         * posix/bits/unistd.h: Likewise.
64249         * posix/fnmatch.h: Likewise.
64250         * posix/glob.h: Likewise.
64251         * posix/sched.h: Likewise.
64252         * posix/spawn.h: Likewise.
64253         * posix/sys/wait.h: Likewise.
64254         * posix/unistd.h: Likewise.
64255         * posix/wordexp.h: Likewise.
64256         * pwd/pwd.h: Likewise.
64257         * resolv/netdb.h: Likewise.
64258         * resource/sys/resource.h: Likewise.
64259         * rt/aio.h: Likewise.
64260         * rt/bits/mqueue2.h: Likewise.
64261         * rt/mqueue.h: Likewise.
64262         * shadow/shadow.h: Likewise.
64263         * signal/signal.h: Likewise.
64264         * socket/send.c: Likewise.
64265         * socket/sendto.c: Likewise.
64266         * socket/sys/socket.h: Likewise.
64267         * stdio-common/printf.h: Likewise.
64268         * stdlib/bits/stdlib.h: Likewise.
64269         * stdlib/fmtmsg.h: Likewise.
64270         * stdlib/monetary.h: Likewise.
64271         * stdlib/stdlib.h: Likewise.
64272         * stdlib/ucontext.h: Likewise.
64273         * streams/stropts.h: Likewise.
64274         * string/argz.h: Likewise.
64275         * string/bits/string2.h: Likewise.
64276         * string/string.h: Likewise.
64277         * string/strings.h: Likewise.
64278         * sunrpc/rpc/auth.h: Likewise.
64279         * sunrpc/rpc/auth_des.h: Likewise.
64280         * sunrpc/rpc/clnt.h: Likewise.
64281         * sunrpc/rpc/netdb.h: Likewise.
64282         * sunrpc/rpc/pmap_clnt.h: Likewise.
64283         * sunrpc/rpc/xdr.h: Likewise.
64284         * sysdeps/generic/inttypes.h: Likewise.
64285         * sysdeps/generic/net/if.h: Likewise.
64286         * sysdeps/generic/sys/swap.h: Likewise.
64287         * sysdeps/gnu/net/if.h: Likewise.
64288         * sysdeps/gnu/utmpx.h: Likewise.
64289         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
64290         * sysdeps/i386/i486/bits/string.h: Likewise.
64291         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
64292         * sysdeps/s390/bits/string.h: Likewise.
64293         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
64294         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
64295         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
64296         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
64297         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
64298         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
64299         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
64300         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
64301         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
64302         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
64303         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
64304         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
64305         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
64306         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
64307         * sysdeps/unix/sysv/linux/readv.c: Likewise.
64308         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
64309         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
64310         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64311         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
64312         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
64313         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
64314         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
64315         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
64316         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
64317         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
64318         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
64319         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
64320         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
64321         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
64322         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
64323         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
64324         * sysvipc/sys/ipc.h: Likewise.
64325         * sysvipc/sys/msg.h: Likewise.
64326         * sysvipc/sys/sem.h: Likewise.
64327         * sysvipc/sys/shm.h: Likewise.
64328         * termios/termios.h: Likewise.
64329         * time/sys/time.h: Likewise.
64330         * time/time.h: Likewise.
64331         * wcsmbs/bits/wchar2.h: Likewise.
64332         * wcsmbs/uchar.h: Likewise.
64333         * wcsmbs/wchar.h: Likewise.
64334         * wctype/wctype.h: Likewise.
64336         [BZ #13551]
64337         * Makeconfig: Remove all but ELF support including AIX support.
64338         * Makerules: Likewise.
64339         * config.h.in: Likewise.
64340         * config.make.in: Likewise.
64341         * configure: Likewise.
64342         * configure.in: Likewise.
64343         * csu/Makefile: Likewise.
64344         * csu/version.c: Likewise.
64345         * debug/Makefile: Likewise.
64346         * dlfcn/Makefile: Likewise.
64347         * elf/Makefile: Likewise.
64348         * extra-lib.mk: Likewise.
64349         * iconv/Makefile: Likewise.
64350         * include/libc-symbols.h: Likewise.
64351         * include/shlib-compat.h: Likewise.
64352         * resolv/Makefile: Likewise.
64353         * resolv/res_libc.c: Likewise.
64354         * rt/Makefile: Likewise.
64355         * sysdeps/i386/asm-syntax.h: Likewise.
64356         * sysdeps/i386/sysdep.h: Likewise.
64357         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
64358         * sysdeps/mach/sysdep.h: Likewise.
64359         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
64360         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
64361         * sysdeps/s390/asm-syntax.h: Likewise.
64362         * sysdeps/s390/s390-32/sysdep.h: Likewise.
64363         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64364         * sysdeps/sh/sysdep.h: Likewise.
64365         * sysdeps/unix/sparc/sysdep.h: Likewise.
64366         * sysdeps/wordsize-32/divdi3.c: Likewise.
64367         * sysdeps/x86_64/sysdep.h: Likewise.
64369         * argp/Versions: Remove _argp_unlock_xxx.
64371         [BZ #13559]
64372         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
64373         * abilist/libBrokenLocale.abilist: Likewise.
64374         * abilist/libanl.abilist: Likewise.
64375         * abilist/libc.abilist: Likewise.
64376         * abilist/libcrypt.abilist: Likewise.
64377         * abilist/libdl.abilist: Likewise.
64378         * abilist/libm.abilist: Likewise.
64379         * abilist/libnsl.abilist: Likewise.
64380         * abilist/libpthread.abilist: Likewise.
64381         * abilist/libresolv.abilist: Likewise.
64382         * abilist/librt.abilist: Likewise.
64383         * abilist/libthread_db.abilist: Likewise.
64384         * abilist/libutil.abilist: Likewise.
64385         * abilist/libnss_db.abilist: New file.
64387         * scripts/abilist.awk: Add support for indirect functions.
64389         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
64391         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
64393         * shlib-versions: Remove entries for ports architectures.
64395         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
64396         files in ports.
64397         * elf/stackguard-macros.h: Remove support for IA-64.
64398         * elf/tst-auditmod1.c: Likewise.
64399         * sysdeps/generic/ldsodefs.h: Likewise.
64401         * sysdeps/unix/sysv/linux/configure.in: Ports should define
64402         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
64403         configure files.
64405         [BZ #13552]
64406         * configure.in: Remove --enable-omitfp support.
64407         * FAQ.in: Adjust.
64408         * config.make.in: Likewise.
64409         * Makeconfig: Likewise.
64410         * manual/install.texi: Likewise.
64412         In case anyone cares, the IA-64 architecture could move to ports.
64413         * sysdeps/ia64/*: Removed.
64414         * sysdeps/unix/sysv/linux/ia64/*: Removed.
64415         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
64417         [BZ #13555]
64418         * configure.in: Remove entries for unsupported architectures.
64420         [BZ #13533]
64421         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
64422         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
64423         routines.
64424         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
64425         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
64426         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
64427         fall back to using wcrtomb.
64428         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
64429         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
64430         renaming.
64431         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
64432         * wcsmbs/tst-c16c32-1.c: New file.
64434         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
64435         local variable.
64437         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
64439         * elf/tst-unique3.cc: Add explicit declaration of gets.
64440         * elf/tst-unique3lib.cc: Likewise.
64441         * elf/tst-unique3lib2.cc: Likewise.
64442         * elf/tst-unique4.cc: Likewise.
64444         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
64446 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
64448         [BZ #13566]
64449         * assert/assert.h (static_assert): Don't define for C++.
64450         * libio/stdio.h (gets): Do declare for C++ <= C++11.
64451         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
64453 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
64455         * iconv/loop.c (single loop): Fix assertion in storing of
64456         remaining bytes.
64458         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
64460 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
64462         * posix/getconf.c: Update copyright year.
64463         * nss/getent.c: Likewise.
64464         * nss/makedb.c: Likewise.
64465         * iconv/iconvconfig.c: Likewise.
64466         * iconv/iconv_prog.c: Likewise.
64467         * elf/ldconfig.c: Likewise.
64468         * elf/pldd.c: Likewise.
64469         * elf/sotruss.ksh: Likewise.
64470         * catgets/gencat.c: Likewise.
64471         * csu/version.c: Likewise.
64472         * elf/ldd.bash.in: Likewise.
64473         * elf/sprof.c (print_version): Likewise.
64474         * locale/programs/locale.c: Likewise.
64475         * locale/programs/localedef.c: Likewise.
64476         * login/programs/pt_chown.c: Likewise.
64477         * nscd/nscd.c (print_version): Likewise.
64478         * debug/xtrace.sh: Likewise.
64479         * malloc/memusage.sh: Likewise.
64480         * malloc/mtrace.pl: Likewise.
64481         * debug/catchsegv.sh: Likewise.
64483 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
64485         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
64486         pure attribute.
64488 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
64490         [BZ #13533]
64491         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
64492         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
64493         transformations.
64494         * iconv/gconv_int.h: Likewise.
64495         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
64496         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
64497         from libc for GLIBC_2.16.
64498         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
64499         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
64500         * wcsmbs/uchar.h: Really define mbstate_t.
64501         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
64502         * wcsmbs/c16rtomb.c: New file.
64503         * wcsmbs/mbrtoc16.c: New file.
64504         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
64505         for C/POSIX locale.
64506         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
64507         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
64509         * wcsmbs/wchar.h: Add missing __restrict.
64511 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
64513         [BZ #13532]
64514         * time/Makefile (routines): Add timespec_get.
64515         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
64516         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
64517         timespec for ISO C11.
64518         * time/timespec_get.c: New file.
64519         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
64520         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
64522         [BZ #13531]
64523         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
64524         * stdlib/stdlib.h: Declare aligned_alloc.
64525         * Versions.def: Add GLIBC_2.16 for libc.
64526         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
64528         [BZ 13527]
64529         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
64530         ISO C11.
64532         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
64533         code.
64535         [BZ #13528]
64536         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
64538         [BZ #13529]
64539         * assert/assert.h (static_assert): Define.
64541         * version.h: Update for 2.16 development version.
64543         [BZ #13526]
64544         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
64545         _ISOC11_SOURCE.
64547         * version.h (RELEASE): Bump for 2.15 release.
64548         * include/features.h (__GLIBC_MINOR__): Bump to 15.
64550         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
64551         Patch by Marek Polacek <mpolacek@redhat.com>.
64553         * bits/byteswap.h: Protect long long constants with __extension__.
64554         * sysdeps/i386/bits/byteswap.h: Likewise.
64555         * sysdeps/ia64/bits/byteswap.h: Likewise.
64556         * sysdeps/s390/bits/byteswap.h: Likewise.
64557         * sysdeps/x86_64/bits/byteswap.h: Likewise.
64559 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64561         [BZ #13540]
64562         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
64563         destination buffer.
64564         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
64566 2011-12-23  Marek Polacek  <polacek@redhat.com>
64568         * elf/dl-addr.c (determine_info): Add inline keyword.
64569         * elf/tst-auditmod4b.c (check_avx): Likewise.
64570         * elf/tst-auditmod6b.c (check_avx): Likewise.
64571         * elf/tst-auditmod6c.c (check_avx): Likewise.
64572         * elf/tst-auditmod7b.c (check_avx): Likewise.
64574 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
64576         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
64577         !__SSE_MATH__.
64579 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64581         [BZ #13540]
64582         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
64583         processing for last bytes.
64585 2011-08-06  Bruno Haible  <bruno@clisp.org>
64587         [BZ #13061]
64588         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
64589         U+0385, not to U+1FEE.
64591         [BZ #13062]
64592         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
64593         entry for U+00A5 U+0301.
64595 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
64597         [BZ #13166]
64598         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
64599         buffer for the output is too small.
64601         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
64602         optimization.
64604         [BZ #13185]
64605         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
64606         SSE flags if possible.
64608 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64610         [BZ #13540]
64611         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
64612         processing for last bytes.
64614 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
64616         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
64617         (syscall-list-default-options, syscall-list-default-condition)
64618         (syscall-list-includes): Define.
64619         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
64620         list of ABIs and options and #if conditions for each ABI.  Do not
64621         handle common syscalls between ABIs specially.
64622         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
64623         Remove.
64624         (syscall-list-variants, syscall-list-32bit-options)
64625         (syscall-list-32bit-condition, syscall-list-64bit-options)
64626         (syscall-list-64bit-condition): Define.
64627         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
64628         (syscall-list-variants, syscall-list-32bit-options)
64629         (syscall-list-32bit-condition, syscall-list-64bit-options)
64630         (syscall-list-64bit-condition): Define.
64631         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
64632         Remove.
64633         (syscall-list-variants, syscall-list-32bit-options)
64634         (syscall-list-32bit-condition, syscall-list-64bit-options)
64635         (syscall-list-64bit-condition): Define.
64636         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
64637         Remove.
64638         (syscall-list-variants, syscall-list-32bit-options)
64639         (syscall-list-32bit-condition, syscall-list-64bit-options)
64640         (syscall-list-64bit-condition): Define.
64642 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
64644         * locale/iso-639.def: Add brx entry.
64646         [BZ #13328]
64647         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
64648         Proposed by Mariusz_Cukr <marcukr@op.pl>.
64650         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
64651         __feraiseexcept_renamed.
64653 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
64655         [BZ #13538]
64656         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
64657         EPOLLET with unsigned values.
64658         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
64659         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
64661         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
64662         to large cancellation.
64663         * math/s_cacoshf.c: Likewise.
64664         * math/s_cacoshl.c: Likewise.
64666 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
64668         [BZ #13305]
64669         [BZ #12786]
64670         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
64671         * math/s_cacoshf.c: Likewise.
64672         * math/s_cacoshl.c: Likewise.
64674 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
64676         [BZ #13439]
64677         * iconv/gconv.h: Define __GCONV_SWAP.
64678         * iconvdata/unicode.c: The swap bit must be stored in __flags.
64679         * iconvdata/utf-16.c: Likewise.
64680         * iconvdata/utf-32.c: Likewise.
64682 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
64684         [BZ #13524]
64685         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
64686         numerator after shifting it by one limb.
64688 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
64690         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
64691         under [__USE_EXTERN_INLINES].
64693 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
64695         [BZ #13446]
64696         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
64698 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64700         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
64701         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
64702         optimized code.
64703         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
64704         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
64705         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
64706         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
64707         for strncasecmp/strncasecmp_l compilation.
64708         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
64709         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
64711 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
64713         [BZ #13484]
64714         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
64715         of __asm__.
64717 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
64719         [BZ #13506]
64720         * time/tzfile.c (__tzfile_read): Check values from file header.
64722 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
64724         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
64725         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
64726         * powerpc/powerpc32/dl-start.S: Likewise.
64727         * powerpc/powerpc32/elf/start.S: Likewise.
64728         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
64729         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
64730         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
64731         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
64732         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
64733         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
64734         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
64735         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
64736         * powerpc/powerpc32/fpu/s_round.S: Likewise.
64737         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
64738         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
64739         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
64740         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
64741         * powerpc/powerpc32/memset.S: Likewise.
64742         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
64743         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
64744         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
64745         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
64746         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
64747         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
64748         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
64749         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
64750         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
64751         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
64752         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
64753         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
64754         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
64756 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64758         * math/libm-test.inc: Added more nearbyint tests.
64759         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
64760         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
64761         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
64762         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
64764 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
64766         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
64767         FD_CLOEXEC.
64769 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64771         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
64772         Add wcscpy-ssse3 wcscpy-c.
64773         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
64774         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
64775         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
64776         * sysdeps/x86_64/wcschr.S: New file.
64777         * sysdeps/x86_64/wcsrchr.S: New file.
64778         * string/test-strcmp.c: Remove checking of wcscmp function for
64779         wrong alignments.
64780         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
64781         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
64782         wcsrchr-sse2 wcsrchr-c.
64783         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
64784         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
64785         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
64786         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
64787         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
64788         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
64789         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
64790         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
64791         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
64792         * wcsmbc/wcschr.c (WCSCHR): New macro.
64794 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64796         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
64797         * wcsmbs/test-wcsrchr.c: New file.
64798         * string/test-strrchr.c: Add wcsrchr support.
64799         (WIDE): New macro.
64800         * wcsmbs/test-wcscpy.c: New file.
64801         * string/test-strcpy.c: Add wcscpy support.
64802         (WIDE): New macro.
64804 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
64806         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
64807         the inner loop.
64809 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
64811         [BZ #13472]
64812         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
64814 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
64816         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
64817         Minor optimizations.
64819         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
64820         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
64821         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
64823 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
64825         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
64826         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
64827         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
64828         for gcc to avoid warnings.
64829         * inet/Makefile (tests): Add tst-checks.
64830         * inet/tst-checks.c: New file.
64832         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
64833         warning.
64835         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
64836         __wmemcmp_sse2.
64838         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
64839         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
64841         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
64843 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
64845         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
64846         problem.
64848         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
64850 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
64852         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
64853         conditional on GCC version.
64854         (__arch_compare_and_exchange_val_8_acq)
64855         (__arch_compare_and_exchange_val_16_acq)
64856         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
64857         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
64858         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
64860 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
64862         * sysdeps/sh/backtrace.c: New file.
64864 2011-12-02  Andreas Schwab  <schwab@redhat.com>
64866         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
64867         parenthesis.
64869 2011-12-01  Andreas Schwab  <schwab@redhat.com>
64871         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
64872         falling back to utime.
64874 2011-11-30  Andreas Schwab  <schwab@redhat.com>
64876         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
64877         expectations for float.
64879 2011-11-29  Andreas Schwab  <schwab@redhat.com>
64881         * locale/weight.h (findidx): Add parameter len.
64882         * locale/weightwc.h (findidx): Likewise.
64883         * posix/fnmatch_loop.c (FCT): Adjust caller.
64884         * posix/regcomp.c (build_equiv_class): Likewise.
64885         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
64886         * posix/regexec.c (check_node_accept_bytes): Likewise.
64887         * string/strcoll_l.c (STRCOLL): Likewise.
64888         * string/strxfrm_l.c (STRXFRM): Likewise.
64890 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
64892         * Makefile.in: Remove CVSOPT handling.
64893         * configure.in: Remove use of AC_REVISION.
64894         * iconvdata/Makefile (distribute): No need to filter out CVS.
64895         * scripts/list-sources.sh: Remove CVS, subversion and monotone
64896         handling.
64898 2011-11-16  Andreas Schwab  <schwab@redhat.com>
64900         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
64901         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
64902         [USE_AS_STRNCASECMP_L]: Likewise.
64903         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
64904         NO_TLS_DIRECT_SEG_REFS.
64905         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
64906         Fix argument offsets for non-PIC.
64907         [USE_AS_STRNCASECMP_L]: Likewise.
64908         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
64909         NO_TLS_DIRECT_SEG_REFS.
64911 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
64913         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
64914         O_CLOEXEC.
64915         * locale/loadlocale.c (_nl_load_locale): Likewise.
64917 2011-11-15  Andreas Schwab  <schwab@redhat.com>
64919         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
64920         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
64921         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
64922         (SYSCALL_GETTIME): Set errno on error.
64924         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
64925         count references to noai6ai_cached.
64927 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
64929         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
64931         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
64932         FD_CLOEXEC for /proc/self/maps.
64934         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
64935         FD_CLOEXEC for /proc/meminfo.
64937         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
64938         gai.conf.
64940         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
64941         FD_CLOEXEC for given file.
64943         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
64945         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
64946         FD_CLOEXEC for /etc/hosts.
64947         (_gethtent): Likewise.
64949         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
64951         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
64952         cancellation and set FD_CLOEXEC for /etc/netgroup.
64954         * nss/nss_files/files-key.c (search): Don't allow cancellation when
64955         reading /etc/publickey.
64957         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
64958         allow cancellation when reading /etc/group.
64960         * nss/nss_files/files-alias.c (internal_setent): Don't allow
64961         cancellation.
64962         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
64964         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
64965         when using data file.
64967         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
64969         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
64970         (write_nis_obj): Use "c" and "e" in fopen.
64972         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
64974         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
64976         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
64978         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
64980         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
64981         locale.alias.
64983         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
64985         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
64987         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
64989         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
64990         file parsing and set FD_CLOEXEC.
64992 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
64994         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
64996 2011-11-14  Andreas Schwab  <schwab@redhat.com>
64998         * malloc/arena.c (arena_get2): Don't call reused_arena when
64999         _int_new_arena failed.
65001 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
65003         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
65004         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
65005         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
65006         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65007         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65008         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
65009         to compile strcasecmp and strncasecmp.
65010         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
65011         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
65013         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
65015 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
65017         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
65018         locale-defines.sym to gen-as-const-headers.
65019         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
65020         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
65021         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
65022         to compile strcasecmp and strncasecmp.
65023         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
65024         strcasecmp_l and strncasecmp_l.
65025         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
65026         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
65027         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
65028         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
65029         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
65030         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
65031         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
65032         * sysdeps/i386/i686/multiarch/strncase.S: New file.
65033         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
65034         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
65035         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
65037 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
65039         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
65040         result of SYSDEP_GETTIME_CPU to retval.
65041         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
65042         parameter list to macro.  Remove trailing semicolon.  Adjust users.
65044         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
65045         variable.
65047         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
65048         mantissa words.
65049         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
65051         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
65052         from unused variable.
65054         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
65055         DWARF definitions.
65056         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
65057         for assembling.
65059         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
65060         over namespaces.
65062         * sunrpc/rpc_prot.c (rejected): Fix case value.
65064         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
65065         unsigned long long int to avoid warnings in shift.
65067         * posix/regex_internal.c (re_string_reconstruct): Actually use result
65068         of use of trans.
65069         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
65070         variable tmp.
65072         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
65073         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
65074         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
65076         * nis/nis_table.c (nis_list): Use variable of correct type for
65077         result of __follow_path call.
65079 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65081         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
65082         of math functions ceil, trunc, floor, round, and sqrt, when
65083         avaliable on the platform.
65084         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
65085         name clash.
65086         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
65087         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
65088         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
65090 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
65092         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
65093         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
65095 2011-11-11  Roland McGrath  <roland@hack.frob.com>
65097         * include/unistd.h: Fix __readlink return type.
65098         Reported by Chris Metcalf <cmetcalf@tilera.com>.
65100 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
65102         * stdlib/ucontext.h: Undo last change for makecontext.
65104 2011-11-11  Andreas Schwab  <schwab@redhat.com>
65106         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
65108         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
65109         * setjmp/setjmp.h: Mark functions as non-leaf.
65110         * setjmp/bits/setjmp2.h: Likewise.
65111         * stdlib/ucontext.h: Likewise.
65113 2011-11-10  Andreas Schwab  <schwab@redhat.com>
65115         * malloc/arena.c (_int_new_arena): Don't increment narenas.
65116         (reused_arena): Don't check arena limit.
65117         (arena_get2): Atomically check arena limit.
65119 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
65121         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
65122         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
65124         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
65125         instructions.
65127 2011-11-07  Andreas Schwab  <schwab@redhat.com>
65129         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
65130         handler when locking.
65132         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
65133         Fix size of allocated buffer.
65135 2011-11-04  Andreas Schwab  <schwab@redhat.com>
65137         [BZ #10103]
65138         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
65139         declarations for long double functions.
65140         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
65142         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
65144 2011-11-03  Andreas Schwab  <schwab@redhat.com>
65146         * nscd/nscd.c (main): Don't start AVC thread until credentials are
65147         installed.
65149         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
65150         is disabled.
65152 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65154         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
65156 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
65158         * include/alloca.h (stackinfo_alloca_round): Define.
65159         (extend_alloca): Use it.
65160         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
65161         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
65162         here.
65164         * scripts/check-local-headers.sh: Ignore libaudit.h.
65166         * nscd/Makefile (extra-objs): Make recursively expanded.
65168 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
65170         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
65171         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
65173         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
65174         * posix/tst-rfc3484-2.c: Likewise.
65175         * posix/tst-rfc3484-3.c: Likewise.
65177         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
65178         process_vm_writev.
65179         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
65180         process_vm_writev.
65181         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
65182         process_vm_writev from libc using GLIBC_2.15 version.
65184         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
65186 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
65188         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
65189         stack usage.
65191 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
65193         [BZ #13367]
65194         * nss/getent.c (initgroups_keys): Show error message in case no group
65195         names are given.
65197         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
65198         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
65199         __bump_nl_timestamp.
65200         * nscd/connections (nscd_init): When host database is served open
65201         netlink socket and request notification about configuration changes.
65202         (main_loop_poll): Track netlink file descriptor and bump timestamp
65203         in case data becomes available.
65204         (main_loop_epoll): Likewise.
65205         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
65206         (database_pers_head): Add extra_data fileds.
65207         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
65208         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
65209         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
65210         Adjust caller.
65211         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
65212         in6ai data, call __free_in6ai.
65213         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
65214         Add -DHAVE_NETLINK.
65215         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
65216         interface information.  Reuse previous data if netlink timestamp
65217         is not changed.
65218         (__bump_nl_timestamp): New function.
65219         (__free_in6ai): New function.
65221 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
65223         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
65224         close_not_cancel_no_status here.
65225         (__check_pf): Reorganize code a bit to not call close twice if OOM.
65227 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
65229         [BZ #13276]
65230         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
65231         return value.
65233         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
65234         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
65235         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
65237 2011-07-03  Andreas Jaeger  <aj@suse.de>
65239         [BZ #10709]
65240         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
65241         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
65242         * math/libm-test.inc (sin_test): Add test case.
65244 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
65246         [BZ #13337]
65247         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
65248         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
65250         * elf/chroot_canon.c (chroot_canon): Cleanups.
65252         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
65254         [BZ #13335]
65255         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
65256         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
65258         * string/test-strchr.c: Make usable for strchrnul testing.
65259         * string/test-strchrnul.c: New file.
65260         * string/Makefile (strop-tests): Add strchrnul.
65262         * po/it.po: Update from translation team.
65263         * po/es.po: Likewise.
65265 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
65267         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
65268         the three constants needed as parameters.  Drop the others.
65269         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
65270         __m128i_strloadu_tolower.
65271         Create and initialize variable zero and use it in all the places
65272         where _mm_setzero_si128 was used.
65274         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
65275         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
65276         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
65277         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
65278         anymore.
65279         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
65280         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
65281         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
65282         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
65283         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
65284         __mpranred, __mptan.
65285         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
65286         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
65287         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
65288         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
65289         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
65290         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
65291         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
65292         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
65293         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
65295 2011-10-28  Andreas Schwab  <schwab@redhat.com>
65297         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
65298         redefine if SHARED.
65299         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
65301         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
65302         wide char related routines to wcsmbs subdir.
65304 2011-10-27  Andreas Schwab  <schwab@redhat.com>
65306         [BZ #13344]
65307         * misc/sys/cdefs.h (__THROWNL): Define.
65308         * posix/unistd.h: Use __THREADNL instead of __THREAD
65309         for memory synchronization functions.
65311 2011-10-26  Roland McGrath  <roland@hack.frob.com>
65313         [BZ #13349]
65314         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
65315         doesn't exist.
65316         * manual/stdio.texi (Obstack Streams): Node removed.
65318 2011-10-26  Andreas Schwab  <schwab@redhat.com>
65320         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
65321         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
65322         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
65324         * math/math_private.h (math_force_eval): Allow non-addressable
65325         arguments.
65326         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
65328 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
65330         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
65331         file is not needed.
65333         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
65334         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
65335         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65336         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65337         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65338         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65339         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65340         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
65341         Add AVX variants.
65342         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
65343         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
65344         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
65345         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
65346         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
65347         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
65348         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
65349         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
65350         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
65351         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
65352         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
65353         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
65354         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
65355         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
65356         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
65357         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
65358         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
65359         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
65360         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
65362         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
65363         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
65365         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
65366         place.  Use VEX encoding when compiling for AVX.
65368 2011-10-25  Andreas Schwab  <schwab@redhat.com>
65370         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
65371         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
65373         * string/test-strchr.c (do_test): Don't generate NUL bytes.
65375 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
65377         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
65378         useless if() expression.
65379         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
65380         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
65381         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
65382         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65383         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
65384         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
65385         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
65386         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65387         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
65388         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65389         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
65390         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
65391         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
65392         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
65393         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
65394         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
65395         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
65396         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
65397         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
65399         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
65401 2011-10-25  Andreas Schwab  <schwab@redhat.com>
65403         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
65404         condition.
65405         * elf/dl-fini.c (_dl_sort_fini): Likewise.
65407 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
65409         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
65410         .text section.  Avoid duplicate constants.
65411         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
65412         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65413         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65414         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65415         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65416         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65417         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65418         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65419         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
65420         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
65421         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
65422         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
65423         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
65424         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
65425         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
65426         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
65427         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
65428         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
65429         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
65430         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65431         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
65432         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
65433         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
65434         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
65435         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
65436         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
65437         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
65438         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
65439         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
65440         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
65441         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
65442         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
65443         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
65444         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
65445         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
65446         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
65447         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
65448         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
65449         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
65450         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
65451         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
65452         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
65453         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
65454         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
65455         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
65457 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
65459         * sysdeps/x86_64/dla.h: Move to ...
65460         * sysdeps/x86_64/fpu/dla.h: ...here.
65461         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
65462         situations.  Use __builtin_fma only for gcc 4.6 and up.
65464         * config.make.in: Add have-mfma4 entry.
65465         * configure.in: Substitute libc_cv_cc_fma4.
65466         * math/Makefile (dbl-only-routines): Add sincostab.
65467         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
65468         Use __sincostab not sincos.
65469         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
65470         name is a macro.
65471         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65472         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65473         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65474         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
65475         using __copysign.
65476         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
65477         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
65478         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
65479         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
65480         and __inv.
65481         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
65482         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
65483         __copysign.
65484         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
65485         define aliases when function name is a macro.
65486         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
65487         sysdeps/ieee754/dbl-64/sincos.tbl.
65488         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
65489         fma4-enabled routines.
65490         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
65491         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
65492         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
65493         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
65494         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
65495         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
65496         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
65497         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
65498         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
65499         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
65500         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
65501         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
65502         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
65503         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
65504         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
65505         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
65506         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
65507         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
65508         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
65509         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
65510         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
65511         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
65512         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
65513         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
65514         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
65515         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
65516         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
65517         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
65518         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
65519         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
65521         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
65522         rename.
65523         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65524         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65525         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65526         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65527         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65528         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65529         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65530         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65532 2011-10-24  Andreas Schwab  <schwab@redhat.com>
65534         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
65536 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
65538         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
65540         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
65541         prediction.
65542         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
65544         * string/strnlen.c: Don't define STRNLEN, reverse logic.
65545         Remove unused variable magic_bits.
65546         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
65548         * string/strnlen.c: Define and use STRNLEN macro.
65549         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
65550         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
65551         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
65552         * wcsmbs/wcslen.c: Define and use WCSLEN.
65553         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
65554         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
65555         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
65556         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
65557         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
65558         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
65559         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
65561 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65563         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65564         strnlen-sse2-no-bsf.
65565         Rename strlen-no-bsf to strlen-sse2-no-bsf.
65566         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
65567         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
65568         Add strnlen support.
65569         (USE_AS_STRNLEN): New macro.
65570         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
65571         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
65572         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
65573         * sysdeps/x86_64/wcslen.S: New file.
65575 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
65577         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
65578         XMM-moves are used for copying on small sizes.
65580 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65582         * wcsmbs/Makefile (strop-tests): Add wcschr.
65583         * wcsmbs/test-wcschr.c: New file.
65584         * string/test-strchr.c: Update.
65585         Add wcschr support.
65586         (WIDE): New macro.
65588 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65590         * wcsmbs/Makefile (strop-tests): Add wcslen.
65591         * wcsmbs/test-wcslen.c: New file.
65592         * string/test-strlen.c: Update.
65593         Add wcslen support.
65594         (WIDE): New macro.
65596 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
65598         * po/it.po: Update from translation team.
65600 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65602         * sysdeps/x86_64/wcscmp.S: Update.
65603         Fix wrong comparison semantics.
65604         wcscmp shall use signed comparison not unsigned.
65605         Don't use substraction to avoid overflow bug.
65606         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
65607         * wcsmbc/wcscmp.c: Likewise.
65608         * string/test-strcmp.c: Likewise.
65609         Add new tests to check cases with negative values.
65611 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
65613         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
65614         * sysdeps/x86_64/dla.h: ...here.  New file.
65615         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
65616         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65617         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65618         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65619         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65620         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65621         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65622         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65623         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65625 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
65627         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
65628         __ynl_finite aliases.
65630 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
65632         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65634         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
65635         define DLA_FMA.
65636         [DLA_FMA] (EMULV): Use DLA_FMA.
65637         [DLA_FMA] (MUL12): Use EMULV.
65638         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
65639         that are not needed.
65640         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65641         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65642         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65643         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65644         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65645         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65646         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65648 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
65650         * math/s_nan.c: Undef __nan.
65651         * math/s_nanf.c: Undef __nanf.
65652         * math/s_nanl.c: Undef __nanl.
65653         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
65654         "math_private.h".
65656 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
65658         * math/s_catan.c: Add branch predictions.
65659         * math/s_catanf.c: Likewise.
65660         * math/s_catanh.c: Likewise.
65661         * math/s_catanhf.c: Likewise.
65662         * math/s_catanhl.c: Likewise.
65663         * math/s_catanl.c: Likewise.
65664         * math/s_cexp.c: Likewise.
65665         * math/s_cexpf.c: Likewise.
65666         * math/s_cexpl.c: Likewise.
65667         * math/s_clog.c: Likewise.
65668         * math/s_clog10.c: Likewise.
65669         * math/s_clog10f.c: Likewise.
65670         * math/s_clog10l.c: Likewise.
65671         * math/s_clogf.c: Likewise.
65672         * math/s_clogl.c: Likewise.
65673         * math/s_csqrt.c: Likewise.
65674         * math/s_csqrtf.c: Likewise.
65675         * math/s_csqrtl.c: Likewise.
65676         * math/s_ctanf.c: Likewise.
65677         * math/s_ctanh.c: Likewise.
65678         * math/s_ctanhf.c: Likewise.
65679         * math/s_ctanhl.c: Likewise.
65680         * math/s_ctanl.c: Likewise.
65682         * math/math_private.h: Define __nan, __nanf, __nanl.
65683         * math/s_cacosh.c: Include <math_private.h>.
65684         * math/s_cacoshl.c: Likewise.
65685         * math/s_casinh.c: Likewise.
65686         * math/s_casinhf.c: Likewise.
65687         * math/s_casinhl.c: Likewise.
65688         * math/s_ccos.c: Rely entire on ccosh.
65689         * math/s_ccosf.c: Rely entire on ccoshf.
65690         * math/s_ccosl.c: Rely entirely on ccoshl.
65691         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
65692         Remove tests for FE_INVALID.
65693         * math/s_ccoshf.c: Likewise.
65694         * math/s_ccoshl.c: Likewise.
65695         * math/s_csin.c: Likewise.
65696         * math/s_csinf.c: Likewise.
65697         * math/s_csinh.c Likewise.
65698         * math/s_csinhf.c: Likewise.
65699         * math/s_csinhl.c: Likewise.
65700         * math/s_csinl.c: Likewise.
65701         * math/s_ctan.c: Likewise.
65702         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
65703         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
65704         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
65706 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
65708         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
65709         compilation problems.
65711         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
65712         __builtin_expect.
65714 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
65716         * sysdeps/i386/configure.in: Test for -mfma4 option.
65717         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
65718         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
65719         COMMON_CPUID_INDEX_80000001.
65720         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
65721         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
65722         use it if FMA3 is not supported.
65723         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
65725         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
65726         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
65728 2011-10-20  Andreas Schwab  <schwab@redhat.com>
65730         [BZ #12892]
65731         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
65732         it would create a cycle with a link time dependency.
65734 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
65736         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
65737         instruction.
65738         * string/Makefile (strop-tests): Add rawmemchr.
65739         * string/test-rawmemchr.c: New file.
65741         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
65742         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
65743         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
65744         when compiling str{,n}casecmp and when AVX is available.  Hook up
65745         new optimized code in initializers.
65747 2011-10-19  Andreas Schwab  <schwab@redhat.com>
65749         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
65750         __feraiseexcept instead of feraiseexcept.
65752 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
65754         * math/math_private.h: Define defaults for libc_fetestexcept and
65755         libc_feupdateenv.
65756         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
65757         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
65758         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
65759         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
65760         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
65761         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
65762         libc_fetestexcept and libc_feupdateenv.
65764         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
65765         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
65766         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
65767         * sysdeps/x86_64/fpu/math_private.h: Define special version of
65768         libc_feholdexcept_setround.
65770         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
65771         Add s_nearbyint-c and s_nearbyintf-c.
65772         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
65773         nearbyintf inlines.
65774         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
65775         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
65776         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
65777         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
65779         * math/math_private.h: Define defaults for libc_fegetround,
65780         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
65781         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
65782         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
65783         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
65784         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
65785         standard functions.
65786         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
65787         Remove comments and hacks for old compiler versions.
65788         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
65789         libc_fegetround, libc_fesetround, libc_feholdexcept, and
65790         libc_feholdexceptl.
65792 2011-10-18  Andreas Schwab  <schwab@redhat.com>
65794         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
65795         (__feraiseexcept_renamed): Add __NTH.
65796         (feraiseexcept): Add __NTH.  Rename local variables to fix
65797         namespace violations.
65799 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
65801         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
65803         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
65805         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
65806         recently added interfaces.
65807         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
65809         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
65810         about macro parameter expansion.
65812         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
65813         __NO_MATH_INLINES is defined.  Cleanups.
65815         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
65816         and __floorf is target has SSE4.1.
65817         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
65818         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
65819         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
65820         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
65822         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
65823         name.
65824         (floorf): Likewise.
65826         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
65828 2011-10-17  Andreas Schwab  <schwab@redhat.com>
65830         * misc/sys/cdefs.h: Fix last change.
65832         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
65833         database lookup.
65835 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
65837         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
65839         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
65840         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65841         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
65842         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
65843         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65844         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
65845         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
65846         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
65847         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
65848         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
65849         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
65850         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
65851         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
65852         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
65853         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
65854         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
65855         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
65856         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
65857         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
65858         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
65859         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
65860         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
65862         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
65863         ceil, ceilf, floor, floorf.
65865         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
65866         Perform IRELATIVE relocations last.
65868         * elf/do-rel.h: Add another parameter nrelative, replacing the
65869         local variable with the same name.  Change name of the function
65870         to end in Rel or Rela (uppercase).
65871         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
65872         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
65873         elf_dynamic_do_##reloc function.
65875 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
65877         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
65878         is sufficient, at least on modern CPUs.
65880         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
65882         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
65883         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
65885         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
65886         __expl_finite.
65887         * math/bits/math-finite.h: Add entries for exp.
65888         * math/e_expl.c: Add __*_finite alias.
65889         * sysdeps/i386/fpu/e_exp.S: Likewise.
65890         * sysdeps/i386/fpu/e_expf.S: Likewise.
65891         * sysdeps/i386/fpu/e_expl.c: Likewise.
65892         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65893         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
65894         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
65895         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
65896         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
65897         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
65898         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
65900         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
65901         is sufficient, at least on modern CPUs.
65903         * ctype/ctype-info.c (__ctype_init): Define.
65904         * include/ctype.h (__ctype_init): Declare.
65905         (__ctype_b_loc): The variable is always initialized.
65906         (__ctype_toupper_loc): Likewise.
65907         (__ctype_tolower_loc): Likewise.
65908         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
65909         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
65911 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
65913         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
65915         * configure.in: Also look in $cxxmachine/include for C++ system
65916         headers.
65918 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65920         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
65921         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
65922         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
65923         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
65924         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
65925         (USE_AS_WMEMCMP): New macro.
65926         Fixing indents.
65927         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
65928         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
65929         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
65930         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
65931         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65932         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
65933         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
65934         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
65935         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
65936         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
65937         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
65938         (USE_AS_WMEMCMP): New macro.
65939         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
65940         * sysdeps/string/test-memcmp.c: Update.
65941         Fix simple_wmemcmp.
65942         Add new tests.
65943         * wcsmbs/wmemcmp.c: Update.
65944         (WMEMCMP): New macro.
65945         Fix overflow bug.
65947 2011-10-12  Andreas Jaeger  <aj@suse.de>
65949         [BZ #13268]
65950         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
65952 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
65954         * libio/iofwide.c (do_length): Avoid warning.
65956         * ctype/ctype.h (__isctype_f): Add missing __THROW.
65958 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
65960         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
65962         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
65963         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
65964         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
65965         * sysdeps/i386/i686/fpu/e_log.S: New file.
65966         * sysdeps/i386/i686/fpu/e_logf.S: New file.
65967         * sysdeps/i386/i686/fpu/e_logl.S: New file.
65969         * ctype/ctype.h: Add support for inlined isXXX functions when
65970         compiling C++ code.
65972 2011-10-14  Andreas Schwab  <schwab@redhat.com>
65974         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65976         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
65978 2011-10-13  Roland McGrath  <roland@hack.frob.com>
65980         [BZ #13291]
65981         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
65983 2011-10-13  Andreas Schwab  <schwab@redhat.com>
65985         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
65986         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
65987         feraiseexcept.
65989         * sysdeps/x86_64/memrchr.S: Check for zero size.
65991         * string/stratcliff.c: Add memrchr tests.
65993 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65995         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65996         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
65997         rawmemchr-sse2 rawmemchr-sse2-bsf.
65998         * sysdeps/i386/i686/multiarch/memchr.S: New file.
65999         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
66000         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
66001         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
66002         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
66003         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
66004         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
66005         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
66006         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
66007         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
66008         * string/memrchr.c (MEMRCHR): New macro.
66010 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
66012         Add integration with gcc's -ffinite-math-only and optimize wrapper
66013         functions in libm.
66014         * Versions.def: Define GLIBC_2.15 version for libm.
66015         * math/Makefile (headers): Add bits/math-finite.h.
66016         * math/bits/math-finite.h: New file.
66017         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
66018         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
66019         * math/e_acoshl.c: Add __*_finite alias.
66020         * math/e_acosl.c: Likewise.
66021         * math/e_asinl.c: Likewise.
66022         * math/e_atan2l.c: Likewise.
66023         * math/e_atanhl.c: Likewise.
66024         * math/e_coshl.c: Likewise.
66025         * math/e_exp10.c: Likewise.
66026         * math/e_exp10f.c: Likewise.
66027         * math/e_exp10l.c: Likewise.
66028         * math/e_exp2l.c: Likewise.
66029         * math/e_fmodl.c: Likewise.
66030         * math/e_gammal_r.c: Likewise.
66031         * math/e_hypotl.c: Likewise.
66032         * math/e_j0l.c: Likewise.
66033         * math/e_j1l.c: Likewise.
66034         * math/e_jnl.c: Likewise.
66035         * math/e_lgammal_r.c: Likewise.
66036         * math/e_log10l.c: Likewise.
66037         * math/e_log2l.c: Likewise.
66038         * math/e_logl.c: Likewise.
66039         * math/e_powl.c: Likewise.
66040         * math/e_sinhl.c: Likewise.
66041         * math/e_sqrtl.c: Likewise.
66042         * math/e_scalb.c: Completely rewritten and optimized.
66043         * math/e_scalbf.c: Likewise.
66044         * math/e_scalbl.c: Likewise.
66045         * math/w_acos.c: Likewise.
66046         * math/w_acosf.c: Likewise.
66047         * math/w_acosl.c: Likewise.
66048         * math/w_acosh.c: Likewise.
66049         * math/w_acoshf.c: Likewise.
66050         * math/w_acoshl.c: Likewise.
66051         * math/w_asin.c: Likewise.
66052         * math/w_asinf.c: Likewise.
66053         * math/w_asinl.c: Likewise.
66054         * math/w_atan2.c: Likewise.
66055         * math/w_atan2f.c: Likewise.
66056         * math/w_atan2l.c: Likewise.
66057         * math/w_atanh.c: Likewise.
66058         * math/w_atanhf.c: Likewise.
66059         * math/w_atanhl.c: Likewise.
66060         * math/w_exp10.c: Likewise.
66061         * math/w_exp10f.c: Likewise.
66062         * math/w_exp10l.c: Likewise.
66063         * math/w_fmod.c: Likewise.
66064         * math/w_fmodf.c: Likewise.
66065         * math/w_fmodl.c: Likewise.
66066         * math/w_j0.c: Likewise.
66067         * math/w_j0f.c: Likewise.
66068         * math/w_j0l.c: Likewise.
66069         * math/w_j1.c: Likewise.
66070         * math/w_j1f.c: Likewise.
66071         * math/w_j1l.c: Likewise.
66072         * math/w_jn.c: Likewise.
66073         * math/w_jnf.c: Likewise.
66074         * math/w_log.c: Likewise.
66075         * math/w_logf.c: Likewise.
66076         * math/w_logl.c: Likewise.
66077         * math/w_log10.c: Likewise.
66078         * math/w_log10f.c: Likewise.
66079         * math/w_log10l.c: Likewise.
66080         * math/w_log2.c: Likewise.
66081         * math/w_log2f.c: Likewise.
66082         * math/w_log2l.c: Likewise.
66083         * math/w_pow.c: Likewise.
66084         * math/w_powf.c: Likewise.
66085         * math/w_powl.c: Likewise.
66086         * math/w_remainder.c: Likewise.
66087         * math/w_remainderf.c: Likewise.
66088         * math/w_remainderl.c: Likewise.
66089         * math/w_scalb.c: Likewise.
66090         * math/w_scalbf.c: Likewise.
66091         * math/w_scalbl.c: Likewise.
66092         * math/w_sqrt.c: Likewise.
66093         * math/w_sqrtf.c: Likewise.
66094         * math/w_sqrtl.c: Likewise.
66095         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
66096         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
66097         used.
66098         * math/math_private.h: Declare __kernel_standard_f.
66099         * math/w_cosh.c: Remove cruft and optimize a bit.
66100         * math/w_coshf.c: Likewise.
66101         * math/w_coshl.c: Likewise.
66102         * math/w_exp2.c: Likewise.
66103         * math/w_exp2f.c: Likewise.
66104         * math/w_exp2l.c: Likewise.
66105         * math/w_hypot.c: Likewise.
66106         * math/w_hypotf.c: Likewise.
66107         * math/w_hypotl.c: Likewise.
66108         * math/w_lgamma.c: Likewise.
66109         * math/w_lgamma_r.c: Likewise.
66110         * math/w_lgammaf.c: Likewise.
66111         * math/w_lgammaf_r.c: Likewise.
66112         * math/w_lgammal.c: Likewise.
66113         * math/w_lgammal_r.c: Likewise.
66114         * math/w_sinh.c: Likewise.
66115         * math/w_sinhf.c: Likewise.
66116         * math/w_sinhl.c: Likewise.
66117         * math/w_tgamma.c: Likewise.
66118         * math/w_tgammaf.c: Likewise.
66119         * math/w_tgammal.c: Likewise.
66120         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
66121         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66122         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
66123         Minor optimizations.  Pretty printing.  Remove cruft.
66124         * sysdeps/i386/fpu/e_acosf.S: Likewise.
66125         * sysdeps/i386/fpu/e_acosh.S: Likewise.
66126         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
66127         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
66128         * sysdeps/i386/fpu/e_acosl.c: Likewise.
66129         * sysdeps/i386/fpu/e_asin.S: Likewise.
66130         * sysdeps/i386/fpu/e_asinf.S: Likewise.
66131         * sysdeps/i386/fpu/e_atan2.S: Likewise.
66132         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
66133         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
66134         * sysdeps/i386/fpu/e_atanh.S: Likewise.
66135         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
66136         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
66137         * sysdeps/i386/fpu/e_exp10.S: Likewise.
66138         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
66139         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
66140         * sysdeps/i386/fpu/e_exp2.S: Likewise.
66141         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
66142         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
66143         * sysdeps/i386/fpu/e_fmod.S: Likewise.
66144         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
66145         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
66146         * sysdeps/i386/fpu/e_hypot.S: Likewise.
66147         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
66148         * sysdeps/i386/fpu/e_log.S: Likewise.
66149         * sysdeps/i386/fpu/e_log10.S: Likewise.
66150         * sysdeps/i386/fpu/e_log10f.S: Likewise.
66151         * sysdeps/i386/fpu/e_log10l.S: Likewise.
66152         * sysdeps/i386/fpu/e_log2.S: Likewise.
66153         * sysdeps/i386/fpu/e_log2f.S: Likewise.
66154         * sysdeps/i386/fpu/e_log2l.S: Likewise.
66155         * sysdeps/i386/fpu/e_logf.S: Likewise.
66156         * sysdeps/i386/fpu/e_logl.S: Likewise.
66157         * sysdeps/i386/fpu/e_pow.S: Likewise.
66158         * sysdeps/i386/fpu/e_powf.S: Likewise.
66159         * sysdeps/i386/fpu/e_powl.S: Likewise.
66160         * sysdeps/i386/fpu/e_remainder.S: Likewise.
66161         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
66162         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
66163         * sysdeps/i386/fpu/e_scalb.S: Likewise.
66164         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
66165         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
66166         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
66167         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
66168         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
66169         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
66170         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66171         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66172         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
66173         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
66174         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
66175         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
66176         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
66177         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66178         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
66179         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
66180         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
66181         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66182         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
66183         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
66184         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66185         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
66186         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
66187         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66188         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66189         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
66190         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
66191         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
66192         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
66193         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
66194         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
66195         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
66196         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
66197         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
66198         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
66199         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66200         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
66201         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66202         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
66203         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
66204         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
66205         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
66206         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
66207         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
66208         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
66209         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
66210         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
66211         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
66212         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
66213         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
66214         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
66215         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
66216         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
66217         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
66218         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
66219         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
66220         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
66221         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
66222         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66223         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
66224         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
66225         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
66226         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
66227         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
66228         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
66229         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
66230         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
66231         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
66232         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
66233         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
66234         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
66235         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
66236         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
66237         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
66238         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
66239         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
66240         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
66241         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
66242         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
66243         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
66244         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
66245         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
66246         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
66247         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
66248         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
66249         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66250         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
66251         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
66252         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
66253         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66254         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
66255         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
66256         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
66257         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
66258         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
66259         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
66260         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
66261         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66262         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
66263         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
66264         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
66265         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
66266         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
66267         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
66268         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
66269         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
66270         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
66271         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
66272         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
66273         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
66274         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
66275         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
66276         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
66277         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
66278         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
66279         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
66280         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
66281         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
66282         (__isnanf): Likewise.
66283         (__isinf_ns): Likewise.
66284         (__isinf_nsf): Likewise.
66285         (__finite): Likewise.
66286         (__finitef): Likewise.
66287         (__ieee754_sqrt): Define as macro.
66288         (__ieee754_sqrtf): Define as macro.
66289         (__ieee754_sqrtl): Define as macro.
66290         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
66291         inlined copy.
66292         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
66293         __FINITE_MATH_ONLY__ consistent.
66294         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
66296 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
66298         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
66299         of rawmemchr.
66301         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
66303 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
66305         * po/ja.po: Update from translation team.
66307 2011-10-08  Roland McGrath  <roland@hack.frob.com>
66309         * locale/programs/locarchive.c (prepare_address_space): New function.
66310         (create_archive, enlarge_archive, open_archive): Use it.
66312         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
66313         inside [SHARED], where it is used.
66315         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
66317         * nss/getent.c (netgroup_keys): Remove unused variable.
66318         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
66320 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
66322         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
66323         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
66324         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
66325         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
66326         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
66327         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
66328         * math/Makefile (libm-calls): Add s_isinf_ns.
66329         * math/divtc3.c: Use __isinf_nsl instead of isinf.
66330         * math/multc3.c: Likewise.
66331         * math/s_casin.c: Likewise.
66332         * math/s_casinf.c: Likewise.
66333         * math/s_casinl.c: Likewise.
66334         * math/s_ccos.c: Likewise.
66335         * math/s_ccosf.c: Likewise.
66336         * math/s_ccosl.c: Likewise.
66337         * math/s_ctan.c: Likewise.
66338         * math/s_ctanf.c: Likewise.
66339         * math/s_ctanh.c: Likewise.
66340         * math/s_ctanhf.c: Likewise.
66341         * math/s_ctanhl.c: Likewise.
66342         * math/s_ctanl.c: Likewise.
66343         * math/w_fmod.c: Likewise.
66344         * math/w_fmodf.c: Likewise.
66345         * math/w_fmodl.c: Likewise.
66346         * math/w_remainder.c: Likewise.
66347         * math/w_remainderf.c: Likewise.
66348         * math/w_remainderl.c: Likewise.
66349         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
66350         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
66351         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
66352         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
66353         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
66354         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
66355         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
66356         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
66358         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
66359         of the number.
66360         * stdio-common/printf_fphex.c: Likewise.
66361         * stdio-common/printf_size.c: Likewise.
66363         * math/e_exp10.c: Include math_private.h using <...> not "...".
66364         * math/e_exp10f.c: Likewise.
66365         * math/e_exp10l.c: Likewise.
66366         * math/e_exp2l.c: Likewise.
66367         * math/e_j0l.c: Likewise.
66368         * math/e_j1l.c: Likewise.
66369         * math/e_jnl.c: Likewise.
66370         * math/e_lgammal_r.c: Likewise.
66371         * math/e_rem_pio2l.c: Likewise.
66372         * math/e_scalb.c: Likewise.
66373         * math/e_scalbf.c: Likewise.
66374         * math/e_scalbl.c: Likewise.
66375         * math/k_cosl.c: Likewise.
66376         * math/k_sinl.c: Likewise.
66377         * math/k_tanl.c: Likewise.
66378         * math/s_cacoshf.c: Likewise.
66379         * math/s_catan.c: Likewise.
66380         * math/s_catanf.c: Likewise.
66381         * math/s_catanh.c: Likewise.
66382         * math/s_catanhf.c: Likewise.
66383         * math/s_catanhl.c: Likewise.
66384         * math/s_catanl.c: Likewise.
66385         * math/s_ccosh.c: Likewise.
66386         * math/s_ccoshf.c: Likewise.
66387         * math/s_ccoshl.c: Likewise.
66388         * math/s_cexp.c: Likewise.
66389         * math/s_cexpf.c: Likewise.
66390         * math/s_cexpl.c: Likewise.
66391         * math/s_clog.c: Likewise.
66392         * math/s_clog10.c: Likewise.
66393         * math/s_clog10f.c: Likewise.
66394         * math/s_clog10l.c: Likewise.
66395         * math/s_clogf.c: Likewise.
66396         * math/s_clogl.c: Likewise.
66397         * math/s_csin.c: Likewise.
66398         * math/s_csinf.c: Likewise.
66399         * math/s_csinh.c: Likewise.
66400         * math/s_csinhf.c: Likewise.
66401         * math/s_csinhl.c: Likewise.
66402         * math/s_csinl.c: Likewise.
66403         * math/s_csqrt.c: Likewise.
66404         * math/s_csqrtf.c: Likewise.
66405         * math/s_csqrtl.c: Likewise.
66406         * math/s_ctan.c: Likewise.
66407         * math/s_ctanf.c: Likewise.
66408         * math/s_ctanh.c: Likewise.
66409         * math/s_ctanhf.c: Likewise.
66410         * math/s_ctanhl.c: Likewise.
66411         * math/s_ctanl.c: Likewise.
66412         * math/s_ldexp.c: Likewise.
66413         * math/s_ldexpf.c: Likewise.
66414         * math/s_ldexpl.c: Likewise.
66415         * math/s_significand.c: Likewise.
66416         * math/s_significandf.c: Likewise.
66417         * math/s_significandl.c: Likewise.
66418         * math/w_acos.c: Likewise.
66419         * math/w_acosf.c: Likewise.
66420         * math/w_acosh.c: Likewise.
66421         * math/w_acoshf.c: Likewise.
66422         * math/w_acoshl.c: Likewise.
66423         * math/w_acosl.c: Likewise.
66424         * math/w_asin.c: Likewise.
66425         * math/w_asinf.c: Likewise.
66426         * math/w_asinl.c: Likewise.
66427         * math/w_atan2.c: Likewise.
66428         * math/w_atan2f.c: Likewise.
66429         * math/w_atan2l.c: Likewise.
66430         * math/w_atanh.c: Likewise.
66431         * math/w_atanhf.c: Likewise.
66432         * math/w_atanhl.c: Likewise.
66433         * math/w_cosh.c: Likewise.
66434         * math/w_coshf.c: Likewise.
66435         * math/w_coshl.c: Likewise.
66436         * math/w_dremf.c: Likewise.
66437         * math/w_exp10.c: Likewise.
66438         * math/w_exp10f.c: Likewise.
66439         * math/w_exp10l.c: Likewise.
66440         * math/w_exp2.c: Likewise.
66441         * math/w_exp2f.c: Likewise.
66442         * math/w_fmod.c: Likewise.
66443         * math/w_fmodf.c: Likewise.
66444         * math/w_fmodl.c: Likewise.
66445         * math/w_hypot.c: Likewise.
66446         * math/w_hypotf.c: Likewise.
66447         * math/w_hypotl.c: Likewise.
66448         * math/w_j0.c: Likewise.
66449         * math/w_j0f.c: Likewise.
66450         * math/w_j0l.c: Likewise.
66451         * math/w_j1.c: Likewise.
66452         * math/w_j1f.c: Likewise.
66453         * math/w_j1l.c: Likewise.
66454         * math/w_jn.c: Likewise.
66455         * math/w_jnf.c: Likewise.
66456         * math/w_jnl.c: Likewise.
66457         * math/w_lgamma.c: Likewise.
66458         * math/w_lgamma_r.c: Likewise.
66459         * math/w_lgammaf.c: Likewise.
66460         * math/w_lgammaf_r.c: Likewise.
66461         * math/w_lgammal.c: Likewise.
66462         * math/w_lgammal_r.c: Likewise.
66463         * math/w_log.c: Likewise.
66464         * math/w_log10.c: Likewise.
66465         * math/w_log10f.c: Likewise.
66466         * math/w_log10l.c: Likewise.
66467         * math/w_log2.c: Likewise.
66468         * math/w_log2f.c: Likewise.
66469         * math/w_log2l.c: Likewise.
66470         * math/w_logf.c: Likewise.
66471         * math/w_logl.c: Likewise.
66472         * math/w_pow.c: Likewise.
66473         * math/w_powf.c: Likewise.
66474         * math/w_powl.c: Likewise.
66475         * math/w_remainder.c: Likewise.
66476         * math/w_remainderf.c: Likewise.
66477         * math/w_remainderl.c: Likewise.
66478         * math/w_scalb.c: Likewise.
66479         * math/w_scalbf.c: Likewise.
66480         * math/w_scalbl.c: Likewise.
66481         * math/w_sinh.c: Likewise.
66482         * math/w_sinhf.c: Likewise.
66483         * math/w_sinhl.c: Likewise.
66484         * math/w_sqrt.c: Likewise.
66485         * math/w_sqrtf.c: Likewise.
66486         * math/w_sqrtl.c: Likewise.
66487         * math/w_tgamma.c: Likewise.
66488         * math/w_tgammaf.c: Likewise.
66489         * math/w_tgammal.c: Likewise.
66491         * po/ja.po: Update from translation team.
66493 2011-09-29  Andreas Jaeger  <aj@suse.de>
66495         [BZ #13179]
66496         * sunrpc/netname.c (netname2host): Fix logic.
66498         [BZ #6779]
66499         [BZ #6783]
66500         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
66501         correctly.
66502         * math/w_remainder.c (__remainder): Likewise.
66503         * math/w_remainderf.c (__remainderf): Likewise.
66504         * math/libm-test.inc (remainder_test): Add test cases.
66506 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66508         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
66509         sdiv_qrnnd.
66511 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
66513         * string/test-memcmp.c: Avoid unncessary #defines.
66514         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
66516 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66518         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
66519         Use new sse2 version for core i3 - i7 as it's faster
66520         than sse42 version.
66521         (bit_Prefer_PMINUB_for_stringop): New.
66522         * sysdeps/x86_64/rawmemchr.S: Update.
66523         Replace with faster SSE2 version.
66524         * sysdeps/x86_64/memrchr.S: New file.
66525         * sysdeps/x86_64/memchr.S: Update.
66526         Replace with faster SSE2 version.
66528 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
66530         * elf/dl-load.c (lose): Add cast to avoid warning.
66532 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
66534         * po/ca.po: Update from translation team.
66536         * inet/getnetgrent_r.c: Hook up nscd.
66537         * nscd/Makefile (routines): Add nscd_netgroup.
66538         (nscd-modules): Add netgroupcache.
66539         (CFLAGS-netgroupcache.c): Define.
66540         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
66541         (cache_search): Add const to second parameter.
66542         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
66543         INNETGR.
66544         (dbs): Add netgrdb entry.
66545         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
66546         (verify_persistent_db): Handle netgrdb.
66547         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
66548         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
66549         GETFDNETGR.
66550         (netgroup_response_header): Define.
66551         (innetgroup_response_header): Define.
66552         (datahead): Add netgroup_response_header and innetgroup_response_header
66553         elements.
66554         * nscd/nscd.conf: Add entries for netgroup cache.
66555         * nscd/nscd.h (dbtype): Add netgrdb.
66556         (_PATH_NSCD_NETGROUP_DB): Define.
66557         (netgroup_iov_disabled): Declare.
66558         (xmalloc, xcalloc, xrealloc): Move declarations here.
66559         (cache_search): Adjust prototype.
66560         Add netgroup-related prototypes.
66561         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
66562         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
66563         (__nscd_innetgr): Declare.
66564         * nscd/selinux.c (perms): Use access_vector_t as element type and
66565         add netgroup-related initializers.
66566         * nscd/netgroupcache.c: New file.
66567         * nscd/nscd_netgroup.c: New file.
66568         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
66569         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
66570         For four parameters use innetgr.
66571         * nss/nss_files/files-init.c: Add definition and callback for netgr.
66572         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
66573         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
66574         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
66576         * nscd/connections.c (register_traced_file): Don't register file
66577         for disabled databases.
66579 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
66581         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
66583         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
66584         from tree and freeing node.
66586 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
66588         * nss/nsswitch.c (__nss_database_lookup): Handle
66589         nss_parse_service_list out of memory case.
66591 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
66593         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
66594         out of memory case.
66596 2011-10-04  Andreas Schwab  <schwab@redhat.com>
66598         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
66599         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
66600         pass it down.
66601         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
66602         elf_machine_rela, elf_machine_lazy_rel.
66603         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
66604         (ELF_DYNAMIC_DO_REL): Likewise.
66605         (ELF_DYNAMIC_DO_RELA): Likewise.
66606         (ELF_DYNAMIC_RELOCATE): Likewise.
66607         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
66608         to ELF_DYNAMIC_DO_REL.
66609         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
66610         (dl_main): In trace mode always set __RTLD_NOIFUNC.
66611         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
66612         elf_machine_rela.
66613         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
66614         skip_ifunc, don't call ifunc function if non-zero.
66615         (elf_machine_rela): Likewise.
66616         (elf_machine_lazy_rel): Likewise.
66617         (elf_machine_lazy_rela): Likewise.
66618         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
66619         (elf_machine_lazy_rel): Likewise.
66620         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
66621         Likewise.
66622         (elf_machine_lazy_rel): Likewise.
66623         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
66624         Likewise.
66625         (elf_machine_lazy_rel): Likewise.
66626         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
66627         (elf_machine_lazy_rel): Likewise.
66628         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
66629         (elf_machine_lazy_rel): Likewise.
66630         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
66631         (elf_machine_lazy_rel): Likewise.
66632         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
66633         (elf_machine_lazy_rel): Likewise.
66634         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
66635         (elf_machine_lazy_rel): Likewise.
66636         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
66637         (elf_machine_lazy_rel): Likewise.
66639 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
66641         * nss/nss_files/files-init.c (_nss_files_init): Use static
66642         initialization for all the *_traced_file variables.
66644 2011-09-28  Andreas Schwab  <schwab@redhat.com>
66646         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66648 2011-09-27  Roland McGrath  <roland@hack.frob.com>
66650         [BZ #13226]
66651         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
66653 2011-09-27  Andreas Schwab  <schwab@redhat.com>
66655         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
66656         Reread the line before reparsing it.
66658 2011-09-26  Andreas Schwab  <schwab@redhat.com>
66660         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
66662 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
66663             Maxim Kuvyrkov  <maxim@codesourcery.com>
66664             Joseph Myers  <joseph@codesourcery.com>
66666         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
66667         if needed for __stack_chk_guard.
66669 2011-09-19  Roland McGrath  <roland@hack.frob.com>
66671         * sysdeps/posix/spawni.c (script_execute): Always define it.
66672         It will be optimized away if unused.
66673         (maybe_script_execute): New function.
66674         (__spawni): Call it.
66676         * Makerules: Don't include tls.make.
66677         (config-tls): Always set to thread.
66678         * tls.make.c: File removed.
66680 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
66682         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
66683         * config.make.in (CPPFLAGS-config): New substituted variable.
66685 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
66687         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
66689         [BZ #13192]
66690         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
66691         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
66693 2011-09-15  Roland McGrath  <roland@hack.frob.com>
66695         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
66696         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
66697         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
66698         (CALL_FAIL): Likewise.
66699         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
66700         (CALL_FAIL): Macro removed.
66701         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
66703 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
66705         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
66706         for __FINITE_MATH_ONLY__ == 1.
66708 2011-09-15  Andreas Schwab  <schwab@redhat.com>
66710         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
66711         __ieee754_sqrt instead of sqrt.
66712         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
66713         __ieee754_sqrtf instead of sqrtf.
66714         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
66715         __floorf instead of floorf.
66716         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
66717         __floorf, __truncf instead of floorf, truncf.
66719 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
66721         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
66723         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
66724         __extern_always_inline.
66725         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
66726         32-bit.
66728 2011-09-14  Andreas Schwab  <schwab@redhat.com>
66730         * elf/rtld.c (dl_main): Also relocate in dependency order when
66731         doing symbol dependency testing.
66733 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
66735         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
66736         Always define `refsym'.
66738 2011-09-13  Andreas Schwab  <schwab@redhat.com>
66740         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
66741         (__FD_ELT): Renamed from __FDELT.
66742         * misc/bits/select2.h (__FD_ELT): Likewise.
66743         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
66744         __FD_MASK instead of __FDELT, __FDMASK.
66745         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
66746         Likewise.
66747         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
66748         Likewise.
66750         * elf/Makefile (gen-ldd): Fix pattern.
66752         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
66753         (init_tls): Likewise.
66755 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
66757         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
66759 2011-09-12  Andreas Schwab  <schwab@redhat.com>
66761         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
66762         `struct cmsghdr *' instead of `void *'.
66763         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
66764         Likewise.
66766 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
66768         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
66769         if non-absolute.
66770         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
66771         ldd_rewrite_script.
66773 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
66775         * configure.in: Remove --with-tls option.
66776         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
66777         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
66778         out in case it is missing.
66779         * sysdeps/ia64/elf/configure.in: Likewise.
66780         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
66781         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
66782         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
66783         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
66784         * sysdeps/sh/elf/configure.in: Likewise.
66785         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
66786         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
66787         * sysdeps/x86_64/elf/configure.in: Likewise.
66788         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
66789         * sysdeps/mach/hurd/tls.h: Likewise.
66791         [BZ #13067]
66792         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
66794         [BZ #13090]
66795         * configure.in: Fix use of AC_INIT.
66797         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
66799 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
66801         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
66802         __set_errno.
66803         * malloc/hooks.c: Likewise.
66805         [BZ #11929]
66806         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
66807         variables statically.
66808         (narenas): Initialize.
66809         (list_lock): Initialize.
66810         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
66811         initializtion of main_arena and list_lock.  Small cleanups.
66812         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
66813         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
66814         Add initializers to main_arena and mp_.
66815         (malloc_state): Remove pagesize member.  Change all users to use
66816         GLRO(dl_pagesize).
66818         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
66819         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
66820         is always initialized.
66822         * malloc/malloc.c: Removed unused configurations and dead code.
66823         * malloc/arena.c: Likewise.
66824         * malloc/hooks.c: Likewise.
66825         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
66827         * include/tls.h: Removed.  USE___THREAD must always be defined.
66828         * bits/libc-tsd.h: Don't handle !USE___THREAD.
66829         * elf/dl-libc.c: Likewise.
66830         * elf/dl-tsd.c: Likewise.
66831         * include/errno.h: Likewise.
66832         * include/netdb.h: Likewise.
66833         * include/resolv.h: Likewise.
66834         * inet/herrno-loc.c: Likewise.
66835         * inet/herrno.c: Likewise.
66836         * malloc/arena.c: Likewise.
66837         * malloc/hooks.c: Likewise.
66838         * malloc/malloc.c: Likewise.
66839         * resolv/res-state.c: Likewise.
66840         * resolv/res_libc.c: Likewise.
66841         * sysdeps/i386/dl-machine.h: Likewise.
66842         * sysdeps/ia64/dl-machine.h: Likewise.
66843         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
66844         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
66845         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
66846         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
66847         * sysdeps/sh/dl-machine.h: Likewise.
66848         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
66849         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
66850         * sysdeps/unix/i386/sysdep.S: Likewise.
66851         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
66852         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
66853         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
66854         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
66855         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
66856         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
66857         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
66858         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
66859         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66860         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
66861         * sysdeps/unix/x86_64/sysdep.S: Likewise.
66862         * sysdeps/x86_64/dl-machine.h: Likewise.
66863         * tls.make.c: Likewise.
66865         * configure.in: Remove --with-__thread option.  Make tests for
66866         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
66867         tls_model attribute fail if no support is available.  Remove
66868         USE_IN_LIBIO.
66869         * Makeconfig: Adjust for dropped configure option.  All features are
66870         now mandatory.
66871         * Makerules: Likewise.
66872         * Versions.def: Likewise.
66873         * argp/argp-fmtstream.c: Likewise.
66874         * argp/argp-fmtstream.h: Likewise.
66875         * argp/argp-help.c: Likewise.
66876         * assert/assert.c: Likewise.
66877         * config.h.in: Likewise.
66878         * config.make.in: Likewise.
66879         * configure: Likewise.
66880         * configure.in: Likewise.
66881         * csu/Versions: Likewise.
66882         * csu/init.c: Likewise.
66883         * elf/tst-audit2.c: Likewise.
66884         * elf/tst-tls10.c: Likewise.
66885         * elf/tst-tls10.h: Likewise.
66886         * elf/tst-tls11.c: Likewise.
66887         * elf/tst-tls12.c: Likewise.
66888         * elf/tst-tls14.c: Likewise.
66889         * elf/tst-tlsmod11.c: Likewise.
66890         * elf/tst-tlsmod12.c: Likewise.
66891         * elf/tst-tlsmod13.c: Likewise.
66892         * elf/tst-tlsmod13a.c: Likewise.
66893         * elf/tst-tlsmod14a.c: Likewise.
66894         * elf/tst-tlsmod15b.c: Likewise.
66895         * elf/tst-tlsmod16a.c: Likewise.
66896         * elf/tst-tlsmod16b.c: Likewise.
66897         * elf/tst-tlsmod7.c: Likewise.
66898         * elf/tst-tlsmod8.c: Likewise.
66899         * elf/tst-tlsmod9.c: Likewise.
66900         * gmon/gmon.c: Likewise.
66901         * grp/fgetgrent_r.c: Likewise.
66902         * grp/putgrent.c: Likewise.
66903         * hurd/fopenport.c: Likewise.
66904         * include/libc-symbols.h: Likewise.
66905         * include/tls.h: Likewise.
66906         * intl/gettextP.h: Likewise.
66907         * intl/loadinfo.h: Likewise.
66908         * locale/global-locale.c: Likewise.
66909         * locale/localeinfo.h: Likewise.
66910         * mach/devstream.c: Likewise.
66911         * malloc/arena.c: Likewise.
66912         * malloc/set-freeres.c: Likewise.
66913         * misc/err.c: Likewise.
66914         * misc/getttyent.c: Likewise.
66915         * misc/mntent_r.c: Likewise.
66916         * posix/getopt.c: Likewise.
66917         * posix/wordexp.c: Likewise.
66918         * pwd/fgetpwent_r.c: Likewise.
66919         * resolv/Versions: Likewise.
66920         * resolv/res_hconf.c: Likewise.
66921         * shadow/fgetspent_r.c: Likewise.
66922         * shadow/putspent.c: Likewise.
66923         * stdio-common/printf_fphex.c: Likewise.
66924         * stdio-common/tmpfile.c: Likewise.
66925         * stdlib/abort.c: Likewise.
66926         * stdlib/fmtmsg.c: Likewise.
66927         * sunrpc/auth_unix.c: Likewise.
66928         * sunrpc/clnt_perr.c: Likewise.
66929         * sunrpc/clnt_tcp.c: Likewise.
66930         * sunrpc/clnt_udp.c: Likewise.
66931         * sunrpc/clnt_unix.c: Likewise.
66932         * sunrpc/openchild.c: Likewise.
66933         * sunrpc/svc_simple.c: Likewise.
66934         * sunrpc/svc_tcp.c: Likewise.
66935         * sunrpc/svc_udp.c: Likewise.
66936         * sunrpc/svc_unix.c: Likewise.
66937         * sunrpc/xdr.c: Likewise.
66938         * sunrpc/xdr_array.c: Likewise.
66939         * sunrpc/xdr_rec.c: Likewise.
66940         * sunrpc/xdr_ref.c: Likewise.
66941         * sunrpc/xdr_stdio.c: Likewise.
66943 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
66945         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66947 2011-07-03  Andreas Jaeger  <aj@suse.de>
66949         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
66950         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
66951         regenerate with gen-libm-tests.pl.
66953 2010-05-12  Petr Baudis  <pasky@suse.cz>
66955         [BZ #11589]
66956         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
66957         around j0() zero points by switching to j1().
66958         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66959         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66960         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
66961         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
66963 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
66965         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
66966         instead of 0.
66967         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
66968         instead of 0.
66969         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
66970         Patch in part by Pavel Roskin <proski@gnu.org>.
66972         [BZ #13138]
66973         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
66974         realloc.
66975         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
66976         Free memory block if necessary.
66978         [BZ #12847]
66979         * libio/genops.c (INTDEF): For string streams the _lock pointer can
66980         be NULL.  Don't lock in this case.
66982 2011-09-09  Roland McGrath  <roland@hack.frob.com>
66984         * elf/elf.h (ELFOSABI_GNU): New macro.
66985         (ELFOSABI_LINUX): Define to that.
66987 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
66989         * string/strncat.c (strncat): Undef the symbol in case it has been
66990         defined in bits/string.h.
66992 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
66994         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
66996         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
66997         link map.
66999 2011-08-17  Andreas Jaeger  <aj@suse.de>
67001         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
67003 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
67004             Ian Lance Taylor  <iant@google.com>
67006         * math/libm-test.inc (lround_test): New testcase.
67007         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
67009 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
67011         * Makefile: Remove support for automatic cvs check-ins.
67012         * Makerules: Likewise.
67013         * config.make.in: Likewise.
67014         * configure.in: Likewise.
67015         * intl/Makefile: Likewise.
67016         * locale/Makefile: Likewise.
67017         * po/Makefile: Likewise.
67018         * posix/Makefile: Likewise.
67019         * sysdeps/gnu/Makefile: Likewise.
67020         * sysdeps/mach/hurd/Makefile: Likewise.
67021         * sysdeps/sparc/sparc32/Makefile: Likewise.
67023         [BZ #13118]
67024         * posix/Makefile (bug-regex32-ENV): Define.
67025         Patch by John Stanley <jpsinthemix@verizon.net>.
67027         * misc/Makefile (headers): Add bits/select2.h.
67028         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
67029         * misc/bits/select2.h: New file.
67030         * include/bits/select2.h: New file.
67031         * debug/Makefile (routines): Add fdelt_chk.
67032         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
67033         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
67034         FD_ISSET.
67035         * debug/fdelt_chk.c: New file.
67037         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
67038         * wcsmbs/test-wmemcmp.c: Likewise.
67039         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
67040         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
67042 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67044         * string/Makefile (strop-tests): Add memcmp.
67045         * string/test-wmemcmp.c: New file.
67046         * string/test-memcmp.c: Add wmemcmp support.
67048 2011-09-08  Roland McGrath  <roland@hack.frob.com>
67050         [BZ #13153]
67051         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
67052         2011-07-19 change.
67054         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
67055         garbage value in a __mach_port_mod_refs call in the cases of the
67056         task-self and thread-self ports.
67058 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67060         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
67062 2011-09-08  Andreas Schwab  <schwab@redhat.com>
67064         * elf/dl-load.c (lose): Check for non-null L.
67066 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
67068         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
67070         * elf/dl-libc.c (dlerror_run): Pass back error code from
67071         dl_catch_error.
67073         [BZ #13123]
67074         * elf/dl-load.c (lose): Free l_origin if it is valid.
67076         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
67077         names.
67078         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
67079         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
67080         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
67081         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
67082         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
67083         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
67085 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67087         * sysdeps/powerpc/fpu/e_hypot.c: New file.
67088         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
67089         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
67090         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
67091         * sysdeps/powerpc/fpu/k_cosf.c: New file.
67092         * sysdeps/powerpc/fpu/k_sinf.c: New file.
67093         * sysdeps/powerpc/fpu/s_cosf.c: New file.
67094         * sysdeps/powerpc/fpu/s_sinf.c: New file.
67095         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
67096         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
67098 2011-08-15  Alan Modra  <amodra@gmail.com>
67100         [BZ #13092]
67101         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
67102         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
67103         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
67104         ppc_mcount to static-only-routines.
67105         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
67106         __mcount_internal.
67107         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
67108         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
67110 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
67112         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
67113         for finite and infinity parameters.
67115 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
67117         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
67118         and add nop instructions for throughput optimization.
67119         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
67121 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
67123         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
67124         aligned copy for power7 with vector-scalar instructions.
67125         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
67127 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
67129         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
67130         AVX check.
67132 2011-09-07  Andreas Schwab  <schwab@redhat.com>
67134         [BZ #13144]
67135         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
67136         last change.
67138 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
67140         * sysdeps/unix/sysv/linux/x86_64/init-first.c
67141         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
67142         syscall wrapper around clock_gettime in __vdso_clock_gettime.
67143         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
67144         clock_gettime.
67146 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
67148         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
67149         Forgot to demangle the pointer.
67151         * sysdeps/i386/sysdep.h: Define atom_text_section.
67152         * sysdeps/x86_64/sysdep.h: Likewise.
67153         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
67154         section with atom_text_section.
67155         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
67156         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
67157         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
67158         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
67159         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
67161         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
67162         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
67163         already be defined.  Change to take two parameters and don't assign
67164         result to variable.  Adjust all users.
67165         Define INTERNAL_GETTIME if not already defined.
67166         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
67167         call.
67168         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
67169         HAVE_CLOCK_GETTIME_VSYSCALL.
67170         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
67172         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
67173         gettimeofday vsyscall, just use time.
67175 2011-09-06  Andreas Schwab  <schwab@redhat.com>
67177         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
67178         <errno.h>.
67180 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
67182         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
67183         syscall on x86-64.
67184         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
67185         syscall.
67186         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
67187         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
67188         syscall if possible.
67190 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
67192         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
67193         e_ident.  Don't pass to find_mapsXX.
67194         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
67196 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67198         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67199         strchr-sse2-no-bsf strrchr-sse2-no-bsf
67200         * sysdeps/x86_64/multiarch/strchr.S: Update.
67201         Check bit_slow_BSF bit.
67202         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
67203         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
67204         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
67206 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
67208         [BZ #13134]
67209         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
67210         before glibc 2.15.
67211         (tryshell): Define.
67212         (__spawni): Change last parameter to be flag.  Test
67213         SPAWN_XFLAGS_USE_PATH flag to use path or not.
67214         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
67215         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
67216         * posix/spawni.c: Likewise.
67217         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
67218         * posix/spawnp.c: Likewise.  Change normal version to use
67219         SPAWN_XFLAGS_USE_PATH.
67220         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
67221         SPAWN_XFLAGS_TRY_SHELL.
67223         [BZ #13150]
67224         * posix/glob.h: Remove gcc 1.x support.
67226         [BZ #13068]
67227         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
67229 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67231         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67232         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
67233         strrchr-sse2-bsf
67234         * sysdeps/i386/i686/multiarch/strchr.S: New file.
67235         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
67236         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
67237         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
67238         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
67239         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
67241 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67243         * sysdeps/x86_64/wcscmp.S: New file.
67245         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
67246         wcscmp-c wcscmp-sse2
67247         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
67248         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
67249         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
67250         * wcsmbs/wcscmp.c: Allow renaming.
67252 2011-09-05  David S. Miller  <davem@davemloft.net>
67254         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
67255         stack slot, rather than the struct return pointer slot.
67256         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
67257         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
67258         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
67259         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
67261 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
67263         * po/ja.po: Update from translation team.
67265         [BZ #13144]
67266         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
67267         kernel in 64-bit binaries.
67269 2011-09-01  David S. Miller  <davem@davemloft.net>
67271         * elf/elf.h (HWCAP_SPARC_*): Move to..
67272         * sysdeps/sparc/sysdep.h: this new file and add new values.
67273         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
67274         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
67275         _DL_HWCAP_COUNT to 24.
67276         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
67277         entries.
67278         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
67279         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
67280         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
67281         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
67282         instead of magic constants.
67283         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67285 2011-08-31  David S. Miller  <davem@davemloft.net>
67287         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
67288         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
67289         Reimplement to do errno handling inline.
67290         (SYSCALL_ERROR_HANDLER): New macro.
67291         (__SYSCALL_STRING): Do not do errno handling in asm.
67292         (__CLONE_SYSCALL_STRING): Delete.
67293         (__INTERNAL_SYSCALL_STRING): Delete.
67294         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
67295         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
67296         (PSEUDO): Reimplement to do errno handling inline.
67297         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
67298         (SYSCALL_ERROR_HANDLER): New macro.
67299         (__SYSCALL_STRING): Do not do errno handling in asm.
67300         (__CLONE_SYSCALL_STRING): Delete.
67301         (__INTERNAL_SYSCALL_STRING): Delete.
67302         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
67303         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
67304         i386.
67305         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
67306         (inline_syscall*): Add 'err' argument.
67307         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
67308         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
67309         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
67310         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
67312         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
67313         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
67315 2011-08-30  Andreas Schwab  <schwab@redhat.com>
67317         * elf/rtld.c (dl_main): Relocate objects in dependency order.
67319 2011-08-29  Jiri Olsa <jolsa@redhat.com>
67321         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
67322         directive.
67324 2011-08-24  David S. Miller  <davem@davemloft.net>
67326         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
67328 2011-08-24  Andreas Schwab  <schwab@redhat.com>
67330         * elf/Makefile: Add rules to build and run unload8 test.
67331         * elf/unload8.c: New file.
67332         * elf/unload8mod1.c: New file.
67333         * elf/unload8mod1x.c: New file.
67334         * elf/unload8mod2.c: New file.
67335         * elf/unload8mod3.c: New file.
67337         * elf/dl-close.c (_dl_close_worker): Reset private search list if
67338         it wasn't used.
67340 2011-08-23  David S. Miller  <davem@davemloft.net>
67342         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
67343         subtract stack bias.
67344         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
67345         %sp not %fp in calculations.
67346         (_JMPBUF_UNWINDS_ADJ): Likewise.
67348         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
67349         (aio_suspend): Call it to force an exception region around the
67350         AIO_MISC_WAIT() invocation.
67352 2011-08-23  Andreas Schwab  <schwab@redhat.com>
67354         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
67355         backslash.
67357 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
67359         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
67360         protection macro.
67361         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
67362         and <dl-machine.h>.
67363         (Elf64_FuncDesc): Remove.
67365 2011-08-22  David S. Miller  <davem@davemloft.net>
67367         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
67368         sigaltstack check, add missing cfi directives.
67369         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
67370         missing cfi directives, and sigaltstack handling.
67372 2011-08-16  Andreas Schwab  <schwab@redhat.com>
67374         [BZ #11724]
67375         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
67376         object is seen twice.
67377         * elf/dl-fini.c (_dl_sort_fini): Likewise.
67379         * elf/Makefile (distribute): Add tst-initorder2.c.
67380         (tests): Add tst-initorder2.
67381         (modules-names): Add tst-initorder2a tst-initorder2b
67382         tst-initorder2c tst-initorder2d.  Add rules to build them.
67383         ($(objpfx)tst-initorder2.out): New rule.
67384         * elf/tst-initorder2.c: New file.
67385         * elf/tst-initorder2.exp: New file.
67387 2011-08-22  Andreas Schwab  <schwab@redhat.com>
67389         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
67391         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
67392         dependencies back to end of function.
67394         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
67395         $(elfobjdir)/ld.so.
67397 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
67399         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
67400         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
67401         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
67402         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
67403         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
67404         of __vdso_gettimeofday.
67405         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
67406         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
67407         attribute_hidden.
67408         (_libc_vdso_platform_setup): Remove initialization of
67409         __vdso_gettimeofday and __vdso_time.
67411 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
67413         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
67414         and fgetc_unlocked.
67415         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
67416         getc_unlocked.
67418         * elf/dl-open.c (add_to_global): Report additions to the global scope
67419         for LD_DEBUG=scopes.
67420         (dl_open_worker): Also print scope of newly loaded dependencies.
67421         (_dl_show_scope): Indicate if there is no scope.
67423         [BZ #13114]
67424         * stdio-common/Makefile (tests): Add bug24.
67425         * stdio-common/bug24.c: New file.
67427 2011-08-19  Andreas Jaeger  <aj@suse.de>
67429         [BZ #13114]
67430         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
67431         non-existant file when using close-on-exec mode.
67433 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
67435         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
67436         the very first instruction.
67438         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
67439         the CFI state in the end.
67440         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
67441         inclusion of dl-trampoline.h.
67442         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
67444 2011-08-19  Andreas Schwab  <schwab@redhat.com>
67446         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
67447         expectations for long double.
67449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
67450         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
67452 2011-08-14  David S. Miller  <davem@davemloft.net>
67454         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
67455         artificual limit depends upon the system page size.
67457 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
67459         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
67460         * resolv/Makefile: Define CFLAGS-libresolv.
67462 2011-08-17  Andreas Schwab  <schwab@redhat.com>
67464         * nss/makedb.c (compute_tables): Make variables used in nested
67465         function static.
67467 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
67469         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
67470         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
67471         if buffer was too small.
67473         * elf/pldd.c (main): Attach to all threads in the process.
67474         Rewrite /proc handling to use *at functions.
67476 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
67478         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
67479         specifies first scope to show.
67480         (dl_open_worker): Update callers.  Move printing scope of new
67481         object to before the relocation.
67482         * elf/rtld.c (dl_main): Update _dl_show_scope call.
67483         * sysdeps/generic/ldsodefs.h: Update declaration.
67485         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
67486         string for the scope number.
67488 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
67490         * nscd/servicescache.c (cache_addserv): Make sure written is always
67491         initialized.
67493 2011-08-14  Roland McGrath  <roland@hack.frob.com>
67495         * sysdeps/i386/i486/bits/atomic.h
67496         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
67497         statement expression, so as to suppress "set but not used" warning.
67498         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
67500         * string/strncat.c (STRNCAT): Use prototype definition.
67502         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
67503         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
67504         -Iprograms here.
67505         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
67506         (localedef-modules): Add localedef.
67507         (locale-modules): Add locale.
67509         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
67510         * elf/rtld.c (dl_main): Invert order of assignment in last change,
67511         to avoid a warning.
67513 2011-08-14  David S. Miller  <davem@davemloft.net>
67515         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
67516         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
67518 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
67520         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
67521         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
67522         * elf/rtld.c (dl_main): Set l_name of vDSO.
67523         Call _dl_show_scope when DL_DEBUG_SCOPES.
67524         (process_dl_debug): Recognize scopes flag and also set it for all.
67525         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
67526         Declare _dl_show_scope.
67528         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
67529         (do_dlopen): Pass caller_dlopen to dl_open.
67530         (__libc_dlopen_mode): Initialize caller_dlopen.
67532         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
67533         of libc.  Make tolower call locale-independent.  Optimize a bit by
67534         using isdigit instead of isalnum.
67535         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
67537 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
67539         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
67540         was a dependency or dynamically loaded.
67542 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
67544         * intl/l10nflist.c: Allow architecture-specific pop function.
67545         * sysdeps/x86_64/l10nflist.c: New file.
67547         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
67548         classification.
67550 2011-08-10  Andreas Schwab  <schwab@redhat.com>
67552         * include/dirent.h: Add libc_hidden_proto for scandirat and
67553         scandirat64.  Don't declare __scandirat64.
67554         * dirent/scandirat.c: Add libc_hidden_def.
67555         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
67556         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
67558 2011-08-10  David S. Miller  <davem@davemloft.net>
67560         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
67561         enum.
67562         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
67563         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
67564         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
67566 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
67568         * Versions.def [libc]: Add GLIBC_2.15.
67569         * dirent/Makefile (routines): Add scandirat and scandirat64.
67570         * dirent/Versions [libc]: Export scandirat and scandirat64 for
67571         GLIBC_2.15.
67572         * dirent/dirent.h: Declare scandirat and scandirat64.
67573         * dirent/scandirat.c: New file.
67574         * dirent/scandirat64.c: New file.
67575         * sysdeps/wordsize-64/scandirat.c: New file.
67576         * sysdeps/wordsize-64/scandirat64.c: New file.
67577         * dirent/opendir.c: Define opendirat.
67578         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
67579         using scandirat.
67580         * dirent/scandir64.c: Adjust for scandir.c change.
67581         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
67582         __scandirat64, and __scandir_cancel_handler.
67583         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
67584         additional parameter and use openat instead of open (outside of ld.so).
67585         Add new __opendir as wrapper around __opendirat.
67586         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
67587         here without requiring old scandirat implementation.
67589 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
67591         * dirent/scandir.c (cancel_handler): Renamed to
67592         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
67593         defined.  Adjust users.
67594         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
67595         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
67597 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
67599         * string/test-string.h (IMPL): Use __STRING to expand name and then
67600         stringify it.
67602         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
67603         of cleanups.
67605 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67607         * string/Makefile: Update.
67608         (strop-tests): Append strncat.
67609         * string/test-wcscmp.c: New file.
67610         New comprehensive test for wcscmp.
67611         * string/test-strcmp.c: Update.
67612         (WIDE): New define.
67614 2011-07-22  Andreas Schwab  <schwab@redhat.com>
67616         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
67617         line.
67619 2011-07-26  Andreas Schwab  <schwab@redhat.com>
67621         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
67622         encoding to ACE if AI_IDN.
67624 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
67626         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
67627         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
67629 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67631         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
67632         Fix overflow bug in strncat.
67633         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
67635         * string/test-strncat.c: Update.
67636         Add new tests for checking overflow bugs.
67638 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67640         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67641         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
67642         * sysdeps/i386/i686/multiarch/strcat.S: New file.
67643         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
67644         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
67645         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
67646         * sysdeps/i386/i686/multiarch/strncat.S: New file.
67647         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
67648         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
67650         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
67651         (USE_AS_STRCAT): Define.
67652         Add strcat and strncat support.
67653         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
67655 2011-07-25  Andreas Schwab  <schwab@redhat.com>
67657         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
67658         __n bigger than INT_MAX+1.
67659         (__strncmp_g): Likewise.
67661 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
67663         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
67664         * libio/stido.h: Likewise.
67666         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
67667         (AF_NFC): Define.
67668         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
67669         (AF_NFC): Define.
67671         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
67672         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
67673         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
67674         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
67675         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
67677         [BZ #13021]
67678         * scripts/test-installation.pl: Don't expect libnss_test1 to be
67679         installed.
67681         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
67682         typo.
67683         (_dl_x86_64_save_sse): Likewise.
67685 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
67687         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
67688         OSXSAVE.
67689         (_dl_x86_64_save_sse): Likewise.
67691         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
67693         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
67695 2011-07-21  Andreas Schwab  <schwab@redhat.com>
67697         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
67698         change.
67699         (_dl_x86_64_save_sse): Use correct AVX check.
67701 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67703         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
67704         bug in strncpy/strncat.
67705         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
67707 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
67709         * string/tester.c (test_strcat): Add tests for different alignments
67710         of source and destination.
67711         (test_strncat): Likewise.
67713 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
67715         [BZ #12852]
67716         * posix/glob.c (glob): Check passed in values before using them in
67717         expressions to avoid some overflows.
67718         (glob_in_dir): Likewise.
67720         [BZ #13007]
67721         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
67722         check for AVX enablement so that we don't crash with old kernels and
67723         new hardware.
67724         * elf/tst-audit4.c: Add same checks here.
67725         * elf/tst-audit6.c: Likewise.
67727         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
67729 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
67731         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
67733 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
67735         * po/cs.po: Update from translation team.
67736         * po/bg.po: Likewise.
67738 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
67740         * misc/sys/cdefs.h: Add support for const attribute.
67741         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
67742         to gnu_dev_{major,minor,makedev} functions.
67744 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
67746         * intl/dcigettext.c (get_output_charset): Add missing bracket.
67748 2011-07-20  Andreas Schwab  <schwab@redhat.com>
67750         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
67751         strlen results.
67753 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67755         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
67756         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
67757         register in order to avoid conflicts with the soft frame pointer
67758         being held in r11 when necessary.
67759         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
67760         (INTERNAL_VSYSCALL_NCS): Likewise.
67762 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
67764         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
67765         * elf/dl-fini.c (_dl_fini): Adjust caller.
67766         * elf/dl-close.c (_dl_close_worker): Likewise.
67767         * sysdeps/generic/ldsodefs.h: Adjust declaration.
67769 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
67771         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
67772         "aux_cache->nlibs < 0".
67774         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
67775         in the reload-count case.
67777 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67779         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67780         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
67781         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
67782         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
67783         * sysdeps/x86_64/multiarch/strcat.S: New file.
67784         * sysdeps/x86_64/multiarch/strncat.S: New file.
67785         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
67786         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
67787         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
67788         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
67789         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
67790         (USE_AS_STRCAT): Define.
67791         Add strcat and strncat support.
67792         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
67793         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
67794         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
67795         * string/strncat.c: Update.
67796         (USE_AS_STRNCAT): Define.
67797         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67798         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
67799         and i7.
67800         * sysdeps/x86_64/multiarch/init-arch.h
67801         (bit_Prefer_PMINUB_for_stringop): New.
67802         (index_Prefer_PMINUB_for_stringop): Likewise.
67803         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
67804         bit_Prefer_PMINUB_for_stringop.
67806 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
67808         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
67809         buffer64.
67810         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
67811         of casting of buffer.
67812         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
67813         buffer32 and buffer64.
67814         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
67815         writes instead of casting of buffer.
67816         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
67817         buffer32.
67818         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
67819         casting of buffer.
67821 2011-07-19  Andreas Schwab  <schwab@redhat.com>
67823         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
67825 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
67827         * nscd/nscd.c (termination_handler): Don't do anything for a database
67828         if it has not yet been initialized.
67830 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
67832         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
67834 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
67836         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
67838 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
67840         * po/nl.po: Update from translation team.
67841         * po/sv.po: Likewise.
67843 2011-07-16  Roland McGrath  <roland@hack.frob.com>
67845         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
67846         now disallowed by GCC.
67848         * configure.in (use-default-link): Default to yes if a test -shared
67849         link meets our qualifications.
67850         * configure: Regenerated.
67852         * config.make.in (output-format): New variable.
67853         * configure.in: Check for ld --print-output-format support.
67854         * configure: Regenerated.
67855         * Makerules ($(common-objpfx)format.lds)
67856         [$(output-format) != unknown]: Just use $(output-format),
67857         instead of the linker-script munging.
67859 2011-07-14  Roland McGrath  <roland@hack.frob.com>
67861         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
67862         of $(common-objpfx)shlib.lds.
67863         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
67865         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
67866         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
67868         * configure.in (-z relro check): Adjust test code to add a large
67869         writable data section after it.
67870         * configure: Regenerated.
67872 2011-07-11  Roland McGrath  <roland@hack.frob.com>
67874         * configure.in (-z relro check): Fix test code to make the variable
67875         truly const.
67876         * configure: Regenerated.
67878 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
67880         * nscd/nscd.h (struct traced_file): Define.
67881         (struct database_dyn): Remove inotify_descr, reset_res, and filename
67882         elements.  Add traced_files.
67883         (inotify_fd): Declare.
67884         (register_traced_file): Declare.
67885         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
67886         (inotify_fd): Export.
67887         (resolv_conf_descr): Remove.
67888         (nscd_init): Move inotify descriptor creation to main.
67889         Don't register files for notification here.
67890         (register_traced_file): New function.
67891         (invalidate_cache): Don't use reset_res to determine whether to call
67892         res_init, go through the list of registered files.
67893         (main_loop_poll): The inotify descriptors are now stored in the
67894         structures for the traced files.
67895         (main_loop_epoll): Likewise
67896         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
67897         to __nss_disable_nscd.
67898         * nscd/cache.c (prune_cache): There is no single inotify descriptor
67899         for a database anymore.  Check the records for all the registered
67900         files instead.
67901         * nss/Makefile (libnss_files-routines): Add files-init.
67902         (libnss_db-routines): Add db-init.
67903         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
67904         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
67905         * nss/nss_db/db-init.c: New file.
67906         * nss/nss_files/files-init.c: New file.
67907         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
67908         __nss_lookup_function.
67909         (__nss_lookup_function): Call nss_load_library.
67910         (nss_load_all_libraries): New function.
67911         (__nss_disable_nscd): Take parameter with callback function for files
67912         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
67913         used for the cached services.
67914         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
67915         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
67916         options for features to all the files in nscd.
67918         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
67920 2011-07-10  Roland McGrath  <roland@hack.frob.com>
67922         * csu/elf-init.c (__libc_csu_init): Comment typo.
67924 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
67926         * po/pl.po: Update from translation team.
67927         * po/ja.po: Likewise.
67928         * po/ru.po: Likewise.
67929         * po/ko.po: Likewise.
67930         * po/fr.po: Likewise.
67932 2011-07-09  Roland McGrath  <roland@hack.frob.com>
67934         * configure.in (.ctors/.dtors header and trailer check):
67935         Use an empirical test on a built program.
67936         * configure: Regenerated.
67938         * configure.in (-z relro check): Use an empirical test on a built DSO.
67939         Detect, but do not require, on ia64.
67940         * configure: Regenerated.
67942         * configure.in (READELF): Find it with AC_CHECK_TOOL.
67943         Update tests that use readelf to use $READELF instead.
67944         * configure: Regenerated.
67946 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
67948         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
67949         if the result is not used.
67951 2011-07-05  Andreas Jaeger  <aj@suse.de>
67953         [BZ#9696]
67954         * stdlib/tst-strtod.c: Add testcase.
67956 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
67958         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
67959         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
67960         The latter has a higher limit.  Take additional parameter to pass to
67961         the new function.
67962         (__pathconf): Pass file to __statfs_link_max.
67963         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
67964         __statfs_link_max.
67965         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
67966         __statfs_link_max.
67968         [BZ #12868]
67969         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
67970         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
67971         Handle Lustre.
67972         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
67973         (__statfs_filesize_max): Likewise.
67974         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
67976 2011-07-05  Andreas Jaeger  <aj@suse.de>
67978         * resolv/res_comp.c (dn_skipname): Remove unused variable.
67980 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
67982         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
67983         `status' variable.
67984         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
67985         Likewise.
67987 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
67989         * Makefile (strop-tests): Add strncat.
67990         * string/test-strncat.c: New file.
67992 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
67994         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
67996 2011-06-21  Andreas Jaeger  <aj@suse.de>
67998         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
67999         Copy rule from iconvdata/Makefile.
68001 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
68003         [BZ #12922]
68004         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
68005         but no long options are defined, just return 'W'.
68007 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
68009         [BZ #9696]
68010         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
68012 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
68014         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
68015         netgroups to read.
68016         (innetgr): Likewise.
68018 2011-07-05  Roland McGrath  <roland@hack.frob.com>
68020         * config.make.in (install_root): Default to $(DESTDIR).
68022 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
68024         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
68026 2011-07-02  Roland McGrath  <roland@hack.frob.com>
68028         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
68030         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
68031         containing directory rather than embedding absolute directory names.
68033         * scripts/check-local-headers.sh: Rewritten using awk.
68034         Match by word, not by line.  Print error messages for matches.
68035         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
68037         * Makerules [shlib-lds-flags empty]:
68038         ($(common-objpfx)libc_pic.opts): New target.
68039         ($(common-objpfx)libc_pic.os.clean): New target.
68040         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
68042         * config.make.in (OBJCOPY): New variable.
68043         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
68044         * configure: Regenerated.
68046         * config.make.in (use-default-link): New variable.
68047         * configure.in (use_default_link): Grok --with-default-link to set it.
68048         * configure: Regenerated.
68049         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
68050         (shlib-lds, shlib-lds-flags): Define to empty.
68052         * Makerules (shlib-lds): New variable.
68053         (shlib-lds-flags): New variable.
68054         (build-shlib, build-moduile, build-module-asneeded): Use it.
68055         ($(common-objpfx)libc.so): Use $(shlib-lds).
68056         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
68057         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
68059         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
68060         DT_FLAGS/DT_FLAGS_1 with zero flags.
68062         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
68063         linker script munging.
68065 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
68067         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
68068         as 128-bit value.
68069         * crypt/sha512.c (sha512_process_block): Perform total addition using
68070         128-bit if possible.
68071         (__sha512_finish_ctx): Likewise.
68072         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
68073         as 64-bit value.
68074         * crypt/sha256.c (SWAP64): Define.
68075         (sha256_process_block): Perform total addition using 64-bit if
68076         possible.
68077         (__sha256_finish_ctx): Likewise.
68079 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
68081         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
68082         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68083         * nscd/hstcache.c (cache_addhst): Likewise.
68084         * nscd/grpcache.c (cache_addgr): Likewise.
68085         * nscd/aicache.c (addhstaiX): Likewise
68086         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
68088 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
68090         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
68091         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68092         * nscd/hstcache.c (cache_addhst): Likewise.
68093         * nscd/grpcache.c (cache_addgr): Likewise.
68094         * nscd/aicache.c (addhstaiX): Likewise
68096 2011-07-01  Andreas Schwab  <schwab@redhat.com>
68098         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
68099         domain only when needed.
68101 2011-06-30  Andreas Schwab  <schwab@redhat.com>
68103         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
68104         is always restored.
68106 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
68108         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
68109         are re-adding the entry.
68110         * nscd/servicescache.c (cache_addserv): Likewise.
68112 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
68114         * sysdeps/generic/dl-irel.h: fix protection against multiple
68115         inclusions.
68116         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
68118 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
68120         [BZ #12935]
68121         * malloc/memusage.sh: Fix quoting in message.
68122         * debug/xtrace.sh: Likewise.
68124         * configure.in: Remove support for --experimental-malloc option, make
68125         it the default.
68126         * config.make.in: Likewise.
68127         * malloc/Makefile: Likewise.
68129 2011-06-27  Andreas Schwab  <schwab@redhat.com>
68131         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
68132         two-byte characters.
68134 2011-06-27  Roland McGrath  <roland@hack.frob.com>
68136         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
68137         AC_CACHE_CHECK invocation.
68138         * configure: Regenerated.
68140         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
68142 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
68144         [BZ #12350]
68145         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
68146         bit from old_res_options.
68148         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
68150         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
68151         value type for setfct.
68153 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
68155         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
68156         __gettimeofday instead of gettimeofday.
68158 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
68160         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
68162 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
68164         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
68166         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
68167         info.
68169 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
68171         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68172         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
68173         strcpy-sse2-unaligned strncpy-sse2-unaligned
68174         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
68175         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
68176         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
68177         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
68178         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
68179         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
68180         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
68181         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
68182         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
68183         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
68184         (STRCPY): Support SSE2 and SSSE3 versions.
68186 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
68188         [BZ #12874]
68189         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
68190         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
68191         kernels which artificially limit size of requests.
68193 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
68195         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68196         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
68197         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
68198         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
68199         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
68200         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
68201         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
68202         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
68203         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
68204         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
68205         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
68206         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
68207         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
68208         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
68209         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
68210         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68211         Enable unaligned load optimization for Intel Core i3, i5 and i7
68212         processors.
68213         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
68214         Define.
68215         (index_Fast_Unaligned_Load): Define.
68216         (HAS_FAST_UNALIGNED_LOAD): Define.
68218 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
68220         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
68222 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
68224         [BZ #12907]
68225         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
68226         until it is clear that the information is realy needed.
68227         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
68229 2011-06-22  Andreas Schwab  <schwab@redhat.com>
68231         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
68233 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
68235         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
68236         /sys/devices/system/cpu/online if it is usable.
68238         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
68239         reading the information from the /proc filesystem to once a second.
68241 2011-06-21  Andreas Jaeger  <aj@suse.de>
68243         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
68244         NULL after inclusion of kernel headers.
68246 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
68248         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
68249         calls to internal_setent.
68251         [BZ #12885]
68252         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
68253         addresses using gethostbyname4_r ignore IPv4 addresses.
68255         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
68256         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
68258         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
68260 2011-06-20  David S. Miller  <davem@davemloft.net>
68262         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
68263         inclusions.
68264         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
68266         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
68267         (elf_irel): Use it.
68268         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
68269         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
68270         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
68271         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
68272         * sysdeps/x86_64/dl-irel.h: Likewise.
68274         * elf/dl-runtime.c: Use elf_ifunc_invoke.
68275         * elf/dl-sym.c: Likewise.
68277 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
68279         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
68280         need to dereference resplen2.
68282 2011-06-14  Andreas Schwab  <schwab@redhat.com>
68284         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
68286 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
68288         * Makeconfig: Define vardbdir and inst_vardbdir.
68289         * nss/Makefile: Add rules to install db-Makefile.
68291         * nss/nss_db/db-XXX.c: Cleanup.
68293         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
68294         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
68295         GLIBC_PRIVATE.
68296         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
68297         * nss/makedb.c: Implement -g option to specify that value strings
68298         are generated and should not be added to table iterated over for
68299         get*ent calls.
68300         * nss/nss_db/db-initgroups.c: New file.
68302         * nss/getent.c: Add support for initgroups lookups through getgrouplist
68303         interface.
68305         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
68306         (internal_getgrouplist): Adjust to name change.
68307         Update use_initgroups_entry if this is not the first call.
68308         * nss/databases.def: Add initgroups entry.
68310         * nss/makedb.c (compute_tables): Check result of multiple hash table
68311         sizes to minimize maximum chain length.
68313 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
68315         * Versions.def: Add entry for libnss_db.
68316         * shlib-versions: Likewise.
68317         * nss/Makefile: Add rules to build libnss_db.
68318         * nss/Versions: Add libnss_db information.  Organize libnss_files
68319         entries better.
68320         * nss/db-Makefile: Add gshadow support.  Change rules for the new
68321         makedb progra.  Some minor improvements to generate smaller files.
68322         * nss/nss_db/nss_db.h: Move NSS database header data structures to
68323         here from...
68324         * nss/makedb.c: ...here.
68325         Improve database format to be smaller and require less memory at
68326         runtime.
68327         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
68328         db anymore.
68329         * nss/nss_db/db-netgrp.c: Likewise.
68330         * nss/nss_db/db-open.c: Likewise.
68331         * nss/nss_files/flies-XXX.x: Adjust comments.
68332         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
68333         * nss/nss_files/files-grp.c: Likewise.
68334         * nss/nss_files/files-hosts.c: Likewise.
68335         * nss/nss_files/files-network.c: Likewise.
68336         * nss/nss_files/files-proto.c: Likewise.
68337         * nss/nss_files/files-pwd.c: Likewise.
68338         * nss/nss_files/files-rpc.c: Likewise.
68339         * nss/nss_files/files-service.c: Likewise.
68340         * nss/nss_files/files-sgrp.c: Likewise.
68341         * nss/nss_files/files-spwd.c: Likewise.
68342         * nss/nss_db/db-alias.c: Removed.
68343         * nss/nss_db/dummy-db.h: Removed.
68345 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
68347         * nss/makedb.c: Rewritten to not use database library.
68348         * nss/Makefile: Update to build new makedb program.
68350 2011-06-14  Andreas Jaeger  <aj@suse.de>
68352         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
68353         memset declaration.
68355 2011-06-10  Andreas Schwab  <schwab@redhat.com>
68357         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
68358         tmpbuf.
68360 2011-06-10  Roland McGrath  <roland@hack.frob.com>
68362         * Makerules (shlib.lds): Fail if the linker script comes out empty.
68363         * elf/Makefile ($(objpfx)ld.so): Likewise.
68365         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
68366         Don't list ld.so twice in dependencies.
68368         * posix/bug-regex31.c: Include <stdlib.h>.
68370         * nscd/hstcache.c (cache_addhst): Remove unused variable.
68372         * nis/nss_compat/compat-spwd.c
68373         (getspent_next_nss_netgr): Remove unused variable.
68374         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
68376         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
68377         nonmembers" output to use the right array.
68379         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
68381         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
68383         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
68384         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
68385         * catgets/gencat.c (read_input_file): Likewise.
68386         * locale/programs/locarchive.c (enlarge_archive): Likewise.
68388         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
68389         variable definition inside #if's controlling its use.
68391         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
68393         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
68395         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
68397         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
68398         unreachable code.
68400         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
68402         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
68403         * configure: Regenerated.
68405         * Makerules: Revert last change.
68406         * elf/Makefile: Likewise.
68408 2011-06-09  Roland McGrath  <roland@hack.frob.com>
68410         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
68411         * elf/Makefile ($(objpfx)librtld.os): Likewise.
68412         (reloc-link): Likewise.
68414 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
68416         * elf/Makefile: Add rules to build pldd.
68417         * elf/pldd.c: New file.
68418         * elf/pldd-xx.c: New file.
68420 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
68422         * version.h: Update for 2.15 development version.
68424 2011-06-07  David S. Miller  <davem@davemloft.net>
68426         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
68427         ifuncs.
68428         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
68429         elf_machine_lazy_rel): Likewise.
68430         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
68431         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
68432         elf_machine_lazy_rel): Likewise.
68433         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
68434         dl_hwcap via passed in argument.
68435         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
68436         Likewise.
68438 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68440         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
68442 2011-06-06  Roland McGrath  <roland@hack.frob.com>
68444         [BZ #12849]
68445         * manual/fdl-1.1.texi: New file, verbatim from:
68446         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
68447         * manual/lgpl-2.1.texi: New file, verbatim from:
68448         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
68449         * manual/Makefile (licenses): New variable, list those new file names.
68450         (texis): Use it.
68451         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
68453         * manual/fdl.texi: File removed.
68454         * manual/lesser.texi: File removed.
68455         * manual/libc.texinfo (Copying, Documentation License):
68456         Use new @include file names, put @appendix directive before @include.
68458 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
68460         [BZ #12841]
68461         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
68462         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
68463         (mq_open): Add __NTH.
68465 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
68467         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68468         Assume Intel Core i3/i5/i7 processor if AVX is available.
68470 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
68472         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
68473         typo.
68475 2011-05-31  Andreas Schwab  <schwab@redhat.com>
68477         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
68478         memory.  Use alloca_account.  Fix memory leak when retrying.
68480 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
68482         * version.h (RELEASE): Bump for 2.14 release.
68483         * include/features.h (__GLIBC_MINOR__): Bump to 14.
68485         * config.make.in (RANLIB): Remove entry.
68487 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
68489         * po/Makefile (po-sed-cmd): Add ksh to extensions.
68490         (libc.pot): Work around missing support for .ksh extension in xgettext.
68492         [BZ #12684]
68493         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
68494         if both request failed.
68495         (send_dg): In case of server errors clear resplen or *resplen2.
68497         [BZ #12454]
68498         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
68499         when there are multiple maps.
68500         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
68501         (_dl_fini): Remove test here.
68503         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
68505 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
68507         [BZ #12350]
68508         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
68509         bit from old_res_options.
68510         (gaih_inet): Likewise.
68512         [BZ #11099]
68513         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
68514         as signed.
68516         * resolv/res_init.c (res_setoptions): Make the code more compact.
68518         [BZ #11558]
68519         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
68520         set RES_USEVC.
68522         [BZ #11634]
68523         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
68525         * malloc/malloc.h: Mark malloc hook variables as deprecated.
68527         [BZ #11781]
68528         * malloc/malloc.h: Declare malloc hook variables as volatile.
68530         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
68531         in last patch.
68533         [BZ #11799]
68534         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
68535         raise in the comment.
68536         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
68537         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
68538         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
68540 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
68542         [BZ #12811]
68543         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
68544         grow the buffers more if it already has to be sufficient.
68545         (build_wcs_upper_buffer): Likewise.
68546         * posix/regexec.c (check_matching): Likewise.
68547         (clean_state_log_if_needed): Likewise.
68548         (extend_buffers): Don't enlarge buffers beyond size of the input
68549         buffer.
68550         Patches mostly by Emil Wojak <emil@wojak.eu>.
68551         * posix/bug-regex32.c: New file.
68552         * posix/Makefile (tests): Add bug-regex32.
68554         * locale/findlocale.c (_nl_find_locale): Return right away if
68555         _nl_explode_name failed.
68556         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
68558         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
68560         * debug/xtrace.sh: Unify messages.
68561         * malloc/memusage.sh: Likewise.
68563         [BZ #12813]
68564         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
68565         time symbol from vDSO.  Substitute with vsyscall if not available.
68566         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
68567         __vdso_time.
68569         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
68570         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
68571         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
68572         Add sendmmsg and internal_sendmmsg.
68573         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
68574         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
68575         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
68577         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
68578         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
68579         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
68581 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
68583         [BZ #12813]
68584         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
68585         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
68586         available.
68587         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
68588         __vdso_getcpu.
68590         [BZ #12814]
68591         * iconvdata/Makefile (tests): Add bug-iconv9.
68592         * iconvdata/bug-iconv9.c: New file.
68594 2011-05-27  Andreas Schwab  <schwab@redhat.com>
68596         [BZ #12814]
68597         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
68599 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
68601         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
68602         (struct user_regs_struct): Change intcs field back to cs.
68604 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
68606         * po/ja.po: Update from translation team.
68608 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
68610         [BZ #12795]
68611         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
68612         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
68614 2011-05-20  Andreas Schwab  <schwab@redhat.com>
68616         * stdlib/longlong.h: Update from GCC.
68618 2011-05-23  Andreas Schwab  <schwab@redhat.com>
68620         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
68621         parameter name.
68622         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
68623         Add parameter name.
68624         (__sysconf): Pass it down.
68626 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
68628         [BZ #12671]
68629         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
68630         some situations.
68631         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
68632         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
68633         add in in __libc_use_alloca calls.  Adjust callers.
68634         (glob): Use malloc in some situations.
68636         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
68637         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
68638         pltexit.
68640 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
68642         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
68643         and CLOCK_BOOTTIME_ALARM.
68645         [BZ #12782]
68646         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
68647         is returned.
68649         * string/_strerror.c (__strerror_r): Print negative errors as signed
68650         numbers.
68652         [BZ #12777]
68653         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
68654         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
68655         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
68657         * configure.in: Fix typo in redirection and correct removal of test
68658         files in two cases.
68660         [BZ #12788]
68661         * locale/setlocale.c (new_composite_name): Fix test to check for
68662         identical name of all categories.
68664         [BZ #12792]
68665         * libio/filedoalloc.c (local_isatty): New function.
68666         (_IO_file_doallocate): Use local_isatty.
68667         * stdio-common/perror.c (perror): In case a new stream is used
68668         forward the stream error.
68669         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
68670         error flag.
68672 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
68674         [BZ #11884]
68675         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
68676         alloca.
68677         * include/alloca.h (extend_alloca_account): Define.
68679         [BZ #11857]
68680         * posix/regex.h: Fix comments with documentation of user-accessible
68681         fields after compilation and describe correct free'ing of pattern
68682         after re_compile_pattern.
68683         Patch by Reuben Thomas <rrt@sc3d.org>.
68685 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
68687         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
68688         and -mno-altivec to prevent the compiler from using Altivec and/or
68689         VSX instructions when the corresponding registers are not available.
68691 2011-05-19  Andreas Schwab  <schwab@redhat.com>
68693         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
68695 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
68697         * libio/freopen.c (freopen): Use __dup2, not dup2.
68698         * libio/freopen64.c (freopen64): Likewise.
68700 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68702         [BZ #12775]
68703         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
68704         * math/Makefile (tests): Add test-powl.
68705         (CFLAGS-test-powl.c): Define.
68706         * math/test-powl.c: New file.
68708 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68710         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
68712 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
68714         [BZ #11837]
68715         * iconvdata/gb18030.c: Update to GB18020-2005.
68717 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
68719         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
68720         RE_SYNTAX_POSIX_AWK): Update to match recent development.
68721         Patch by Aharon Robbins <arnold@skeeve.com>.
68723         [BZ #11892]
68724         * stdlib/putenv.c (putenv): Don't always create copy of the variable
68725         on the stack.
68727         [BZ #11895]
68728         * misc/pselect.c (__pselect): Handle timeout value errors hidden
68729         through underflows.
68731         [BZ #12766]
68732         * misc/error.c (error_at_line): Ensure file_name and old_file_name
68733         point to strings before performing equality test for error_one_per_line
68734         mode.
68736         [BZ #11697]
68737         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
68739         [BZ #11820]
68740         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
68741         (struct user_fpregs_struct): Avoid __uint*_t types.
68743         [BZ #6420]
68744         * malloc/mtrace.c (tr_where): Add additional parameter to point to
68745         symbol info.  Use it instead of calling _dl_addr locally.
68746         (lock_and_info): New function.
68747         (tr_freehook): Call lock_and_info and pass symbol info as additional
68748         parameter to tr_where.
68749         (tr_mallochook): Likewise.
68750         (tr_reallochook): Likewise.
68751         (tr_memalignhook): Likewise.
68753         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
68754         used and couldn't be at all thread-safe.
68756 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
68758         * libio/freopen.c (freopen): Don't close old file descriptor
68759         before the new one is opened.  Instead dup the new file descriptor
68760         to the old one after the new stream is created.
68761         * libio/freopen64.c (freopen64): Likewise.
68762         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
68763         * libio/fileops.c (_IO_new_file_close_it): Handle new
68764         _IO_FLAGS2_NOCLOSE flag.
68765         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
68766         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
68767         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
68768         _IO_FLAGS2_NOCLOSE flag.
68769         * include/unistd.h: Add hidden_proto for dup3.
68770         Define __have_dup3.
68771         * io/dup3.c: Define hidden symbol.
68772         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
68774         [BZ #7101]
68775         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
68776         when an incomplete long option is used.
68777         * posix/tst-getopt_long1.c: New file.
68778         * posix/Makefile (tests): Add tst-getopt_long1.
68780         [BZ #10138]
68781         * scripts/config.guess: Update from autoconf-2.68.
68782         * scripts/config.sub: Likewise.
68784         [BZ #10157]
68785         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
68786         tests into ...
68787         (has_cpuclock): ...this.  New function.
68788         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
68789         macro here based on has_cpuclock code.
68791         [BZ #10149]
68792         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68793         First byte (not low byte) is now always NUL.
68794         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
68796         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68797         Use non-cancelable interfaces.
68799         [BZ #9809]
68800         * locale/iso-639.def: Add entry for Sorani.
68802         [BZ #11901]
68803         * include/stdlib.h: Move include protection to the right place.
68804         Define abort_msg_s.  Declare __abort_msg with it.
68805         * stdlib/abort.c (__abort_msg): Adjust type.
68806         * assert/assert.c (__assert_fail_base): New function.  Majority
68807         of code from __assert_fail.  Allocate memory for __abort_msg with
68808         mmap.
68809         (__assert_fail): Now call __assert_fail_base.
68810         * assert/assert-perr.c: Remove bulk of implementation.  Use
68811         __assert_fail_base.
68812         * include/assert.hL Declare __assert_fail_base.
68813         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
68814         mmap.
68815         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
68817 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
68819         [BZ #11952]
68820         [BZ #12453]
68821         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
68822         until all modules are registered in the DTV.
68823         * elf/Makefile: Add rules to build and run tst-tls19.
68824         * elf/tst-tls19.c: New file.
68825         * elf/tst-tls19mod1.c: New file.
68826         * elf/tst-tls19mod2.c: New file.
68827         * elf/tst-tls19mod3.c: New file.
68828         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
68830         [BZ #12083]
68831         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
68832         correctly.
68834         [BZ #12601]
68835         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
68836         two-byte sequence errors.
68837         * iconvdata/Makefile (tests): Add bug-iconv8.
68838         * iconvdata/bug-iconv8.c: New file.
68840         [BZ #12626]
68841         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
68842         buf2 definition.
68844         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
68846         [BZ #12432]
68847         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
68848         (dummy_getcfa): New function.
68849         (init): Get _Unwind_GetCFA address, use dummy if not found.
68850         (backtrace_helper): In recursion check, also check whether CFA changes.
68851         (__backtrace): Completely initialize arg.
68853         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
68854         storing incomplete byte sequence in state object.  Avoid testing for
68855         guaranteed too small input if we know there is enough data available.
68857 2011-05-11  Andreas Schwab  <schwab@redhat.com>
68859         * Makeconfig (+link-pie): Indent.
68860         * Rules (binaries-pie): Define if $(have-fpie) and
68861         $(build-shared).
68862         (binaries-shared): Also filter out $(binaries-pie).
68863         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
68864         * nscd/Makefile (others-pie): Add nscd.
68865         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
68866         ($(objpfx)nscd): Remove command override.
68867         * login/Makefile (others-pie): Add pt_chown.
68868         ($(objpfx)pt_chown): Remove command override.
68869         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
68870         remove command overrides.
68872 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
68874         * libio/tst_putwc.c: Fix error messages.
68876         [BZ #12724]
68877         * libio/fileops.c (_IO_new_file_close_it): Always flush when
68878         currently writing and seek to current position when not.
68879         * libio/Makefile (tests): Add bug-fclose1.
68880         * libio/bug-fclose1.c: New file.
68882 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
68884         [BZ #12511]
68885         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
68886         don't set DF_1_NODELETE here.
68887         (do_lookup_x): When entering new entry test for copy relocation
68888         and if necessary set DF_1_NODELETE flag.
68889         * elf/tst-unique4.cc: New file.
68890         * elf/tst-unique4.h: New file.
68891         * elf/tst-unique4lib.cc: New file.
68892         * elf/Makefile: Add rules to build and run tst-unique4.
68893         Patch by Piotr Bury <pbury@goahead.com>.
68895 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
68897         [BZ #12052]
68898         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
68900         [BZ #12625]
68901         * misc/mntent_r.c (addmntent): Flush the stream after the output
68903         [BZ #12393]
68904         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
68905         (is_trusted_path_normalize): Skip initial colon.  Append slash
68906         to empty buffer.  Duplicate is_trusted_path code but allow
68907         constructed patch to be prefix.
68908         (is_dst): Allow $ORIGIN followed by /.
68909         (_dl_dst_substitute): Correct clearing of check_for_trusted.
68910         Correct testing of result of is_trusted_path_normalize
68911         (decompose_rpath): Fix warning.
68913 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
68915         [BZ #11257]
68916         * grp/initgroups.c (internal_getgrouplist): When we found the service
68917         list through the initgroups entry in nsswitch.conf do not always
68918         continue on a successful lookup.  Don't always use the
68919         __nss_group_database value if it is set.
68920         * nss/nsswitch.conf (initgroups): Change action for successful db
68921         lookup to continue for compatibility.
68923 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
68925         [BZ #11532]
68926         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
68927         and CP774 modules.
68928         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
68929         and CP774 modules.
68930         * iconvdata/tst-tables.sh: Likewise.
68931         * iconvdata/cp770.c: New file.
68932         * iconvdata/cp771.c: New file.
68933         * iconvdata/cp772.c: New file.
68934         * iconvdata/cp773.c: New file.
68935         * iconvdata/cp774.c: New file.
68936         * iconvdata/testdata/CP770: New file.
68937         * iconvdata/testdata/CP770..UTF8: New file.
68938         * iconvdata/testdata/CP771: New file.
68939         * iconvdata/testdata/CP771..UTF8: New file.
68940         * iconvdata/testdata/CP772: New file.
68941         * iconvdata/testdata/CP772..UTF8: New file.
68942         * iconvdata/testdata/CP773: New file.
68943         * iconvdata/testdata/CP773..UTF8: New file.
68944         * iconvdata/testdata/CP774: New file.
68945         * iconvdata/testdata/CP774..UTF8: New file.
68947         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
68948         END CHARMAP line.
68949         * iconvdata/gen-8bit-gap.sh: Likewise.
68950         * iconvdata/gen-8bit.sh: Likewise.
68952         * locale/iso-639.def: Add ary entry.
68954         [BZ #11258]
68955         * locale/C-translit.h.in: Add U20A1 transliteration.
68957         [BZ #12178]
68958         * locale/iso-639.def: Add wae entry.
68959         Patch by Kevin Bortis <bortis@translate-wae.ch>.
68961         [BZ #12545]
68962         * locale/programs/localedef.c (construct_output_path): Use ssize_t
68963         for n.
68965         [BZ #12711]
68966         * locale/C-translit.h.in: Add entry for U20B9.
68967         Patch by pravin.d.s@gmail.com.
68969 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
68971         [BZ #12713]
68972         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
68973         ENAMETOOLONG use generic getcwd.
68974         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
68975         in rtld.  Use *stat64.
68976         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
68977         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
68978         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
68979         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
68980         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
68981         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
68982         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
68983         __fstatat64 macros.
68984         * include/dirent.h: Add libc_hidden_proto for rewinddir.
68985         * dirent/rewinddir.c: Add libc_hidden_def.
68986         * sysdeps/mach/hurd/rewinddir.c: Likewise.
68987         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
68989         * include/dirent.h (__alloc_dir): Add flags parameter.
68990         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
68991         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
68992         __alloc_dir.
68993         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
68994         from fdopendir if O_CLOEXEC is already set.
68996 2011-03-15  Alan Modra  <amodra@gmail.com>
68998         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
68999         l_tls_firstbyte_offset non-zero.  Save padding offset in
69000         l_tls_firstbyte_offset for later use.
69001         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
69002         freeing static tls block.
69004 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
69006         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
69007         where #ifdef was intended.  The intent is to prevent ARG_MAX from
69008         being defined by the kernel headers.
69010 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
69012         [BZ #12734]
69013         * resolv/resolv.h: Define RES_NOTLDQUERY.
69014         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
69015         no-tld-query and set RES_NOTLDQUERY.
69016         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
69017         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
69018         modern BIND to search name as TLD unless forbidden.
69020 2011-05-07  Petr Baudis  <pasky@suse.cz>
69021             Ulrich Drepper  <drepper@gmail.com>
69023         [BZ #12393]
69024         * elf/dl-load.c (fillin_rpath): Move trusted path check...
69025         (is_trusted_path): ...to here.
69026         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
69027         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
69028         using is_trusted_path_normalize() in setuid scripts.
69030 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
69032         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
69033         __BEGIN/__END_DECLS.
69035 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
69037         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
69038         NSS_STATUS_NOTFOUND if no record was found.
69040 2011-05-05  Andreas Schwab  <schwab@redhat.com>
69042         * sunrpc/Makefile (headers): Add rpc/netdb.h.
69043         (headers-not-in-tirpc): Remove rpc/netdb.h
69044         * resolv/netdb.h: Revert last change.
69046 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
69048         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
69049         circular dependency between libgcc.a and libc.a.
69051 2011-05-05  Andreas Schwab  <schwab@redhat.com>
69053         * resolv/netdb.h: Don't include <rpc/netdb.h>.
69054         * nis/Makefile: Don't install rpcsvc/*.
69055         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
69056         instead of <rpc/types.h>.
69057         (MAXHOSTNAMELEN): Define.
69059 2011-05-03  Andreas Schwab  <schwab@redhat.com>
69061         * elf/ldconfig.c (add_dir): Don't crash on empty path.
69063 2011-04-28  Maciej Babinski  <mbabinski@google.com>
69065         [BZ #12714]
69066         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
69067         gethostbyname4_r when IPv6 results are possible.
69069 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
69071         [BZ #12723]
69072         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
69073         _PC_PIPE_BUF handling.
69075 2011-04-30  Bruno Haible  <bruno@clisp.org>
69077         [BZ #12717]
69078         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
69079         * resolv/netdb.h (getnameinfo): Change type of flags parameter
69080         to 'int'.
69081         * inet/getnameinfo.c (getnameinfo): Likewise.
69083 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
69085         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
69086         to groups setting in database lookup.
69087         * nss/nsswitch.conf: Add initgroups entry.
69089 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
69091         [BZ #12685]
69092         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
69093         mode string.
69094         Patch by Eric Blake <eblake@redhat.com>.
69096 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
69098         * sunrpc/Makefile (need-export-routines): Add svc_run.
69099         (routines): Remove svc_run.
69100         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
69101         * sunrpc/clnt_perr.c (clnt_perrno): Export.
69102         * sunrpc/svc_run.c (svc_run): Likewise.
69103         * sunrpc/svc_udp.c (svcudp_create): Likewise.
69105 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
69107         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
69108         problem in reallocation in last patch.
69110 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
69112         * sunrpc/Makefile: Move inclusion of Rules.
69114 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
69116         * nss/nss_files/files-initgroups.c: New file.
69117         * nss/Makefile (libnss_files-routines): Add files-initgroups.
69118         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
69119         _nss_files_initgroups_dyn.
69121 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
69123         * elf/elf.h (R_ARM_IRELATIVE): Define.
69125 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
69127         * po/ru.po: Update from translation team.
69129 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
69131         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
69132         dependencies.
69134 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
69136         [BZ #12653]
69137         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
69138         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
69139         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
69140         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
69141         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
69143 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
69145         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
69146         differing bytes.
69147         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
69148         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
69149         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
69151 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
69153         [BZ #12420]
69154         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
69155         storing it.
69156         * stdlib/bug-getcontext.c: New file.
69157         * stdlib/Makefile: Add rules to build and run bug-getcontext.
69159 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69161         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
69162         instructions into .machine "z9-109".
69163         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
69164         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
69166 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69168         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
69169         between environment variables and auxiliary vector.
69171 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
69173         * Makefile: Add rules to build linkobj/libc.so.
69174         * include/libc-symbols.h: Define libc_hidden_nolink.
69175         * include/rpc/auth.h: Mark functions which are to be hidden.
69176         * include/rpc/auth_des.h: Likewise.
69177         * include/rpc/auth_unix.h: Likewise.
69178         * include/rpc/clnt.h: Likewise.
69179         * include/rpc/des_crypt.h: Likewise.
69180         * include/rpc/key_prot.h: Likewise.
69181         * include/rpc/pmap_clnt.h: Likewise.
69182         * include/rpc/pmap_prot.h: Likewise.
69183         * include/rpc/pmap_rmt.h: Likewise.
69184         * include/rpc/rpc_msg.h: Likewise.
69185         * include/rpc/svc.h: Likewise.
69186         * include/rpc/svc_auth.h: Likewise.
69187         * include/rpc/xdr.h: Likewise.
69188         * nis/Makefile: Link all DSOs against linkobj/libc.so.
69189         * nss/Makefile: Likewise.
69190         * sunrpc/Makefile: Don't install headers.  Build library with normal
69191         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
69192         * sunrpc/auth_des.c: Hide exported symbols by default, export some
69193         for the compat linking library.  Remove use of INTDEF/INTUSE.
69194         * sunrpc/auth_none.c: Likewise.
69195         * sunrpc/auth_unix.c: Likewise.
69196         * sunrpc/authdes_prot.c: Likewise.
69197         * sunrpc/authuxprot.c: Likewise.
69198         * sunrpc/clnt_gen.c: Likewise.
69199         * sunrpc/clnt_perr.c: Likewise.
69200         * sunrpc/clnt_raw.c: Likewise.
69201         * sunrpc/clnt_simp.c: Likewise.
69202         * sunrpc/clnt_tcp.c: Likewise.
69203         * sunrpc/clnt_udp.c: Likewise.
69204         * sunrpc/clnt_unix.c: Likewise.
69205         * sunrpc/des_crypt.c: Likewise.
69206         * sunrpc/des_soft.c: Likewise.
69207         * sunrpc/get_myaddr.c: Likewise.
69208         * sunrpc/key_call.c: Likewise.
69209         * sunrpc/key_prot.c: Likewise.
69210         * sunrpc/netname.c: Likewise.
69211         * sunrpc/pm_getmaps.c: Likewise.
69212         * sunrpc/pm_getport.c: Likewise.
69213         * sunrpc/pmap_clnt.c: Likewise.
69214         * sunrpc/pmap_prot.c: Likewise.
69215         * sunrpc/pmap_prot2.c: Likewise.
69216         * sunrpc/pmap_rmt.c: Likewise.
69217         * sunrpc/publickey.c: Likewise.
69218         * sunrpc/rpc_cmsg.c: Likewise.
69219         * sunrpc/rpc_common.c: Likewise.
69220         * sunrpc/rpc_dtable.c: Likewise.
69221         * sunrpc/rpc_prot.c: Likewise.
69222         * sunrpc/rpc_thread.c: Likewise.
69223         * sunrpc/rtime.c: Likewise.
69224         * sunrpc/svc.c: Likewise.
69225         * sunrpc/svc_auth.c: Likewise.
69226         * sunrpc/svc_authux.c: Likewise.
69227         * sunrpc/svc_raw.c: Likewise.
69228         * sunrpc/svc_run.c: Likewise.
69229         * sunrpc/svc_simple.c: Likewise.
69230         * sunrpc/svc_tcp.c: Likewise.
69231         * sunrpc/svc_udp.c: Likewise.
69232         * sunrpc/svc_unix.c: Likewise.
69233         * sunrpc/svcauth_des.c: Likewise.
69234         * sunrpc/xcrypt.c: Likewise.
69235         * sunrpc/xdr.c: Likewise.
69236         * sunrpc/xdr_array.c: Likewise.
69237         * sunrpc/xdr_float.c: Likewise.
69238         * sunrpc/xdr_intXX_t.c: Likewise.
69239         * sunrpc/xdr_mem.c: Likewise.
69240         * sunrpc/xdr_rec.c: Likewise.
69241         * sunrpc/xdr_ref.c: Likewise.
69242         * sunrpc/xdr_sizeof.c: Likewise.
69243         * sunrpc/xdr_stdio.c: Likewise.
69245 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
69247         [BZ #12650]
69248         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
69249         * sysdeps/ia64/dl-tls.h: Likewise.
69250         * sysdeps/powerpc/dl-tls.h: Likewise.
69251         * sysdeps/s390/dl-tls.h: Likewise.
69252         * sysdeps/sh/dl-tls.h: Likewise.
69253         * sysdeps/sparc/dl-tls.h: Likewise.
69254         * sysdeps/x86_64/dl-tls.h: Likewise.
69255         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
69257 2011-03-14  Andreas Schwab  <schwab@redhat.com>
69259         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
69260         rpath element also skip the following colon.
69261         (expand_dynamic_string_token): Add is_path parameter and pass
69262         down to DL_DST_REQUIRED and _dl_dst_substitute.
69263         (decompose_rpath): Call expand_dynamic_string_token with
69264         non-zero is_path.  Ignore empty rpaths.
69265         (_dl_map_object_from_fd): Call expand_dynamic_string_token
69266         with zero is_path.
69268 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
69270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
69271         Make cancelable.
69273 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
69275         [BZ #12655]
69276         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
69277         Patch by Filipe David Manana <fdmanana@apache.org>.
69279 2011-04-07  Andreas Schwab  <schwab@redhat.com>
69281         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
69282         Maintain aligned stack.
69283         (CHECK_RSP): Remove unused macro.
69285 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
69287         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
69288         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
69290 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
69292         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
69294         * include/features.h: Mention __USE_XOPEN2K8 in comment.
69296 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
69298         [BZ #12518]
69299         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
69300         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
69301         * sysdeps/x86_64/memmove.c: New file.
69302         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
69303         (memcpy): Renamed to ...
69304         (__new_memcpy): This.
69305         (memcpy): Provide GLIBC_2_14 memcpy.
69306         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
69307         (memcpy): Provide GLIBC_2_2_5 memcpy.
69309 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
69311         [BZ #12631]
69312         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
69314 2011-03-30  Andreas Schwab  <schwab@redhat.com>
69316         * misc/syncfs.c: New file.
69317         * misc/Makefile (routines): Add syncfs.
69318         * posix/unistd.h: Declare syncfs.
69319         * sysdeps/unix/syscalls.list: Add syncfs.
69321 2011-04-01  Andreas Schwab  <schwab@redhat.com>
69323         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
69324         open_by_handle_at.
69325         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
69326         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
69327         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69328         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69329         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69330         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
69331         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69333 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
69335         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
69336         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
69337         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
69338         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69339         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69340         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69341         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69343         * io/Makefile: Compile fallocate.c, fallocate64.c, and
69344         sync_file_range.c with -fexceptions.
69345         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
69346         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
69347         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
69348         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
69349         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
69350         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
69351         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
69352         sync_file_range as cancellation point
69353         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
69354         now a wrapper around __call_sync_file_range with cancellation handling.
69355         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
69356         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
69357         function name to __call_sync_file_range.
69358         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
69359         Add call_sync_file_range.
69361 2011-04-01  Andreas Schwab  <schwab@redhat.com>
69363         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69364         bits/timex.h.
69366 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
69368         * iconv/iconv.h: Fix typo in comment.
69369         * io/fcntl.h: Likewise.
69370         * libio/stdio.h: Likewise.
69371         * posix/spawn.h: Likewise.
69372         * posix/unistd.h: Likewise.
69373         * stdlib/stdlib.h: Likewise.
69374         * time/time.h: Likewise.
69375         * wcsmbs/wchar.h: Likewise.
69377         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
69378         open_by_handle): Add.
69379         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
69380         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
69381         Augment a few comments.
69382         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
69383         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69384         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69385         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69386         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69387         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
69388         open_by_handle.
69390         * io/fcntl.h (AT_EMPTY_PATH): Define.
69392 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
69394         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
69395         * sysdeps/unix/sysv/linux/bits/time.h: New file.
69396         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
69397         to...
69398         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
69399         * Versions.def: Add GLIBC_2.14.
69400         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
69401         Export.
69403 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
69405         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
69406         round counter.
69407         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
69409 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69411         [BZ #12597]
69412         * string/test-strncmp.c (do_page_test): New function.
69413         (check2): Likewise.
69414         (test_main): Call check2.
69415         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
69417 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
69419         [BZ #12587]
69420         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
69421         Handle cache information in CPU leaf 4.
69422         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
69424 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
69426         [BZ #12583]
69427         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
69428         character representation.
69429         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
69431 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
69433         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
69434         END(__isnan) to END(__isnanf) to match function entry point/label
69435         EALIGN(__isnanf,...).
69437 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
69439         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
69441 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
69443         [BZ #12510]
69444         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
69445         copy from the symbol referenced in the relocation to initialize the
69446         used variable.
69447         Patch by Piotr Bury <pbury@goahead.com>.
69448         * elf/Makefile: Add rules to build and tst-unique3.
69449         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
69450         * elf/tst-unique3.cc: New file.
69451         * elf/tst-unique3.h: New file.
69452         * elf/tst-unique3lib.cc: New file.
69453         * elf/tst-unique3lib2.cc: New file.
69455         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
69457 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
69459         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
69460         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
69461         to _start.
69463 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
69465         * elf/dl-load.c (_dl_map_object): If we are looking for the first
69466         to-be-loaded object along a path to loader is ld.so.
69468 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
69469             Ulrich Drepper  <drepper@gmail.com>
69471         * sysdeps/x86_64/memset.S: After aligning destination, code
69472         branches to different locations depending on the value of
69473         misalignment, when multiarch is enabled. Fix this.
69475 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
69477         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
69478         Set _x86_64_preferred_memory_instruction for AMD processsors.
69479         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69480         Set bit_Prefer_SSE_for_memop for AMD processors.
69482 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
69484         * libio/fmemopen.c (fmemopen): Optimize a bit.
69486 2011-03-03  Andreas Schwab  <schwab@redhat.com>
69488         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
69490 2011-03-03  Roland McGrath  <roland@redhat.com>
69492         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
69494 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
69496         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
69497         __bzero_ultra1 instead of __memset_ultra1.
69499 2011-02-23  Andreas Schwab  <schwab@redhat.com>
69500             Ulrich Drepper  <drepper@gmail.com>
69502         [BZ #12509]
69503         * include/link.h (struct link_map): Add l_orig_initfini.
69504         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
69505         returning unsuccessfully.
69506         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
69507         close of a file loaded at startup, restore the original l_initfini
69508         list.
69509         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
69510         list, store the pointer.
69511         * elf/Makefile ($(objpfx)noload-mem): New rule.
69512         (noload-ENV): Define.
69513         (tests): Add $(objpfx)noload-mem.
69514         * elf/noload.c: Include <memcheck.h>.
69515         (main): Call mtrace.  Close all opened handles.
69517 2011-02-17  Andreas Schwab  <schwab@redhat.com>
69519         [BZ #12454]
69520         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
69521         dependencies are missing.
69523 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69525         Fix __if_freereq crash: Unlike the generic version which uses free,
69526         Hurd needs munmap.
69527         * sysdeps/mach/hurd/ifreq.h: New file.
69529 2011-01-27  Petr Baudis  <pasky@suse.cz>
69530             Ulrich Drepper  <drepper@gmail.com>
69532         [BZ 12445]#
69533         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
69534         to extend_alloca().
69535         * stdio-common/bug23.c: New file.
69536         * stdio-common/Makefile (tests): Add bug23.
69538 2010-09-28  Andreas Schwab  <schwab@redhat.com>
69539             Ulrich Drepper  <drepper@gmail.com>
69541         [BZ #12489]
69542         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
69543         before performing relro protection.  At old place add assertion
69544         to make sure nothing changed.
69546 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
69547             Glauber de Oliveira Costa  <glommer@gmail.com>
69549         * elf/elf.h: Add new ARM TLS relocs.
69551 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
69553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
69554         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
69555         cast from r3.
69556         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
69557         'tests' variable.
69558         * sysdeps/wordsize-64/tst-writev.c: New file.
69560 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
69562         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
69563         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
69564         insns in _dl_start to prevent a TOC reference before relocs are
69565         resolved.
69567 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
69569         [BZ #12469]
69570         * Makeconfig: Remove RANLIB definition.
69571         * Makerules: Don't use RANLIB.
69572         * aclocal.m4: Remove ranlib test.
69573         * configure.in: No need to check for ranlib.
69574         * elf/rtld-Rules: Don't use RANLIB.
69576 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69578         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
69579         protection macro.
69580         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
69581         inclusion protection macro.
69583         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
69584         SIGRTMIN and SIGRTMAX and print information in that case only when
69585         SIGRTMIN is defined.
69587 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
69589         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
69590         arginfo fn returning -1.
69592         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
69593         and thousands string is zero terminated.
69595 2011-02-03  Andreas Schwab  <schwab@redhat.com>
69597         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
69598         sysdeps/unix/sysv/linux/bits/socket.h.
69600 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69602         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
69603         (__CPU_COUNT): Remove old macros.
69604         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
69605         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
69606         (__CPU_ALLOC, __CPU_FREE): Add macros.
69607         (__sched_cpualloc, __sched_cpufree): Add declarations.
69609 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
69611         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
69612         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
69613         * nscd/aicache.c (addhstaiX): Return timeout of added value.
69614         (readdhstai): Return value of addhstaiX call.
69615         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
69616         (addgrbyX): Return value returned by cache_addgr.
69617         (readdgrbyname): Return value returned by addgrbyX.
69618         (readdgrbygid): Likewise.
69619         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
69620         (addpwbyX): Return value returned by cache_addpw.
69621         (readdpwbyname): Return value returned by addhstbyX.
69622         (readdpwbyuid): Likewise.
69623         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
69624         (addservbyX): Return value returned by cache_addserv.
69625         (readdservbyname): Return value returned by addservbyX:
69626         (readdservbyport): Likewise.
69627         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
69628         (addhstbyX): Return value returned by cache_addhst.
69629         (readdhstbyname): Return value returned by addhstbyX.
69630         (readdhstbyaddr): Likewise.
69631         (readdhstbynamev6): Likewise.
69632         (readdhstbyaddrv6): Likewise.
69633         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
69634         (readdinitgroups): Return value returned by addinitgroupsX.
69635         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
69636         (prune_cache): Keep track of timeout value of re-added entries.
69637         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
69638         * nscd/nscd.h: Adjust prototypes of readd* functions.
69640 2011-02-04  Roland McGrath  <roland@redhat.com>
69642         * nis/nis_server.c (nis_servstate): Use the right name for 0.
69643         (nis_stats): Likewise.
69644         * nis/nis_modify.c (nis_modify): Likewise.
69645         * nis/nis_remove.c (nis_remove): Likewise.
69646         * nis/nis_add.c (nis_add): Likewise.
69648         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
69650         * posix/fnmatch_loop.c: Add some consts.
69652         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
69654 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
69656         [BZ #12460]
69657         * config.make.in (config-cflags-novzeroupper): Define.
69658         * configure.in: Substitute libc_cv_cc_novzeroupper.
69659         * elf/Makefile (AVX-CFLAGS): Define.
69660         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
69661         (CFLAGS-tst-auditmod4a.c): Likewise.
69662         (CFLAGS-tst-auditmod4b.c): Likewise.
69663         (CFLAGS-tst-auditmod6b.c): Likewise.
69664         (CFLAGS-tst-auditmod6c.c): Likewise.
69665         (CFLAGS-tst-auditmod7b.c): Likewise.
69666         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
69668 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
69670         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
69671         function to the callback.
69672         Patch partly by Jiri Olsa <jolsa@redhat.com>.
69674 2011-02-02  Andreas Schwab  <schwab@redhat.com>
69676         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
69677         of errno.
69679 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
69681         [BZ #11724]
69682         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
69683         of constructors.
69684         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
69685         of destructors.
69686         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
69688         [BZ #11724]
69689         * elf/Makefile: Add rules to build and run new test.
69690         * elf/tst-initorder.c: New file.
69691         * elf/tst-initorder.exp: New file.
69692         * elf/tst-initordera1.c: New file.
69693         * elf/tst-initordera2.c: New file.
69694         * elf/tst-initordera3.c: New file.
69695         * elf/tst-initordera4.c: New file.
69696         * elf/tst-initorderb1.c: New file.
69697         * elf/tst-initorderb2.c: New file.
69698         * elf/tst-order-a1.c: New file.
69699         * elf/tst-order-a2.c: New file.
69700         * elf/tst-order-a3.c: New file.
69701         * elf/tst-order-a4.c: New file.
69702         * elf/tst-order-b1.c: New file.
69703         * elf/tst-order-b2.c: New file.
69704         * elf/tst-order-main.c: New file.
69705         New test case by George Gensure <werkt0@gmail.com>.
69707 2010-10-01  Andreas Schwab  <schwab@redhat.com>
69709         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
69710         decoding ACE if AI_CANONIDN.
69712 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
69714         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
69716 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
69718         * version.h (RELEASE): Bump for 2.13 release.
69719         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
69721         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
69723         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
69724         MADV_NOHUGEPAGE.
69725         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
69726         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
69727         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69728         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
69729         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69730         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
69732         * posix/getconf.c: Update copyright year.
69733         * catgets/gencat.c: Likewise.
69734         * csu/version.c: Likewise.
69735         * debug/catchsegv.sh: Likewise.
69736         * debug/xtrace.sh: Likewise.
69737         * elf/ldconfig.c: Likewise.
69738         * elf/ldd.bash.in: Likewise.
69739         * elf/sprof.c (print_version): Likewise.
69740         * iconv/iconv_prog.c: Likewise.
69741         * iconv/iconvconfig.c: Likewise.
69742         * locale/programs/locale.c: Likewise.
69743         * locale/programs/localedef.c: Likewise.
69744         * malloc/memusage.sh: Likewise.
69745         * malloc/mtrace.pl: Likewise.
69746         * nscd/nscd.c (print_version): Likewise.
69747         * nss/getent.c: Likewise.
69749         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
69750         PF_CAIF, and PF_ALG.
69751         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69753 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
69755         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
69756         (modules-names): Use them.
69757         (ifunc-test-modules, ifunc-pie-tests): Define.
69758         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
69759         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
69760         (test-extras): Likewise.
69761         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
69762         $(compile-command.c).
69763         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
69764         (all-built-dso): Define.
69765         (check-textrel.out, check-execstack.out): Depend on it.
69767         * configure.in: Don't override --enable-multi-arch.
69769 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
69771         [BZ #6812]
69772         * nscd/hstcache.c (tryagain): Define.
69773         (cache_addhst): Return tryagain not notfound for temporary errors.
69774         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
69775         failed.
69777 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
69779         [BZ #10563]
69780         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
69781         to make the syscall.
69782         * sysdeps/unix/sysv/linux/setgroups.c: New file.
69784         [BZ #12378]
69785         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
69786         and fall back to matching as normal character if the string ends before
69787         the matching ']' is found.  This is what POSIX requires.
69788         * posix/testfnm.c: Adjust test result.
69789         * posix/globtest.sh: Adjust test result.  Add new test.
69790         * posix/tst-fnmatch.input: Likewise.
69791         * posix/tst-fnmatch2.c: Add new test.
69793 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
69795         * elf/Makefile (check-execstack): Revert last change.  Depend on
69796         check-execstack.h.
69797         (check-execstack.h): New target.
69798         (generated): Add check-execstack.h.
69799         * elf/check-execstack.c: Include "check-execstack.h".
69800         (main): Revert last change.
69801         (handle_file): Return zero if GNU_STACK is absent and
69802         DEFAULT_STACK_PERMS doesn't include PF_X.
69804 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
69806         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
69807         in child fails because the descriptor is already closed.
69808         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
69809         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
69810         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
69812         [BZ #12397]
69813         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
69814         syscall.
69816         [BZ #10484]
69817         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
69818         temporary buffer used to handle multi lookups locally.
69819         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
69821 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
69823         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
69824         loader is ld.so.
69826 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
69828         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
69829         alignment for SSE2.
69831 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
69833         [BZ #12394]
69834         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
69835         characters.  When rounding increased number of integer digits recompute
69836         number of groups.
69837         * stdio-common/tst-grouping.c: New file.
69838         * stdio-common/Makefile: Add rules to build and run tst-grouping.
69840 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
69842         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
69843         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
69845         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
69846         void.
69847         * bits/select.h: Likewise.
69849 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
69851         * po/ja.po: Update from translation team.
69853 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
69855         [BZ #11155]
69856         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
69857         implementation just like for lxstat, fxstatat, et al.
69859 2010-12-27  Jim Meyering  <meyering@redhat.com>
69861         [BZ #12348]
69862         * posix/regexec.c (build_trtable): Return failure indication upon
69863         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
69865 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
69867         [BZ #12201]
69868         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
69869         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
69870         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
69871         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
69873         [BZ #12207]
69874         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
69876         [BZ #12204]
69877         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
69878         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
69880 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
69882         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
69883         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
69884         script has SORT_BY_INIT_PRIORITY.
69885         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
69886         NO_CTORS_DTORS_SECTIONS is defined.
69887         * elf/soinit.c: Likewise.
69888         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
69889         NO_CTORS_DTORS_SECTIONS is defined.
69890         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
69891         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
69892         * sysdeps/sh/init-first.c: Likewise.
69893         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
69895 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
69897         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
69898         always use the slow path.
69900 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
69902         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
69903         similar rule which adds the sysdep directories to the header search in
69904         order to pick up the correct platform stackinfo.h.
69905         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
69906         perform test if it is, otherwise return successfully without testing.
69907         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
69908         DEFAULT_STACK_PERMS define in stackinfo.h.
69909         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
69910         defined in stackinfo.h.
69911         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
69912         DEFAULT_STACK_PERMS defined in stackinfo.h.
69913         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
69914         * sysdeps/ia64/stackinfo.h: Likewise.
69915         * sysdeps/s390/stackinfo.h: Likewise.
69916         * sysdeps/sh/stackinfo.h: Likewise.
69917         * sysdeps/sparc/stackinfo.h: Likewise.
69918         * sysdeps/x86_64/stackinfo.h: Likewise.
69919         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
69920         PF_X for powerpc64.  Retain PF_X for powerpc32.
69922 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
69924         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
69925         accurately.
69926         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
69927         GETDENTS_64BIT_ALIGNED.
69929 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
69931         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
69933 2010-12-10  Andreas Schwab  <schwab@redhat.com>
69935         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
69936         _GNU_SOURCE.
69938         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
69939         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
69940         Remove __restrict.
69941         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
69942         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
69944 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
69946         [BZ #11655]
69947         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
69948         are initialized.
69950 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
69952         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
69954 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
69956         * po/it.po: Update from translation team.
69958 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
69960         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
69961         unused codes.
69963 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
69965         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
69967 2010-11-24  Andreas Schwab  <schwab@redhat.com>
69969         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
69970         specially.
69971         (gaih_getanswer_slice): Likewise.
69973 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
69975         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
69977 2010-05-31  Petr Baudis  <pasky@suse.cz>
69979         [BZ #11149]
69980         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
69981         silently even in the chroot mode.
69983 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
69985         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
69986         last patch a bit.  Pretty printing
69988 2010-05-31  Petr Baudis <pasky@suse.cz>
69990         [BZ #10085]
69991         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
69992         initialization of skip_initgroups_dyn.
69994 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
69996         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
69997         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
69999 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
70001         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
70003 2010-11-11  Andreas Schwab  <schwab@redhat.com>
70005         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
70006         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
70007         (tst-fnmatch-ENV): Set MALLOC_TRACE.
70008         ($(objpfx)tst-fnmatch-mem): New rule.
70009         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
70010         * posix/tst-fnmatch.c (main): Call mtrace.
70012 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
70014         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70015         Support Intel processor model 6 and model 0x2c.
70017 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
70019         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
70020           signed comparison.
70022 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
70024         [BZ #12205]
70025         * string/test-strncasecmp.c (check_result): New function.
70026         (do_one_test): Use it.
70027         (check1): New function.
70028         (test_main): Use it.
70029         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
70030         Support strcasecmp and strncasecmp.
70032 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
70034         [BZ #12194]
70035         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
70036         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70038 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
70040         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
70041         IFUNC support.
70042         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70043         memset-x86-64.
70044         * sysdeps/x86_64/multiarch/bzero.S: New file.
70045         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
70046         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
70047         * sysdeps/x86_64/multiarch/memset.S: New file.
70048         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
70049         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70050         Set bit_Prefer_SSE_for_memop for Intel processors.
70051         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
70052         Define.
70053         (index_Prefer_SSE_for_memop): Define.
70054         (HAS_PREFER_SSE_FOR_MEMOP): Define.
70056 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
70058         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
70059         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
70061 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
70063         [BZ #12191]
70064         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
70065         (__x86_64_raw_data_cache_size_half): Likewise.
70066         (__x86_64_raw_shared_cache_size): Likewise.
70067         (__x86_64_raw_shared_cache_size_half): Likewise.
70069         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
70070         (__x86_64_raw_data_cache_size_half): Likewise.
70071         (__x86_64_raw_shared_cache_size): Likewise.
70072         (__x86_64_raw_shared_cache_size_half): Likewise.
70073         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
70074         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
70075         and __x86_64_raw_shared_cache_size_half.  Round
70076         __x86_64_data_cache_size_half, __x86_64_data_cache_size
70077         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
70078         to multiple of 256 bytes.
70080 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
70082         [BZ #12167]
70083         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
70084         of inacessible symlinks.  Verify result of symlink before returning it.
70085         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
70086         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
70088 2010-10-28  Erich Ritz  <erichritz@gmail.com>
70090         * math/math.h (isinf): Fix typo in comment.
70092 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
70094         * po/da.po: Update from translation team.
70096 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
70098         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
70099         is added to the list.
70101 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70102             Ulrich Drepper  <drepper@gmail.com>
70104         * elf/dl-object.c (_dl_new_object): Don't append the new object to
70105         the global list here.  Move code to...
70106         (_dl_add_to_namespace_list): ...here.  New function.
70107         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
70108         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
70109         * elf/dl-load.c (lose): Don't remove the element from the list.
70110         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
70111         (_dl_map_object): Likewise.
70113 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
70115         [BZ #12159]
70116         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
70117         into all bytes of SSE register.
70118         Patch by Richard Li <richardpku@gmail.com>.
70120 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
70122         [BZ #12140]
70123         * malloc/malloc.c (_int_free): Fill correct number of bytes when
70124         perturbing.
70126 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
70128         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
70129         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
70130         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
70131         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
70132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
70133         submachine.
70134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
70136 2010-10-22  Andreas Schwab  <schwab@redhat.com>
70138         * include/dlfcn.h (__RTLD_SECURE): Define.
70139         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
70140         mode & __RTLD_SECURE instead.
70141         (open_path): Rename preloaded parameter to secure.
70142         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
70143         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
70144         * elf/dl-deps.c (openaux): Likewise.
70145         * elf/rtld.c (struct map_args): Remove is_preloaded.
70146         (map_doit): Don't use it.
70147         (dl_main): Likewise.
70148         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
70149         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
70151 2010-09-09  Andreas Schwab  <schwab@redhat.com>
70153         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
70154         (sysd-rules-targets): Remove duplicates.
70155         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
70156         rtld-%.$o dependency.
70158 2010-10-18  Andreas Schwab  <schwab@redhat.com>
70160         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
70161         _dl_map_object do it.
70163 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
70165         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
70166         fast fma builtins, define the macros in the C99 standard.
70167         (FP_FAST_FMAF): Likewise.
70168         (FP_FAST_FMAL): Likewise.
70169         * sysdeps/x86_64/bits/mathdef.h: Likewise.
70171         * bits/mathdef.h: Update copyright year.
70172         * sysdeps/powerpc/bits/mathdef.h: Likewise.
70174 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
70176         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
70177         builtins, define the macros in the C99 standard.
70178         (FP_FAST_FMAF): Likewise.
70179         (FP_FAST_FMAL): Likewise.
70180         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
70181         multiply/add.
70182         (FP_FAST_FMAF): Likewise.
70184 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
70186         [BZ #3268]
70187         * math/libm-test.inc (fma_test): Some new testcases.
70188         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
70189         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
70190         y and infinite z.  Do multiplication by C already in long double.
70191         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
70192         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
70193         y and infinite z.  Do bitwise or of inexact bit into u.d.
70194         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
70195         * sysdeps/i386/fpu/s_fmaf.S: Removed.
70196         * sysdeps/i386/fpu/s_fma.S: Removed.
70197         * sysdeps/i386/fpu/s_fmal.S: Removed.
70199 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
70201         [BZ #3268]
70202         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
70203         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
70204         computation is not scheduled after fetestexcept.  Fix value
70205         of minimum denormal long double.
70207 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
70209         [BZ #3268]
70210         * math/libm-test.inc (fma_test): Add some more tests.
70211         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
70212         correctly.
70214 2010-10-15  Andreas Schwab  <schwab@redhat.com>
70216         * scripts/data/localplt-s390-linux-gnu.data: New file.
70217         * scripts/data/localplt-s390x-linux-gnu.data: New file.
70219 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
70221         [BZ #3268]
70222         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
70223         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
70224         instead of dbl-64.
70225         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
70226         inlines.
70227         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
70228         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
70229         if one of x and y is very large and the other is subnormal.
70230         * sysdeps/s390/fpu/s_fmaf.c: New file.
70231         * sysdeps/s390/fpu/s_fma.c: New file.
70232         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
70233         * sysdeps/powerpc/fpu/s_fma.S: New file.
70234         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
70235         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
70236         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
70238 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
70240         [BZ #3268]
70241         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
70242         fma tests.
70243         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
70244         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
70245         * sysdeps/i386/i686/multiarch/s_fma.c: Include
70246         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
70247         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
70248         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
70249         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
70251 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
70253         [BZ #12078]
70254         * posix/regcomp.c (parse_branch): One more memory leak plugged.
70255         * posix/bug-regex31.input: Add test case.
70257 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
70259         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
70260         * posix/bug-regex31.input: New file.
70262         [BZ #12078]
70263         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
70264         (parse_sub_exp): Fix last change, use postorder.
70266         * posix/bug-regex31.c: New file.
70267         * posix/Makefile: Add rules to build and run bug-regex31.
70269         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
70271         [BZ #12078]
70272         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
70274         [BZ #12108]
70275         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
70276         to have entries in sys_siglist.
70278         [BZ #12093]
70279         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
70280         be NULL.
70282 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
70284         [BZ #3268]
70285         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
70286         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
70287         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
70288         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
70289         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
70290         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
70291         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
70292         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
70293         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
70294         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
70295         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
70296         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
70297         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
70298         * math/ftestexcept.c (fetestexcept): Likewise.
70299         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
70300         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
70301         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
70302         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
70303         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
70304         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
70305         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
70307 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
70309         [BZ #12107]
70310         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
70311         newline.
70313 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
70315         * string/bug-strstr1.c: New file.
70316         * string/Makefile: Add rules to build and run bug-strstr1.
70318 2010-10-05  Eric Blake  <eblake@redhat.com>
70320         [BZ #12092]
70321         * string/str-two-way.h (two_way_long_needle): Always clear memory
70322         when skipping input due to the shift table.
70324 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
70326         [BZ #12005]
70327         * malloc/mcheck.c: Handle large requests.
70329         [BZ #12077]
70330         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
70331         for strncmp and strncasecmp.
70332         * string/stratcliff.c: Add tests for strcmp and strncmp.
70333         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
70335 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70337         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
70338         __set_fpscr.
70340 2010-09-30  Andreas Jaeger  <aj@suse.de>
70342         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
70343         (CGROUP_SUPER_MAGIC): Define.
70344         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70345         Handle btrfs and cgroup file systems.
70346         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
70347         Likewise.
70349 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
70351         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
70352         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
70354 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70356         [BZ #12067]
70357         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
70358         trying to locate the ELF header.
70360 2010-09-27  Andreas Schwab  <schwab@redhat.com>
70362         [BZ #11611]
70363         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
70364         Mask out sign-bit copies when constructing f_fsid.
70366 2010-09-24  Petr Baudis <pasky@suse.cz>
70368         * debug/stack_chk_fail_local.c: Add missing licence exception.
70369         * debug/warning-nop.c: Likewise.
70371 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
70373         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
70374         implementing getdents64 using getdents syscall, set d_type if
70375         __ASSUME_GETDENTS32_D_TYPE.
70377 2010-09-16  Andreas Schwab  <schwab@redhat.com>
70379         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
70380         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
70382 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
70384         [BZ #12037]
70385         * posix/unistd.h: Undo change of feature selection for ftruncate from
70386         2010-01-11.
70388 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
70390         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
70391         detection.
70393 2010-09-20  Andreas Schwab  <schwab@redhat.com>
70395         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
70396         fanotify_mark.
70397         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
70399 2010-09-14  Andreas Schwab  <schwab@redhat.com>
70401         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
70402         variables after CHECK_SP call.
70403         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
70405 2010-09-13  Andreas Schwab  <schwab@redhat.com>
70406             Ulrich Drepper  <drepper@redhat.com>
70408         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
70409         re-relocationg ld.so.
70410         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
70411         _dl_init_paths call.
70412         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
70413         here anymore.
70415 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
70417         * resolv/res_init.c (__res_vinit): Count the default server we added.
70419 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
70420             Ulrich Drepper  <drepper@redhat.com>
70422         [BZ #11968]
70423         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
70424         (____longjmp_chk): Use %ebx for saving value across system call.
70425         Add unwind info.
70427 2010-09-06  Andreas Schwab  <schwab@redhat.com>
70429         * manual/Makefile: Don't mix pattern rules with normal rules.
70431 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
70433         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
70434         operation.
70435         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
70436         * libio/iofopncook.c (_IO_cookie_init): Likewise.
70437         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
70438         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
70439         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
70440         Likewise.
70442 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
70444         [BZ #11979]
70445         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
70446         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
70448 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
70450         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
70451         * sysdeps/x86_64/addmul_1.S: Likewise.
70452         * sysdeps/x86_64/lshift.S: Likewise.
70453         * sysdeps/x86_64/mul_1.S: Likewise.
70454         * sysdeps/x86_64/rshift.S: Likewise.
70455         * sysdeps/x86_64/sub_n.S: Likewise.
70456         * sysdeps/x86_64/submul_1.S: Likewise.
70458 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70460         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
70461         Define __sched_param instead of SCHED_* and sched_param when
70462         <bits/sched.h> is included with __need_schedparam defined.
70463         * bits/sched.h [__need_schedparam]
70464         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
70465         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
70466         (__defined_schedparam): Define to 1.
70467         (__sched_param): New structure, identical to sched_param.
70468         (__need_schedparam): Undefine.
70470 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
70472         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
70473         (epoll_create1): Declare.
70475         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
70477 2010-08-31  Andreas Schwab  <schwab@redhat.com>
70479         [BZ #7066]
70480         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
70481         shifting retval into place.
70483 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
70485         * nis/rpcsvc/nis.h: Update copyright notice.
70486         * nis/rpcsvc/nis.x: Likewise.
70487         * nis/rpcsvc/nis_callback.h: Likewise.
70488         * nis/rpcsvc/nis_callback.x: Likewise.
70489         * nis/rpcsvc/nis_object.x: Likewise.
70490         * nis/rpcsvc/nis_tags.h: Likewise.
70491         * nis/rpcsvc/yp.h: Likewise.
70492         * nis/rpcsvc/yp.x: Likewise.
70493         * nis/rpcsvc/ypupd.h: Likewise.
70494         * nis/yp_xdr.c: Likewise.
70495         * nis/ypupdate_xdr.c: Likewise.
70497         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
70498         mainly the body of pmap_getport.  Add parameters to specify timeouts.
70499         (pmap_getport): Use __libc_rpc_getport.
70500         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
70501         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
70502         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
70504 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
70506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
70507         fanotify_mark.
70509 2010-08-27  Roland McGrath  <roland@redhat.com>
70511         * sysdeps/i386/i686/multiarch/Makefile
70512         (CFLAGS-varshift.c): New variable.
70514 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
70516         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
70517         * sysdeps/i386/i686/multiarch/varshift.c: New file.
70519         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
70521         * sysdeps/x86_64/strlen.S: Minimal code improvement.
70523 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
70525         * sysdeps/x86_64/strlen.S: Unroll the loop.
70526         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70527         strlen-sse2 strlen-sse2-bsf.
70528         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
70529         __strlen_no_bsf if bit_Slow_BSF is set.
70530         (__strlen_sse42): Removed.
70531         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
70532         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
70534 2010-08-25  Roland McGrath  <roland@redhat.com>
70536         * sysdeps/x86_64/multiarch/varshift.S: File removed.
70537         * sysdeps/x86_64/multiarch/varshift.c: New file.
70538         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
70539         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
70540         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
70541         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
70543 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
70545         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70546         strlen-sse2 strlen-sse2-bsf.
70547         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
70548         __strlen_sse2_bsf if bit_Slow_BSF is unset.
70549         (__strlen_sse2): Removed.
70550         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
70551         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
70552         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
70553         bit_Slow_BSF for Atom.
70554         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
70555         (index_Slow_BSF): Define.
70556         (HAS_SLOW_BSF): Define.
70558 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
70560         [BZ #10851]
70561         * resolv/res_init.c (__res_vinit): When no server address at all
70562         is given default to loopback.
70564 2010-08-24  Roland McGrath  <roland@redhat.com>
70566         * configure.in: Remove config-name.h generation.
70567         * configure: Regenerated.
70568         * config-name.in: File removed.
70569         * scripts/config-uname.sh: New file.
70570         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
70571         ($(objdir)config-name.h): New target.
70573         * sunrpc/rpc_parse.h: Avoid nested comment.
70575 2010-08-24  Richard Henderson  <rth@redhat.com>
70576             Ulrich Drepper  <drepper@redhat.com>
70577             H.J. Lu  <hongjiu.lu@intel.com>
70579         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
70580         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
70581         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
70582         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
70583         _mm_alignr_epi8 with _mm_loadu_si128.
70584         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
70585         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
70586         (__m128i_shift_right): Removed.
70587         * sysdeps/i386/i686/multiarch/varshift.h: New file.
70588         * sysdeps/i386/i686/multiarch/varshift.S: New file.
70589         * sysdeps/x86_64/multiarch/varshift.h: New file.
70590         * sysdeps/x86_64/multiarch/varshift.S: New file.
70592 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
70594         * configure.in: Move assembler checks to before sysdep dir checking.
70596 2010-08-20  Petr Baudis  <pasky@suse.cz>
70598         * LICENSES: Sync the sunrpc license.
70600 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
70602         * sunrpc/auth_des.c: Update copyright notice once again.
70603         * sunrpc/auth_none.c: Likewise.
70604         * sunrpc/auth_unix.c: Likewise.
70605         * sunrpc/authdes_prot.c: Likewise.
70606         * sunrpc/authuxprot.c: Likewise.
70607         * sunrpc/bindrsvprt.c: Likewise.
70608         * sunrpc/clnt_gen.c: Likewise.
70609         * sunrpc/clnt_perr.c: Likewise.
70610         * sunrpc/clnt_raw.c: Likewise.
70611         * sunrpc/clnt_simp.c: Likewise.
70612         * sunrpc/clnt_tcp.c: Likewise.
70613         * sunrpc/clnt_udp.c: Likewise.
70614         * sunrpc/clnt_unix.c: Likewise.
70615         * sunrpc/des_crypt.c: Likewise.
70616         * sunrpc/des_soft.c: Likewise.
70617         * sunrpc/get_myaddr.c: Likewise.
70618         * sunrpc/getrpcport.c: Likewise.
70619         * sunrpc/key_call.c: Likewise.
70620         * sunrpc/key_prot.c: Likewise.
70621         * sunrpc/openchild.c: Likewise.
70622         * sunrpc/pm_getmaps.c: Likewise.
70623         * sunrpc/pm_getport.c: Likewise.
70624         * sunrpc/pmap_clnt.c: Likewise.
70625         * sunrpc/pmap_prot.c: Likewise.
70626         * sunrpc/pmap_prot2.c: Likewise.
70627         * sunrpc/pmap_rmt.c: Likewise.
70628         * sunrpc/rpc/auth.h: Likewise.
70629         * sunrpc/rpc/auth_unix.h: Likewise.
70630         * sunrpc/rpc/clnt.h: Likewise.
70631         * sunrpc/rpc/des_crypt.h: Likewise.
70632         * sunrpc/rpc/key_prot.h: Likewise.
70633         * sunrpc/rpc/netdb.h: Likewise.
70634         * sunrpc/rpc/pmap_clnt.h: Likewise.
70635         * sunrpc/rpc/pmap_prot.h: Likewise.
70636         * sunrpc/rpc/pmap_rmt.h: Likewise.
70637         * sunrpc/rpc/rpc.h: Likewise.
70638         * sunrpc/rpc/rpc_des.h: Likewise.
70639         * sunrpc/rpc/rpc_msg.h: Likewise.
70640         * sunrpc/rpc/svc.h: Likewise.
70641         * sunrpc/rpc/svc_auth.h: Likewise.
70642         * sunrpc/rpc/types.h: Likewise.
70643         * sunrpc/rpc/xdr.h: Likewise.
70644         * sunrpc/rpc_clntout.c: Likewise.
70645         * sunrpc/rpc_cmsg.c: Likewise.
70646         * sunrpc/rpc_common.c: Likewise.
70647         * sunrpc/rpc_cout.c: Likewise.
70648         * sunrpc/rpc_dtable.c: Likewise.
70649         * sunrpc/rpc_hout.c: Likewise.
70650         * sunrpc/rpc_main.c: Likewise.
70651         * sunrpc/rpc_parse.c: Likewise.
70652         * sunrpc/rpc_parse.h: Likewise.
70653         * sunrpc/rpc_prot.c: Likewise.
70654         * sunrpc/rpc_sample.c: Likewise.
70655         * sunrpc/rpc_scan.c: Likewise.
70656         * sunrpc/rpc_scan.h: Likewise.
70657         * sunrpc/rpc_svcout.c: Likewise.
70658         * sunrpc/rpc_tblout.c: Likewise.
70659         * sunrpc/rpc_util.c: Likewise.
70660         * sunrpc/rpc_util.h: Likewise.
70661         * sunrpc/rpcinfo.c: Likewise.
70662         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
70663         * sunrpc/rpcsvc/key_prot.x: Likewise.
70664         * sunrpc/rpcsvc/klm_prot.x: Likewise.
70665         * sunrpc/rpcsvc/mount.x: Likewise.
70666         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
70667         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
70668         * sunrpc/rpcsvc/rex.x: Likewise.
70669         * sunrpc/rpcsvc/rstat.x: Likewise.
70670         * sunrpc/rpcsvc/rusers.x: Likewise.
70671         * sunrpc/rpcsvc/sm_inter.x: Likewise.
70672         * sunrpc/rpcsvc/spray.x: Likewise.
70673         * sunrpc/rpcsvc/yppasswd.x: Likewise.
70674         * sunrpc/rtime.c: Likewise.
70675         * sunrpc/svc.c: Likewise.
70676         * sunrpc/svc_auth.c: Likewise.
70677         * sunrpc/svc_authux.c: Likewise.
70678         * sunrpc/svc_raw.c: Likewise.
70679         * sunrpc/svc_run.c: Likewise.
70680         * sunrpc/svc_simple.c: Likewise.
70681         * sunrpc/svc_tcp.c: Likewise.
70682         * sunrpc/svc_udp.c: Likewise.
70683         * sunrpc/svc_unix.c: Likewise.
70684         * sunrpc/svcauth_des.c: Likewise.
70685         * sunrpc/xcrypt.c: Likewise.
70686         * sunrpc/xdr.c: Likewise.
70687         * sunrpc/xdr_array.c: Likewise.
70688         * sunrpc/xdr_float.c: Likewise.
70689         * sunrpc/xdr_mem.c: Likewise.
70690         * sunrpc/xdr_rec.c: Likewise.
70691         * sunrpc/xdr_ref.c: Likewise.
70692         * sunrpc/xdr_sizeof.c: Likewise.
70693         * sunrpc/xdr_stdio.c: Likewise.
70695         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
70696         handling.
70698 2010-08-19  Andreas Schwab  <schwab@redhat.com>
70700         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
70702 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
70704         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
70705         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
70706         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
70707         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
70708         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
70709         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
70710         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
70711         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
70712         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
70713         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
70714         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
70715         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
70716         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
70717         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
70719 2010-07-26  Anton Blanchard  <anton@samba.org>
70721         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
70722         * malloc/arena.c (heap_trim): Likewise.
70724 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
70726         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
70727         here.  Not...
70728         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
70729         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
70731 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
70733         * sysdeps/i386/elf/Makefile: New file.
70735 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
70737         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
70738         from fanotify_init.
70739         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
70740         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
70742 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
70744         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
70745         of strncasecmp_l.
70746         * sysdeps/multiarch/strcmp.S: Likewise.
70748 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
70750         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
70751         strncase_l-nonascii.
70752         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
70753         Add strncase_l-ssse3.
70754         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
70755         * sysdeps/x86_64/strcmp.S: Likewise.
70756         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
70757         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
70758         * sysdeps/x86_64/strncase.S: New file.
70759         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
70760         * sysdeps/x86_64/strncase_l.S: New file.
70761         * string/Makefile (strop-tests): Add strncasecmp.
70762         * string/test-strncasecmp.c: New file.
70764         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
70765         warning.
70767         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
70768         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
70770 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
70772         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
70774 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
70776         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
70777         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
70778         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
70780 2010-05-01  Alan Modra  <amodra@gmail.com>
70782         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
70783         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
70784         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
70785         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
70786         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
70787         tidying.  Don't tail-call __sigjmp_save for static lib.
70788         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
70789         save location.
70790         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
70791         (CALL_MCOUNT): Add eh info, and nop after bl.
70792         (TAIL_CALL_SYSCALL_ERROR): New macro.
70793         (PSEUDO_RET): Use it.
70794         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
70795         Correct save location of integer regs and cr.
70796         (_dl_profile_resolve): Correct cr save location.  Delete nops
70797         after bl when SHARED.  Reduce cfi size a little by better
70798         placement of cfi directives.
70799         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
70800         make a stack frame.  Instead use parm save area as a temp.
70801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
70802         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
70803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
70804         Don't make a stack frame for parent, use parm save area.
70805         Increase child stack frame to 112 bytes.  Don't save unused reg,
70806         and adjust reg usage.  Set up cfi on error recovery and
70807         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
70808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
70809         (__makecontext): Add dummy nop after jump to exit.
70810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
70811         Use correct parm save area and cr save, reduce stack frame.
70812         Correct cfi for possible PSEUDO_RET frame setup.
70813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
70814         Branch to local label emitted by PSEUDO_RET rather than
70815         __syscall_error.
70817 2010-08-12  Andreas Schwab  <schwab@redhat.com>
70819         [BZ #11904]
70820         * locale/programs/locale.c (print_assignment): New function.
70821         (show_locale_vars): Use it.
70823 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
70825         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
70826         field.
70827         (struct statfs64): Likewise.
70828         (_STATFS_F_FLAGS): Define.
70829         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
70830         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70831         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
70832         (ST_VALID): Define locally.
70833         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
70834         __statvfs_getflags, use the provided value.
70835         * sysdeps/unix/sysv/linux/kernel-features.h: Define
70836         __ASSUME_STATFS_F_FLAGS.
70838         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
70840         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
70841         Add sys/fanotify.h.
70842         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
70843         fanotify_mask for GLIBC_2.13.
70844         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
70845         fanotify_init and fanotify_mark.
70846         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
70847         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
70849         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
70850         Add prlimit.
70851         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
70852         prlimit64 for GLIBC_2.13.
70853         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
70854         prlimit64.
70855         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
70856         syscall.
70857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
70858         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
70859         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
70860         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
70861         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
70862         add prlimit alias.
70863         * sysdeps/unix/sysv/linux/prlimit.c: New file.
70865         [BZ #11903]
70866         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
70867         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
70869         * nss/Makefile: Add rules to build and run tst-nss-test1.
70870         * shlib-versions: Add entry for libnss_test1.
70871         * nss/nss_test1.c: New file.
70872         * nss/tst-nss-test1.c: New file.
70874         * nss/nsswitch.c (__nss_database_custom): Define new variable.
70875         (__nss_configure_lookup): Set appropriate entry in
70876         __nss_configure_lookup to true.
70877         * nss/nsswitch.h: Define enum with indeces of databases in
70878         databases and __nss_database_custom arrays.  Declare
70879         __nss_database_custom.
70880         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
70881         to avoid using nscd when custom rules are installed.
70882         * nss/getXXbyYY_r.c: Likewise.
70883         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
70885         * nss/nss_files/files-parse.c: Whitespace fixes.
70887 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
70889         [BZ #11883]
70890         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
70891         * posix/fnmatch_loop.c: Likewise.
70893 2010-07-17  Andi Kleen  <ak@linux.intel.com>
70895         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
70896         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
70897         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
70898         * Versions.def [GLIBC_2.13]: Add.
70900 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
70902         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
70903         Also fail if tpwd after pwuid call is NULL.
70905 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70907         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
70908         when converting to ms.
70910 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70912         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
70913         EOPNOTSUPP errors with ENOTTY.
70914         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
70915         EOPNOTSUPP errors with ENOTTY.
70917 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
70919         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
70920         Add strcasecmp_l-ssse3.
70921         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
70922         strcasecmp.
70923         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
70924         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
70925         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
70927 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
70929         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
70931         * string/Makefile (strop-tests): Add strcasecmp.
70932         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
70933         strcasecmp_l-nonascii.
70934         (gen-as-const-headers): Add locale-defines.sym.
70935         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
70936         * sysdeps/x86_64/strcasecmp.S: New file.
70937         * sysdeps/x86_64/strcasecmp_l.S: New file.
70938         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
70939         * sysdeps/x86_64/locale-defines.sym: New file.
70940         * string/test-strcasecmp.c: New file.
70942         * string/test-strcasestr.c: Test both ends of the range of characters.
70943         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
70945 2010-07-29  Roland McGrath  <roland@redhat.com>
70947         [BZ #11856]
70948         * manual/locale.texi (Yes-or-No Questions): Fix example code.
70950 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
70952         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
70953         for ld.so.
70955 2010-07-27  Andreas Schwab  <schwab@redhat.com>
70957         * manual/memory.texi (Malloc Tunable Parameters): Document
70958         M_PERTURB.
70960 2010-07-26  Roland McGrath  <roland@redhat.com>
70962         [BZ #11840]
70963         * configure.in (-fgnu89-inline check): Set and substitute
70964         gnu89_inline, not libc_cv_gnu89_inline.
70965         * configure: Regenerated.
70966         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
70968 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
70970         * string/test-strnlen.c: New file.
70971         * string/Makefile (strop-tests): Add strnlen.
70972         * string/tester.c (test_strnlen): Add a few more test cases.
70973         * string/tst-strlen.c: Better error reporting.
70975         * sysdeps/x86_64/strnlen.S: New file.
70977 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
70979         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
70980         lower-latency instructions.
70982 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
70984         * string/test-strcasestr.c: New file.
70985         * string/test-strstr.c: New file.
70986         * string/Makefile (strop-tests): Add strstr and strcasestr.
70987         * string/str-two-way.h: Don't undefine MAX.
70988         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
70990 2010-07-21  Andreas Schwab  <schwab@redhat.com>
70992         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70993         strcasestr-nonascii.
70994         (CFLAGS-strcasestr-nonascii.c): Define.
70995         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
70996         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
70997         Remove unused attribute.
70999 2010-07-20  Roland McGrath  <roland@redhat.com>
71001         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
71002         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
71003         ld.so.cache was broken.  With it, there is no way to disable dsocaps
71004         like LD_HWCAP_MASK can disable hwcaps.
71006 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
71008         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
71010 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
71012         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
71013         call in strcasestr.
71014         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
71015         __strcasestr_sse42_nonascii.
71016         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
71017         strcasestr-nonascii.c.
71018         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
71020 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
71022         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
71023         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
71024         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
71025         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
71027 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
71029         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
71030         fcntl.
71032 2010-07-06  Andreas Schwab  <schwab@redhat.com>
71034         [BZ #11577]
71035         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
71036         dl_signal_cerror.
71038 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
71040         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
71041         _PC_PIPE_BUF using F_GETPIPE_SZ.
71043 2010-07-05  Roland McGrath  <roland@redhat.com>
71045         * manual/arith.texi (Rounding Functions): Fix rint description
71046         implicit in round description.
71048 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
71050         * elf/Makefile: Fix linking for a few tests to make recent linker
71051         happy.
71053 2010-06-30  Andreas Schwab  <schwab@redhat.com>
71055         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
71056         $(common-objpfx)libc_nonshared.a.
71058 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
71060         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
71061         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
71062         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
71063         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
71064         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
71065         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
71066         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
71067         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
71068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
71069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
71070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
71071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
71072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
71073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
71074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
71075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
71076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
71077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
71078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
71079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
71080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
71081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
71082         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
71083         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
71084         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
71085         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
71086         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
71087         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
71088         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
71089         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
71090         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
71091         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
71092         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
71093         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
71094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
71095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
71096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
71097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
71098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
71099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
71100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
71101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
71102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
71103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
71104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
71105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
71106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
71107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
71109 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
71111         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
71112         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
71113         * string/memmove.c (memmove): Renamed to ...
71114         (MEMMOVE): ...this.  Default to memmove.
71115         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
71116         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
71117         (END_CHK): Define.
71118         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71119         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
71120         mempcpy-ssse3-back memmove-ssse3-back.
71121         * sysdeps/x86_64/multiarch/bcopy.S: New file .
71122         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
71123         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
71124         * sysdeps/x86_64/multiarch/memcpy.S: New file.
71125         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
71126         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
71127         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
71128         * sysdeps/x86_64/multiarch/memmove.c: New file.
71129         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
71130         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
71131         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
71132         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
71133         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
71134         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
71135         Define.
71136         (index_Fast_Copy_Backward): Define.
71137         (HAS_ARCH_FEATURE): Define.
71138         (HAS_FAST_REP_STRING): Define.
71139         (HAS_FAST_COPY_BACKWARD): Define.
71141 2010-06-21  Andreas Schwab  <schwab@redhat.com>
71143         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
71144         Restore proper fallback handling.
71146 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
71148         [BZ #11701]
71149         * posix/group_member.c (__group_member): Correct checking loop.
71151         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
71152         OOM in getpwuid_r correctly.  Return error number when the caller
71153         should return, otherwise -1.
71154         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
71155         call returning > 0 value.
71156         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
71158 2010-06-07  Andreas Schwab  <schwab@redhat.com>
71160         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
71161         libc_nonshared.a from targets in modules-names.
71163 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
71165         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
71166         requires it.
71168 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
71170         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
71171         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
71172         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
71173         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
71175 2010-06-02  Andreas Schwab  <schwab@redhat.com>
71177         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
71179 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
71181         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
71182         and F_GETPIPE_SZ.
71183         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
71184         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71185         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71186         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71187         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71188         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
71190 2010-06-14  Roland McGrath  <roland@redhat.com>
71192         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
71194 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
71196         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
71197         __REDIRECT followed by __THROW.
71198         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
71199         * posix/getopt.h (getopt): Likewise.
71201 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
71203         * hurd/lookup-at.c (__file_name_lookup_at): Accept
71204         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
71205         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
71206         in AT_FLAGS.
71207         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
71208         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
71210 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
71212         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
71214 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
71216         [BZ #11640]
71217         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71218         Properly check family and model.
71220 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
71222         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
71224 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
71226         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
71228 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
71230         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
71231         symbol reference.
71233 2010-05-19  Andreas Schwab  <schwab@redhat.com>
71235         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
71236         symbol reference.
71238 2010-05-21  Andreas Schwab  <schwab@redhat.com>
71240         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
71241         and internal_recvmmsg.
71242         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
71243         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
71244         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
71245         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
71247         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
71248         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
71249         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
71251 2010-05-20  Andreas Schwab  <schwab@redhat.com>
71253         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
71255 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
71257         POWER7 optimizations.
71258         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
71259         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
71261 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
71263         * version.h: Update for 2.13 development version.
71265 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
71267         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
71268         exceptions.  Return 0.
71270 2010-05-07  Roland McGrath  <roland@redhat.com>
71272         * elf/ldconfig.c (main): Add a const.
71274 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
71276         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
71277         (args_options): Add no-idn option.
71278         (ahosts_keys_int): Add idn_flags to ai_flags.
71279         (parse_option): Handle 'i' option to clear idn_flags.
71281         * malloc/malloc.c (_int_free): Possible race in the most recently
71282         added check.  Only act on the data if no current modification
71283         happened.
71285 See ChangeLog.17 for earlier changes.